Produced by Araxis Merge on 3/8/2018 10:11:21 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 | PRE_PPS-N_v3.0.1.zip\PS_PPS_common\src\main\java\gov\va\med\pharmacy\peps\common\vo | EditSiteListVo.java | Fri Jan 12 15:43:22 2018 UTC |
2 | PRE_PPS-N_v3.0.1.zip\PS_PPS_common\src\main\java\gov\va\med\pharmacy\peps\common\vo | EditSiteListVo.java | Tue Mar 6 19:09:29 2018 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 264 |
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 | package go v.va.med.p harmacy.pe ps.common. vo; | |
2 | ||
3 | import jav a.lang.ref lect.Field ; | |
4 | import jav a.util.Has hSet; | |
5 | import jav a.util.Lis t; | |
6 | import jav a.util.Set ; | |
7 | ||
8 | /** | |
9 | * Holds t he collect ions of Co mplainceSi teVo insta nces to be shown to the user. | |
10 | * | |
11 | * @author DN S D N S
|
|
12 | * | |
13 | */ | |
14 | public cla ss EditSit eListVo ex tends Mana gedItemVo { | |
15 | ||
16 | /** | |
17 | * Def ault. | |
18 | */ | |
19 | privat e static f inal long serialVers ionUID = 1 L; | |
20 | ||
21 | /** | |
22 | * Lis t of exclu ded sites. | |
23 | */ | |
24 | privat e List<Com plianceSit eVo> sites ExcludedLi st; | |
25 | ||
26 | /** | |
27 | * Lis t of inclu ded sites. | |
28 | */ | |
29 | privat e List<Com plianceSit eVo> sites IncludedLi st; | |
30 | ||
31 | /** | |
32 | * Get s the List of exclud ed Complai nceSiteVo instances. | |
33 | * | |
34 | * @re turn List of Complai nceSiteVo instances | |
35 | */ | |
36 | public List<Comp lianceSite Vo> getSit esExcluded List() { | |
37 | re turn sites ExcludedLi st; | |
38 | } | |
39 | ||
40 | /** | |
41 | * Set s the of L ist of exc luded Comp lainceSite Vo instanc es. | |
42 | * | |
43 | * @pa ram sitesE xcludedLis t List<Com plainceSit eVo> value s | |
44 | */ | |
45 | public void setS itesExclud edList(Lis t<Complian ceSiteVo> sitesExclu dedList) { | |
46 | th is.sitesEx cludedList = sitesEx cludedList ; | |
47 | } | |
48 | ||
49 | /** | |
50 | * Get s the List of includ ed Complai nceSiteVo instances. | |
51 | * | |
52 | * @re turn List of Complai nceSiteVo instances | |
53 | */ | |
54 | public List<Comp lianceSite Vo> getSit esIncluded List() { | |
55 | re turn sites IncludedLi st; | |
56 | } | |
57 | ||
58 | /** | |
59 | * Set s the of L ist of inc luded Comp lainceSite Vo instanc es. | |
60 | * | |
61 | * @pa ram sitesI ncludedLis t List<Com plainceSit eVo> value s | |
62 | */ | |
63 | public void setS itesInclud edList(Lis t<Complian ceSiteVo> sitesInclu dedList) { | |
64 | th is.sitesIn cludedList = sitesIn cludedList ; | |
65 | } | |
66 | ||
67 | /* | |
68 | * (no n-Javadoc) | |
69 | * | |
70 | * @se e gov.va.m ed.pharmac y.peps.com mon.vo.Man agedItemVo #listUniqu enessCrite ria() | |
71 | */ | |
72 | @Overr ide | |
73 | public Set<Field Key> listU niquenessC riteria() { | |
74 | // Do nothin g | |
75 | re turn null; | |
76 | } | |
77 | ||
78 | /* | |
79 | * (no n-Javadoc) | |
80 | * | |
81 | * @se e gov.va.m ed.pharmac y.peps.com mon.vo.Man agedItemVo #isLocalOn lyData() | |
82 | */ | |
83 | @Overr ide | |
84 | public boolean i sLocalOnly Data() { | |
85 | re turn false ; | |
86 | } | |
87 | ||
88 | /* | |
89 | * (no n-Javadoc) | |
90 | * | |
91 | * @se e gov.va.m ed.pharmac y.peps.com mon.vo.Man agedItemVo #makeTemp late(gov.v a.med.phar macy.peps. common.vo. ManagedIte mVo, | |
92 | * gov .va.med.ph armacy.pep s.common.v o.Environm ent) | |
93 | */ | |
94 | @Overr ide | |
95 | protec ted Manage dItemVo ma keTemplate (ManagedIt emVo manag edItemVo, Environmen t environm ent) { | |
96 | // Do nothin g | |
97 | re turn null; | |
98 | } | |
99 | ||
100 | /* | |
101 | * (no n-Javadoc) | |
102 | * | |
103 | * @se e gov.va.m ed.pharmac y.peps.com mon.vo.Man agedItemVo #blankTemp late(gov.v a.med.phar macy.peps. common.vo. Environmen t) | |
104 | */ | |
105 | @Overr ide | |
106 | public ManagedIt emVo blank Template(E nvironment environme nt) { | |
107 | Ed itSiteList Vo vo = ne w EditSite ListVo(); | |
108 | re turn vo; | |
109 | } | |
110 | ||
111 | /* | |
112 | * (no n-Javadoc) | |
113 | * | |
114 | * @se e gov.va.m ed.pharmac y.peps.com mon.vo.Man agedItemVo #listAllFi elds() | |
115 | */ | |
116 | @Overr ide | |
117 | public Set<Field Key> listA llFields() { | |
118 | Se t<FieldKey > fields = new HashS et<FieldKe y>(); | |
119 | fi elds.add(F ieldKey.SI TES_EXCLUD ED_LIST); | |
120 | fi elds.add(F ieldKey.SI TES_INCLUD ED_LIST); | |
121 | re turn field s; | |
122 | } | |
123 | ||
124 | @Overr ide | |
125 | public <T> T ref lectFieldV alue(Field field) th rows Illeg alArgument Exception, IllegalAc cessExcept ion { | |
126 | re turn (T) f ield.get(t his); | |
127 | } | |
128 | ||
129 | @Overr ide | |
130 | public void setA ttributeBy Field(Fiel d field, O bject fiel dValue) th rows Illeg alArgument Exception, IllegalAc cessExcept ion { | |
131 | fi eld.set(th is, fieldV alue); | |
132 | } | |
133 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.