Produced by Araxis Merge on 4/2/2019 1:06:54 PM 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 | C:\AraxisMergeCompare\Pri_un\ARS_Backend\ars_app\src\main\java\gov\va\med\ars\model\request | AuditLogger.java | Wed Mar 27 19:22:48 2019 UTC |
2 | C:\AraxisMergeCompare\Pri_re\ARS_Backend\ars_app\src\main\java\gov\va\med\ars\model\request | AuditLogger.java | Thu Mar 28 17:50:44 2019 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 310 |
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 | package go v.va.med.a rs.model.r equest; | |
5 | ||
6 | import jav a.util.Str ingJoiner; | |
7 | ||
8 | /** | |
9 | * @author
|
|
10 | * Will th is break H ibernated data? | |
11 | * Should there be a version # ? | |
12 | * | |
13 | */ | |
14 | public cla ss AuditLo gger { | |
15 | ||
16 | St ring vhaNa me; | |
17 | St ring attac hIdLx; | |
18 | St ring appli cationLeve l; | |
19 | Bo olean isDo wnload; // seriali zable, tha t's why | |
20 | ||
21 | // you need to have a no-args co nstructor. | |
22 | /* * | |
23 | * | |
24 | * / | |
25 | pu blic Audit Logger() { | |
26 | supe r(); | |
27 | // T ODO Auto-g enerated c onstructor stub | |
28 | } | |
29 | // // Unused ex cept for t esting, de precate | |
30 | // DEPRECA TE THESE " convenienc e" constru ctors. we don't need the compl exity. | |
31 | // /* * | |
32 | // * @param vh aName | |
33 | // * @param at tachIdLx | |
34 | // * / | |
35 | // pu blic Audit Logger(Str ing vhaNam e, String attachIdLx ) { | |
36 | // supe r(); | |
37 | // this .vhaName = vhaName; | |
38 | // this .attachIdL x = attach IdLx; | |
39 | // // a pplication Level = nu ll; // just rely on defaul t initiali zation | |
40 | // // t his.isDown load = fal se; // just rely on defaul t initiali zation | |
41 | // | |
42 | // } | |
43 | ||
44 | // I still don't kno w what app licationLe vel is for , so I'll keep this one. | |
45 | /* * | |
46 | * @param vh aName | |
47 | * @param at tachIdLx | |
48 | * @param is Download | |
49 | * / | |
50 | pu blic Audit Logger(Str ing vhaNam e, String attachIdLx , Boolean isDownload ) { | |
51 | supe r(); | |
52 | this .vhaName = vhaName; | |
53 | this .attachIdL x = attach IdLx; | |
54 | this .isDownloa d = isDown load; | |
55 | } | |
56 | /* * | |
57 | * @param vh aName | |
58 | * @param at tachIdLx | |
59 | * @param ap plicationL evel | |
60 | * @param is Download | |
61 | * / | |
62 | pu blic Audit Logger(Str ing vhaNam e, String attachIdLx , String a pplication Level, Boo lean isDow nload) { | |
63 | supe r(); | |
64 | this .vhaName = vhaName; | |
65 | this .attachIdL x = attach IdLx; | |
66 | this .applicati onLevel = applicatio nLevel; | |
67 | this .isDownloa d = isDown load; | |
68 | } | |
69 | ||
70 | // // Unused ex cept for t esting, de precate | |
71 | // /* * | |
72 | // * @param vh aName | |
73 | // * @param at tachIdLx | |
74 | // * @param ap plicationL evel | |
75 | // * / | |
76 | // pu blic Audit Logger(Str ing vhaNam e, String attachIdLx , String a pplication Level) { | |
77 | // supe r(); | |
78 | // this .vhaName = vhaName; | |
79 | // this .attachIdL x = attach IdLx; | |
80 | // this .applicati onLevel = applicatio nLevel; | |
81 | // } | |
82 | // | |
83 | /* * | |
84 | * @return t he vhaName | |
85 | * / | |
86 | pu blic Strin g getVhaNa me() { | |
87 | retu rn vhaName ; | |
88 | } | |
89 | ||
90 | /* * | |
91 | * @param vh aName | |
92 | * the vhaN ame to set | |
93 | * / | |
94 | pu blic void setVhaName (String vh aName) { | |
95 | this .vhaName = vhaName; | |
96 | } | |
97 | ||
98 | /* * | |
99 | * @return t he attachI dLx | |
100 | * / | |
101 | pu blic Strin g getAttac hIdLx() { // Depreca ted | |
102 | retu rn attachI dLx; | |
103 | } | |
104 | ||
105 | /* * | |
106 | * @param at tachIdLx | |
107 | * the atta chIdLx to set | |
108 | * / | |
109 | pu blic void setAttachI dLx(String attachIdL x) { | |
110 | this .attachIdL x = attach IdLx; | |
111 | } | |
112 | ||
113 | /* * | |
114 | * @return t he applica tionLevel | |
115 | * / | |
116 | pu blic Strin g getAppli cationLeve l() { | |
117 | retu rn applica tionLevel; | |
118 | } | |
119 | ||
120 | /* * | |
121 | * @param ap plicationL evel | |
122 | * the appl icationLev el to set | |
123 | * / | |
124 | pu blic void setApplica tionLevel( String app licationLe vel) { | |
125 | this .applicati onLevel = applicatio nLevel; | |
126 | } | |
127 | ||
128 | /* * | |
129 | * @return t he isDownl oad | |
130 | * / | |
131 | pu blic Boole an getIsDo wnload() { | |
132 | retu rn isDownl oad; | |
133 | } | |
134 | ||
135 | /* * | |
136 | * @param is Download | |
137 | * the isDo wnload to set | |
138 | * / | |
139 | pu blic void setDownloa d(Boolean isDownload ) { | |
140 | this .isDownloa d = isDown load; | |
141 | } | |
142 | /* | |
143 | * (non-Java doc) | |
144 | * | |
145 | * @see java .lang.Obje ct#toStrin g() | |
146 | * / | |
147 | @O verride | |
148 | pu blic Strin g toString () { | |
149 | Stri ngJoiner s j = new St ringJoiner (", ", "Au ditLogger [", "]"); | |
150 | sj.a dd("vhaNam e=" + vhaN ame); | |
151 | sj.a dd("attach IdLx=" + a ttachIdLx) ; | |
152 | sj.a dd("isDown load=" + i sDownload) ; | |
153 | sj.a dd("applic ationLevel =" + appli cationLeve l); | |
154 | retu rn sj.toSt ring(); | |
155 | } | |
156 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.