Produced by Araxis Merge on 1/17/2019 10:54:39 AM Central 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 | v1_iter_1_VIP_Build_4_Dec_2018_CG.zip\v1_iter_1_VIP_Build_4\portlets\caret-portlet\docroot\WEB-INF\src\gov\va\med\via\service | ValidationException.java | Wed Jan 16 16:06:44 2019 UTC |
| 2 | v1_iter_1_VIP_Build_4_Dec_2018_CG.zip\v1_iter_1_VIP_Build_4\portlets\caret-portlet\docroot\WEB-INF\src\gov\va\med\via\service | ValidationException.java | Wed Jan 16 20:18:47 2019 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 6 | 300 |
| Changed | 5 | 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.v ia.service ; | |
| 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.XmlSche maType; | |
| 10 | import jav ax.xml.bin d.annotati on.XmlType ; | |
| 11 | ||
| 12 | ||
| 13 | /** | |
| 14 | * <p>Java class for Validatio nException complex t ype. | |
| 15 | * | |
| 16 | * <p>The following schema fra gment spec ifies the expected c ontent con tained wit hin this c lass. | |
| 17 | * | |
| 18 | * <pre> | |
| 19 | * <com plexType n ame="Valid ationExcep tion"> | |
| 20 | * <c omplexCont ent> | |
| 21 | * < ;restricti on base="{ http://www .w3.org/20 01/XMLSche ma}anyType "> | |
| 22 | * & lt;sequenc e> | |
| 23 | * <eleme nt name="e rrorDescri ption" typ e="{http:/ /www.w3.or g/2001/XML Schema}str ing"/> | |
| 24 | * <eleme nt name="c ustomMsgVa lues" type ="{http:// www.w3.org /2001/XMLS chema}stri ng" maxOcc urs="unbou nded" minO ccurs="0"/ > | |
| 25 | * <elemen t name="er rorCode" t ype="{http :// DNS . URL /}errorCod eEnum"/> ; | |
| 26 | * <eleme nt name="l ogged" typ e="{http:/ /www.w3.or g/2001/XML Schema}boo lean"/> | |
| 27 | * & lt;/sequen ce> | |
| 28 | * < ;/restrict ion> | |
| 29 | * </ complexCon tent> | |
| 30 | * </co mplexType& gt; | |
| 31 | * </pre> | |
| 32 | * | |
| 33 | * | |
| 34 | */ | |
| 35 | @XmlAccess orType(Xml AccessType .FIELD) | |
| 36 | @XmlType(n ame = "Val idationExc eption", p ropOrder = { | |
| 37 | "error Descriptio n", | |
| 38 | "custo mMsgValues ", | |
| 39 | "error Code", | |
| 40 | "logge d" | |
| 41 | }) | |
| 42 | public cla ss Validat ionExcepti on { | |
| 43 | ||
| 44 | @XmlElemen t(namespac e = "http: // DNS . URL /", requir ed = true, nillable = true) | |
| 45 | protec ted String errorDesc ription; | |
| 46 | @XmlElemen t(namespac e = "http: // DNS . URL /") | |
| 47 | protec ted List<S tring> cus tomMsgValu es; | |
| 48 | @XmlElemen t(namespac e = "http: // DNS . URL /", requir ed = true, nillable = true) | |
| 49 | @XmlSc hemaType(n ame = "str ing") | |
| 50 | protec ted ErrorC odeEnum er rorCode; | |
| 51 | @XmlElemen t(namespac e = "http: // DNS . URL /", requir ed = true, type = Bo olean.clas s, nillabl e = true) | |
| 52 | protec ted Boolea n logged; | |
| 53 | ||
| 54 | /** | |
| 55 | * Get s the valu e of the e rrorDescri ption prop erty. | |
| 56 | * | |
| 57 | * @re turn | |
| 58 | * possible object is | |
| 59 | * {@link St ring } | |
| 60 | * | |
| 61 | */ | |
| 62 | public String ge tErrorDesc ription() { | |
| 63 | re turn error Descriptio n; | |
| 64 | } | |
| 65 | ||
| 66 | /** | |
| 67 | * Set s the valu e of the e rrorDescri ption prop erty. | |
| 68 | * | |
| 69 | * @pa ram value | |
| 70 | * allowed o bject is | |
| 71 | * {@link St ring } | |
| 72 | * | |
| 73 | */ | |
| 74 | public void setE rrorDescri ption(Stri ng value) { | |
| 75 | th is.errorDe scription = value; | |
| 76 | } | |
| 77 | ||
| 78 | /** | |
| 79 | * Get s the valu e of the c ustomMsgVa lues prope rty. | |
| 80 | * | |
| 81 | * <p> | |
| 82 | * Thi s accessor method re turns a re ference to the live list, | |
| 83 | * not a snapsho t. Therefo re any mod ification you make t o the | |
| 84 | * ret urned list will be p resent ins ide the JA XB object. | |
| 85 | * Thi s is why t here is no t a <CODE> set</CODE> method fo r the cust omMsgValue s property . | |
| 86 | * | |
| 87 | * <p> | |
| 88 | * For example, to add a n ew item, d o as follo ws: | |
| 89 | * <pr e> | |
| 90 | * getCustomM sgValues() .add(newIt em); | |
| 91 | * </p re> | |
| 92 | * | |
| 93 | * | |
| 94 | * <p> | |
| 95 | * Obj ects of th e followin g type(s) are allowe d in the l ist | |
| 96 | * {@l ink String } | |
| 97 | * | |
| 98 | * | |
| 99 | */ | |
| 100 | public List<Stri ng> getCus tomMsgValu es() { | |
| 101 | if (customMs gValues == null) { | |
| 102 | customMs gValues = new ArrayL ist<String >(); | |
| 103 | } | |
| 104 | re turn this. customMsgV alues; | |
| 105 | } | |
| 106 | ||
| 107 | /** | |
| 108 | * Get s the valu e of the e rrorCode p roperty. | |
| 109 | * | |
| 110 | * @re turn | |
| 111 | * possible object is | |
| 112 | * {@link Er rorCodeEnu m } | |
| 113 | * | |
| 114 | */ | |
| 115 | public ErrorCode Enum getEr rorCode() { | |
| 116 | re turn error Code; | |
| 117 | } | |
| 118 | ||
| 119 | /** | |
| 120 | * Set s the valu e of the e rrorCode p roperty. | |
| 121 | * | |
| 122 | * @pa ram value | |
| 123 | * allowed o bject is | |
| 124 | * {@link Er rorCodeEnu m } | |
| 125 | * | |
| 126 | */ | |
| 127 | public void setE rrorCode(E rrorCodeEn um value) { | |
| 128 | th is.errorCo de = value ; | |
| 129 | } | |
| 130 | ||
| 131 | /** | |
| 132 | * Get s the valu e of the l ogged prop erty. | |
| 133 | * | |
| 134 | * @re turn | |
| 135 | * possible object is | |
| 136 | * {@link Bo olean } | |
| 137 | * | |
| 138 | */ | |
| 139 | public Boolean i sLogged() { | |
| 140 | re turn logge d; | |
| 141 | } | |
| 142 | ||
| 143 | /** | |
| 144 | * Set s the valu e of the l ogged prop erty. | |
| 145 | * | |
| 146 | * @pa ram value | |
| 147 | * allowed o bject is | |
| 148 | * {@link Bo olean } | |
| 149 | * | |
| 150 | */ | |
| 151 | public void setL ogged(Bool ean value) { | |
| 152 | th is.logged = value; | |
| 153 | } | |
| 154 | ||
| 155 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.