Produced by Araxis Merge on 6/9/2017 3:49:48 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 | Fri Jun 9 19:49:48 2017 UTC | ||
| 2 | eHealth_Exch (eHealth Exchange Enhancements) Build 3 docs & code_May_2017.zip\VAP_CIF_CODE0502.zip\VAP_CIF_CODE0502\VAP_CIF_CODE0502\nvap-client\src\main\java\gov\va\nvap\service\audit\data | ConsentAudit.java | Fri Apr 21 20:03:26 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 1 | 292 |
| 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.nvap. service.au dit.data; | |||||
| 2 | ||||||
| 3 | import jav a.io.Seria lizable; | |||||
| 4 | import jav a.util.Dat e; | |||||
| 5 | import jav ax.persist ence.Basic ; | |||||
| 6 | import jav ax.persist ence.Colum n; | |||||
| 7 | import jav ax.persist ence.Entit y; | |||||
| 8 | import jav ax.persist ence.Gener atedValue; | |||||
| 9 | import jav ax.persist ence.Gener ationType; | |||||
| 10 | import jav ax.persist ence.Id; | |||||
| 11 | import jav ax.persist ence.Lob; | |||||
| 12 | import jav ax.persist ence.Named Queries; | |||||
| 13 | import jav ax.persist ence.Named Query; | |||||
| 14 | import jav ax.persist ence.Seque nceGenerat or; | |||||
| 15 | import jav ax.persist ence.Table ; | |||||
| 16 | import jav ax.persist ence.Tempo ral; | |||||
| 17 | import jav ax.persist ence.Tempo ralType; | |||||
| 18 | ||||||
| 19 | @Entity | |||||
| 20 | @Table(nam e = "CONSE NT_AUDIT") | |||||
| 21 | @NamedQuer ies({ | |||||
| 22 | @Nam edQuery(na me = "Cons entAudit.g etLatestAu dit", quer y = "SELEC T ca FROM ConsentAud it ca wher e ca.patie ntId = :pa tientId an d ca.conse ntType = : consentTyp e order by ca.timeOf Event desc ")}) | |||||
| 23 | public cla ss Consent Audit impl ements Ser ializable { | |||||
| 24 | /* * | |||||
| 25 | * | |||||
| 26 | * / | |||||
| 27 | pr ivate stat ic final l ong serial VersionUID = -421097 6291205568 731L; | |||||
| 28 | ||||||
| 29 | @C olumn(name = "ACTION _TYPE") | |||||
| 30 | pr ivate Stri ng actionT ype; | |||||
| 31 | @I d | |||||
| 32 | @S equenceGen erator(nam e = "conse ntAuditSeq uence", se quenceName = "CONSEN T_AUDIT_SE Q") | |||||
| 33 | @G eneratedVa lue(strate gy = Gener ationType. SEQUENCE, generator = "consent AuditSeque nce") | |||||
| 34 | @B asic(optio nal = fals e) | |||||
| 35 | @C olumn(name = "CONSEN T_AUDIT_ID ") | |||||
| 36 | pr ivate Long consentAu ditId; | |||||
| 37 | @C olumn(name = "CONSEN T_TYPE") | |||||
| 38 | pr ivate Stri ng consent Type; | |||||
| 39 | @C olumn(name = "CREATE D_DATE") | |||||
| 40 | @T emporal(Te mporalType .TIMESTAMP ) | |||||
| 41 | pr ivate Date createdDa te; | |||||
| 42 | @L ob | |||||
| 43 | @C olumn(name = "DETAIL ") | |||||
| 44 | pr ivate Stri ng detail; | |||||
| 45 | @C olumn(name = "FACILI TY") | |||||
| 46 | pr ivate Stri ng facilit y; | |||||
| 47 | @C olumn(name = "FACILI TY_NAME") | |||||
| 48 | pr ivate Stri ng facilit yName; | |||||
| 49 | @C olumn(name = "OPTOUT _REASON", length = 4 000) | |||||
| 50 | pr ivate Stri ng optoutR eason; | |||||
| 51 | @C olumn(name = "POU_VA LUE") | |||||
| 52 | pr ivate Stri ng pouValu e; | |||||
| 53 | @C olumn(name = "PATIEN T_GIVEN_NA ME") | |||||
| 54 | pr ivate Stri ng patient GivenName; | |||||
| 55 | @C olumn(name = "PATIEN T_ID") | |||||
| 56 | pr ivate Stri ng patient Id; | |||||
| 57 | @C olumn(name = "PATIEN T_LAST_NAM E") | |||||
| 58 | pr ivate Stri ng patient LastName; | |||||
| 59 | @C olumn(name = "PATIEN T_MIDDLE_N AME") | |||||
| 60 | pr ivate Stri ng patient MiddleName ; | |||||
| 61 | @C olumn(name = "PATIEN T_SSN") | |||||
| 62 | pr ivate Stri ng patient Ssn; | |||||
| 63 | // @Column(n ame = "PAT IENT_FACIL ITY") | |||||
| 64 | // private S tring pati entFacilit y; | |||||
| 65 | @C olumn(name = "TIME_O F_EVENT") | |||||
| 66 | @T emporal(Te mporalType .TIMESTAMP ) | |||||
| 67 | pr ivate Date timeOfEve nt; | |||||
| 68 | @C olumn(name = "USER_I D") | |||||
| 69 | pr ivate Stri ng userId; | |||||
| 70 | ||||||
| 71 | pu blic Conse ntAudit() { | |||||
| 72 | } | |||||
| 73 | ||||||
| 74 | /* * | |||||
| 75 | * @return t he actionT ype | |||||
| 76 | * / | |||||
| 77 | pu blic Strin g getActio nType() { | |||||
| 78 | retu rn this.ac tionType; | |||||
| 79 | } | |||||
| 80 | ||||||
| 81 | /* * | |||||
| 82 | * @return t he consent AuditId | |||||
| 83 | * / | |||||
| 84 | pu blic Long getConsent AuditId() { | |||||
| 85 | retu rn this.co nsentAudit Id; | |||||
| 86 | } | |||||
| 87 | ||||||
| 88 | pu blic Strin g getConse ntType() { | |||||
| 89 | retu rn this.co nsentType; | |||||
| 90 | } | |||||
| 91 | ||||||
| 92 | /* * | |||||
| 93 | * @return t he created Date | |||||
| 94 | * / | |||||
| 95 | pu blic Date getCreated Date() { | |||||
| 96 | retu rn this.cr eatedDate; | |||||
| 97 | } | |||||
| 98 | ||||||
| 99 | /* * | |||||
| 100 | * @return t he detail | |||||
| 101 | * / | |||||
| 102 | pu blic Strin g getDetai l() { | |||||
| 103 | retu rn this.de tail; | |||||
| 104 | } | |||||
| 105 | ||||||
| 106 | /* * | |||||
| 107 | * @return t he facilit y | |||||
| 108 | * / | |||||
| 109 | pu blic Strin g getFacil ity() { | |||||
| 110 | retu rn this.fa cility; | |||||
| 111 | } | |||||
| 112 | ||||||
| 113 | /* * | |||||
| 114 | * @return t he facilit y name | |||||
| 115 | * / | |||||
| 116 | pu blic Strin g getFacil ityName() { | |||||
| 117 | retu rn this.fa cilityName ; | |||||
| 118 | } | |||||
| 119 | ||||||
| 120 | /* * | |||||
| 121 | * @return t he optoutR eason | |||||
| 122 | * / | |||||
| 123 | pu blic Strin g getOptou tReason() { | |||||
| 124 | retu rn this.op toutReason ; | |||||
| 125 | } | |||||
| 126 | ||||||
| 127 | pu blic Strin g getPatie ntGivenNam e() { | |||||
| 128 | retu rn this.pa tientGiven Name; | |||||
| 129 | } | |||||
| 130 | ||||||
| 131 | /* * | |||||
| 132 | * @return t he patient Facility | |||||
| 133 | * | |||||
| 134 | * p ublic Stri ng getPati entFacilit y() { retu rn this.pa tientFacil ity; | |||||
| 135 | * } | |||||
| 136 | * / | |||||
| 137 | /* * | |||||
| 138 | * @return t he patient Id | |||||
| 139 | * / | |||||
| 140 | pu blic Strin g getPatie ntId() { | |||||
| 141 | retu rn this.pa tientId; | |||||
| 142 | } | |||||
| 143 | ||||||
| 144 | pu blic Strin g getPatie ntLastName () { | |||||
| 145 | retu rn this.pa tientLastN ame; | |||||
| 146 | } | |||||
| 147 | ||||||
| 148 | pu blic Strin g getPatie ntMiddleNa me() { | |||||
| 149 | retu rn this.pa tientMiddl eName; | |||||
| 150 | } | |||||
| 151 | ||||||
| 152 | pu blic Strin g getPatie ntSsn() { | |||||
| 153 | retu rn this.pa tientSsn; | |||||
| 154 | } | |||||
| 155 | ||||||
| 156 | /* * | |||||
| 157 | * @return t he timeOfE vent | |||||
| 158 | * / | |||||
| 159 | pu blic Date getTimeOfE vent() { | |||||
| 160 | retu rn this.ti meOfEvent; | |||||
| 161 | } | |||||
| 162 | ||||||
| 163 | /* * | |||||
| 164 | * @return t he userId | |||||
| 165 | * / | |||||
| 166 | pu blic Strin g getUserI d() { | |||||
| 167 | retu rn this.us erId; | |||||
| 168 | } | |||||
| 169 | ||||||
| 170 | /* * | |||||
| 171 | * @param ac tionType | |||||
| 172 | * the acti onType to set | |||||
| 173 | * / | |||||
| 174 | pu blic void setActionT ype(final String act ionType) { | |||||
| 175 | this .actionTyp e = action Type; | |||||
| 176 | } | |||||
| 177 | ||||||
| 178 | /* * | |||||
| 179 | * @param pa tientFacil ity | |||||
| 180 | * the user Facility t o set | |||||
| 181 | * | |||||
| 182 | * public v oid setPat ientFacili ty(final S tring pati entFacilit y) { | |||||
| 183 | * this.pat ientFacili ty = patie ntFacility ; } | |||||
| 184 | * / | |||||
| 185 | ||||||
| 186 | /* * | |||||
| 187 | * @param co nsentAudit Id | |||||
| 188 | * the cons entAuditId to set | |||||
| 189 | * / | |||||
| 190 | pu blic void setConsent AuditId(fi nal Long c onsentAudi tId) { | |||||
| 191 | this .consentAu ditId = co nsentAudit Id; | |||||
| 192 | } | |||||
| 193 | ||||||
| 194 | pu blic void setConsent Type(final String co nsentType) { | |||||
| 195 | this .consentTy pe = conse ntType; | |||||
| 196 | } | |||||
| 197 | ||||||
| 198 | /* * | |||||
| 199 | * @param cr eatedDate | |||||
| 200 | * the crea tedDate to set | |||||
| 201 | * / | |||||
| 202 | pu blic void setCreated Date(final Date crea tedDate) { | |||||
| 203 | this .createdDa te = creat edDate; | |||||
| 204 | } | |||||
| 205 | ||||||
| 206 | /* * | |||||
| 207 | * @param de tail | |||||
| 208 | * the deta il to set | |||||
| 209 | * / | |||||
| 210 | pu blic void setDetail( final Stri ng detail) { | |||||
| 211 | this .detail = detail; | |||||
| 212 | } | |||||
| 213 | ||||||
| 214 | /* * | |||||
| 215 | * @param fa cility | |||||
| 216 | * the faci lity to se t | |||||
| 217 | * / | |||||
| 218 | pu blic void setFacilit y(final St ring facil ity) { | |||||
| 219 | this .facility = facility ; | |||||
| 220 | } | |||||
| 221 | ||||||
| 222 | /* * | |||||
| 223 | * @param fa cility nam e | |||||
| 224 | * the faci lity name to set | |||||
| 225 | * / | |||||
| 226 | pu blic void setFacilit yName(fina l String f acilityNam e) { | |||||
| 227 | this .facilityN ame = faci lityName; | |||||
| 228 | } | |||||
| 229 | ||||||
| 230 | /* * | |||||
| 231 | * @param op toutReason | |||||
| 232 | * the opto utReason t o set | |||||
| 233 | * / | |||||
| 234 | pu blic void setOptoutR eason(fina l String o ptoutReaso n) { | |||||
| 235 | this .optoutRea son = opto utReason; | |||||
| 236 | } | |||||
| 237 | ||||||
| 238 | pu blic void setPatient GivenName( final Stri ng patient GivenName) { | |||||
| 239 | this .patientGi venName = patientGiv enName; | |||||
| 240 | } | |||||
| 241 | ||||||
| 242 | /* * | |||||
| 243 | * @param pa tientId | |||||
| 244 | * the pati entId to s et | |||||
| 245 | * / | |||||
| 246 | pu blic void setPatient Id(final S tring pati entId) { | |||||
| 247 | this .patientId = patient Id; | |||||
| 248 | } | |||||
| 249 | ||||||
| 250 | pu blic void setPatient LastName(f inal Strin g patientL astName) { | |||||
| 251 | this .patientLa stName = p atientLast Name; | |||||
| 252 | } | |||||
| 253 | ||||||
| 254 | pu blic void setPatient MiddleName (final Str ing patien tMiddleNam e) { | |||||
| 255 | this .patientMi ddleName = patientMi ddleName; | |||||
| 256 | } | |||||
| 257 | ||||||
| 258 | pu blic void setPatient Ssn(final String pat ientSsn) { | |||||
| 259 | this .patientSs n = patien tSsn; | |||||
| 260 | } | |||||
| 261 | ||||||
| 262 | /* * | |||||
| 263 | * @param ti meOfEvent | |||||
| 264 | * the time OfEvent to set | |||||
| 265 | * / | |||||
| 266 | pu blic void setTimeOfE vent(final Date time OfEvent) { | |||||
| 267 | this .timeOfEve nt = timeO fEvent; | |||||
| 268 | } | |||||
| 269 | ||||||
| 270 | /* * | |||||
| 271 | * @param us erId | |||||
| 272 | * the user Id to set | |||||
| 273 | * / | |||||
| 274 | pu blic void setUserId( final Stri ng userId) { | |||||
| 275 | this .userId = userId; | |||||
| 276 | } | |||||
| 277 | ||||||
| 278 | @O verride | |||||
| 279 | pu blic Strin g toString () { | |||||
| 280 | retu rn (new St ringBuilde r()) | |||||
| 281 | .append( "gov.va.nv ap.service .audit.dat a.ConsentA udit[conse ntAuditId= ") | |||||
| 282 | .append( this.conse ntAuditId) .append("] ").toStrin g(); | |||||
| 283 | } | |||||
| 284 | ||||||
| 285 | pu blic void setPouValu e(String p ouValue) { | |||||
| 286 | this .pouValue = pouValue ; | |||||
| 287 | } | |||||
| 288 | ||||||
| 289 | pu blic Strin g getPouVa lue() { | |||||
| 290 | retu rn pouValu e; | |||||
| 291 | } | |||||
| 292 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.