Produced by Araxis Merge on 12/13/2018 10:35:26 AM Eastern Standard Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | v12.5_iter_7_build 51.zip\TRM_Upgrade\src\main\java\gov\va\med\fw\hl7\builder | AbstractMetaData.java | Fri Dec 7 17:36:42 2018 UTC |
| 2 | v12.5_iter_7_build 51.zip\TRM_Upgrade\src\main\java\gov\va\med\fw\hl7\builder | AbstractMetaData.java | Wed Dec 12 19:46:45 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 176 |
| Changed | 1 | 2 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | /********* ********** ********** ********** ********** ********** ********* | |
| 2 | * Copyrii ght 2004 V HA. All ri ghts reser ved | |
| 3 | ********* ********** ********** ********** ********** ********** *********/ | |
| 4 | package go v.va.med.f w.hl7.buil der; | |
| 5 | ||
| 6 | // Library classes | |
| 7 | import org .apache.co mmons.lang .builder.T oStringBui lder; | |
| 8 | import org .apache.co mmons.logg ing.Log; | |
| 9 | import org .apache.co mmons.logg ing.LogFac tory; | |
| 10 | ||
| 11 | import gov .va.med.fw .hl7.Messa ge; | |
| 12 | import gov .va.med.fw .model.Abs tractEntit y; | |
| 13 | ||
| 14 | /** | |
| 15 | * @author DN S
|
|
| 16 | * @versio n 1.0 | |
| 17 | */ | |
| 18 | public abs tract clas s Abstract MetaData e xtends Abs tractEntit y implemen ts MetaDat a { | |
| 19 | ||
| 20 | pr ivate stat ic final l ong serial VersionUID = -137034 6746640850 300L; | |
| 21 | pr ivate Abst ractEntity entity = null; | |
| 22 | pr ivate Mess age messag e = null; | |
| 23 | pr ivate Obje ct data = null; | |
| 24 | ||
| 25 | pr otected Lo g logger = LogFactor y.getLog(g etClass()) ; | |
| 26 | ||
| 27 | pr otected Ab stractMeta Data(Abstr actEntity entity) { | |
| 28 | this .entity = entity; | |
| 29 | } | |
| 30 | ||
| 31 | pr otected Ab stractMeta Data(Messa ge message ) { | |
| 32 | this .message = message; | |
| 33 | } | |
| 34 | ||
| 35 | pr otected Ab stractMeta Data(Abstr actEntity entity, Me ssage mess age) { | |
| 36 | this .message = message; | |
| 37 | this .entity = entity; | |
| 38 | } | |
| 39 | ||
| 40 | pr otected Ab stractMeta Data(Objec t data) { | |
| 41 | this .data = da ta; | |
| 42 | } | |
| 43 | ||
| 44 | /* * | |
| 45 | * Return a business o bject | |
| 46 | * | |
| 47 | * @return A n entity r epresentin g a busine ss object | |
| 48 | * / | |
| 49 | pu blic Abstr actEntity getEntity( ) { | |
| 50 | retu rn entity; | |
| 51 | } | |
| 52 | ||
| 53 | /* * | |
| 54 | * Returns a HL7 messa ge | |
| 55 | * | |
| 56 | * @return A HL7 messa ge | |
| 57 | * / | |
| 58 | pu blic Messa ge getMess age() { | |
| 59 | retu rn message ; | |
| 60 | } | |
| 61 | ||
| 62 | /* * | |
| 63 | * Returns a raw data | |
| 64 | * | |
| 65 | * @return | |
| 66 | * / | |
| 67 | pu blic Objec t getData( ) { | |
| 68 | retu rn data; | |
| 69 | } | |
| 70 | ||
| 71 | /* * | |
| 72 | * @see gov. va.med.fw. model.Abst ractEntity #buildToSt ring(org.a pache.comm ons.lang.b uilder.ToS tringBuild er) | |
| 73 | * / | |
| 74 | pr otected vo id buildTo String(ToS tringBuild er builder ) { | |
| 75 | buil der.append ("message" , this.mes sage); | |
| 76 | buil der.append ("entity", this.enti ty); | |
| 77 | buil der.append ("data", t his.data); | |
| 78 | } | |
| 79 | ||
| 80 | /* * | |
| 81 | * @see java .lang.Obje ct#finaliz e() | |
| 82 | * / | |
| 83 | pr otected vo id finaliz e() throws Throwable { | |
| 84 | this .entity = null; | |
| 85 | this .data = nu ll; | |
| 86 | this .message = null; | |
| 87 | supe r.finalize (); | |
| 88 | } | |
| 89 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.