Produced by Araxis Merge on 10/3/2017 11:15:28 AM Central Daylight 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 | ehmp.zip\ehmp\ehmp\product\production\soap-handler\src\main\java\gov\va\med\jmeadows_2_3_0\webservice | Allergy.java | Tue Dec 15 14:05:18 2015 UTC |
| 2 | ehmp.zip\ehmp\ehmp\product\production\soap-handler\src\main\java\gov\va\med\jmeadows_2_3_0\webservice | Allergy.java | Mon Oct 2 19:50:44 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 4 | 480 |
| Changed | 3 | 10 |
| 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 | package go v.va.med.j meadows_2_ 3_0.webser vice; | |
| 3 | ||
| 4 | import jav a.util.Arr ayList; | |
| 5 | import jav a.util.Lis t; | |
| 6 | import jav ax.xml.bin d.annotati on.XmlAcce ssType; | |
| 7 | import jav ax.xml.bin d.annotati on.XmlAcce ssorType; | |
| 8 | import jav ax.xml.bin d.annotati on.XmlElem ent; | |
| 9 | import jav ax.xml.bin d.annotati on.XmlType ; | |
| 10 | ||
| 11 | ||
| 12 | /** | |
| 13 | * <p>Java class for allergy c omplex typ e. | |
| 14 | * | |
| 15 | * <p>The following schema fra gment spec ifies the expected c ontent con tained wit hin this c lass. | |
| 16 | * | |
| 17 | * <pre> | |
| 18 | * <com plexType n ame="aller gy"> | |
| 19 | * <c omplexCont ent> | |
| 20 | * <extens ion base=" {http://we bservice.v ds. URL /}dataBean "> | |
| 21 | * & lt;sequenc e> | |
| 22 | * <eleme nt name="a llergyId" type="{htt p://www.w3 .org/2001/ XMLSchema} string" mi nOccurs="0 "/> | |
| 23 | * <eleme nt name="a llergyName " type="{h ttp://www. w3.org/200 1/XMLSchem a}string" minOccurs= "0"/> | |
| 24 | * <eleme nt name="c omment" ty pe="{http: //www.w3.o rg/2001/XM LSchema}st ring" minO ccurs="0"/ > | |
| 25 | * <elemen t name="dr ugClasses" type="{ht tp://webse rvice.vds. URL /}code" ma xOccurs="u nbounded" minOccurs= "0"/> | |
| 26 | * <elemen t name="dr ugIngredie nts" type= "{http://w ebservice. vds. URL /}code" ma xOccurs="u nbounded" minOccurs= "0"/> | |
| 27 | * <elemen t name="re actions" t ype="{http ://webserv ice.vds. URL /}code" ma xOccurs="u nbounded" minOccurs= "0"/> | |
| 28 | * <eleme nt name="s everity" t ype="{http ://www.w3. org/2001/X MLSchema}s tring" min Occurs="0" /> | |
| 29 | * & lt;/sequen ce> | |
| 30 | * < ;/extensio n> | |
| 31 | * </ complexCon tent> | |
| 32 | * </co mplexType> | |
| 33 | * </pre> | |
| 34 | * | |
| 35 | * | |
| 36 | */ | |
| 37 | @XmlAccess orType(Xml AccessType .FIELD) | |
| 38 | @XmlType(n ame = "all ergy", nam espace = " http://web service.vd s. URL /", propOr der = { | |
| 39 | "aller gyId", | |
| 40 | "aller gyName", | |
| 41 | "comme nt", | |
| 42 | "drugC lasses", | |
| 43 | "drugI ngredients ", | |
| 44 | "react ions", | |
| 45 | "sever ity" | |
| 46 | }) | |
| 47 | public cla ss Allergy | |
| 48 | extend s DataBean | |
| 49 | { | |
| 50 | ||
| 51 | protec ted String allergyId ; | |
| 52 | protec ted String allergyNa me; | |
| 53 | protec ted String comment; | |
| 54 | @XmlEl ement(nill able = tru e) | |
| 55 | protec ted List<C ode> drugC lasses; | |
| 56 | @XmlEl ement(nill able = tru e) | |
| 57 | protec ted List<C ode> drugI ngredients ; | |
| 58 | @XmlEl ement(nill able = tru e) | |
| 59 | protec ted List<C ode> react ions; | |
| 60 | protec ted String severity; | |
| 61 | ||
| 62 | /** | |
| 63 | * Get s the valu e of the a llergyId p roperty. | |
| 64 | * | |
| 65 | * @re turn | |
| 66 | * possible object is | |
| 67 | * {@link St ring } | |
| 68 | * | |
| 69 | */ | |
| 70 | public String ge tAllergyId () { | |
| 71 | re turn aller gyId; | |
| 72 | } | |
| 73 | ||
| 74 | /** | |
| 75 | * Set s the valu e of the a llergyId p roperty. | |
| 76 | * | |
| 77 | * @pa ram value | |
| 78 | * allowed o bject is | |
| 79 | * {@link St ring } | |
| 80 | * | |
| 81 | */ | |
| 82 | public void setA llergyId(S tring valu e) { | |
| 83 | th is.allergy Id = value ; | |
| 84 | } | |
| 85 | ||
| 86 | /** | |
| 87 | * Get s the valu e of the a llergyName property. | |
| 88 | * | |
| 89 | * @re turn | |
| 90 | * possible object is | |
| 91 | * {@link St ring } | |
| 92 | * | |
| 93 | */ | |
| 94 | public String ge tAllergyNa me() { | |
| 95 | re turn aller gyName; | |
| 96 | } | |
| 97 | ||
| 98 | /** | |
| 99 | * Set s the valu e of the a llergyName property. | |
| 100 | * | |
| 101 | * @pa ram value | |
| 102 | * allowed o bject is | |
| 103 | * {@link St ring } | |
| 104 | * | |
| 105 | */ | |
| 106 | public void setA llergyName (String va lue) { | |
| 107 | th is.allergy Name = val ue; | |
| 108 | } | |
| 109 | ||
| 110 | /** | |
| 111 | * Get s the valu e of the c omment pro perty. | |
| 112 | * | |
| 113 | * @re turn | |
| 114 | * possible object is | |
| 115 | * {@link St ring } | |
| 116 | * | |
| 117 | */ | |
| 118 | public String ge tComment() { | |
| 119 | re turn comme nt; | |
| 120 | } | |
| 121 | ||
| 122 | /** | |
| 123 | * Set s the valu e of the c omment pro perty. | |
| 124 | * | |
| 125 | * @pa ram value | |
| 126 | * allowed o bject is | |
| 127 | * {@link St ring } | |
| 128 | * | |
| 129 | */ | |
| 130 | public void setC omment(Str ing value) { | |
| 131 | th is.comment = value; | |
| 132 | } | |
| 133 | ||
| 134 | /** | |
| 135 | * Get s the valu e of the d rugClasses property. | |
| 136 | * | |
| 137 | * <p> | |
| 138 | * Thi s accessor method re turns a re ference to the live list, | |
| 139 | * not a snapsho t. Therefo re any mod ification you make t o the | |
| 140 | * ret urned list will be p resent ins ide the JA XB object. | |
| 141 | * Thi s is why t here is no t a <CODE> set</CODE> method fo r the drug Classes pr operty. | |
| 142 | * | |
| 143 | * <p> | |
| 144 | * For example, to add a n ew item, d o as follo ws: | |
| 145 | * <pr e> | |
| 146 | * getDrugCla sses().add (newItem); | |
| 147 | * </p re> | |
| 148 | * | |
| 149 | * | |
| 150 | * <p> | |
| 151 | * Obj ects of th e followin g type(s) are allowe d in the l ist | |
| 152 | * {@l ink Code } | |
| 153 | * | |
| 154 | * | |
| 155 | */ | |
| 156 | public List<Code > getDrugC lasses() { | |
| 157 | if (drugClas ses == nul l) { | |
| 158 | drugClas ses = new ArrayList< Code>(); | |
| 159 | } | |
| 160 | re turn this. drugClasse s; | |
| 161 | } | |
| 162 | ||
| 163 | /** | |
| 164 | * Get s the valu e of the d rugIngredi ents prope rty. | |
| 165 | * | |
| 166 | * <p> | |
| 167 | * Thi s accessor method re turns a re ference to the live list, | |
| 168 | * not a snapsho t. Therefo re any mod ification you make t o the | |
| 169 | * ret urned list will be p resent ins ide the JA XB object. | |
| 170 | * Thi s is why t here is no t a <CODE> set</CODE> method fo r the drug Ingredient s property . | |
| 171 | * | |
| 172 | * <p> | |
| 173 | * For example, to add a n ew item, d o as follo ws: | |
| 174 | * <pr e> | |
| 175 | * getDrugIng redients() .add(newIt em); | |
| 176 | * </p re> | |
| 177 | * | |
| 178 | * | |
| 179 | * <p> | |
| 180 | * Obj ects of th e followin g type(s) are allowe d in the l ist | |
| 181 | * {@l ink Code } | |
| 182 | * | |
| 183 | * | |
| 184 | */ | |
| 185 | public List<Code > getDrugI ngredients () { | |
| 186 | if (drugIngr edients == null) { | |
| 187 | drugIngr edients = new ArrayL ist<Code>( ); | |
| 188 | } | |
| 189 | re turn this. drugIngred ients; | |
| 190 | } | |
| 191 | ||
| 192 | /** | |
| 193 | * Get s the valu e of the r eactions p roperty. | |
| 194 | * | |
| 195 | * <p> | |
| 196 | * Thi s accessor method re turns a re ference to the live list, | |
| 197 | * not a snapsho t. Therefo re any mod ification you make t o the | |
| 198 | * ret urned list will be p resent ins ide the JA XB object. | |
| 199 | * Thi s is why t here is no t a <CODE> set</CODE> method fo r the reac tions prop erty. | |
| 200 | * | |
| 201 | * <p> | |
| 202 | * For example, to add a n ew item, d o as follo ws: | |
| 203 | * <pr e> | |
| 204 | * getReactio ns().add(n ewItem); | |
| 205 | * </p re> | |
| 206 | * | |
| 207 | * | |
| 208 | * <p> | |
| 209 | * Obj ects of th e followin g type(s) are allowe d in the l ist | |
| 210 | * {@l ink Code } | |
| 211 | * | |
| 212 | * | |
| 213 | */ | |
| 214 | public List<Code > getReact ions() { | |
| 215 | if (reaction s == null) { | |
| 216 | reaction s = new Ar rayList<Co de>(); | |
| 217 | } | |
| 218 | re turn this. reactions; | |
| 219 | } | |
| 220 | ||
| 221 | /** | |
| 222 | * Get s the valu e of the s everity pr operty. | |
| 223 | * | |
| 224 | * @re turn | |
| 225 | * possible object is | |
| 226 | * {@link St ring } | |
| 227 | * | |
| 228 | */ | |
| 229 | public String ge tSeverity( ) { | |
| 230 | re turn sever ity; | |
| 231 | } | |
| 232 | ||
| 233 | /** | |
| 234 | * Set s the valu e of the s everity pr operty. | |
| 235 | * | |
| 236 | * @pa ram value | |
| 237 | * allowed o bject is | |
| 238 | * {@link St ring } | |
| 239 | * | |
| 240 | */ | |
| 241 | public void setS everity(St ring value ) { | |
| 242 | th is.severit y = value; | |
| 243 | } | |
| 244 | ||
| 245 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.