Produced by Araxis Merge on 2/7/2017 12:14:07 PM 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 | cpss.zip\cpss\src\main\java\gov\va\cpss\model\icn | ICNHistoryStatus.java | Wed Feb 1 21:07:28 2017 UTC |
2 | cpss.zip\cpss\src\main\java\gov\va\cpss\model\icn | ICNHistoryStatus.java | Mon Feb 6 14:54:38 2017 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 150 |
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.cpss. model.icn; | |
2 | ||
3 | import jav a.util.Has hMap; | |
4 | import jav a.util.Map ; | |
5 | ||
6 | /** | |
7 | * Bean cl ass for th e ICNHisto ryStatus d atabase ta ble. | |
8 | * | |
9 | * @author DN S D N S | |
10 | */ | |
11 | public cla ss ICNHist oryStatus { | |
12 | ||
13 | pu blic enum Status { | |
14 | UNDE FINED("UND EFINED"), NEW("NEW") , PROCESSE D("PROCESS ED"), ERRO R("ERROR") ; | |
15 | ||
16 | priv ate static final Map <String, S tatus> LOO KUP = new HashMap<>( ); | |
17 | ||
18 | priv ate String name; | |
19 | ||
20 | publ ic String getName() { | |
21 | return name; | |
22 | } | |
23 | ||
24 | priv ate Status (String na me) { | |
25 | this.n ame = name ; | |
26 | } | |
27 | ||
28 | publ ic static Status loo kupByName( String nam e) { | |
29 | return LOOKUP.ge t(name); | |
30 | } | |
31 | ||
32 | stat ic { | |
33 | for (S tatus s : Status.val ues()) { | |
34 | LOOKUP.p ut(s.getNa me(), s); | |
35 | } | |
36 | } | |
37 | } | |
38 | ||
39 | pr ivate int id; | |
40 | pr ivate Stri ng name; | |
41 | pr ivate Stri ng descrip tion; | |
42 | pr ivate Stat us status = Status.U NDEFINED; | |
43 | ||
44 | pu blic int g etId() { | |
45 | retu rn id; | |
46 | } | |
47 | ||
48 | pu blic void setId(int id) { | |
49 | this .id = id; | |
50 | } | |
51 | ||
52 | pu blic Strin g getName( ) { | |
53 | retu rn name; | |
54 | } | |
55 | ||
56 | pu blic void setName(St ring name) { | |
57 | this .name = na me; | |
58 | } | |
59 | ||
60 | pu blic Strin g getDescr iption() { | |
61 | retu rn descrip tion; | |
62 | } | |
63 | ||
64 | pu blic void setDescrip tion(Strin g descript ion) { | |
65 | this .descripti on = descr iption; | |
66 | } | |
67 | ||
68 | pu blic Statu s getStatu s() { | |
69 | retu rn status; | |
70 | } | |
71 | ||
72 | pu blic void setStatus( Status sta tus) { | |
73 | this .status = status; | |
74 | } | |
75 | ||
76 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.