Produced by Araxis Merge on 4/11/2017 10:41:58 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:41:58 2017 UTC | ||
2 | PS_PPS_lib\bin\mavenrepo\vha\stddata\vha-stddata-client\15.0\vha-stddata-client-15.0.jar\def\gov\va\med\term\access | CombatServiceLocation.xml | Thu Sep 6 07:48:26 2007 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 0 | 0 |
Changed | 0 | 0 |
Inserted | 1 | 553 |
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=" CombatServ iceLocatio n" | |||||
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 leCombatSe rviceLocat ion" | |||||
11 | _implement ation-clas s-name="go v.va.med.t erm.access .mutable.M utableComb atServiceL ocation" | |||||
12 | _mutable-c lass-name= "gov.va.me d.term.acc ess.mutabl e.CombatSe rviceLocat ion" | |||||
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 eadonlyCom batService Location" | |||||
16 | _readonly- class-name ="gov.va.m ed.term.ac cess.reado nly.Readon lyCombatSe rviceLocat ion" | |||||
17 | _transfero bject-clas s-simple-n ame="Comba tServiceLo cationTOv1 " | |||||
18 | _transfero bject-clas s-name="go v.va.med.t erm.access .ejb.commo n.CombatSe rviceLocat ionTOv1" | |||||
19 | _capitaliz ed-name-at tr="Area" | |||||
20 | _decapital ized-class -name="com batService Location" | |||||
21 | _table-abb rev="STD_C ombatSvcLo cation" | |||||
22 | name="gov. va.med.ter m.access.C ombatServi ceLocation " | |||||
23 | auditable= "true" | |||||
24 | has-versio n-number=" true" | |||||
25 | serial-ver sion-uid=" 1" | |||||
26 | short-desc ription="T he valid v alues for Combat Ser vice Locat ions; valu es include World War I, Persia n Gulf War etc." | |||||
27 | table="STD _CombatSvc Location" | |||||
28 | user-name= "Combat Se rvice Loca tion" | |||||
29 | name-attr= "area" | |||||
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 | Location w here a per son may ha ve served in a confl ict. | |||||
41 | ||||||
42 | </descript ion> | |||||
43 | ||||||
44 | <alternate -key-group | |||||
45 | _capitaliz ed-name="C ode" | |||||
46 | _abbrev="C ode" | |||||
47 | name="code " | |||||
48 | short-desc ription="C ombat Serv ice Locati on code" | |||||
49 | > | |||||
50 | ||||||
51 | <alternate -key-eleme nt | |||||
52 | name="code " | |||||
53 | /> | |||||
54 | ||||||
55 | ||||||
56 | </alternat e-key-grou p> | |||||
57 | ||||||
58 | <sort-attr s> | |||||
59 | ||||||
60 | <sort-attr | |||||
61 | name="area " | |||||
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 | short-desc ription="T he identif ier for th e Combat S ervice Loc ation. Thi s is the p rimary key for the o bject." | |||||
74 | user-name= "Id" | |||||
75 | private="f alse" | |||||
76 | owning="fa lse" | |||||
77 | shared-key ="false" | |||||
78 | required=" false" | |||||
79 | unique="tr ue" | |||||
80 | frozen="tr ue" | |||||
81 | password=" false" | |||||
82 | allow-patt ern-search ="false" | |||||
83 | allow-soun dex-search ="false" | |||||
84 | _capitaliz ed-name="I d" | |||||
85 | _accessor- name="getI d" | |||||
86 | _mutator-n ame="setId " | |||||
87 | _hibernate -name="id" | |||||
88 | _derived=" false" | |||||
89 | _system-as signed="tr ue" | |||||
90 | _is-user-d efined="fa lse" | |||||
91 | _column-na me="id" | |||||
92 | _capitaliz ed-column- name="Id" | |||||
93 | _column-ab brev="Id" | |||||
94 | _is-multi= "false" | |||||
95 | _atomic-da tatype="Lo ng" | |||||
96 | _simple-da tatype="Lo ng" | |||||
97 | _simple-at omic-datat ype="Long" | |||||
98 | /> | |||||
99 | ||||||
100 | <attr | |||||
101 | name="code " | |||||
102 | datatype=" String" | |||||
103 | max-length ="2" | |||||
104 | pattern="[ \p{Digit}] {1,2}" | |||||
105 | pattern-de scription= "one to tw o numeric characters " | |||||
106 | required=" true" | |||||
107 | short-desc ription="T he unique code for t he Combat Service Lo cation." | |||||
108 | unique="tr ue" | |||||
109 | user-name= "Code" | |||||
110 | private="f alse" | |||||
111 | owning="fa lse" | |||||
112 | shared-key ="false" | |||||
113 | frozen="fa lse" | |||||
114 | password=" false" | |||||
115 | display-on -search="t rue" | |||||
116 | display-on -list="tru e" | |||||
117 | display-on -view="tru e" | |||||
118 | allow-patt ern-search ="false" | |||||
119 | allow-soun dex-search ="false" | |||||
120 | _capitaliz ed-name="C ode" | |||||
121 | _accessor- name="getC ode" | |||||
122 | _mutator-n ame="setCo de" | |||||
123 | _hibernate -name="cod e" | |||||
124 | _derived=" false" | |||||
125 | _system-as signed="fa lse" | |||||
126 | _is-user-d efined="fa lse" | |||||
127 | _column-na me="code" | |||||
128 | _capitaliz ed-column- name="Code " | |||||
129 | _column-ab brev="Code " | |||||
130 | _is-multi= "false" | |||||
131 | _atomic-da tatype="St ring" | |||||
132 | _simple-da tatype="St ring" | |||||
133 | _simple-at omic-datat ype="Strin g" | |||||
134 | /> | |||||
135 | ||||||
136 | <attr | |||||
137 | name="area " | |||||
138 | datatype=" String" | |||||
139 | max-length ="120" | |||||
140 | required=" true" | |||||
141 | short-desc ription="T he area fo r the Comb at Service Location. " | |||||
142 | private="f alse" | |||||
143 | owning="fa lse" | |||||
144 | shared-key ="false" | |||||
145 | unique="fa lse" | |||||
146 | frozen="fa lse" | |||||
147 | password=" false" | |||||
148 | display-on -search="t rue" | |||||
149 | display-on -list="tru e" | |||||
150 | display-on -view="tru e" | |||||
151 | allow-patt ern-search ="false" | |||||
152 | allow-soun dex-search ="false" | |||||
153 | _capitaliz ed-name="A rea" | |||||
154 | user-name= "Area" | |||||
155 | _accessor- name="getA rea" | |||||
156 | _mutator-n ame="setAr ea" | |||||
157 | _hibernate -name="are a" | |||||
158 | _derived=" false" | |||||
159 | _system-as signed="fa lse" | |||||
160 | _is-user-d efined="fa lse" | |||||
161 | _column-na me="area" | |||||
162 | _capitaliz ed-column- name="Area " | |||||
163 | _column-ab brev="Area " | |||||
164 | _is-multi= "false" | |||||
165 | _atomic-da tatype="St ring" | |||||
166 | _simple-da tatype="St ring" | |||||
167 | _simple-at omic-datat ype="Strin g" | |||||
168 | /> | |||||
169 | ||||||
170 | <attr | |||||
171 | name="incl uded_locat ions" | |||||
172 | datatype=" String" | |||||
173 | max-length ="120" | |||||
174 | short-desc ription="T he include d location s of the C ombat Serv ice Locati on." | |||||
175 | required=" true" | |||||
176 | private="f alse" | |||||
177 | owning="fa lse" | |||||
178 | shared-key ="false" | |||||
179 | unique="fa lse" | |||||
180 | frozen="fa lse" | |||||
181 | password=" false" | |||||
182 | display-on -search="t rue" | |||||
183 | display-on -list="tru e" | |||||
184 | display-on -view="tru e" | |||||
185 | allow-patt ern-search ="false" | |||||
186 | allow-soun dex-search ="false" | |||||
187 | _capitaliz ed-name="I ncluded_lo cations" | |||||
188 | user-name= "Included_ locations" | |||||
189 | _accessor- name="getI ncluded_lo cations" | |||||
190 | _mutator-n ame="setIn cluded_loc ations" | |||||
191 | _hibernate -name="inc luded_loca tions" | |||||
192 | _derived=" false" | |||||
193 | _system-as signed="fa lse" | |||||
194 | _is-user-d efined="fa lse" | |||||
195 | _column-na me="includ ed_locatio ns" | |||||
196 | _capitaliz ed-column- name="Incl uded_locat ions" | |||||
197 | _column-ab brev="Incl uded_locat ions" | |||||
198 | _is-multi= "false" | |||||
199 | _atomic-da tatype="St ring" | |||||
200 | _simple-da tatype="St ring" | |||||
201 | _simple-at omic-datat ype="Strin g" | |||||
202 | /> | |||||
203 | ||||||
204 | <attr | |||||
205 | name="star tDate" | |||||
206 | datatype=" Day" | |||||
207 | short-desc ription="T he start d ate of thi s Combat S ervice Loc ation." | |||||
208 | user-name= "Start Dat e" | |||||
209 | required=" true" | |||||
210 | display-si ze="15" | |||||
211 | display-on -list="fal se" | |||||
212 | private="f alse" | |||||
213 | owning="fa lse" | |||||
214 | shared-key ="false" | |||||
215 | unique="fa lse" | |||||
216 | frozen="fa lse" | |||||
217 | password=" false" | |||||
218 | display-on -search="t rue" | |||||
219 | display-on -view="tru e" | |||||
220 | allow-patt ern-search ="false" | |||||
221 | allow-soun dex-search ="false" | |||||
222 | _capitaliz ed-name="S tartDate" | |||||
223 | _accessor- name="getS tartDate" | |||||
224 | _mutator-n ame="setSt artDate" | |||||
225 | _hibernate -name="sta rtDate" | |||||
226 | _derived=" false" | |||||
227 | _system-as signed="fa lse" | |||||
228 | _is-user-d efined="fa lse" | |||||
229 | _column-na me="startD ate" | |||||
230 | _capitaliz ed-column- name="Star tDate" | |||||
231 | _column-ab brev="Star tDate" | |||||
232 | _is-multi= "false" | |||||
233 | _atomic-da tatype="Da y" | |||||
234 | _simple-da tatype="Da y" | |||||
235 | _simple-at omic-datat ype="Day" | |||||
236 | _basic-typ e="gov.va. med.term.a ccess.type s.Day" | |||||
237 | /> | |||||
238 | ||||||
239 | <attr | |||||
240 | name="endD ate" | |||||
241 | datatype=" Day" | |||||
242 | short-desc ription="T he end dat e of this Combat Ser vice Locat ion." | |||||
243 | user-name= "End Date" | |||||
244 | display-si ze="15" | |||||
245 | display-on -list="fal se" | |||||
246 | private="f alse" | |||||
247 | owning="fa lse" | |||||
248 | shared-key ="false" | |||||
249 | required=" false" | |||||
250 | unique="fa lse" | |||||
251 | frozen="fa lse" | |||||
252 | password=" false" | |||||
253 | display-on -search="t rue" | |||||
254 | display-on -view="tru e" | |||||
255 | allow-patt ern-search ="false" | |||||
256 | allow-soun dex-search ="false" | |||||
257 | _capitaliz ed-name="E ndDate" | |||||
258 | _accessor- name="getE ndDate" | |||||
259 | _mutator-n ame="setEn dDate" | |||||
260 | _hibernate -name="end Date" | |||||
261 | _derived=" false" | |||||
262 | _system-as signed="fa lse" | |||||
263 | _is-user-d efined="fa lse" | |||||
264 | _column-na me="endDat e" | |||||
265 | _capitaliz ed-column- name="EndD ate" | |||||
266 | _column-ab brev="EndD ate" | |||||
267 | _is-multi= "false" | |||||
268 | _atomic-da tatype="Da y" | |||||
269 | _simple-da tatype="Da y" | |||||
270 | _simple-at omic-datat ype="Day" | |||||
271 | _basic-typ e="gov.va. med.term.a ccess.type s.Day" | |||||
272 | /> | |||||
273 | ||||||
274 | <attr | |||||
275 | name="isAc tive" | |||||
276 | datatype=" boolean" | |||||
277 | short-desc ription="T rue if thi s object i s currentl y active." | |||||
278 | private="f alse" | |||||
279 | owning="fa lse" | |||||
280 | shared-key ="false" | |||||
281 | required=" false" | |||||
282 | unique="fa lse" | |||||
283 | frozen="fa lse" | |||||
284 | password=" false" | |||||
285 | display-on -search="t rue" | |||||
286 | display-on -list="tru e" | |||||
287 | display-on -view="tru e" | |||||
288 | allow-patt ern-search ="false" | |||||
289 | allow-soun dex-search ="false" | |||||
290 | _capitaliz ed-name="I sActive" | |||||
291 | user-name= "Is Active " | |||||
292 | _accessor- name="isAc tive" | |||||
293 | _mutator-n ame="setAc tive" | |||||
294 | _hibernate -name="act ive" | |||||
295 | _derived=" true" | |||||
296 | _system-as signed="tr ue" | |||||
297 | _is-user-d efined="fa lse" | |||||
298 | _column-na me="isActi ve" | |||||
299 | _capitaliz ed-column- name="IsAc tive" | |||||
300 | _column-ab brev="IsAc tive" | |||||
301 | _is-multi= "false" | |||||
302 | _atomic-da tatype="bo olean" | |||||
303 | _simple-da tatype="bo olean" | |||||
304 | _simple-at omic-datat ype="boole an" | |||||
305 | > | |||||
306 | ||||||
307 | <derivatio n-expressi on | |||||
308 | apply-on-c reate="fal se" | |||||
309 | > | |||||
310 | is Active(new java.sql. Date(Syste m.currentT imeMillis( ))) | |||||
311 | ||||||
312 | </derivati on-express ion> | |||||
313 | ||||||
314 | </attr> | |||||
315 | ||||||
316 | <attr | |||||
317 | name="hist ory" | |||||
318 | singular-n ame="histo ry" | |||||
319 | datatype=" gov.va.med .term.acce ss.CombatS erviceLoca tionHistor y[]" | |||||
320 | short-desc ription="T he status history fo r Combat S ervice Loc ation." | |||||
321 | owning="tr ue" | |||||
322 | display-on -list="fal se" | |||||
323 | private="f alse" | |||||
324 | shared-key ="false" | |||||
325 | required=" false" | |||||
326 | unique="fa lse" | |||||
327 | frozen="fa lse" | |||||
328 | password=" false" | |||||
329 | display-on -search="f alse" | |||||
330 | display-on -view="tru e" | |||||
331 | allow-patt ern-search ="false" | |||||
332 | allow-soun dex-search ="false" | |||||
333 | _capitaliz ed-name="H istory" | |||||
334 | user-name= "History" | |||||
335 | _accessor- name="getH istory" | |||||
336 | _mutator-n ame="setHi story" | |||||
337 | _hibernate -name="his tory" | |||||
338 | _derived=" false" | |||||
339 | _system-as signed="fa lse" | |||||
340 | _is-user-d efined="tr ue" | |||||
341 | _column-na me="histor y" | |||||
342 | _capitaliz ed-column- name="Hist ory" | |||||
343 | _column-ab brev="Hist ory" | |||||
344 | _is-multi= "true" | |||||
345 | _singular- name="hist ory" | |||||
346 | _capitaliz ed-singula r-name="Hi story" | |||||
347 | _atomic-da tatype="go v.va.med.t erm.access .CombatSer viceLocati onHistory" | |||||
348 | _simple-da tatype="Co mbatServic eLocationH istory[]" | |||||
349 | _simple-at omic-datat ype="Comba tServiceLo cationHist ory" | |||||
350 | _datatype- package="g ov.va.med. term.acces s" | |||||
351 | _implement ation-clas s-package= "gov.va.me d.term.acc ess.mutabl e" | |||||
352 | _implement ation-clas s-simple-n ame="Mutab leCombatSe rviceLocat ionHistory " | |||||
353 | _implement ation-clas s-name="go v.va.med.t erm.access .mutable.M utableComb atServiceL ocationHis tory" | |||||
354 | _atomic-mu table-data type="gov. va.med.ter m.access.m utable.Com batService LocationHi story" | |||||
355 | _mutable-d atatype="g ov.va.med. term.acces s.mutable. CombatServ iceLocatio nHistory[] " | |||||
356 | _readonly- class-pack age="gov.v a.med.term .access.re adonly" | |||||
357 | _readonly- class-simp le-name="R eadonlyCom batService LocationHi story" | |||||
358 | _readonly- class-name ="gov.va.m ed.term.ac cess.reado nly.Readon lyCombatSe rviceLocat ionHistory " | |||||
359 | _supports- logical-de lete="fals e" | |||||
360 | _datatype- is-attr-gr oup="false " | |||||
361 | _role="par ent" | |||||
362 | _relations hip="one-t o-many" | |||||
363 | _stores-fo reign-key= "false" | |||||
364 | _bidirecti onal="true " | |||||
365 | _dependent -type="sim ple" | |||||
366 | /> | |||||
367 | ||||||
368 | <query | |||||
369 | short-desc ription="T rue if thi s object i s active o n the give n date." | |||||
370 | > | |||||
371 | ||||||
372 | <method-si gnature> | |||||
373 | boolea n | |||||
374 | isActi ve( | |||||
375 | ja va.sql.Dat e when | |||||
376 | ) | |||||
377 | ||||||
378 | </method-s ignature> | |||||
379 | ||||||
380 | <method-bo dy> | |||||
381 | CombatServ iceLocatio nHistory[] history = getHistor y(); | |||||
382 | fo r (int i=0 ; i<his tory.lengt h; i++) | |||||
383 | { | |||||
384 | CombatSe rviceLocat ionHistory entry | |||||
385 | = history [i]; | |||||
386 | java.sql .Date effe ctiveDate = entry.ge tEffective Date(); | |||||
387 | java.sql .Date expi rationDate = entry.g etExpirati onDate(); | |||||
388 | if ( ( effectiveD ate.before (when) || effectiveD ate.equals (when)) | |||||
389 | & ;& whe n.before(e xpirationD ate) | |||||
390 | ) | |||||
391 | { | |||||
392 | retu rn entry.i sActive(); | |||||
393 | } | |||||
394 | } | |||||
395 | re turn false ; | |||||
396 | ||||||
397 | </method-b ody> | |||||
398 | ||||||
399 | </query> | |||||
400 | ||||||
401 | <script | |||||
402 | language=" beanshell" | |||||
403 | id="check- endDate" | |||||
404 | > | |||||
405 | bool ean result = false; | |||||
406 | ||||||
407 | if ( object.en dDate == n ull ) | |||||
408 | { | |||||
409 | return tru e; | |||||
410 | } | |||||
411 | if ( object.en dDate.befo re(object. startDate) ) | |||||
412 | { | |||||
413 | errors.put (object.en dDate , "e ndDate ", "endDate, if present , must be on or afte r the star tDate."); | |||||
414 | return res ult; | |||||
415 | } | |||||
416 | retu rn true; | |||||
417 | ||||||
418 | </script> | |||||
419 | ||||||
420 | <extension > | |||||
421 | ||||||
422 | ||||||
423 | <hl7-messa ging-metad ata> | |||||
424 | ||||||
425 | ||||||
426 | <master-fi le-identif ier> | |||||
427 | ||||||
428 | ||||||
429 | <coded-ele ment> | |||||
430 | ||||||
431 | ||||||
432 | <identifie r> | |||||
433 | ||||||
434 | ||||||
435 | <constant | |||||
436 | value="gov .va.med.te rm.access. CombatServ iceLocatio n" | |||||
437 | /> | |||||
438 | ||||||
439 | ||||||
440 | </identifi er> | |||||
441 | ||||||
442 | ||||||
443 | <text> | |||||
444 | ||||||
445 | ||||||
446 | <constant | |||||
447 | value="Com bat Servic e Location " | |||||
448 | /> | |||||
449 | ||||||
450 | ||||||
451 | </text> | |||||
452 | ||||||
453 | ||||||
454 | <coding-sy stem> | |||||
455 | ||||||
456 | ||||||
457 | <constant | |||||
458 | value="SDS " | |||||
459 | /> | |||||
460 | ||||||
461 | ||||||
462 | </coding-s ystem> | |||||
463 | ||||||
464 | ||||||
465 | </coded-el ement> | |||||
466 | ||||||
467 | ||||||
468 | </master-f ile-identi fier> | |||||
469 | ||||||
470 | ||||||
471 | <primary-k ey-value> | |||||
472 | ||||||
473 | ||||||
474 | <coded-ele ment> | |||||
475 | ||||||
476 | ||||||
477 | <identifie r> | |||||
478 | ||||||
479 | ||||||
480 | <attr-ref | |||||
481 | name="id" | |||||
482 | /> | |||||
483 | ||||||
484 | ||||||
485 | </identifi er> | |||||
486 | ||||||
487 | ||||||
488 | <text> | |||||
489 | ||||||
490 | ||||||
491 | <attr-ref | |||||
492 | name="code " | |||||
493 | /> | |||||
494 | ||||||
495 | ||||||
496 | </text> | |||||
497 | ||||||
498 | ||||||
499 | <coding-sy stem> | |||||
500 | ||||||
501 | ||||||
502 | <constant | |||||
503 | value="SDS " | |||||
504 | /> | |||||
505 | ||||||
506 | ||||||
507 | </coding-s ystem> | |||||
508 | ||||||
509 | ||||||
510 | <alternate -identifie r> | |||||
511 | ||||||
512 | ||||||
513 | <attr-ref | |||||
514 | name="code " | |||||
515 | /> | |||||
516 | ||||||
517 | ||||||
518 | </alternat e-identifi er> | |||||
519 | ||||||
520 | ||||||
521 | <alternate -text> | |||||
522 | ||||||
523 | ||||||
524 | <attr-ref | |||||
525 | name="code " | |||||
526 | /> | |||||
527 | ||||||
528 | ||||||
529 | </alternat e-text> | |||||
530 | ||||||
531 | ||||||
532 | <alternate -coding-sy stem> | |||||
533 | ||||||
534 | ||||||
535 | <constant | |||||
536 | value="VA" | |||||
537 | /> | |||||
538 | ||||||
539 | ||||||
540 | </alternat e-coding-s ystem> | |||||
541 | ||||||
542 | ||||||
543 | </coded-el ement> | |||||
544 | ||||||
545 | ||||||
546 | </primary- key-value> | |||||
547 | ||||||
548 | ||||||
549 | </hl7-mess aging-meta data> | |||||
550 | ||||||
551 | ||||||
552 | </extensio n> | |||||
553 | </type> |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.