Produced by Araxis Merge on 3/24/2017 5:17:18 PM Eastern 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 | MHV_2017.2.0.0 Code In Flight.zip\National Portal\mhv_rxrefill\mhv-rx-refill-portal-main\src\main\java\gov\va\med\domain\model\validation | ValidationError.java | Thu Feb 11 17:10:22 2016 UTC |
| 2 | MHV_2017.2.0.0 Code In Flight.zip\National Portal\mhv_rxrefill\mhv-rx-refill-portal-main\src\main\java\gov\va\med\domain\model\validation | ValidationError.java | Fri Mar 24 20:30:53 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 98 |
| 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 | package go v.va.med.d omain.mode l.validati on; | |
| 2 | ||
| 3 | ||
| 4 | /** | |
| 5 | * Contain s basic in formaiton about a va lidation e rror | |
| 6 | * @author PII | |
| 7 | * @versio n $Id: Val idationErr or.java,v 1.3 2005/0 7/13 15:42 :54 joel.g oldberg Ex p $ | |
| 8 | * @since MHV 2.0 <b r>Jul 2, 2 005 | |
| 9 | */ | |
| 10 | public cla ss Validat ionError i mplements IValidatio nError{ | |
| 11 | ||
| 12 | public static St ring INVAL ID_DATE_ER ROR = "inv alidDateEr ror"; | |
| 13 | public static St ring INVAL ID_NUMBER_ ERROR = "i nvalidNumb erError"; | |
| 14 | public static St ring MISSI NG_FIELD_E RROR = "mi ssingField Error"; | |
| 15 | public static St ring VALUE _OUT_OF_RA NGE_ERROR = "valueOu tOfRangeEr ror"; | |
| 16 | ||
| 17 | String fieldName ; | |
| 18 | String errorKey; | |
| 19 | String errorDesc rpition; | |
| 20 | Object [] parame ters; | |
| 21 | ||
| 22 | public String ge tErrorDesc rpition() { | |
| 23 | if (errorDes crpition = = null) { | |
| 24 | return " Validation error [" + getError Key() + "] in field [" + | |
| 25 | getFie ldName() + "]"; | |
| 26 | } | |
| 27 | re turn error Descrpitio n; | |
| 28 | } | |
| 29 | public void setE rrorDescrp ition(Stri ng errorDe scrpition) { | |
| 30 | th is.errorDe scrpition = errorDes crpition; | |
| 31 | } | |
| 32 | public String ge tErrorKey( ) { | |
| 33 | re turn error Key; | |
| 34 | } | |
| 35 | public void setE rrorKey(St ring error Key) { | |
| 36 | th is.errorKe y = errorK ey; | |
| 37 | } | |
| 38 | public String ge tFieldName () { | |
| 39 | re turn field Name; | |
| 40 | } | |
| 41 | public void setF ieldName(S tring fiel dName) { | |
| 42 | th is.fieldNa me = field Name; | |
| 43 | } | |
| 44 | public Object[] getParamet ers() { | |
| 45 | re turn param eters; | |
| 46 | } | |
| 47 | public void setP arameters( Object[] p arameters) { | |
| 48 | th is.paramet ers = para meters; | |
| 49 | } | |
| 50 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.