Produced by Araxis Merge on 12/13/2018 10:35:24 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 | v12.5_iter_7_build 51.zip\TRM_Upgrade\src\main\java\gov\va\med\ccht\ui\model | ReportParametersForm.java | Fri Dec 7 17:36:28 2018 UTC |
| 2 | v12.5_iter_7_build 51.zip\TRM_Upgrade\src\main\java\gov\va\med\ccht\ui\model | ReportParametersForm.java | Wed Dec 12 22:33:39 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 544 |
| 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.Dat e; | |
| 7 | import jav a.util.Lis t; | |
| 8 | ||
| 9 | import gov .va.med.cc ht.model.c ommon.Repo rtWeek; | |
| 10 | import gov .va.med.fw .ui.model. Form; | |
| 11 | import gov .va.med.fw .ui.model. TermType; | |
| 12 | ||
| 13 | /** | |
| 14 | * | |
| 15 | * | |
| 16 | * CCHT | |
| 17 | * | |
| 18 | * @author DNS | |
| 19 | */ | |
| 20 | public cla ss ReportP arametersF orm extend s Form { | |
| 21 | ||
| 22 | // Report Par ameters | |
| 23 | pr ivate Date fromDate; | |
| 24 | pr ivate Date toDate; | |
| 25 | pr ivate Date asOfDate; | |
| 26 | pr ivate Term Type repor tFormat; | |
| 27 | pr ivate Term Type repor tSummaryTy pe; | |
| 28 | pr ivate Repo rtWeek rep ortWeek; | |
| 29 | pr ivate Term Type visn; | |
| 30 | pr ivate Term Type facil ity; | |
| 31 | pr ivate Term Type subTo talType; | |
| 32 | pr ivate Stri ng facilit yId; | |
| 33 | pr ivate Stri ng reportN ame; | |
| 34 | pu blic List< TermType> deviceStat uses; | |
| 35 | pu blic Boole an allDevi ceStatuses ; | |
| 36 | ||
| 37 | // --------- --------- Scheduled Report Dat e Range fi elds | |
| 38 | pr ivate Term Type sched uledReport FromType; | |
| 39 | pr ivate Date scheduled ReportFrom SpecificFi xedDate; | |
| 40 | pr ivate Inte ger schedu ledReportF romNumUnit sPriorToCu rrentDay; | |
| 41 | pr ivate Term Type sched uledReport FromUnitPr iorToCurre ntDay; | |
| 42 | pr ivate Term Type sched uledReport FromFixedD ateType; | |
| 43 | pr ivate Bool ean schedu ledReportF romUsePrev iousDatePe riod; | |
| 44 | pr ivate Term Type sched uledReport FromMultiD ayTimeUnit Type; | |
| 45 | ||
| 46 | pr ivate Term Type sched uledReport ToType; | |
| 47 | pr ivate Date scheduled ReportToSp ecificFixe dDate; | |
| 48 | pr ivate Inte ger schedu ledReportT oNumUnitsP riorToCurr entDay; | |
| 49 | pr ivate Term Type sched uledReport ToUnitPrio rToCurrent Day; | |
| 50 | pr ivate Term Type sched uledReport ToFixedDat eType; | |
| 51 | pr ivate Bool ean schedu ledReportT oUsePrevio usDatePeri od; | |
| 52 | pr ivate Term Type sched uledReport ToMultiDay TimeUnitTy pe; | |
| 53 | ||
| 54 | pr ivate Inte ger schedu ledReportD aysToKeepC ompletedRe ports; | |
| 55 | ||
| 56 | pu blic Date getAsOfDat e() { | |
| 57 | retu rn asOfDat e; | |
| 58 | } | |
| 59 | ||
| 60 | pu blic void setAsOfDat e(Date asO fDate) { | |
| 61 | this .asOfDate = asOfDate ; | |
| 62 | } | |
| 63 | ||
| 64 | pu blic Date getFromDat e() { | |
| 65 | retu rn fromDat e; | |
| 66 | } | |
| 67 | ||
| 68 | pu blic void setFromDat e(Date fro mDate) { | |
| 69 | this .fromDate = fromDate ; | |
| 70 | } | |
| 71 | ||
| 72 | pu blic TermT ype getRep ortFormat( ) { | |
| 73 | retu rn reportF ormat; | |
| 74 | } | |
| 75 | ||
| 76 | pu blic void setReportF ormat(Term Type repor tFormat) { | |
| 77 | this .reportFor mat = repo rtFormat; | |
| 78 | } | |
| 79 | ||
| 80 | pu blic Date getToDate( ) { | |
| 81 | retu rn toDate; | |
| 82 | } | |
| 83 | ||
| 84 | pu blic void setToDate( Date toDat e) { | |
| 85 | this .toDate = toDate; | |
| 86 | } | |
| 87 | pu blic TermT ype getRep ortSummary Type() { | |
| 88 | retu rn reportS ummaryType ; | |
| 89 | } | |
| 90 | pu blic void setReportS ummaryType (TermType reportSumm aryType) { | |
| 91 | this .reportSum maryType = reportSum maryType; | |
| 92 | } | |
| 93 | pu blic Repor tWeek getR eportWeek( ) { | |
| 94 | retu rn reportW eek; | |
| 95 | } | |
| 96 | pu blic void setReportW eek(Report Week repor tWeek) { | |
| 97 | this .reportWee k = report Week; | |
| 98 | } | |
| 99 | pu blic TermT ype getVis n() { | |
| 100 | retu rn visn; | |
| 101 | } | |
| 102 | pu blic void setVisn(Te rmType vis n) { | |
| 103 | this .visn = vi sn; | |
| 104 | } | |
| 105 | pu blic TermT ype getFac ility() { | |
| 106 | retu rn facilit y; | |
| 107 | } | |
| 108 | pu blic void setFacilit y(TermType facility) { | |
| 109 | this .facility = facility ; | |
| 110 | } | |
| 111 | pu blic TermT ype getSub TotalType( ) { | |
| 112 | retu rn subTota lType; | |
| 113 | } | |
| 114 | pu blic void setSubTota lType(Term Type subTo talType) { | |
| 115 | this .subTotalT ype = subT otalType; | |
| 116 | } | |
| 117 | pu blic Strin g getFacil ityId() { | |
| 118 | retu rn facilit yId; | |
| 119 | } | |
| 120 | pu blic void setFacilit yId(String facilityI d) { | |
| 121 | this .facilityI d = facili tyId; | |
| 122 | } | |
| 123 | pu blic Strin g getRepor tName() { | |
| 124 | retu rn reportN ame; | |
| 125 | } | |
| 126 | pu blic void setReportN ame(String reportNam e) { | |
| 127 | this .reportNam e = report Name; | |
| 128 | } | |
| 129 | pu blic List< TermType> getDeviceS tatuses() { | |
| 130 | retu rn deviceS tatuses; | |
| 131 | } | |
| 132 | pu blic void setDeviceS tatuses(Li st<TermTyp e> deviceS tatuses) { | |
| 133 | this .deviceSta tuses = de viceStatus es; | |
| 134 | } | |
| 135 | pu blic Boole an getAllD eviceStatu ses() { | |
| 136 | retu rn allDevi ceStatuses ; | |
| 137 | } | |
| 138 | pu blic void setAllDevi ceStatuses (Boolean a llDeviceSt atuses) { | |
| 139 | this .allDevice Statuses = allDevice Statuses; | |
| 140 | } | |
| 141 | pu blic Date getSchedul edReportFr omSpecific FixedDate( ) { | |
| 142 | retu rn schedul edReportFr omSpecific FixedDate; | |
| 143 | } | |
| 144 | pu blic void setSchedul edReportFr omSpecific FixedDate( Date sched uledReport FromSpecif icFixedDat e) { | |
| 145 | this .scheduled ReportFrom SpecificFi xedDate = scheduledR eportFromS pecificFix edDate; | |
| 146 | } | |
| 147 | ||
| 148 | pu blic Integ er getSche duledRepor tFromNumUn itsPriorTo CurrentDay () { | |
| 149 | retu rn schedul edReportFr omNumUnits PriorToCur rentDay; | |
| 150 | } | |
| 151 | ||
| 152 | pu blic void setSchedul edReportFr omNumUnits PriorToCur rentDay( | |
| 153 | Intege r schedule dReportFro mNumUnitsP riorToCurr entDay) { | |
| 154 | this .scheduled ReportFrom NumUnitsPr iorToCurre ntDay = sc heduledRep ortFromNum UnitsPrior ToCurrentD ay; | |
| 155 | } | |
| 156 | ||
| 157 | pu blic Boole an getSche duledRepor tFromUsePr eviousDate Period() { | |
| 158 | retu rn schedul edReportFr omUsePrevi ousDatePer iod; | |
| 159 | } | |
| 160 | ||
| 161 | pu blic void setSchedul edReportFr omUsePrevi ousDatePer iod( | |
| 162 | Boolea n schedule dReportFro mUsePrevio usDatePeri od) { | |
| 163 | this .scheduled ReportFrom UsePreviou sDatePerio d = schedu ledReportF romUsePrev iousDatePe riod; | |
| 164 | } | |
| 165 | ||
| 166 | pu blic Date getSchedul edReportTo SpecificFi xedDate() { | |
| 167 | retu rn schedul edReportTo SpecificFi xedDate; | |
| 168 | } | |
| 169 | ||
| 170 | pu blic void setSchedul edReportTo SpecificFi xedDate(Da te schedul edReportTo SpecificFi xedDate) { | |
| 171 | this .scheduled ReportToSp ecificFixe dDate = sc heduledRep ortToSpeci ficFixedDa te; | |
| 172 | } | |
| 173 | ||
| 174 | pu blic Integ er getSche duledRepor tToNumUnit sPriorToCu rrentDay() { | |
| 175 | retu rn schedul edReportTo NumUnitsPr iorToCurre ntDay; | |
| 176 | } | |
| 177 | ||
| 178 | pu blic void setSchedul edReportTo NumUnitsPr iorToCurre ntDay( | |
| 179 | Intege r schedule dReportToN umUnitsPri orToCurren tDay) { | |
| 180 | this .scheduled ReportToNu mUnitsPrio rToCurrent Day = sche duledRepor tToNumUnit sPriorToCu rrentDay; | |
| 181 | } | |
| 182 | ||
| 183 | pu blic Boole an getSche duledRepor tToUsePrev iousDatePe riod() { | |
| 184 | retu rn schedul edReportTo UsePreviou sDatePerio d; | |
| 185 | } | |
| 186 | ||
| 187 | pu blic void setSchedul edReportTo UsePreviou sDatePerio d( | |
| 188 | Boolea n schedule dReportToU sePrevious DatePeriod ) { | |
| 189 | this .scheduled ReportToUs ePreviousD atePeriod = schedule dReportToU sePrevious DatePeriod ; | |
| 190 | } | |
| 191 | ||
| 192 | pu blic TermT ype getSch eduledRepo rtFromType () { | |
| 193 | retu rn schedul edReportFr omType; | |
| 194 | } | |
| 195 | ||
| 196 | pu blic void setSchedul edReportFr omType(Ter mType sche duledRepor tFromType) { | |
| 197 | this .scheduled ReportFrom Type = sch eduledRepo rtFromType ; | |
| 198 | } | |
| 199 | ||
| 200 | pu blic TermT ype getSch eduledRepo rtFromUnit PriorToCur rentDay() { | |
| 201 | retu rn schedul edReportFr omUnitPrio rToCurrent Day; | |
| 202 | } | |
| 203 | ||
| 204 | pu blic void setSchedul edReportFr omUnitPrio rToCurrent Day( | |
| 205 | TermTy pe schedul edReportFr omUnitPrio rToCurrent Day) { | |
| 206 | this .scheduled ReportFrom UnitPriorT oCurrentDa y = schedu ledReportF romUnitPri orToCurren tDay; | |
| 207 | } | |
| 208 | ||
| 209 | pu blic TermT ype getSch eduledRepo rtFromFixe dDateType( ) { | |
| 210 | retu rn schedul edReportFr omFixedDat eType; | |
| 211 | } | |
| 212 | ||
| 213 | pu blic void setSchedul edReportFr omFixedDat eType(Term Type sched uledReport FromFixedD ateType) { | |
| 214 | this .scheduled ReportFrom FixedDateT ype = sche duledRepor tFromFixed DateType; | |
| 215 | } | |
| 216 | ||
| 217 | pu blic TermT ype getSch eduledRepo rtFromMult iDayTimeUn itType() { | |
| 218 | retu rn schedul edReportFr omMultiDay TimeUnitTy pe; | |
| 219 | } | |
| 220 | ||
| 221 | pu blic void setSchedul edReportFr omMultiDay TimeUnitTy pe( | |
| 222 | TermTy pe schedul edReportFr omMultiDay TimeUnitTy pe) { | |
| 223 | this .scheduled ReportFrom MultiDayTi meUnitType = schedul edReportFr omMultiDay TimeUnitTy pe; | |
| 224 | } | |
| 225 | ||
| 226 | pu blic TermT ype getSch eduledRepo rtToType() { | |
| 227 | retu rn schedul edReportTo Type; | |
| 228 | } | |
| 229 | ||
| 230 | pu blic void setSchedul edReportTo Type(TermT ype schedu ledReportT oType) { | |
| 231 | this .scheduled ReportToTy pe = sched uledReport ToType; | |
| 232 | } | |
| 233 | ||
| 234 | pu blic TermT ype getSch eduledRepo rtToUnitPr iorToCurre ntDay() { | |
| 235 | retu rn schedul edReportTo UnitPriorT oCurrentDa y; | |
| 236 | } | |
| 237 | ||
| 238 | pu blic void setSchedul edReportTo UnitPriorT oCurrentDa y( | |
| 239 | TermTy pe schedul edReportTo UnitPriorT oCurrentDa y) { | |
| 240 | this .scheduled ReportToUn itPriorToC urrentDay = schedule dReportToU nitPriorTo CurrentDay ; | |
| 241 | } | |
| 242 | ||
| 243 | pu blic TermT ype getSch eduledRepo rtToFixedD ateType() { | |
| 244 | retu rn schedul edReportTo FixedDateT ype; | |
| 245 | } | |
| 246 | ||
| 247 | pu blic void setSchedul edReportTo FixedDateT ype(TermTy pe schedul edReportTo FixedDateT ype) { | |
| 248 | this .scheduled ReportToFi xedDateTyp e = schedu ledReportT oFixedDate Type; | |
| 249 | } | |
| 250 | ||
| 251 | pu blic TermT ype getSch eduledRepo rtToMultiD ayTimeUnit Type() { | |
| 252 | retu rn schedul edReportTo MultiDayTi meUnitType ; | |
| 253 | } | |
| 254 | ||
| 255 | pu blic void setSchedul edReportTo MultiDayTi meUnitType ( | |
| 256 | TermTy pe schedul edReportTo MultiDayTi meUnitType ) { | |
| 257 | this .scheduled ReportToMu ltiDayTime UnitType = scheduled ReportToMu ltiDayTime UnitType; | |
| 258 | } | |
| 259 | ||
| 260 | pu blic Integ er getSche duledRepor tDaysToKee pCompleted Reports() { | |
| 261 | retu rn schedul edReportDa ysToKeepCo mpletedRep orts; | |
| 262 | } | |
| 263 | ||
| 264 | /* | |
| 265 | * Cairngorm binds 0 i f unset si nce Flex c an't have a null Num ber type; our | |
| 266 | * validator ensures t his is > 0 otherwise CPB | |
| 267 | * / | |
| 268 | pu blic void setSchedul edReportDa ysToKeepCo mpletedRep orts(Integ er s) { | |
| 269 | this .scheduled ReportDays ToKeepComp letedRepor ts = (s == null || s .equals(ne w Integer( 0))) ? nul l | |
| 270 | : s; | |
| 271 | } | |
| 272 | ||
| 273 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.