Produced by Araxis Merge on 4/11/2017 10:44:59 AM Central 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 | Tue Apr 11 15:44:59 2017 UTC | ||
2 | PS_PPS_lib\mavenrepo\vha\stddata\vha-stddata-client\15.0\vha-stddata-client-15.0..jar\def\gov\va\med\term\access | PublicationTopic.xml | Thu Sep 6 07:48:32 2007 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 0 | 0 |
Changed | 0 | 0 |
Inserted | 1 | 298 |
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 | <?xml | |||||
2 | version="1 .0" | |||||
3 | encoding=" UTF-8" | |||||
4 | ?> | |||||
5 | <type | |||||
6 | _simple-cl ass-name=" Publicatio nTopic" | |||||
7 | _a="a" | |||||
8 | _package=" gov.va.med .term.acce ss" | |||||
9 | _implement ation-clas s-package= "gov.va.me d.term.acc ess.mutabl e" | |||||
10 | _implement ation-clas s-simple-n ame="Mutab lePublicat ionTopic" | |||||
11 | _implement ation-clas s-name="go v.va.med.t erm.access .mutable.M utablePubl icationTop ic" | |||||
12 | _mutable-c lass-name= "gov.va.me d.term.acc ess.mutabl e.Publicat ionTopic" | |||||
13 | _readonly- class-pack age="gov.v a.med.term .access.re adonly" | |||||
14 | _transfero bject-clas s-package= "gov.va.me d.term.acc ess.ejb.co mmon" | |||||
15 | _readonly- class-simp le-name="R eadonlyPub licationTo pic" | |||||
16 | _readonly- class-name ="gov.va.m ed.term.ac cess.reado nly.Readon lyPublicat ionTopic" | |||||
17 | _transfero bject-clas s-simple-n ame="Publi cationTopi cTOv1" | |||||
18 | _transfero bject-clas s-name="go v.va.med.t erm.access .ejb.commo n.Publicat ionTopicTO v1" | |||||
19 | _capitaliz ed-name-at tr="Dataty pe" | |||||
20 | _decapital ized-class -name="pub licationTo pic" | |||||
21 | _table-abb rev="STD_P ublication Topic" | |||||
22 | name="gov. va.med.ter m.access.P ublication Topic" | |||||
23 | auditable= "true" | |||||
24 | has-versio n-number=" true" | |||||
25 | serial-ver sion-uid=" 1" | |||||
26 | short-desc ription="T he topic u sed for pu blishing a datatype. " | |||||
27 | table="STD _Publicati onTopic" | |||||
28 | user-name= "Publicati on Topic" | |||||
29 | name-attr= "datatype" | |||||
30 | tablespace ="S_DATA_0 1" | |||||
31 | indexspace ="S_INDEX_ 01" | |||||
32 | read-only= "false" | |||||
33 | deleteable ="false" | |||||
34 | supports-l ogical-del ete="true" | |||||
35 | temporal=" snapshot" | |||||
36 | abstract=" false" | |||||
37 | > | |||||
38 | ||||||
39 | <descripti on> | |||||
40 | A topic used for publi shing a da tatype. | |||||
41 | ||||||
42 | </descript ion> | |||||
43 | ||||||
44 | <alternate -key-group | |||||
45 | _capitaliz ed-name="D atatype" | |||||
46 | _abbrev="D atatype" | |||||
47 | name="data type" | |||||
48 | short-desc ription="T he class n ame includ ing packag e name for a datatyp e." | |||||
49 | > | |||||
50 | ||||||
51 | <alternate -key-eleme nt | |||||
52 | name="data type" | |||||
53 | /> | |||||
54 | ||||||
55 | ||||||
56 | </alternat e-key-grou p> | |||||
57 | ||||||
58 | <sort-attr s> | |||||
59 | ||||||
60 | <sort-attr | |||||
61 | name="data type" | |||||
62 | /> | |||||
63 | ||||||
64 | </sort-att rs> | |||||
65 | ||||||
66 | <attr | |||||
67 | name="id" | |||||
68 | datatype=" Long" | |||||
69 | display-on -list="fal se" | |||||
70 | display-on -search="f alse" | |||||
71 | display-on -view="fal se" | |||||
72 | key="syste m-assigned " | |||||
73 | min-value= "1" | |||||
74 | short-desc ription="T he identif ier for th e Publicat ion Topic. This is t he primary key for t he object. " | |||||
75 | user-name= "Id" | |||||
76 | private="f alse" | |||||
77 | owning="fa lse" | |||||
78 | shared-key ="false" | |||||
79 | required=" false" | |||||
80 | unique="tr ue" | |||||
81 | frozen="tr ue" | |||||
82 | password=" false" | |||||
83 | allow-patt ern-search ="false" | |||||
84 | allow-soun dex-search ="false" | |||||
85 | _capitaliz ed-name="I d" | |||||
86 | _accessor- name="getI d" | |||||
87 | _mutator-n ame="setId " | |||||
88 | _hibernate -name="id" | |||||
89 | _derived=" false" | |||||
90 | _system-as signed="tr ue" | |||||
91 | _is-user-d efined="fa lse" | |||||
92 | _column-na me="id" | |||||
93 | _capitaliz ed-column- name="Id" | |||||
94 | _column-ab brev="Id" | |||||
95 | _is-multi= "false" | |||||
96 | _atomic-da tatype="Lo ng" | |||||
97 | _simple-da tatype="Lo ng" | |||||
98 | _simple-at omic-datat ype="Long" | |||||
99 | /> | |||||
100 | ||||||
101 | <attr | |||||
102 | name="data type" | |||||
103 | datatype=" String" | |||||
104 | max-length ="256" | |||||
105 | required=" true" | |||||
106 | short-desc ription="T he unique class name including package f or a datat ype.." | |||||
107 | unique="tr ue" | |||||
108 | user-name= "Datatype" | |||||
109 | private="f alse" | |||||
110 | owning="fa lse" | |||||
111 | shared-key ="false" | |||||
112 | frozen="fa lse" | |||||
113 | password=" false" | |||||
114 | display-on -search="t rue" | |||||
115 | display-on -list="tru e" | |||||
116 | display-on -view="tru e" | |||||
117 | allow-patt ern-search ="false" | |||||
118 | allow-soun dex-search ="false" | |||||
119 | _capitaliz ed-name="D atatype" | |||||
120 | _accessor- name="getD atatype" | |||||
121 | _mutator-n ame="setDa tatype" | |||||
122 | _hibernate -name="dat atype" | |||||
123 | _derived=" false" | |||||
124 | _system-as signed="fa lse" | |||||
125 | _is-user-d efined="fa lse" | |||||
126 | _column-na me="dataty pe" | |||||
127 | _capitaliz ed-column- name="Data type" | |||||
128 | _column-ab brev="Data type" | |||||
129 | _is-multi= "false" | |||||
130 | _atomic-da tatype="St ring" | |||||
131 | _simple-da tatype="St ring" | |||||
132 | _simple-at omic-datat ype="Strin g" | |||||
133 | /> | |||||
134 | ||||||
135 | <attr | |||||
136 | name="topi c" | |||||
137 | datatype=" String" | |||||
138 | pattern="T [0-9]+" | |||||
139 | pattern-de scription= "a T follo wing by on e or more digits" | |||||
140 | min-length ="2" | |||||
141 | max-length ="256" | |||||
142 | required=" true" | |||||
143 | short-desc ription="T he name fo r the topi c." | |||||
144 | user-name= "Topic" | |||||
145 | private="f alse" | |||||
146 | owning="fa lse" | |||||
147 | shared-key ="false" | |||||
148 | unique="fa lse" | |||||
149 | frozen="fa lse" | |||||
150 | password=" false" | |||||
151 | display-on -search="t rue" | |||||
152 | display-on -list="tru e" | |||||
153 | display-on -view="tru e" | |||||
154 | allow-patt ern-search ="false" | |||||
155 | allow-soun dex-search ="false" | |||||
156 | _capitaliz ed-name="T opic" | |||||
157 | _accessor- name="getT opic" | |||||
158 | _mutator-n ame="setTo pic" | |||||
159 | _hibernate -name="top ic" | |||||
160 | _derived=" false" | |||||
161 | _system-as signed="fa lse" | |||||
162 | _is-user-d efined="fa lse" | |||||
163 | _column-na me="topic" | |||||
164 | _capitaliz ed-column- name="Topi c" | |||||
165 | _column-ab brev="Topi c" | |||||
166 | _is-multi= "false" | |||||
167 | _atomic-da tatype="St ring" | |||||
168 | _simple-da tatype="St ring" | |||||
169 | _simple-at omic-datat ype="Strin g" | |||||
170 | /> | |||||
171 | ||||||
172 | <attr | |||||
173 | name="isAc tive" | |||||
174 | datatype=" boolean" | |||||
175 | short-desc ription="T rue if thi s object i s currentl y active." | |||||
176 | private="f alse" | |||||
177 | owning="fa lse" | |||||
178 | shared-key ="false" | |||||
179 | required=" false" | |||||
180 | unique="fa lse" | |||||
181 | frozen="fa lse" | |||||
182 | password=" false" | |||||
183 | display-on -search="t rue" | |||||
184 | display-on -list="tru e" | |||||
185 | display-on -view="tru e" | |||||
186 | allow-patt ern-search ="false" | |||||
187 | allow-soun dex-search ="false" | |||||
188 | _capitaliz ed-name="I sActive" | |||||
189 | user-name= "Is Active " | |||||
190 | _accessor- name="isAc tive" | |||||
191 | _mutator-n ame="setAc tive" | |||||
192 | _hibernate -name="act ive" | |||||
193 | _derived=" true" | |||||
194 | _system-as signed="tr ue" | |||||
195 | _is-user-d efined="fa lse" | |||||
196 | _column-na me="isActi ve" | |||||
197 | _capitaliz ed-column- name="IsAc tive" | |||||
198 | _column-ab brev="IsAc tive" | |||||
199 | _is-multi= "false" | |||||
200 | _atomic-da tatype="bo olean" | |||||
201 | _simple-da tatype="bo olean" | |||||
202 | _simple-at omic-datat ype="boole an" | |||||
203 | > | |||||
204 | ||||||
205 | <derivatio n-expressi on | |||||
206 | apply-on-c reate="fal se" | |||||
207 | > | |||||
208 | is Active(new java.sql. Date(Syste m.currentT imeMillis( ))) | |||||
209 | ||||||
210 | </derivati on-express ion> | |||||
211 | ||||||
212 | </attr> | |||||
213 | ||||||
214 | <attr | |||||
215 | name="hist ory" | |||||
216 | singular-n ame="histo ry" | |||||
217 | datatype=" gov.va.med .term.acce ss.Publica tionTopicH istory[]" | |||||
218 | short-desc ription="T he status history fo r Publicat ion Topic. " | |||||
219 | owning="tr ue" | |||||
220 | display-on -list="fal se" | |||||
221 | private="f alse" | |||||
222 | shared-key ="false" | |||||
223 | required=" false" | |||||
224 | unique="fa lse" | |||||
225 | frozen="fa lse" | |||||
226 | password=" false" | |||||
227 | display-on -search="f alse" | |||||
228 | display-on -view="tru e" | |||||
229 | allow-patt ern-search ="false" | |||||
230 | allow-soun dex-search ="false" | |||||
231 | _capitaliz ed-name="H istory" | |||||
232 | user-name= "History" | |||||
233 | _accessor- name="getH istory" | |||||
234 | _mutator-n ame="setHi story" | |||||
235 | _hibernate -name="his tory" | |||||
236 | _derived=" false" | |||||
237 | _system-as signed="fa lse" | |||||
238 | _is-user-d efined="tr ue" | |||||
239 | _column-na me="histor y" | |||||
240 | _capitaliz ed-column- name="Hist ory" | |||||
241 | _column-ab brev="Hist ory" | |||||
242 | _is-multi= "true" | |||||
243 | _singular- name="hist ory" | |||||
244 | _capitaliz ed-singula r-name="Hi story" | |||||
245 | _atomic-da tatype="go v.va.med.t erm.access .Publicati onTopicHis tory" | |||||
246 | _simple-da tatype="Pu blicationT opicHistor y[]" | |||||
247 | _simple-at omic-datat ype="Publi cationTopi cHistory" | |||||
248 | _datatype- package="g ov.va.med. term.acces s" | |||||
249 | _implement ation-clas s-package= "gov.va.me d.term.acc ess.mutabl e" | |||||
250 | _implement ation-clas s-simple-n ame="Mutab lePublicat ionTopicHi story" | |||||
251 | _implement ation-clas s-name="go v.va.med.t erm.access .mutable.M utablePubl icationTop icHistory" | |||||
252 | _atomic-mu table-data type="gov. va.med.ter m.access.m utable.Pub licationTo picHistory " | |||||
253 | _mutable-d atatype="g ov.va.med. term.acces s.mutable. Publicatio nTopicHist ory[]" | |||||
254 | _readonly- class-pack age="gov.v a.med.term .access.re adonly" | |||||
255 | _readonly- class-simp le-name="R eadonlyPub licationTo picHistory " | |||||
256 | _readonly- class-name ="gov.va.m ed.term.ac cess.reado nly.Readon lyPublicat ionTopicHi story" | |||||
257 | _supports- logical-de lete="fals e" | |||||
258 | _datatype- is-attr-gr oup="false " | |||||
259 | _role="par ent" | |||||
260 | _relations hip="one-t o-many" | |||||
261 | _stores-fo reign-key= "false" | |||||
262 | _bidirecti onal="true " | |||||
263 | _dependent -type="sim ple" | |||||
264 | /> | |||||
265 | ||||||
266 | <query | |||||
267 | short-desc ription="T rue if thi s object i s active o n the give n date." | |||||
268 | > | |||||
269 | ||||||
270 | <method-si gnature> | |||||
271 | boolea n | |||||
272 | isActi ve( | |||||
273 | ja va.sql.Dat e when | |||||
274 | ) | |||||
275 | ||||||
276 | </method-s ignature> | |||||
277 | ||||||
278 | <method-bo dy> | |||||
279 | Publicatio nTopicHist ory[] hist ory = getH istory(); | |||||
280 | fo r (int i=0 ; i<his tory.lengt h; i++) | |||||
281 | { | |||||
282 | Publicat ionTopicHi story entr y | |||||
283 | = history [i]; | |||||
284 | java.sql .Date effe ctiveDate = entry.ge tEffective Date(); | |||||
285 | java.sql .Date expi rationDate = entry.g etExpirati onDate(); | |||||
286 | if ( ( effectiveD ate.before (when) || effectiveD ate.equals (when)) | |||||
287 | & ;& whe n.before(e xpirationD ate) | |||||
288 | ) | |||||
289 | { | |||||
290 | retu rn entry.i sActive(); | |||||
291 | } | |||||
292 | } | |||||
293 | re turn false ; | |||||
294 | ||||||
295 | </method-b ody> | |||||
296 | ||||||
297 | </query> | |||||
298 | </type> |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.