Produced by Araxis Merge on 2/4/2019 11:34:04 AM 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 | MHPRO_v1.x.zip\mhpro-resources-master@a26412b610c.zip\ws\src\main\java\gov\va\mobile\vamf\mhpro\domain | Assessment.java | Tue Nov 14 19:31:17 2017 UTC |
| 2 | MHPRO_v1.x.zip\mhpro-resources-master@a26412b610c.zip\ws\src\main\java\gov\va\mobile\vamf\mhpro\domain | Assessment.java | Mon Feb 4 15:13:47 2019 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 1218 |
| 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.mobil e.vamf.mhp ro.domain; | |
| 2 | ||
| 3 | import jav a.util.Arr ayList; | |
| 4 | import jav a.util.Lis t; | |
| 5 | ||
| 6 | import jav ax.xml.bin d.annotati on.XmlElem ent; | |
| 7 | ||
| 8 | import org .joda.time .DateTime; | |
| 9 | import org .springfra mework.dat a.annotati on.Transie nt; | |
| 10 | ||
| 11 | import gov .va.mobile .vamf.comm on.ecrud.d omain.Abst ractPersis tentDocume ntEntity; | |
| 12 | ||
| 13 | /** | |
| 14 | * The Cla ss Assessm ent. Repre sents a si ngle Asses sment docu ment. | |
| 15 | */ | |
| 16 | public cla ss Assessm ent // { | |
| 17 | exte nds Abstra ctPersiste ntDocument Entity<Ass essment> { | |
| 18 | ||
| 19 | /* * | |
| 20 | * Enum repr esenting s pecific ty pes of ass essments f or custom applicatio n | |
| 21 | * logic. | |
| 22 | * | |
| 23 | * @author PII | |
| 24 | * | |
| 25 | * / | |
| 26 | pu blic stati c enum Ass essmentTyp e { | |
| 27 | AUDC("AU DC"), // | |
| 28 | GAD7 ("GAD-7"), // | |
| 29 | PCL5 ("PCL-5"), // | |
| 30 | PHQ9 ("PHQ-9"), // | |
| 31 | ; | |
| 32 | ||
| 33 | priv ate String name; | |
| 34 | ||
| 35 | priv ate Assess mentType(S tring name ) { | |
| 36 | this.n ame = name ; | |
| 37 | } | |
| 38 | ||
| 39 | publ ic String getName() { | |
| 40 | return name; | |
| 41 | } | |
| 42 | ||
| 43 | publ ic static Assessment Type getBy Name(Strin g name) { | |
| 44 | for (A ssessmentT ype t : va lues()) | |
| 45 | if (t.ge tName().eq uals(name) ) | |
| 46 | return t; | |
| 47 | return null; | |
| 48 | } | |
| 49 | ||
| 50 | } | |
| 51 | ||
| 52 | pr ivate Stri ng _assign edEventId; | |
| 53 | ||
| 54 | pr ivate Stri ng _assign mentId; | |
| 55 | ||
| 56 | pr ivate Stri ng _pastDu eEventId; | |
| 57 | ||
| 58 | pr ivate Stri ng _dueEve ntId; | |
| 59 | ||
| 60 | pr ivate Stri ng _missed EventId; | |
| 61 | ||
| 62 | pr ivate Stri ng _comple tedByAsses smentId; | |
| 63 | ||
| 64 | pr ivate Bool ean archiv ed; | |
| 65 | ||
| 66 | pr ivate Stri ng assessm entName; | |
| 67 | ||
| 68 | pr ivate Stri ng recurre nceFrequen cy; | |
| 69 | ||
| 70 | pr ivate Bool ean comple ted; | |
| 71 | ||
| 72 | pr ivate Date Time start Date; | |
| 73 | ||
| 74 | pr ivate Date Time dueDa te; | |
| 75 | ||
| 76 | /* * the last day an as sessment c an be take n */ | |
| 77 | pr ivate Date Time endDa te; | |
| 78 | ||
| 79 | pr ivate List <Feedback> feedback; | |
| 80 | ||
| 81 | pr ivate Form at format; | |
| 82 | ||
| 83 | pr ivate Stri ng instruc tions; | |
| 84 | ||
| 85 | pr ivate Bool ean notTak en; | |
| 86 | ||
| 87 | pr ivate Stri ng patient Dfn; | |
| 88 | ||
| 89 | pr ivate Stri ng patient AssignAuth ; | |
| 90 | ||
| 91 | pr ivate Stri ng patient Id; | |
| 92 | ||
| 93 | pr ivate Stri ng provide rAssignAut h; | |
| 94 | ||
| 95 | pr ivate Stri ng provide rId; | |
| 96 | ||
| 97 | pr ivate Stri ng station ; | |
| 98 | ||
| 99 | pr ivate Stri ng gender; | |
| 100 | ||
| 101 | pr ivate Resp onse respo nse; | |
| 102 | ||
| 103 | pr ivate tran sient Stri ng errorMe ssage; | |
| 104 | ||
| 105 | @T ransient | |
| 106 | @X mlElement | |
| 107 | pr ivate tran sient Stri ng severit y; | |
| 108 | ||
| 109 | pr ivate Inte ger score; | |
| 110 | ||
| 111 | ||
| 112 | ||
| 113 | /* * The prov ider detai ls (name, etc). */ | |
| 114 | @X mlElement | |
| 115 | @T ransient | |
| 116 | pr ivate tran sient Prov iderDetail s provider Details; | |
| 117 | ||
| 118 | pu blic Asses sment() { | |
| 119 | th is.feedbac k = new Ar rayList<Fe edback>(); | |
| 120 | } | |
| 121 | pu blic void addFeedbac k (Feedbac k feedback ){ | |
| 122 | this.fee dback.add( feedback); | |
| 123 | } | |
| 124 | /* * | |
| 125 | * Gets the _assigned event id. | |
| 126 | * | |
| 127 | * @return t he _assign ed event i d | |
| 128 | * / | |
| 129 | pu blic Strin g get_assi gnedEventI d() { | |
| 130 | retu rn _assign edEventId; | |
| 131 | } | |
| 132 | ||
| 133 | pu blic Strin g get_assi gnmentId() { | |
| 134 | retu rn _assign mentId; | |
| 135 | } | |
| 136 | ||
| 137 | /* * | |
| 138 | * Gets the _past due event id. | |
| 139 | * | |
| 140 | * @return t he _past d ue event i d | |
| 141 | * / | |
| 142 | pu blic Strin g get_past DueEventId () { | |
| 143 | retu rn _pastDu eEventId; | |
| 144 | } | |
| 145 | ||
| 146 | /* * | |
| 147 | * Gets the archived. | |
| 148 | * | |
| 149 | * @return t he archive d | |
| 150 | * / | |
| 151 | pu blic Boole an getArch ived() { | |
| 152 | retu rn archive d; | |
| 153 | } | |
| 154 | ||
| 155 | pu blic Strin g getAsses smentName( ) { | |
| 156 | retu rn assessm entName; | |
| 157 | } | |
| 158 | ||
| 159 | pu blic Strin g getRecur renceFrequ ency() { | |
| 160 | retu rn this.re currenceFr equency; | |
| 161 | } | |
| 162 | ||
| 163 | /* * | |
| 164 | * Gets the completed. | |
| 165 | * | |
| 166 | * @return t he complet ed | |
| 167 | * / | |
| 168 | pu blic Boole an getComp leted() { | |
| 169 | retu rn complet ed; | |
| 170 | } | |
| 171 | ||
| 172 | /* * | |
| 173 | * Gets the due date. | |
| 174 | * | |
| 175 | * @return t he due dat e | |
| 176 | * / | |
| 177 | pu blic DateT ime getDue Date() { | |
| 178 | retu rn dueDate ; | |
| 179 | } | |
| 180 | ||
| 181 | /* * | |
| 182 | * Gets the error mess age. | |
| 183 | * | |
| 184 | * @return t he error m essage | |
| 185 | * / | |
| 186 | pu blic Strin g getError Message() { | |
| 187 | retu rn errorMe ssage; | |
| 188 | } | |
| 189 | ||
| 190 | /* * | |
| 191 | * Gets the feedback. | |
| 192 | * | |
| 193 | * @return t he feedbac k | |
| 194 | * / | |
| 195 | pu blic List< Feedback> getFeedbac k() { | |
| 196 | retu rn feedbac k; | |
| 197 | } | |
| 198 | ||
| 199 | pu blic Forma t getForma t() { | |
| 200 | retu rn format; | |
| 201 | } | |
| 202 | ||
| 203 | pu blic Strin g getInstr uctions() { | |
| 204 | retu rn instruc tions; | |
| 205 | } | |
| 206 | ||
| 207 | /* * | |
| 208 | * Gets the not taken. | |
| 209 | * | |
| 210 | * @return t he not tak en | |
| 211 | * / | |
| 212 | pu blic Boole an getNotT aken() { | |
| 213 | retu rn notTake n; | |
| 214 | } | |
| 215 | ||
| 216 | pu blic Strin g getPatie ntAssignAu th() { | |
| 217 | retu rn patient AssignAuth ; | |
| 218 | } | |
| 219 | ||
| 220 | pu blic Strin g getPatie ntId() { | |
| 221 | retu rn patient Id; | |
| 222 | } | |
| 223 | ||
| 224 | pu blic Strin g getStati on() { | |
| 225 | retu rn station ; | |
| 226 | } | |
| 227 | ||
| 228 | pu blic Strin g getProvi derAssignA uth() { | |
| 229 | retu rn provide rAssignAut h; | |
| 230 | } | |
| 231 | ||
| 232 | pu blic Strin g getProvi derId() { | |
| 233 | retu rn provide rId; | |
| 234 | } | |
| 235 | ||
| 236 | pu blic Provi derDetails getProvid erDetails( ) { | |
| 237 | retu rn provide rDetails; | |
| 238 | } | |
| 239 | ||
| 240 | pu blic void setProvide rDetails(P roviderDet ails provi derDetails ) { | |
| 241 | this .providerD etails = p roviderDet ails; | |
| 242 | } | |
| 243 | ||
| 244 | pu blic Respo nse getRes ponse() { | |
| 245 | retu rn respons e; | |
| 246 | } | |
| 247 | ||
| 248 | /* * | |
| 249 | * Sets the _assigned event id. | |
| 250 | * | |
| 251 | * @param _a ssignedEve ntId | |
| 252 | * the new _assigned event id | |
| 253 | * / | |
| 254 | pu blic void set_assign edEventId( String _as signedEven tId) { | |
| 255 | this ._assigned EventId = _assignedE ventId; | |
| 256 | } | |
| 257 | ||
| 258 | pu blic void set_assign mentId(Str ing _assig nmentId) { | |
| 259 | this ._assignme ntId = _as signmentId ; | |
| 260 | } | |
| 261 | ||
| 262 | /* * | |
| 263 | * Sets the _past due event id. | |
| 264 | * | |
| 265 | * @param _p astDueEven tId | |
| 266 | * the new _past due event id | |
| 267 | * / | |
| 268 | pu blic void set_pastDu eEventId(S tring _pas tDueEventI d) { | |
| 269 | this ._pastDueE ventId = _ pastDueEve ntId; | |
| 270 | } | |
| 271 | ||
| 272 | /* * | |
| 273 | * Sets the archived. | |
| 274 | * | |
| 275 | * @param ar chived | |
| 276 | * the arch ived to se t | |
| 277 | * / | |
| 278 | pu blic void setArchive d(Boolean archived) { | |
| 279 | this .archived = archived ; | |
| 280 | } | |
| 281 | ||
| 282 | pu blic void setAssessm entName(St ring asses smentName) { | |
| 283 | this .assessmen tName = as sessmentNa me; | |
| 284 | } | |
| 285 | ||
| 286 | pu blic void setRecurre nceFrequen cy(String recurrence Frequency) { | |
| 287 | this .recurrenc eFrequency = recurre nceFrequen cy; | |
| 288 | } | |
| 289 | ||
| 290 | /* * | |
| 291 | * Sets the completed. | |
| 292 | * | |
| 293 | * @param co mpleted | |
| 294 | * the new completed | |
| 295 | * / | |
| 296 | pu blic void setComplet ed(Boolean completed ) { | |
| 297 | this .completed = complet ed; | |
| 298 | } | |
| 299 | ||
| 300 | /* * | |
| 301 | * Sets the due date. | |
| 302 | * | |
| 303 | * @param du eDate | |
| 304 | * the new due date | |
| 305 | * / | |
| 306 | pu blic void setDueDate (DateTime dueDate) { | |
| 307 | this .dueDate = dueDate; | |
| 308 | } | |
| 309 | ||
| 310 | /* * | |
| 311 | * Sets the error mess age. | |
| 312 | * | |
| 313 | * @param er rorMessage | |
| 314 | * the new error mess age | |
| 315 | * / | |
| 316 | pu blic void setErrorMe ssage(Stri ng errorMe ssage) { | |
| 317 | this .errorMess age = erro rMessage; | |
| 318 | } | |
| 319 | ||
| 320 | /* * | |
| 321 | * Sets the feedback. | |
| 322 | * | |
| 323 | * @param fe edback | |
| 324 | * the new feedback | |
| 325 | * / | |
| 326 | pu blic void setFeedbac k(List<Fee dback> fee dback) { | |
| 327 | this .feedback = feedback ; | |
| 328 | } | |
| 329 | ||
| 330 | pu blic void setFormat( Format for mat) { | |
| 331 | this .format = format; | |
| 332 | } | |
| 333 | ||
| 334 | pu blic void setInstruc tions(Stri ng instruc tions) { | |
| 335 | this .instructi ons = inst ructions; | |
| 336 | } | |
| 337 | ||
| 338 | /* * | |
| 339 | * Sets the not taken. | |
| 340 | * | |
| 341 | * @param no tTaken | |
| 342 | * the new not taken | |
| 343 | * / | |
| 344 | pu blic void setNotTake n(Boolean notTaken) { | |
| 345 | this .notTaken = notTaken ; | |
| 346 | } | |
| 347 | ||
| 348 | pu blic void setPatient AssignAuth (String pa tientAssig nAuth) { | |
| 349 | this .patientAs signAuth = patientAs signAuth; | |
| 350 | } | |
| 351 | ||
| 352 | pu blic void setPatient Id(String patientId) { | |
| 353 | this .patientId = patient Id; | |
| 354 | } | |
| 355 | ||
| 356 | pu blic void setStation (String st ation) { | |
| 357 | this .station = station; | |
| 358 | } | |
| 359 | ||
| 360 | pu blic void setProvide rAssignAut h(String p roviderAss ignAuth) { | |
| 361 | this .providerA ssignAuth = provider AssignAuth ; | |
| 362 | } | |
| 363 | ||
| 364 | pu blic void setProvide rId(String providerI d) { | |
| 365 | this .providerI d = provid erId; | |
| 366 | } | |
| 367 | ||
| 368 | pu blic void setRespons e(Response response) { | |
| 369 | this .response = response ; | |
| 370 | } | |
| 371 | ||
| 372 | pu blic Strin g get_miss edEventId( ) { | |
| 373 | retu rn _missed EventId; | |
| 374 | } | |
| 375 | ||
| 376 | pu blic void set_missed EventId(St ring _miss edEventId) { | |
| 377 | this ._missedEv entId = _m issedEvent Id; | |
| 378 | } | |
| 379 | ||
| 380 | /* | |
| 381 | * public St ring get_i d() { retu rn _id; } | |
| 382 | * | |
| 383 | * public vo id set_id( String _id ) { this._ id = _id; } | |
| 384 | * | |
| 385 | * public St ring getDo cCreatedBy () { retur n docCreat edBy; } | |
| 386 | * | |
| 387 | * public vo id setDocC reatedBy(S tring docC reatedBy) { this.doc CreatedBy = | |
| 388 | * docCreate dBy; } | |
| 389 | * | |
| 390 | * public St ring getDo cLastModif iedBy() { return doc LastModifi edBy; } | |
| 391 | * | |
| 392 | * public vo id setDocL astModifie dBy(String docLastMo difiedBy) { | |
| 393 | * this.docL astModifie dBy = docL astModifie dBy; } | |
| 394 | * | |
| 395 | * | |
| 396 | * public Da te getDocC reatedDate () { retur n docCreat edDate; } | |
| 397 | * | |
| 398 | * public vo id setDocC reatedDate (Date docC reatedDate ) { this.d ocCreatedD ate | |
| 399 | * = docCrea tedDate; } | |
| 400 | * | |
| 401 | * public Da te getDocU pdatedDate () { retur n docUpdat edDate; } | |
| 402 | * | |
| 403 | * public vo id setDocU pdatedDate (Date docU pdatedDate ) { this.d ocUpdatedD ate | |
| 404 | * = docUpda tedDate; } | |
| 405 | * / | |
| 406 | ||
| 407 | pu blic Strin g get_comp letedByAss essmentId( ) { | |
| 408 | retu rn _comple tedByAsses smentId; | |
| 409 | } | |
| 410 | ||
| 411 | pu blic void set_comple tedByAsses smentId(St ring _comp letedByAss essmentId) { | |
| 412 | this ._complete dByAssessm entId = _c ompletedBy Assessment Id; | |
| 413 | } | |
| 414 | ||
| 415 | /* * | |
| 416 | * @return t he patient Dfn | |
| 417 | * / | |
| 418 | pu blic Strin g getPatie ntDfn() { | |
| 419 | retu rn patient Dfn; | |
| 420 | } | |
| 421 | ||
| 422 | /* * | |
| 423 | * @param pa tientDfn | |
| 424 | * the pati entDfn to set | |
| 425 | * / | |
| 426 | pu blic void setPatient Dfn(String patientDf n) { | |
| 427 | this .patientDf n = patien tDfn; | |
| 428 | } | |
| 429 | ||
| 430 | /* * | |
| 431 | * @return t he _dueEve ntId | |
| 432 | * / | |
| 433 | pu blic Strin g get_dueE ventId() { | |
| 434 | retu rn _dueEve ntId; | |
| 435 | } | |
| 436 | ||
| 437 | /* * | |
| 438 | * @param _d ueEventId | |
| 439 | * the _due EventId to set | |
| 440 | * / | |
| 441 | pu blic void set_dueEve ntId(Strin g _dueEven tId) { | |
| 442 | this ._dueEvent Id = _dueE ventId; | |
| 443 | } | |
| 444 | ||
| 445 | /* * | |
| 446 | * @return t he startDa te | |
| 447 | * / | |
| 448 | pu blic DateT ime getSta rtDate() { | |
| 449 | retu rn startDa te; | |
| 450 | } | |
| 451 | ||
| 452 | /* * | |
| 453 | * @param st artDate | |
| 454 | * the star tDate to s et | |
| 455 | * / | |
| 456 | pu blic void setStartDa te(DateTim e startDat e) { | |
| 457 | this .startDate = startDa te; | |
| 458 | } | |
| 459 | ||
| 460 | /* * | |
| 461 | * @return t he endDate | |
| 462 | * / | |
| 463 | pu blic DateT ime getEnd Date() { | |
| 464 | retu rn endDate ; | |
| 465 | } | |
| 466 | ||
| 467 | /* * | |
| 468 | * @param en dDate | |
| 469 | * the endD ate to set | |
| 470 | * / | |
| 471 | pu blic void setEndDate (DateTime endDate) { | |
| 472 | this .endDate = endDate; | |
| 473 | } | |
| 474 | ||
| 475 | /* | |
| 476 | * public St ring get_i d() { retu rn _id; } | |
| 477 | * | |
| 478 | * public vo id set_id( String _id ) { this._ id = _id; } | |
| 479 | * | |
| 480 | * public St ring getDo cCreatedBy () { retur n docCreat edBy; } | |
| 481 | * | |
| 482 | * public vo id setDocC reatedBy(S tring docC reatedBy) { this.doc CreatedBy = | |
| 483 | * docCreate dBy; } | |
| 484 | * | |
| 485 | * public St ring getDo cLastModif iedBy() { return doc LastModifi edBy; } | |
| 486 | * | |
| 487 | * public vo id setDocL astModifie dBy(String docLastMo difiedBy) { | |
| 488 | * this.docL astModifie dBy = docL astModifie dBy; } | |
| 489 | * | |
| 490 | * | |
| 491 | * public Da te getDocC reatedDate () { retur n docCreat edDate; } | |
| 492 | * | |
| 493 | * public vo id setDocC reatedDate (Date docC reatedDate ) { this.d ocCreatedD ate | |
| 494 | * = docCrea tedDate; } | |
| 495 | * | |
| 496 | * public Da te getDocU pdatedDate () { retur n docUpdat edDate; } | |
| 497 | * | |
| 498 | * public vo id setDocU pdatedDate (Date docU pdatedDate ) { this.d ocUpdatedD ate | |
| 499 | * = docUpda tedDate; } | |
| 500 | * / | |
| 501 | ||
| 502 | /* | |
| 503 | * (non-Java doc) | |
| 504 | * | |
| 505 | * @see gov. va.mobile. vamf.commo n.ecrud.do main.Abstr actPersist entEntity# | |
| 506 | * requiredE quals(java .lang.Obje ct) | |
| 507 | * / | |
| 508 | @O verride | |
| 509 | pr otected bo olean requ iredEquals (Assessmen t obj) { | |
| 510 | if ( this == ob j) | |
| 511 | return true; | |
| 512 | if ( getClass() != obj.ge tClass()) | |
| 513 | return false; | |
| 514 | Asse ssment oth er = (Asse ssment) ob j; | |
| 515 | if ( completed == null) { | |
| 516 | if (ot her.comple ted != nul l) | |
| 517 | return f alse; | |
| 518 | } el se if (!co mpleted.eq uals(other .completed )) | |
| 519 | return false; | |
| 520 | if ( archived = = null) { | |
| 521 | if (ot her.archiv ed != null ) | |
| 522 | return f alse; | |
| 523 | } el se if (!ar chived.equ als(other. archived)) | |
| 524 | return false; | |
| 525 | if ( dueDate == null) { | |
| 526 | if (ot her.dueDat e != null) | |
| 527 | return f alse; | |
| 528 | } el se if (!du eDate.equa ls(other.d ueDate)) | |
| 529 | return false; | |
| 530 | if ( feedback = = null) { | |
| 531 | if (ot her.feedba ck != null ) | |
| 532 | return f alse; | |
| 533 | } el se if (!fe edback.equ als(other. feedback)) | |
| 534 | return false; | |
| 535 | if ( notTaken = = null) { | |
| 536 | if (ot her.notTak en != null ) | |
| 537 | return f alse; | |
| 538 | } el se if (!no tTaken.equ als(other. notTaken)) | |
| 539 | return false; | |
| 540 | retu rn true; | |
| 541 | } | |
| 542 | ||
| 543 | /* | |
| 544 | * public St ring get_i d() { retu rn _id; } | |
| 545 | * | |
| 546 | * public vo id set_id( String _id ) { this._ id = _id; } | |
| 547 | * | |
| 548 | * public St ring getDo cCreatedBy () { retur n docCreat edBy; } | |
| 549 | * | |
| 550 | * public vo id setDocC reatedBy(S tring docC reatedBy) { this.doc CreatedBy = | |
| 551 | * docCreate dBy; } | |
| 552 | * | |
| 553 | * public St ring getDo cLastModif iedBy() { return doc LastModifi edBy; } | |
| 554 | * | |
| 555 | * public vo id setDocL astModifie dBy(String docLastMo difiedBy) { | |
| 556 | * this.docL astModifie dBy = docL astModifie dBy; } | |
| 557 | * | |
| 558 | * | |
| 559 | * public Da te getDocC reatedDate () { retur n docCreat edDate; } | |
| 560 | * | |
| 561 | * public vo id setDocC reatedDate (Date docC reatedDate ) { this.d ocCreatedD ate | |
| 562 | * = docCrea tedDate; } | |
| 563 | * | |
| 564 | * public Da te getDocU pdatedDate () { retur n docUpdat edDate; } | |
| 565 | * | |
| 566 | * public vo id setDocU pdatedDate (Date docU pdatedDate ) { this.d ocUpdatedD ate | |
| 567 | * = docUpda tedDate; } | |
| 568 | * / | |
| 569 | ||
| 570 | /* | |
| 571 | * (non-Java doc) | |
| 572 | * | |
| 573 | * @see gov. va.mobile. vamf.commo n.ecrud.do main.Abstr actPersist entEntity# | |
| 574 | * requiredH ashCode() | |
| 575 | * / | |
| 576 | @O verride | |
| 577 | pr otected in t required HashCode() { | |
| 578 | fina l int prim e = 31; | |
| 579 | int result = p rime + ((c ompleted = = null) ? 0 : comple ted.hashCo de()); | |
| 580 | resu lt = prime * result + ((archiv ed == null ) ? 0 : ar chived.has hCode()); | |
| 581 | resu lt = prime * result + ((dueDat e == null) ? 0 : due Date.hashC ode()); | |
| 582 | resu lt = prime * result + ((feedba ck == null ) ? 0 : fe edback.has hCode()); | |
| 583 | resu lt = prime * result + ((notTak en == null ) ? 0 : no tTaken.has hCode()); | |
| 584 | retu rn result; | |
| 585 | } | |
| 586 | ||
| 587 | pu blic void setSeverit y(String s everity) { | |
| 588 | this .severity = severity ; | |
| 589 | } | |
| 590 | ||
| 591 | pu blic Strin g getSever ity() { | |
| 592 | retu rn severit y; | |
| 593 | } | |
| 594 | ||
| 595 | pu blic Integ er getScor e() { | |
| 596 | retu rn score; | |
| 597 | } | |
| 598 | ||
| 599 | pu blic void setScore(I nteger sco re) { | |
| 600 | this .score = s core; | |
| 601 | } | |
| 602 | ||
| 603 | pu blic Strin g getGende r() { | |
| 604 | retu rn gender; | |
| 605 | } | |
| 606 | ||
| 607 | pu blic void setGender( String gen der) { | |
| 608 | this .gender = gender; | |
| 609 | } | |
| 610 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.