Produced by Araxis Merge on 6/11/2019 10:54:10 AM 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 | HTRE_P3_v14.5_iter_4_build_14.zip\java\gov\va\med\ccht\ui\model | CompletedReportForm.java | Wed May 29 15:26:08 2019 UTC |
| 2 | HTRE_P3_v14.5_iter_4_build_14.zip\java\gov\va\med\ccht\ui\model | CompletedReportForm.java | Mon Jun 10 19:19:21 2019 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 260 |
| 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 | * Copyrig ht � 2010 VHA. All r ights rese rved | |
| 3 | ********* ********** ********** ********** ********** ********** *********/ | |
| 4 | package go v.va.med.c cht.ui.mod el; | |
| 5 | ||
| 6 | import jav a.util.Cal endar; | |
| 7 | import jav a.util.Gre gorianCale ndar; | |
| 8 | ||
| 9 | import gov .va.med.fw .ui.model. Form; | |
| 10 | import gov .va.med.fw .ui.model. TermType; | |
| 11 | ||
| 12 | /** | |
| 13 | * | |
| 14 | * | |
| 15 | * IHTA oh rs_web Aug 25, 2010 | |
| 16 | * | |
| 17 | * @author DNS | |
| 18 | */ | |
| 19 | public cla ss Complet edReportFo rm extends Form { | |
| 20 | pr ivate Stan dardReport Form stand ardReport; | |
| 21 | pr ivate Form attedDateF orm comple tedDate; | |
| 22 | pr ivate Term Type fileT ype; | |
| 23 | pr ivate Stri ng reportP arameterTe xt; | |
| 24 | pr ivate Form attedDateF orm expira tionDate; | |
| 25 | pr ivate Stri ng userNam e; | |
| 26 | pr ivate Stri ng userFul lName; | |
| 27 | pr ivate Term Type repor tFormat; | |
| 28 | pr ivate Stri ng reportN ame; | |
| 29 | pr ivate bool ean report Extendable = false; | |
| 30 | ||
| 31 | // report fi le blob | |
| 32 | // private b yte[] repo rtFileCont ent; | |
| 33 | pu blic Forma ttedDateFo rm getComp letedDate( ) { | |
| 34 | retu rn complet edDate; | |
| 35 | } | |
| 36 | ||
| 37 | pu blic void setComplet edDate(For mattedDate Form compl etedDate) { | |
| 38 | this .completed Date = com pletedDate ; | |
| 39 | } | |
| 40 | ||
| 41 | pu blic TermT ype getFil eType() { | |
| 42 | retu rn fileTyp e; | |
| 43 | } | |
| 44 | ||
| 45 | pu blic void setFileTyp e(TermType fileType) { | |
| 46 | this .fileType = fileType ; | |
| 47 | } | |
| 48 | ||
| 49 | pu blic Strin g getRepor tParameter Text() { | |
| 50 | retu rn reportP arameterTe xt; | |
| 51 | } | |
| 52 | ||
| 53 | pu blic void setReportP arameterTe xt(String reportPara meterText) { | |
| 54 | this .reportPar ameterText = reportP arameterTe xt; | |
| 55 | } | |
| 56 | ||
| 57 | pu blic Stand ardReportF orm getSta ndardRepor t() { | |
| 58 | retu rn standar dReport; | |
| 59 | } | |
| 60 | ||
| 61 | pu blic void setStandar dReport(St andardRepo rtForm sta ndardRepor t) { | |
| 62 | this .standardR eport = st andardRepo rt; | |
| 63 | } | |
| 64 | ||
| 65 | pu blic Forma ttedDateFo rm getExpi rationDate () { | |
| 66 | retu rn expirat ionDate; | |
| 67 | } | |
| 68 | ||
| 69 | pu blic void setExpirat ionDate(Fo rmattedDat eForm expi rationDate ) { | |
| 70 | this .expiratio nDate = ex pirationDa te; | |
| 71 | } | |
| 72 | ||
| 73 | pu blic Strin g getUserN ame() { | |
| 74 | retu rn userNam e; | |
| 75 | } | |
| 76 | ||
| 77 | pu blic void setUserNam e(String u serName) { | |
| 78 | this .userName = userName ; | |
| 79 | } | |
| 80 | ||
| 81 | pu blic Strin g getUserF ullName() { | |
| 82 | retu rn userFul lName; | |
| 83 | } | |
| 84 | ||
| 85 | pu blic void setUserFul lName(Stri ng userFul lName) { | |
| 86 | this .userFullN ame = user FullName; | |
| 87 | } | |
| 88 | ||
| 89 | pu blic TermT ype getRep ortFormat( ) { | |
| 90 | retu rn reportF ormat; | |
| 91 | } | |
| 92 | ||
| 93 | pu blic void setReportF ormat(Term Type repor tFormat) { | |
| 94 | this .reportFor mat = repo rtFormat; | |
| 95 | } | |
| 96 | ||
| 97 | pu blic Strin g getRepor tName() { | |
| 98 | retu rn reportN ame; | |
| 99 | } | |
| 100 | ||
| 101 | pu blic void setReportN ame(String reportNam e) { | |
| 102 | this .reportNam e = report Name; | |
| 103 | } | |
| 104 | ||
| 105 | pu blic boole an isRepor tExtendabl e() { | |
| 106 | Greg orianCalen dar gced = new Grego rianCalend ar(); | |
| 107 | gced .setTime(t his.expira tionDate.g etDate()); | |
| 108 | Greg orianCalen dar gc = n ew Gregori anCalendar (); | |
| 109 | gc.r oll(Calend ar.YEAR, 1 ); | |
| 110 | if(g ced.getTim e().before (gc.getTim e())) | |
| 111 | { | |
| 112 | if(gce d.get(Cale ndar.YEAR) !=gc.get(C alendar.YE AR)) | |
| 113 | { | |
| 114 | reportEx tendable=t rue; | |
| 115 | } | |
| 116 | else i f(gced.get (Calendar. MONTH)!=gc .get(Calen dar.MONTH) ) | |
| 117 | { | |
| 118 | reportEx tendable=t rue; | |
| 119 | } | |
| 120 | else i f(gced.get (Calendar. DAY_OF_MON TH)!=gc.ge t(Calendar .DAY_OF_MO NTH)) | |
| 121 | { | |
| 122 | reportEx tendable=t rue; | |
| 123 | } | |
| 124 | } | |
| 125 | retu rn reportE xtendable; | |
| 126 | } | |
| 127 | ||
| 128 | pu blic void setReportE xtendable( boolean re portExtend able) { | |
| 129 | this .reportExt endable = reportExte ndable; | |
| 130 | } | |
| 131 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.