Produced by Araxis Merge on 11/9/2017 4:31:01 PM 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 | PPS-N_B397.zip\PPS-N_B397\PPS-N_B397\PS_PPS_common\src\main\java\gov\va\med\pharmacy\peps\common\object | VistaUpdateStatus.java | Thu Nov 9 15:02:34 2017 UTC |
2 | PPS-N_B397.zip\PPS-N_B397\PPS-N_B397\PS_PPS_common\src\main\java\gov\va\med\pharmacy\peps\common\object | VistaUpdateStatus.java | Thu Nov 9 19:28:24 2017 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 284 |
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 | * | |
3 | */ | |
4 | ||
5 | ||
6 | package go v.va.med.p harmacy.pe ps.common. object; | |
7 | ||
8 | ||
9 | import gov .va.med.ph armacy.pep s.common.v o.EplVista UpdateVo; | |
10 | ||
11 | import jav a.util.Dat e; | |
12 | ||
13 | import jav ax.xml.bin d.annotati on.XmlAcce ssType; | |
14 | import jav ax.xml.bin d.annotati on.XmlAcce ssorType; | |
15 | import jav ax.xml.bin d.annotati on.XmlElem ent; | |
16 | import jav ax.xml.bin d.annotati on.XmlRoot Element; | |
17 | import jav ax.xml.bin d.annotati on.adapter s.XmlJavaT ypeAdapter ; | |
18 | ||
19 | ||
20 | /** | |
21 | * @author DN S CARUSR | |
22 | * | |
23 | */ | |
24 | @XmlRootEl ement | |
25 | @XmlAccess orType(Xml AccessType .FIELD) | |
26 | public cla ss VistaUp dateStatus { | |
27 | ||
28 | @XmlEl ement | |
29 | privat e String v ersion; | |
30 | @XmlEl ement | |
31 | privat e int site ; | |
32 | @XmlEl ement | |
33 | privat e String s tatus = "" ; | |
34 | @XmlEl ement | |
35 | @XmlJa vaTypeAdap ter(DateAd apter.clas s) | |
36 | privat e Date tim eApplied; | |
37 | @XmlEl ement | |
38 | privat e String m essage = " "; | |
39 | ||
40 | public VistaUpda teStatus() { | |
41 | } | |
42 | /** | |
43 | * @re turn the v ersion | |
44 | */ | |
45 | public String ge tVersion() { | |
46 | ||
47 | re turn versi on; | |
48 | } | |
49 | ||
50 | /** | |
51 | * @pa ram versio n the vers ion to set | |
52 | */ | |
53 | public void setV ersion(Str ing versio n) { | |
54 | ||
55 | th is.version = version ; | |
56 | } | |
57 | ||
58 | /** | |
59 | * @re turn the s ite | |
60 | */ | |
61 | public int getSi te() { | |
62 | ||
63 | re turn site; | |
64 | } | |
65 | ||
66 | /** | |
67 | * @pa ram site t he site to set | |
68 | */ | |
69 | public void setS ite(int si te) { | |
70 | ||
71 | th is.site = site; | |
72 | } | |
73 | ||
74 | /** | |
75 | * @re turn the s tatus | |
76 | */ | |
77 | public String ge tStatus() { | |
78 | ||
79 | re turn statu s; | |
80 | } | |
81 | ||
82 | /** | |
83 | * @pa ram status the statu s to set | |
84 | */ | |
85 | public void setS tatus(Stri ng status) { | |
86 | ||
87 | th is.status = status; | |
88 | } | |
89 | ||
90 | /** | |
91 | * @re turn the t imeApplied | |
92 | */ | |
93 | public Date getT imeApplied () { | |
94 | // Defect 19 5557 - If the timeAp plied was not passed in or par sed correc tly, use t he date/ti me from th e server. | |
95 | if (this.tim eApplied = = null ) { | |
96 | this.tim eApplied = new Date( ); | |
97 | } | |
98 | re turn timeA pplied; | |
99 | } | |
100 | ||
101 | /** | |
102 | * @pa ram timeAp plied the timeApplie d to set | |
103 | */ | |
104 | public void setT imeApplied (Date time Applied) { | |
105 | ||
106 | th is.timeApp lied = tim eApplied; | |
107 | } | |
108 | ||
109 | /** | |
110 | * @re turn the m essage | |
111 | */ | |
112 | public String ge tMessage() { | |
113 | ||
114 | re turn messa ge; | |
115 | } | |
116 | ||
117 | /** | |
118 | * @pa ram messag e the mess age to set | |
119 | */ | |
120 | public void setM essage(Str ing messag e) { | |
121 | ||
122 | th is.message = message ; | |
123 | } | |
124 | ||
125 | public EplVistaU pdateVo to Vo() { | |
126 | ||
127 | Ep lVistaUpda teVo vo = new EplVis taUpdateVo (); | |
128 | vo .setCommen ts(this.ge tMessage() ); | |
129 | vo .setFileNa me(this.ge tVersion() ); | |
130 | vo .setSite(t his.getSit e()); | |
131 | vo .setStatus (this.getS tatus()); | |
132 | vo .setTransm issionDate (this.getT imeApplied ()); | |
133 | ||
134 | re turn vo; | |
135 | } | |
136 | ||
137 | @Overr ide | |
138 | public String to String() { | |
139 | ||
140 | re turn "Vist aUpdateSta tus [versi on=" + ver sion + ", site=" + s ite + ", s tatus=" + status + " , timeAppl ied=" | |
141 | + timeAp plied + ", message=" + message + "]"; | |
142 | } | |
143 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.