Produced by Araxis Merge on 12/13/2018 10:35:27 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\fw\model\batchprocess | JobConfig.java | Fri Dec 7 17:36:36 2018 UTC |
| 2 | v12.5_iter_7_build 51.zip\TRM_Upgrade\src\main\java\gov\va\med\fw\model\batchprocess | JobConfig.java | Wed Dec 12 22:26:42 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 344 |
| 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 | * Copyrii ght 2006 V HA. All ri ghts reser ved | |
| 3 | ********* ********** ********** ********** ********** ********** *********/ | |
| 4 | ||
| 5 | package go v.va.med.f w.model.ba tchprocess ; | |
| 6 | ||
| 7 | import jav a.util.Arr ayList; | |
| 8 | import jav a.util.Dat e; | |
| 9 | import jav a.util.Has hSet; | |
| 10 | import jav a.util.Lis t; | |
| 11 | import jav a.util.Set ; | |
| 12 | ||
| 13 | import jav ax.persist ence.Colum n; | |
| 14 | import jav ax.persist ence.Entit y; | |
| 15 | import jav ax.persist ence.Gener atedValue; | |
| 16 | import jav ax.persist ence.Id; | |
| 17 | import jav ax.persist ence.Table ; | |
| 18 | import jav ax.persist ence.Trans ient; | |
| 19 | ||
| 20 | import edu .emory.mat hcs.backpo rt.java.ut il.Arrays; | |
| 21 | import gov .va.med.fw .security. Permission ; | |
| 22 | ||
| 23 | /** | |
| 24 | * Initial javadoc f or class J obConfig. | |
| 25 | * | |
| 26 | * Created Sep 21, 2 006 3:47:4 7 PM | |
| 27 | * | |
| 28 | * DNS | |
| 29 | */ | |
| 30 | @Entity | |
| 31 | @Table(sch ema="ht", name="JOB_ CONFIG") | |
| 32 | public cla ss JobConf ig { | |
| 33 | ||
| 34 | pr ivate long id; | |
| 35 | pr ivate Stri ng name; | |
| 36 | pr ivate Stri ng group; | |
| 37 | pr ivate Stri ng emailDi stribution List; | |
| 38 | pr ivate Date createdOn ; | |
| 39 | pr ivate Date modifiedO n; | |
| 40 | pr ivate Stri ng created By; | |
| 41 | pr ivate Stri ng modifie dBy; | |
| 42 | pr ivate Set< BatchJobPe rmission> internalPe rmisions = null; | |
| 43 | ||
| 44 | pr ivate Stri ng schedul e; | |
| 45 | pr ivate Stri ng schedul eText; | |
| 46 | pr ivate Stri ng schedul eDescripti on; | |
| 47 | ||
| 48 | @I d | |
| 49 | @G eneratedVa lue(strate gy = javax .persisten ce.Generat ionType.ID ENTITY) | |
| 50 | @C olumn(name = "JOB_CO NFIG_ID") | |
| 51 | pu blic long getId() { | |
| 52 | retu rn id; | |
| 53 | } | |
| 54 | ||
| 55 | pu blic void setId(long id) { | |
| 56 | this .id = id; | |
| 57 | } | |
| 58 | ||
| 59 | @C olumn(name = "JOB_NA ME") | |
| 60 | pu blic Strin g getName( ) { | |
| 61 | retu rn name; | |
| 62 | } | |
| 63 | ||
| 64 | pu blic void setName(St ring name) { | |
| 65 | this .name = na me; | |
| 66 | } | |
| 67 | ||
| 68 | @C olumn(name = "JOB_GR OUP_NAME") | |
| 69 | pu blic Strin g getGroup () { | |
| 70 | retu rn group; | |
| 71 | } | |
| 72 | ||
| 73 | pu blic void setGroup(S tring grou p) { | |
| 74 | this .group = g roup; | |
| 75 | } | |
| 76 | ||
| 77 | @T ransient | |
| 78 | pu blic List< String> ge tEmailsAsL ist() { | |
| 79 | retu rn new Arr ayList<Str ing>(Array s.asList(e mailDistri butionList .split("," ))); | |
| 80 | } | |
| 81 | ||
| 82 | @C olumn(name = "EMAIL_ DISTRIBUTI ON_LIST") | |
| 83 | pu blic Strin g getEmail Distributi onList() { | |
| 84 | retu rn emailDi stribution List; | |
| 85 | } | |
| 86 | ||
| 87 | pu blic void setEmailDi stribution List(Strin g emailDis tributionL ist) { | |
| 88 | this .emailDist ributionLi st = email Distributi onList; | |
| 89 | } | |
| 90 | ||
| 91 | @C olumn(name = "RECORD _CREATED_D ATE") | |
| 92 | pu blic Date getCreated On() { | |
| 93 | retu rn created On; | |
| 94 | } | |
| 95 | ||
| 96 | pu blic void setCreated On(Date cr eatedOn) { | |
| 97 | this .createdOn = created On; | |
| 98 | } | |
| 99 | ||
| 100 | @C olumn(name = "RECORD _MODIFIED_ DATE") | |
| 101 | pu blic Date getModifie dOn() { | |
| 102 | retu rn modifie dOn; | |
| 103 | } | |
| 104 | ||
| 105 | pu blic void setModifie dOn(Date m odifiedOn) { | |
| 106 | this .modifiedO n = modifi edOn; | |
| 107 | } | |
| 108 | ||
| 109 | @C olumn(name = "RECORD _CREATED_B Y") | |
| 110 | pu blic Strin g getCreat edBy() { | |
| 111 | retu rn created By; | |
| 112 | } | |
| 113 | ||
| 114 | pu blic void setCreated By(String createdBy) { | |
| 115 | this .createdBy = created By; | |
| 116 | } | |
| 117 | ||
| 118 | @C olumn(name = "RECORD _MODIFIED_ BY") | |
| 119 | pu blic Strin g getModif iedBy() { | |
| 120 | retu rn modifie dBy; | |
| 121 | } | |
| 122 | ||
| 123 | pu blic void setModifie dBy(String modifiedB y) { | |
| 124 | this .modifiedB y = modifi edBy; | |
| 125 | } | |
| 126 | ||
| 127 | @T ransient | |
| 128 | pu blic Set<P ermission> getPermis sions() { | |
| 129 | Set< Permission > permisio ns = new H ashSet<Per mission>() ; | |
| 130 | getI nternalPer misions(). forEach(bj p -> { | |
| 131 | permis ions.add(b jp.getPerm ission()); | |
| 132 | }); | |
| 133 | retu rn permisi ons; | |
| 134 | } | |
| 135 | ||
| 136 | @T ransient | |
| 137 | pr ivate Set< BatchJobPe rmission> getInterna lPermision s() { | |
| 138 | if ( internalPe rmisions = = null) { | |
| 139 | intern alPermisio ns = new H ashSet<Bat chJobPermi ssion>(); | |
| 140 | } | |
| 141 | retu rn interna lPermision s; | |
| 142 | } | |
| 143 | ||
| 144 | @T ransient | |
| 145 | pu blic Strin g getJobSc hedule() { | |
| 146 | retu rn schedul e; | |
| 147 | } | |
| 148 | ||
| 149 | pu blic void setJobSche dule(Strin g schedule ) { | |
| 150 | this .schedule = schedule ; | |
| 151 | } | |
| 152 | ||
| 153 | @T ransient | |
| 154 | pu blic Strin g getJobSc heduleText () { | |
| 155 | retu rn schedul eText; | |
| 156 | } | |
| 157 | ||
| 158 | pu blic void setJobSche duleText(S tring sche duleText) { | |
| 159 | this .scheduleT ext = sche duleText; | |
| 160 | } | |
| 161 | ||
| 162 | @T ransient | |
| 163 | pu blic Strin g getJobSc heduleDesc ription() { | |
| 164 | retu rn schedul eDescripti on; | |
| 165 | } | |
| 166 | ||
| 167 | pu blic void setJobSche duleDescri ption(Stri ng schedul eDescripti on) { | |
| 168 | this .scheduleD escription = schedul eDescripti on; | |
| 169 | } | |
| 170 | ||
| 171 | ||
| 172 | ||
| 173 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.