Produced by Araxis Merge on 6/11/2019 10:54:08 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\model\report | AbstractScheduledReport.java | Wed May 29 15:26:18 2019 UTC |
| 2 | HTRE_P3_v14.5_iter_4_build_14.zip\java\gov\va\med\ccht\model\report | AbstractScheduledReport.java | Mon Jun 10 19:19:21 2019 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 182 |
| 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.model. report; | |
| 5 | ||
| 6 | import jav a.util.Dat e; | |
| 7 | ||
| 8 | import org .apache.co mmons.lang 3.builder. ToStringBu ilder; | |
| 9 | import org .hibernate .annotatio ns.Formula ; | |
| 10 | ||
| 11 | import gov .va.med.cc ht.model.t erminology .StandardR eport; | |
| 12 | import gov .va.med.fw .model.Abs tractKeyed Entity; | |
| 13 | import gov .va.med.fw .report.Re portExport edType; | |
| 14 | import gov .va.med.fw .util.Stri ngUtils; | |
| 15 | ||
| 16 | /** | |
| 17 | * | |
| 18 | * project : CCHT | |
| 19 | * @author DNS | |
| 20 | */ | |
| 21 | public cla ss Abstrac tScheduled Report ext ends Abstr actKeyedEn tity<Objec t> { | |
| 22 | ||
| 23 | pr ivate stat ic final l ong serial VersionUID = -649331 9251137463 297L; | |
| 24 | ||
| 25 | pr ivate Stan dardReport standardR eport; | |
| 26 | pr ivate Repo rtExported Type fileT ype; | |
| 27 | pr ivate Stri ng reportP arameterTe xt; | |
| 28 | pr ivate Stri ng reportS cheduleTex t; | |
| 29 | pr ivate Stri ng userNam e; | |
| 30 | pr ivate Date reportGen erateDate; | |
| 31 | pr ivate Stri ng email; | |
| 32 | @F ormula(val ue = "(sel ect isnull (u.last_na me,'') + ' , ' + isnu ll(u.first _name,'')+ ' ' + isnu ll(u.middl e_name,'') from ht.a pp_user u where u.us er_name = rpt_schedu led_by)") | |
| 33 | pr ivate Stri ng userFul lName; | |
| 34 | ||
| 35 | pu blic Stand ardReport getStandar dReport() { | |
| 36 | retu rn standar dReport; | |
| 37 | } | |
| 38 | pu blic void setStandar dReport(St andardRepo rt standar dReport) { | |
| 39 | this .standardR eport = st andardRepo rt; | |
| 40 | } | |
| 41 | pu blic Repor tExportedT ype getFil eType() { | |
| 42 | retu rn fileTyp e; | |
| 43 | } | |
| 44 | pu blic void setFileTyp e(ReportEx portedType fileType) { | |
| 45 | this .fileType = fileType ; | |
| 46 | } | |
| 47 | pu blic Strin g getRepor tParameter Text() { | |
| 48 | retu rn reportP arameterTe xt; | |
| 49 | } | |
| 50 | pu blic void setReportP arameterTe xt(String reportPara meterText) { | |
| 51 | this .reportPar ameterText = reportP arameterTe xt; | |
| 52 | } | |
| 53 | pu blic Strin g getUserN ame() { | |
| 54 | retu rn userNam e; | |
| 55 | } | |
| 56 | pu blic void setUserNam e(String u serName) { | |
| 57 | this .userName = userName ; | |
| 58 | } | |
| 59 | pu blic Strin g getRepor tScheduleT ext() { | |
| 60 | retu rn reportS cheduleTex t; | |
| 61 | } | |
| 62 | pu blic void setReportS cheduleTex t(String r eportSched uleText) { | |
| 63 | this .reportSch eduleText = reportSc heduleText ; | |
| 64 | } | |
| 65 | pu blic Date getReportG enerateDat e() { | |
| 66 | retu rn reportG enerateDat e; | |
| 67 | } | |
| 68 | pu blic void setReportG enerateDat e(Date rep ortGenerat eDate) { | |
| 69 | this .reportGen erateDate = reportGe nerateDate ; | |
| 70 | } | |
| 71 | pu blic Strin g getEmail () { | |
| 72 | retu rn email; | |
| 73 | } | |
| 74 | pu blic void setEmail(S tring emai l) { | |
| 75 | this .email = e mail; | |
| 76 | } | |
| 77 | pu blic Strin g getUserF ullName() { | |
| 78 | retu rn (String Utils.isEm pty(userFu llName) || ",".equal s(userFull Name.trim( ))) ? getU serName() | |
| 79 | : userFu llName; | |
| 80 | } | |
| 81 | pu blic void setUserFul lName(Stri ng userFul lName) { | |
| 82 | this .userFullN ame = user FullName; | |
| 83 | } | |
| 84 | pr otected vo id buildTo String(ToS tringBuild er builder ) { | |
| 85 | // o verride su pper metho d | |
| 86 | buil der.append ("ID", thi s.getId()) ; | |
| 87 | buil der.append ("User nam e", this.g etUserName ()); | |
| 88 | buil der.append ("Schedule Text", th is.getRepo rtSchedule Text()); | |
| 89 | buil der.append ("Generati on date", this.getRe portGenera teDate()); | |
| 90 | buil der.append ("Email", this.getEm ail()); | |
| 91 | } | |
| 92 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.