Produced by Araxis Merge on 11/14/2017 6:57:20 AM 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 | cbs.zip\cbs\cbs\src\main\java\gov\va\cpss\model\fps | PSPatient.java | Thu Nov 9 14:19:52 2017 UTC |
| 2 | cbs.zip\cbs\cbs\src\main\java\gov\va\cpss\model\fps | PSPatient.java | Tue Nov 14 12:26:52 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 742 |
| 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.fps; | |
| 2 | ||
| 3 | import jav a.util.Arr ayList; | |
| 4 | import jav a.util.Arr ays; | |
| 5 | import jav a.util.Dat e; | |
| 6 | import jav a.util.Lis t; | |
| 7 | ||
| 8 | import gov .va.cpss.c obol.Money ; | |
| 9 | import gov .va.cpss.m odel.Boole anChar; | |
| 10 | import gov .va.cpss.m odel.CBSSA uditDates; | |
| 11 | ||
| 12 | /** | |
| 13 | * Bean cl ass for th e PSPatien t database table. | |
| 14 | * | |
| 15 | * @author DN S BROWNL | |
| 16 | */ | |
| 17 | public cla ss PSPatie nt extends PSRecord implements CBSSAudit Dates { | |
| 18 | ||
| 19 | pr ivate long id; | |
| 20 | pr ivate PSSi te psSite; | |
| 21 | pr ivate Stri ng patient Account; | |
| 22 | pr ivate Stri ng patient LastName; | |
| 23 | pr ivate Stri ng patient FirstName; | |
| 24 | pr ivate Stri ng patient MiddleName ; | |
| 25 | pr ivate Stri ng address 1; | |
| 26 | pr ivate Stri ng address 2; | |
| 27 | pr ivate Stri ng address 3; | |
| 28 | pr ivate Stri ng city; | |
| 29 | pr ivate Stri ng state; | |
| 30 | pr ivate Stri ng zipCode ; | |
| 31 | pr ivate Stri ng country Name; | |
| 32 | pr ivate Mone y amountDu e; | |
| 33 | pr ivate Mone y prevBala nce; | |
| 34 | pr ivate Mone y totalCha rges; | |
| 35 | pr ivate Mone y totalCre dits; | |
| 36 | pr ivate Mone y newBalan ce; | |
| 37 | pr ivate Stri ng special Notes; | |
| 38 | pr ivate Stri ng special NotesForLa teSites1; | |
| 39 | pr ivate Stri ng special NotesForLa teSites2; | |
| 40 | pr ivate Stri ng rightsO bligationP aragraphCo des; | |
| 41 | pr ivate int numOfLines ; | |
| 42 | pr ivate long dfnNumber ; | |
| 43 | pr ivate Bool eanChar la rgeFontInd = Boolean Char.N; | |
| 44 | pr ivate Stri ng icnNumb er; | |
| 45 | pr ivate Bool eanChar ad dressFlag = BooleanC har.N; | |
| 46 | pr ivate Date lastBillP repDate; | |
| 47 | ||
| 48 | pr ivate Stri ng acntNum Disp; | |
| 49 | pr ivate int numConsoli datedSites ; | |
| 50 | pr ivate Bool eanChar la teSiteFlag ; | |
| 51 | ||
| 52 | pr ivate Stri ng created By; | |
| 53 | pr ivate Date createdDa te; | |
| 54 | pr ivate Stri ng modifie dBy; | |
| 55 | pr ivate Date modifiedD ate; | |
| 56 | pr ivate List <PSDetails > psDetail sL = new A rrayList<> (); | |
| 57 | ||
| 58 | pu blic long getId() { | |
| 59 | retu rn id; | |
| 60 | } | |
| 61 | ||
| 62 | pu blic void setId(long id) { | |
| 63 | this .id = id; | |
| 64 | } | |
| 65 | ||
| 66 | pu blic PSSit e getPsSit e() { | |
| 67 | retu rn psSite; | |
| 68 | } | |
| 69 | ||
| 70 | pu blic void setPsSite( PSSite psS ite) { | |
| 71 | this .psSite = psSite; | |
| 72 | } | |
| 73 | ||
| 74 | pu blic Strin g getPatie ntAccount( ) { | |
| 75 | retu rn patient Account; | |
| 76 | } | |
| 77 | ||
| 78 | pu blic void setPatient Account(St ring patie ntAccount) { | |
| 79 | this .patientAc count = pa tientAccou nt; | |
| 80 | } | |
| 81 | ||
| 82 | pu blic Strin g getPatie ntLastName () { | |
| 83 | retu rn patient LastName; | |
| 84 | } | |
| 85 | ||
| 86 | pu blic void setPatient LastName(S tring pati entLastNam e) { | |
| 87 | this .patientLa stName = p atientLast Name; | |
| 88 | } | |
| 89 | ||
| 90 | pu blic Strin g getPatie ntFirstNam e() { | |
| 91 | retu rn patient FirstName; | |
| 92 | } | |
| 93 | ||
| 94 | pu blic void setPatient FirstName( String pat ientFirstN ame) { | |
| 95 | this .patientFi rstName = patientFir stName; | |
| 96 | } | |
| 97 | ||
| 98 | pu blic Strin g getPatie ntMiddleNa me() { | |
| 99 | retu rn patient MiddleName ; | |
| 100 | } | |
| 101 | ||
| 102 | pu blic void setPatient MiddleName (String pa tientMiddl eName) { | |
| 103 | this .patientMi ddleName = patientMi ddleName; | |
| 104 | } | |
| 105 | ||
| 106 | pu blic Strin g getAddre ss1() { | |
| 107 | retu rn address 1; | |
| 108 | } | |
| 109 | ||
| 110 | pu blic void setAddress 1(String a ddress1) { | |
| 111 | this .address1 = address1 ; | |
| 112 | } | |
| 113 | ||
| 114 | pu blic Strin g getAddre ss2() { | |
| 115 | retu rn address 2; | |
| 116 | } | |
| 117 | ||
| 118 | pu blic void setAddress 2(String a ddress2) { | |
| 119 | this .address2 = address2 ; | |
| 120 | } | |
| 121 | ||
| 122 | pu blic Strin g getAddre ss3() { | |
| 123 | retu rn address 3; | |
| 124 | } | |
| 125 | ||
| 126 | pu blic void setAddress 3(String a ddress3) { | |
| 127 | this .address3 = address3 ; | |
| 128 | } | |
| 129 | ||
| 130 | pu blic Strin g getCity( ) { | |
| 131 | retu rn city; | |
| 132 | } | |
| 133 | ||
| 134 | pu blic void setCity(St ring city) { | |
| 135 | this .city = ci ty; | |
| 136 | } | |
| 137 | ||
| 138 | pu blic Strin g getState () { | |
| 139 | retu rn state; | |
| 140 | } | |
| 141 | ||
| 142 | pu blic void setState(S tring stat e) { | |
| 143 | this .state = s tate; | |
| 144 | } | |
| 145 | ||
| 146 | pu blic Strin g getZipCo de() { | |
| 147 | retu rn zipCode ; | |
| 148 | } | |
| 149 | ||
| 150 | pu blic void setZipCode (String zi pCode) { | |
| 151 | this .zipCode = zipCode; | |
| 152 | } | |
| 153 | ||
| 154 | pu blic Strin g getCount ryName() { | |
| 155 | retu rn country Name; | |
| 156 | } | |
| 157 | ||
| 158 | pu blic void setCountry Name(Strin g countryN ame) { | |
| 159 | this .countryNa me = count ryName; | |
| 160 | } | |
| 161 | ||
| 162 | pu blic Money getAmount Due() { | |
| 163 | retu rn amountD ue; | |
| 164 | } | |
| 165 | ||
| 166 | pu blic void setAmountD ue(Money a mountDue) { | |
| 167 | this .amountDue = amountD ue; | |
| 168 | } | |
| 169 | ||
| 170 | pu blic Money getPrevBa lance() { | |
| 171 | retu rn prevBal ance; | |
| 172 | } | |
| 173 | ||
| 174 | pu blic void setPrevBal ance(Money prevBalan ce) { | |
| 175 | this .prevBalan ce = prevB alance; | |
| 176 | } | |
| 177 | ||
| 178 | pu blic Money getTotalC harges() { | |
| 179 | retu rn totalCh arges; | |
| 180 | } | |
| 181 | ||
| 182 | pu blic void setTotalCh arges(Mone y totalCha rges) { | |
| 183 | this .totalChar ges = tota lCharges; | |
| 184 | } | |
| 185 | ||
| 186 | pu blic Money getTotalC redits() { | |
| 187 | retu rn totalCr edits; | |
| 188 | } | |
| 189 | ||
| 190 | pu blic void setTotalCr edits(Mone y totalCre dits) { | |
| 191 | this .totalCred its = tota lCredits; | |
| 192 | } | |
| 193 | ||
| 194 | pu blic Money getNewBal ance() { | |
| 195 | retu rn newBala nce; | |
| 196 | } | |
| 197 | ||
| 198 | pu blic void setNewBala nce(Money newBalance ) { | |
| 199 | this .newBalanc e = newBal ance; | |
| 200 | } | |
| 201 | ||
| 202 | pu blic Strin g getSpeci alNotes() { | |
| 203 | retu rn special Notes; | |
| 204 | } | |
| 205 | ||
| 206 | pu blic void setSpecial Notes(Stri ng special Notes) { | |
| 207 | this .specialNo tes = spec ialNotes; | |
| 208 | } | |
| 209 | ||
| 210 | pu blic Strin g getSpeci alNotesFor LateSites1 () { | |
| 211 | retu rn special NotesForLa teSites1; | |
| 212 | } | |
| 213 | ||
| 214 | pu blic void setSpecial NotesForLa teSites1(S tring spec ialNotesFo rLateSites 1) { | |
| 215 | this .specialNo tesForLate Sites1 = s pecialNote sForLateSi tes1; | |
| 216 | } | |
| 217 | ||
| 218 | pu blic Strin g getSpeci alNotesFor LateSites2 () { | |
| 219 | retu rn special NotesForLa teSites2; | |
| 220 | } | |
| 221 | ||
| 222 | pu blic void setSpecial NotesForLa teSites2(S tring spec ialNotesFo rLateSites 2) { | |
| 223 | this .specialNo tesForLate Sites2 = s pecialNote sForLateSi tes2; | |
| 224 | } | |
| 225 | ||
| 226 | pu blic Strin g getRight sObligatio nParagraph Codes() { | |
| 227 | retu rn rightsO bligationP aragraphCo des; | |
| 228 | } | |
| 229 | ||
| 230 | pu blic void setRightsO bligationP aragraphCo des(String rightsObl igationPar agraphCode s) { | |
| 231 | this .rightsObl igationPar agraphCode s = rights Obligation ParagraphC odes; | |
| 232 | } | |
| 233 | ||
| 234 | pu blic int g etNumOfLin es() { | |
| 235 | retu rn numOfLi nes; | |
| 236 | } | |
| 237 | ||
| 238 | pu blic void setNumOfLi nes(int nu mOfLines) { | |
| 239 | this .numOfLine s = numOfL ines; | |
| 240 | } | |
| 241 | ||
| 242 | pu blic long getDfnNumb er() { | |
| 243 | retu rn dfnNumb er; | |
| 244 | } | |
| 245 | ||
| 246 | pu blic void setDfnNumb er(long df nNumber) { | |
| 247 | this .dfnNumber = dfnNumb er; | |
| 248 | } | |
| 249 | ||
| 250 | pu blic Boole anChar get LargeFontI nd() { | |
| 251 | retu rn largeFo ntInd; | |
| 252 | } | |
| 253 | ||
| 254 | pu blic Strin g getLarge FontIndInt () { | |
| 255 | retu rn largeFo ntInd.toIn t(); | |
| 256 | } | |
| 257 | ||
| 258 | pu blic void setLargeFo ntInd(Bool eanChar la rgeFontInd ) { | |
| 259 | this .largeFont Ind = larg eFontInd; | |
| 260 | } | |
| 261 | ||
| 262 | pu blic Strin g getIcnNu mber() { | |
| 263 | retu rn icnNumb er; | |
| 264 | } | |
| 265 | ||
| 266 | pu blic void setIcnNumb er(String icnNumber) { | |
| 267 | this .icnNumber = icnNumb er; | |
| 268 | } | |
| 269 | ||
| 270 | pu blic Boole anChar get AddressFla g() { | |
| 271 | retu rn address Flag; | |
| 272 | } | |
| 273 | ||
| 274 | pu blic void setAddress Flag(Boole anChar add ressFlag) { | |
| 275 | this .addressFl ag = addre ssFlag; | |
| 276 | } | |
| 277 | ||
| 278 | pu blic Date getLastBil lPrepDate( ) { | |
| 279 | retu rn lastBil lPrepDate; | |
| 280 | } | |
| 281 | ||
| 282 | pu blic void setLastBil lPrepDate( Date lastB illPrepDat e) { | |
| 283 | this .lastBillP repDate = lastBillPr epDate; | |
| 284 | } | |
| 285 | ||
| 286 | pu blic Strin g getAcntN umDisp() { | |
| 287 | retu rn acntNum Disp; | |
| 288 | } | |
| 289 | ||
| 290 | pu blic void setAcntNum Disp(Strin g acntNumD isp) { | |
| 291 | this .acntNumDi sp = acntN umDisp; | |
| 292 | } | |
| 293 | ||
| 294 | pu blic int g etNumConso lidatedSit es() { | |
| 295 | retu rn numCons olidatedSi tes; | |
| 296 | } | |
| 297 | ||
| 298 | pu blic void setNumCons olidatedSi tes(int nu mConsolida tedSites) { | |
| 299 | this .numConsol idatedSite s = numCon solidatedS ites; | |
| 300 | } | |
| 301 | ||
| 302 | pu blic Boole anChar get LateSiteFl ag() { | |
| 303 | retu rn lateSit eFlag; | |
| 304 | } | |
| 305 | ||
| 306 | pu blic void setLateSit eFlag(Bool eanChar la teSiteFlag ) { | |
| 307 | this .lateSiteF lag = late SiteFlag; | |
| 308 | } | |
| 309 | ||
| 310 | pu blic Strin g getCreat edBy() { | |
| 311 | retu rn created By; | |
| 312 | } | |
| 313 | ||
| 314 | pu blic void setCreated By(String createdBy) { | |
| 315 | this .createdBy = created By; | |
| 316 | } | |
| 317 | ||
| 318 | pu blic Date getCreated Date() { | |
| 319 | retu rn created Date; | |
| 320 | } | |
| 321 | ||
| 322 | pu blic void setCreated Date(Date createdDat e) { | |
| 323 | this .createdDa te = creat edDate; | |
| 324 | } | |
| 325 | ||
| 326 | pu blic Strin g getModif iedBy() { | |
| 327 | retu rn modifie dBy; | |
| 328 | } | |
| 329 | ||
| 330 | pu blic void setModifie dBy(String modifiedB y) { | |
| 331 | this .modifiedB y = modifi edBy; | |
| 332 | } | |
| 333 | ||
| 334 | pu blic Date getModifie dDate() { | |
| 335 | retu rn modifie dDate; | |
| 336 | } | |
| 337 | ||
| 338 | pu blic void setModifie dDate(Date modifiedD ate) { | |
| 339 | this .modifiedD ate = modi fiedDate; | |
| 340 | } | |
| 341 | ||
| 342 | pu blic List< PSDetails> getPsDeta ilsL() { | |
| 343 | retu rn psDetai lsL; | |
| 344 | } | |
| 345 | ||
| 346 | pu blic void setPsDetai lsL(List<P SDetails> psDetailsL ) { | |
| 347 | this .psDetails L = psDeta ilsL; | |
| 348 | } | |
| 349 | ||
| 350 | pu blic void addPSDetai ls(final P SDetails p sDetails) { | |
| 351 | psDe tailsL.add (psDetails ); | |
| 352 | } | |
| 353 | ||
| 354 | @O verride | |
| 355 | pu blic Strin g toString () { | |
| 356 | retu rn "Patien t [id=" + id + ", ps SiteId=" + psSite.to String() + ", patien tAccount=" + patient Account | |
| 357 | + ", pat ientLastNa me=" + pat ientLastNa me + ", pa tientFirst Name=" + p atientFirs tName | |
| 358 | + ", pat ientMiddle Name=" + p atientMidd leName + " , address1 =" + addre ss1 + ", a ddress2=" + address2 | |
| 359 | + ", add ress3=" + address3 + ", city=" + city + ", state=" + state + ", zipCod e=" + zipC ode | |
| 360 | + ", cou ntryName=" + country Name + ", amountDue= " + amount Due + ", p revBalance =" + prevB alance | |
| 361 | + ", tot alCharges= " + totalC harges + " , totalCre dits=" + t otalCredit s + ", new Balance=" + newBalan ce | |
| 362 | + ", spe cialNotes= " + specia lNotes + " , specialN otesForLat eSites1=" + specialN otesForLat eSites1 | |
| 363 | + ", spe cialNotesF orLateSite s2=" + spe cialNotesF orLateSite s2 + ", ri ghtsObliga tionParagr aphCodes=" | |
| 364 | + rights Obligation ParagraphC odes + ", numOfLines =" + numOf Lines + ", dfnNumber =" + dfnNu mber | |
| 365 | + ", icn Number=" + icnNumber + ", addr essFlag=" + addressF lag + ", l astBillPre pDate=" + lastBillPr epDate | |
| 366 | + ", acn tNumDisp=" + acntNum Disp + ", numConsoli datedSites =" + numCo nsolidated Sites + ", lateSiteF lag=" | |
| 367 | + lateSi teFlag + " , createdB y=" + crea tedBy + ", createdDa te=" + cre atedDate + ", modifi edBy=" | |
| 368 | + modifi edBy + ", modifiedDa te=" + mod ifiedDate + ", psDet ailsL=" | |
| 369 | + ((psDe tailsL == null) ? "n ull" : Arr ays.toStri ng(psDetai lsL.toArra y())) + "] "; | |
| 370 | } | |
| 371 | ||
| 372 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.