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\service\report | CommonCriteria.java | Fri Dec 7 17:36:30 2018 UTC |
| 2 | v12.5_iter_7_build 51.zip\TRM_Upgrade\src\main\java\gov\va\med\ccht\service\report | CommonCriteria.java | Wed Dec 12 19:46:44 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 242 |
| 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 | |
| 5 | package go v.va.med.c cht.servic e.report; | |
| 6 | ||
| 7 | // Java cl asses | |
| 8 | import jav a.util.Dat e; | |
| 9 | import jav a.util.Map ; | |
| 10 | ||
| 11 | import gov .va.med.fw .report.da ta.QueryCr iteria; | |
| 12 | ||
| 13 | // ESR cla sses | |
| 14 | ||
| 15 | /** | |
| 16 | * Project : Common | |
| 17 | * | |
| 18 | * @create d: 2:12:09 PM </br> | |
| 19 | * @author DN S
|
|
| 20 | */ | |
| 21 | public cla ss CommonC riteria ex tends Quer yCriteria { | |
| 22 | ||
| 23 | /* * | |
| 24 | * An instan ce of seri alVersionU ID | |
| 25 | * / | |
| 26 | pr ivate stat ic final l ong serial VersionUID = 2824659 5887946691 78L; | |
| 27 | ||
| 28 | pu blic stati c final St ring START _DATE = "s tartDate"; | |
| 29 | pu blic stati c final St ring END_D ATE = "end Date"; | |
| 30 | pu blic stati c final St ring RUN_D ATE = "run Date"; | |
| 31 | pu blic stati c final St ring REPOR T_TYPE = " Type"; | |
| 32 | pu blic stati c final St ring REPOR T_TITLE = "Title"; | |
| 33 | pu blic stati c final St ring REPOR T_PERIOD = "Period"; | |
| 34 | pu blic stati c final St ring REPOR T_TYPE_COD E = "Type_ Code"; | |
| 35 | pu blic stati c final St ring EMAIL = "email" ; | |
| 36 | pu blic stati c final St ring AS_OF _DATE = "a sOfDate"; | |
| 37 | pu blic stati c final St ring IS_NO _VISN = "n oVISN"; | |
| 38 | pu blic stati c final St ring FILE_ TYPE = "fi leType"; | |
| 39 | ||
| 40 | /* * | |
| 41 | * A default construct or | |
| 42 | * / | |
| 43 | pu blic Commo nCriteria( ) { | |
| 44 | supe r(); | |
| 45 | } | |
| 46 | ||
| 47 | /* * | |
| 48 | * A default construct or | |
| 49 | * | |
| 50 | * @param cr iteria | |
| 51 | * / | |
| 52 | pu blic Commo nCriteria( Map criter ia) { | |
| 53 | supe r(criteria ); | |
| 54 | } | |
| 55 | ||
| 56 | pu blic void setFileTyp e(String f ileType) { | |
| 57 | this .addCriter ion(FILE_T YPE, fileT ype); | |
| 58 | } | |
| 59 | ||
| 60 | pu blic void setStartDa te(Date da te) { | |
| 61 | this .addCriter ion(START_ DATE, date ); | |
| 62 | } | |
| 63 | ||
| 64 | pu blic void setReportP eriodType( String typ e) { | |
| 65 | this .addCriter ion(REPORT _TYPE, typ e); | |
| 66 | } | |
| 67 | ||
| 68 | pu blic void setReportP eriodTypeC ode(String code) { | |
| 69 | this .addCriter ion(REPORT _TYPE_CODE , code); | |
| 70 | } | |
| 71 | ||
| 72 | pu blic void setReportP eriod(Stri ng period) { | |
| 73 | this .addCriter ion(REPORT _PERIOD, p eriod); | |
| 74 | } | |
| 75 | ||
| 76 | pu blic void setEndDate (Date date ) { | |
| 77 | this .addCriter ion(END_DA TE, date); | |
| 78 | } | |
| 79 | ||
| 80 | pu blic void setRunDate (Date date ) { | |
| 81 | this .addCriter ion(RUN_DA TE, date); | |
| 82 | } | |
| 83 | ||
| 84 | pu blic void setAsOfDat e(Date dat e) { | |
| 85 | this .addCriter ion(AS_OF_ DATE, date ); | |
| 86 | } | |
| 87 | ||
| 88 | pu blic Date getStartDa te() { | |
| 89 | Obje ct criteri on = this. getCriteri a().get(ST ART_DATE); | |
| 90 | retu rn criteri on instanc eof Date ? (Date) cr iterion : null; | |
| 91 | } | |
| 92 | ||
| 93 | pu blic Date getEndDate () { | |
| 94 | Obje ct criteri on = this. getCriteri a().get(EN D_DATE); | |
| 95 | retu rn criteri on instanc eof Date ? (Date) cr iterion : null; | |
| 96 | } | |
| 97 | ||
| 98 | pu blic Date getRunDate () { | |
| 99 | Obje ct criteri on = this. getCriteri a().get(RU N_DATE); | |
| 100 | retu rn criteri on instanc eof Date ? (Date) cr iterion : null; | |
| 101 | } | |
| 102 | ||
| 103 | pu blic Strin g getRepor tPeriodTyp e() { | |
| 104 | Obje ct criteri on = this. getCriteri a().get(RE PORT_TYPE) ; | |
| 105 | retu rn criteri on instanc eof String ? (String ) criterio n : null; | |
| 106 | } | |
| 107 | ||
| 108 | pu blic Strin g getRepor tPeriodTyp eCode() { | |
| 109 | Obje ct criteri on = this. getCriteri a().get(RE PORT_TYPE_ CODE); | |
| 110 | retu rn criteri on instanc eof String ? (String ) criterio n : null; | |
| 111 | } | |
| 112 | ||
| 113 | pu blic Strin g getRepor tPeriod() { | |
| 114 | Obje ct criteri on = this. getCriteri a().get(RE PORT_PERIO D); | |
| 115 | retu rn criteri on instanc eof String ? (String ) criterio n : null; | |
| 116 | } | |
| 117 | ||
| 118 | pu blic Date getAsOfDat e() { | |
| 119 | Obje ct criteri on = this. getCriteri a().get(AS _OF_DATE); | |
| 120 | retu rn criteri on instanc eof Date ? (Date) cr iterion : null; | |
| 121 | } | |
| 122 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.