Produced by Araxis Merge on 12/13/2018 10:35:31 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\service\trigger | AbstractTriggerIdentity.java | Fri Dec 7 17:36:38 2018 UTC |
| 2 | v12.5_iter_7_build 51.zip\TRM_Upgrade\src\main\java\gov\va\med\fw\service\trigger | AbstractTriggerIdentity.java | Wed Dec 12 22:26:08 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 352 |
| 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 2005 V HA. All ri ghts reser ved | |
| 3 | ********* ********** ********** ********** ********** ********** *********/ | |
| 4 | ||
| 5 | package go v.va.med.f w.service. trigger; | |
| 6 | ||
| 7 | import org .apache.co mmons.lang .builder.T oStringBui lder; | |
| 8 | ||
| 9 | import gov .va.med.fw .model.Abs tractEntit y; | |
| 10 | ||
| 11 | /** | |
| 12 | * Initial javadoc f or class A bstractTri ggerIdenti ty. TODO - Add conte nt here | |
| 13 | * | |
| 14 | * Created Aug 23, 2 005 12:02: 21 AM | |
| 15 | * | |
| 16 | * @author DN S | |
| 17 | */ | |
| 18 | public abs tract clas s Abstract TriggerIde ntity exte nds Abstra ctEntity i mplements TriggerIde ntity { | |
| 19 | ||
| 20 | /* * | |
| 21 | * An instan ce of seri alVersionU ID | |
| 22 | * / | |
| 23 | pr ivate stat ic final l ong serial VersionUID = 5720385 6415201874 08L; | |
| 24 | ||
| 25 | pr ivate Targ etType tar getType; | |
| 26 | ||
| 27 | pr ivate Dest inationTyp e destinat ionType; | |
| 28 | ||
| 29 | pr ivate Disp atchType d ispatchTyp e; | |
| 30 | ||
| 31 | pr ivate Enti tyType ent ityType; | |
| 32 | ||
| 33 | pr ivate bool ean usedFo rConsumerR outing = t rue; | |
| 34 | ||
| 35 | /* * | |
| 36 | * Logical n ame that i s given/de rived from other dat a. Marked transient so | |
| 37 | * it does n ot impact equality a nd hashCod e check. | |
| 38 | * / | |
| 39 | pr ivate tran sient Stri ng name; | |
| 40 | ||
| 41 | pu blic Abstr actTrigger Identity() { | |
| 42 | } | |
| 43 | ||
| 44 | pu blic Abstr actTrigger Identity(D estination Type desti nationType ) { | |
| 45 | this .destinati onType = d estination Type; | |
| 46 | used ForConsume rRouting = false; | |
| 47 | } | |
| 48 | ||
| 49 | pu blic Abstr actTrigger Identity(D estination Type desti nationType , TargetTy pe targetT ype, | |
| 50 | Dispat chType dis patchType) { | |
| 51 | this .destinati onType = d estination Type; | |
| 52 | this .targetTyp e = target Type; | |
| 53 | this .dispatchT ype = disp atchType; | |
| 54 | } | |
| 55 | ||
| 56 | pu blic Abstr actTrigger Identity(D estination Type desti nationType , TargetTy pe targetT ype, | |
| 57 | Dispat chType dis patchType, EntityTyp e entityTy pe) { | |
| 58 | this (destinati onType, ta rgetType, dispatchTy pe); | |
| 59 | this .entityTyp e = entity Type; | |
| 60 | } | |
| 61 | ||
| 62 | /* | |
| 63 | * (non-Java doc) | |
| 64 | * | |
| 65 | * @see | |
| 66 | * gov.va.me d.fw.model .AbstractE ntity#buil dToString( org.apache .commons.l ang | |
| 67 | * .builder. ToStringBu ilder) | |
| 68 | * / | |
| 69 | pr otected vo id buildTo String(ToS tringBuild er builder ) { | |
| 70 | buil der.append ("destinat ionType", destinatio nType); | |
| 71 | buil der.append ("targetTy pe", targe tType); | |
| 72 | buil der.append ("dispatch Type", dis patchType) ; | |
| 73 | buil der.append ("entityTy pe", entit yType); | |
| 74 | } | |
| 75 | ||
| 76 | /* * | |
| 77 | * @see gov. va.med.fw. service.tr igger.Trig gerIdentit y#getDesti nationType () | |
| 78 | * / | |
| 79 | pu blic Desti nationType getDestin ationType( ) { | |
| 80 | retu rn destina tionType; | |
| 81 | } | |
| 82 | ||
| 83 | /* * | |
| 84 | * @see gov. va.med.fw. service.tr igger.Trig gerIdentit y#getTarge tType() | |
| 85 | * / | |
| 86 | pu blic Targe tType getT argetType( ) { | |
| 87 | retu rn targetT ype; | |
| 88 | } | |
| 89 | ||
| 90 | /* * | |
| 91 | * @see gov. va.med.fw. service.tr igger.Trig gerIdentit y#getDispa tchType() | |
| 92 | * / | |
| 93 | pu blic Dispa tchType ge tDispatchT ype() { | |
| 94 | retu rn dispatc hType; | |
| 95 | } | |
| 96 | ||
| 97 | /* * | |
| 98 | * @see gov. va.med.fw. service.tr igger.Trig gerIdentit y#getEntit yType() | |
| 99 | * / | |
| 100 | pu blic Entit yType getE ntityType( ) { | |
| 101 | retu rn entityT ype; | |
| 102 | } | |
| 103 | ||
| 104 | /* * | |
| 105 | * @return R eturns the name. | |
| 106 | * / | |
| 107 | pu blic Strin g getName( ) { | |
| 108 | retu rn name != null ? na me : build Name(); | |
| 109 | } | |
| 110 | ||
| 111 | pr otected St ring build Name() { | |
| 112 | Stri ngBuilder buf = new StringBuil der(destin ationType != null ? destinatio nType.getN ame() | |
| 113 | : "NO_DE STINATION" ); | |
| 114 | buf. append(NAM E_DELIMITE R).append( | |
| 115 | targetTy pe != null ? targetT ype.getNam e() : "NO_ TARGET_TYP E"); | |
| 116 | buf. append(NAM E_DELIMITE R).append( | |
| 117 | dispatch Type != nu ll ? dispa tchType.ge tName() : "NO_DISPAT CH_TYPE"); | |
| 118 | buf. append(NAM E_DELIMITE R).append( | |
| 119 | entityTy pe != null ? entityT ype.getNam e() : "NO_ ENTITY_TYP E"); | |
| 120 | retu rn buf.toS tring(); | |
| 121 | } | |
| 122 | ||
| 123 | /* * | |
| 124 | * @param na me | |
| 125 | * The name to set. | |
| 126 | * / | |
| 127 | pu blic void setName(St ring name) { | |
| 128 | this .name = na me; | |
| 129 | } | |
| 130 | ||
| 131 | /* * | |
| 132 | * @param di spatchType | |
| 133 | * The disp atchType t o set. | |
| 134 | * / | |
| 135 | pu blic void setDispatc hType(Disp atchType d ispatchTyp e) { | |
| 136 | this .dispatchT ype = disp atchType; | |
| 137 | } | |
| 138 | ||
| 139 | /* * | |
| 140 | * @param en tityType | |
| 141 | * The enti tyType to set. | |
| 142 | * / | |
| 143 | pu blic void setEntityT ype(Entity Type entit yType) { | |
| 144 | this .entityTyp e = entity Type; | |
| 145 | } | |
| 146 | ||
| 147 | /* * | |
| 148 | * @param ta rgetType | |
| 149 | * The targ etType to set. | |
| 150 | * / | |
| 151 | pu blic void setTargetT ype(Target Type targe tType) { | |
| 152 | this .targetTyp e = target Type; | |
| 153 | } | |
| 154 | ||
| 155 | /* * | |
| 156 | * @param de stinationT ype | |
| 157 | * The dest inationTyp e to set. | |
| 158 | * / | |
| 159 | pu blic void setDestina tionType(D estination Type desti nationType ) { | |
| 160 | this .destinati onType = d estination Type; | |
| 161 | } | |
| 162 | ||
| 163 | /* * | |
| 164 | * @return R eturns the usedForCo nsumerRout ing. | |
| 165 | * / | |
| 166 | pu blic boole an isUsedF orConsumer Routing() { | |
| 167 | retu rn usedFor ConsumerRo uting; | |
| 168 | } | |
| 169 | ||
| 170 | /* * | |
| 171 | * @param us edForRouti ng | |
| 172 | * The used ForConsume rRouting t o set. | |
| 173 | * / | |
| 174 | pu blic void setUsedFor ConsumerRo uting(bool ean usedFo rConsumerR outing) { | |
| 175 | this .usedForCo nsumerRout ing = used ForConsume rRouting; | |
| 176 | } | |
| 177 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.