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 | HL7MetaData.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 | HL7MetaData.java | Wed Dec 12 19:46:45 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 108 |
| 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 | // Java cl asses | |
| 7 | import jav a.util.Lis t; | |
| 8 | ||
| 9 | import org .apache.co mmons.lang .builder.T oStringBui lder; | |
| 10 | ||
| 11 | import gov .va.med.fw .hl7.Batch Message; | |
| 12 | import gov .va.med.fw .hl7.Inval idMessageE xception; | |
| 13 | import gov .va.med.fw .hl7.Messa ge; | |
| 14 | import gov .va.med.fw .hl7.Segme nt; | |
| 15 | import gov .va.med.fw .model.Abs tractEntit y; | |
| 16 | ||
| 17 | /** | |
| 18 | * @author DN S
|
|
| 19 | * @versio n 1.0 | |
| 20 | */ | |
| 21 | public cla ss HL7Meta Data exten ds Abstrac tMetaData { | |
| 22 | ||
| 23 | /* * | |
| 24 | * An instan ce of seri alVersionU ID | |
| 25 | * / | |
| 26 | pr ivate stat ic final l ong serial VersionUID = -819719 2513563732 428L; | |
| 27 | ||
| 28 | pu blic HL7Me taData(Abs tractEntit y entity) { | |
| 29 | supe r(entity); | |
| 30 | } | |
| 31 | ||
| 32 | pu blic HL7Me taData(Mes sage messa ge) { | |
| 33 | supe r(message) ; | |
| 34 | } | |
| 35 | ||
| 36 | pu blic HL7Me taData(Abs tractEntit y entity, Message me ssage) { | |
| 37 | supe r(entity, message); | |
| 38 | } | |
| 39 | ||
| 40 | pu blic Batch Message ge tBatchMess age() { | |
| 41 | Mess age msg = getMessage (); | |
| 42 | if ( logger.isD ebugEnable d()) { | |
| 43 | logger .debug("Me ssage: " + ToStringB uilder.ref lectionToS tring(msg) ); | |
| 44 | } | |
| 45 | retu rn (msg in stanceof B atchMessag e ? (Batch Message) m sg : null) ; | |
| 46 | } | |
| 47 | ||
| 48 | pu blic Segme nt getSegm ent(String name) thr ows Invali dMessageEx ception { | |
| 49 | retu rn getMess age().getS egment(nam e); | |
| 50 | } | |
| 51 | ||
| 52 | pu blic List getSegment s(String n ame) throw s InvalidM essageExce ption { | |
| 53 | retu rn getMess age().getS egments(na me); | |
| 54 | } | |
| 55 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.