Produced by Araxis Merge on 4/11/2017 10:41: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:41:59 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 | County.xml | Thu Sep 6 07:48:28 2007 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 0 | 0 |
Changed | 0 | 0 |
Inserted | 1 | 698 |
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=" County" | |||||
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 leCounty" | |||||
11 | _implement ation-clas s-name="go v.va.med.t erm.access .mutable.M utableCoun ty" | |||||
12 | _mutable-c lass-name= "gov.va.me d.term.acc ess.mutabl e.County" | |||||
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 eadonlyCou nty" | |||||
16 | _readonly- class-name ="gov.va.m ed.term.ac cess.reado nly.Readon lyCounty" | |||||
17 | _transfero bject-clas s-simple-n ame="Count yTOv1" | |||||
18 | _transfero bject-clas s-name="go v.va.med.t erm.access .ejb.commo n.CountyTO v1" | |||||
19 | _capitaliz ed-name-at tr="County StateName" | |||||
20 | _decapital ized-class -name="cou nty" | |||||
21 | _table-abb rev="STD_C ounty" | |||||
22 | auditable= "true" | |||||
23 | has-versio n-number=" true" | |||||
24 | name="gov. va.med.ter m.access.C ounty" | |||||
25 | name-attr= "countySta teName" | |||||
26 | serial-ver sion-uid=" 1" | |||||
27 | short-desc ription="T he County. " | |||||
28 | table="STD _County" | |||||
29 | user-name= "County" | |||||
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 | Counties a nd equival ent entiti es of the United Sta tes, its p ossessions , and asso ciated are as. | |||||
41 | <p>T he authori tative sou rce for th is data is FIPS 6-4. | |||||
42 | < /p> | |||||
43 | ||||||
44 | </descript ion> | |||||
45 | ||||||
46 | <alternate -key-group | |||||
47 | _capitaliz ed-name="N umber" | |||||
48 | _abbrev="N umber" | |||||
49 | name="numb er" | |||||
50 | short-desc ription="n umber" | |||||
51 | > | |||||
52 | ||||||
53 | ||||||
54 | <alternate -key-eleme nt | |||||
55 | name="stat e" | |||||
56 | /> | |||||
57 | ||||||
58 | ||||||
59 | <alternate -key-eleme nt | |||||
60 | name="numb er" | |||||
61 | /> | |||||
62 | ||||||
63 | ||||||
64 | </alternat e-key-grou p> | |||||
65 | ||||||
66 | <alternate -key-group | |||||
67 | _capitaliz ed-name="N ame" | |||||
68 | _abbrev="N ame" | |||||
69 | name="name " | |||||
70 | short-desc ription="n ame" | |||||
71 | > | |||||
72 | ||||||
73 | ||||||
74 | <alternate -key-eleme nt | |||||
75 | name="stat e" | |||||
76 | /> | |||||
77 | ||||||
78 | ||||||
79 | <alternate -key-eleme nt | |||||
80 | name="name " | |||||
81 | /> | |||||
82 | ||||||
83 | ||||||
84 | </alternat e-key-grou p> | |||||
85 | ||||||
86 | <sort-attr s> | |||||
87 | ||||||
88 | ||||||
89 | <sort-attr | |||||
90 | name="name " | |||||
91 | /> | |||||
92 | ||||||
93 | ||||||
94 | <sort-attr | |||||
95 | name="stat e" | |||||
96 | /> | |||||
97 | ||||||
98 | ||||||
99 | </sort-att rs> | |||||
100 | ||||||
101 | <attr | |||||
102 | name="id" | |||||
103 | datatype=" Long" | |||||
104 | display-on -list="fal se" | |||||
105 | display-on -search="f alse" | |||||
106 | display-on -view="fal se" | |||||
107 | key="syste m-assigned " | |||||
108 | min-value= "1" | |||||
109 | short-desc ription="T he identif ier for th e County. This is t he primary key for t he object. " | |||||
110 | user-name= "Id" | |||||
111 | private="f alse" | |||||
112 | owning="fa lse" | |||||
113 | shared-key ="false" | |||||
114 | required=" false" | |||||
115 | unique="fa lse" | |||||
116 | frozen="tr ue" | |||||
117 | password=" false" | |||||
118 | allow-patt ern-search ="false" | |||||
119 | allow-soun dex-search ="false" | |||||
120 | _capitaliz ed-name="I d" | |||||
121 | _accessor- name="getI d" | |||||
122 | _mutator-n ame="setId " | |||||
123 | _hibernate -name="id" | |||||
124 | _derived=" false" | |||||
125 | _system-as signed="tr ue" | |||||
126 | _is-user-d efined="fa lse" | |||||
127 | _column-na me="id" | |||||
128 | _capitaliz ed-column- name="Id" | |||||
129 | _column-ab brev="Id" | |||||
130 | _is-multi= "false" | |||||
131 | _atomic-da tatype="Lo ng" | |||||
132 | _simple-da tatype="Lo ng" | |||||
133 | _simple-at omic-datat ype="Long" | |||||
134 | /> | |||||
135 | ||||||
136 | <attr | |||||
137 | name="name " | |||||
138 | datatype=" String" | |||||
139 | max-length ="35" | |||||
140 | required=" true" | |||||
141 | short-desc ription="T he non-uni que name o f the Coun ty." | |||||
142 | user-name= "Name" | |||||
143 | private="f alse" | |||||
144 | owning="fa lse" | |||||
145 | shared-key ="false" | |||||
146 | unique="fa lse" | |||||
147 | frozen="fa lse" | |||||
148 | password=" false" | |||||
149 | display-on -search="t rue" | |||||
150 | display-on -list="tru e" | |||||
151 | display-on -view="tru e" | |||||
152 | allow-patt ern-search ="false" | |||||
153 | allow-soun dex-search ="false" | |||||
154 | _capitaliz ed-name="N ame" | |||||
155 | _accessor- name="getN ame" | |||||
156 | _mutator-n ame="setNa me" | |||||
157 | _hibernate -name="nam e" | |||||
158 | _derived=" false" | |||||
159 | _system-as signed="fa lse" | |||||
160 | _is-user-d efined="fa lse" | |||||
161 | _column-na me="name" | |||||
162 | _capitaliz ed-column- name="Name " | |||||
163 | _column-ab brev="Name " | |||||
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="coun tyStateNam e" | |||||
172 | datatype=" String" | |||||
173 | display-on -list="fal se" | |||||
174 | display-on -view="fal se" | |||||
175 | required=" true" | |||||
176 | unique="tr ue" | |||||
177 | short-desc ription="T he unique name of th e County w ith State postal nam e." | |||||
178 | user-name= "County, S tate" | |||||
179 | private="f alse" | |||||
180 | owning="fa lse" | |||||
181 | shared-key ="false" | |||||
182 | frozen="fa lse" | |||||
183 | password=" false" | |||||
184 | display-on -search="t rue" | |||||
185 | allow-patt ern-search ="false" | |||||
186 | allow-soun dex-search ="false" | |||||
187 | _capitaliz ed-name="C ountyState Name" | |||||
188 | _accessor- name="getC ountyState Name" | |||||
189 | _mutator-n ame="setCo untyStateN ame" | |||||
190 | _hibernate -name="cou ntyStateNa me" | |||||
191 | _derived=" true" | |||||
192 | _system-as signed="tr ue" | |||||
193 | _is-user-d efined="fa lse" | |||||
194 | _column-na me="county StateName" | |||||
195 | _capitaliz ed-column- name="Coun tyStateNam e" | |||||
196 | _column-ab brev="Coun tyStateNam e" | |||||
197 | _is-multi= "false" | |||||
198 | _atomic-da tatype="St ring" | |||||
199 | _simple-da tatype="St ring" | |||||
200 | _simple-at omic-datat ype="Strin g" | |||||
201 | > | |||||
202 | ||||||
203 | <derivatio n-method | |||||
204 | apply-on-c reate="fal se" | |||||
205 | > | |||||
206 | ret urn ( getN ame() + ", " + getSt ate().getP ostalName( )); | |||||
207 | ||||||
208 | </derivati on-method> | |||||
209 | ||||||
210 | </attr> | |||||
211 | ||||||
212 | <attr | |||||
213 | name="numb er" | |||||
214 | column="co untyNumber " | |||||
215 | datatype=" String" | |||||
216 | length="3" | |||||
217 | user-name= "Number" | |||||
218 | short-desc ription="T he numeric identifie r for the County." | |||||
219 | required=" true" | |||||
220 | pattern="[ \p{Digit}] {3}" | |||||
221 | pattern-de scription= "three num eric chara cters" | |||||
222 | private="f alse" | |||||
223 | owning="fa lse" | |||||
224 | shared-key ="false" | |||||
225 | unique="fa lse" | |||||
226 | frozen="fa lse" | |||||
227 | password=" false" | |||||
228 | display-on -search="t rue" | |||||
229 | display-on -list="tru e" | |||||
230 | display-on -view="tru e" | |||||
231 | allow-patt ern-search ="false" | |||||
232 | allow-soun dex-search ="false" | |||||
233 | _capitaliz ed-name="N umber" | |||||
234 | _accessor- name="getN umber" | |||||
235 | _mutator-n ame="setNu mber" | |||||
236 | _hibernate -name="num ber" | |||||
237 | _derived=" false" | |||||
238 | _system-as signed="fa lse" | |||||
239 | _is-user-d efined="fa lse" | |||||
240 | _column-na me="county Number" | |||||
241 | _capitaliz ed-column- name="Coun tyNumber" | |||||
242 | _column-ab brev="Coun tyNumber" | |||||
243 | _is-multi= "false" | |||||
244 | _atomic-da tatype="St ring" | |||||
245 | _simple-da tatype="St ring" | |||||
246 | _simple-at omic-datat ype="Strin g" | |||||
247 | /> | |||||
248 | ||||||
249 | <attr | |||||
250 | name="desc ription" | |||||
251 | datatype=" String" | |||||
252 | display-si ze="30" | |||||
253 | max-length ="60" | |||||
254 | min-length ="2" | |||||
255 | short-desc ription="A descripti on of the County." | |||||
256 | user-name= "Descripti on" | |||||
257 | private="f alse" | |||||
258 | owning="fa lse" | |||||
259 | shared-key ="false" | |||||
260 | required=" false" | |||||
261 | unique="fa lse" | |||||
262 | frozen="fa lse" | |||||
263 | password=" false" | |||||
264 | display-on -search="t rue" | |||||
265 | display-on -list="tru e" | |||||
266 | display-on -view="tru e" | |||||
267 | allow-patt ern-search ="false" | |||||
268 | allow-soun dex-search ="false" | |||||
269 | _capitaliz ed-name="D escription " | |||||
270 | _accessor- name="getD escription " | |||||
271 | _mutator-n ame="setDe scription" | |||||
272 | _hibernate -name="des cription" | |||||
273 | _derived=" false" | |||||
274 | _system-as signed="fa lse" | |||||
275 | _is-user-d efined="fa lse" | |||||
276 | _column-na me="descri ption" | |||||
277 | _capitaliz ed-column- name="Desc ription" | |||||
278 | _column-ab brev="Desc ription" | |||||
279 | _is-multi= "false" | |||||
280 | _atomic-da tatype="St ring" | |||||
281 | _simple-da tatype="St ring" | |||||
282 | _simple-at omic-datat ype="Strin g" | |||||
283 | /> | |||||
284 | ||||||
285 | <attr | |||||
286 | name="stat e" | |||||
287 | datatype=" gov.va.med .term.acce ss.State" | |||||
288 | required=" true" | |||||
289 | short-desc ription="T he State t o which th e County b elongs." | |||||
290 | owning-att r="countie s" | |||||
291 | user-name= "State" | |||||
292 | private="f alse" | |||||
293 | owning="fa lse" | |||||
294 | shared-key ="false" | |||||
295 | unique="fa lse" | |||||
296 | frozen="tr ue" | |||||
297 | password=" false" | |||||
298 | display-on -search="t rue" | |||||
299 | display-on -list="tru e" | |||||
300 | display-on -view="tru e" | |||||
301 | allow-patt ern-search ="false" | |||||
302 | allow-soun dex-search ="false" | |||||
303 | _capitaliz ed-name="S tate" | |||||
304 | _accessor- name="getS tate" | |||||
305 | _mutator-n ame="setSt ate" | |||||
306 | _hibernate -name="sta te" | |||||
307 | _derived=" false" | |||||
308 | _system-as signed="fa lse" | |||||
309 | _is-user-d efined="tr ue" | |||||
310 | _column-na me="state" | |||||
311 | _capitaliz ed-column- name="Stat e" | |||||
312 | _column-ab brev="Stat e" | |||||
313 | _is-multi= "false" | |||||
314 | _atomic-da tatype="go v.va.med.t erm.access .State" | |||||
315 | _simple-da tatype="St ate" | |||||
316 | _simple-at omic-datat ype="State " | |||||
317 | _datatype- package="g ov.va.med. term.acces s" | |||||
318 | _implement ation-clas s-package= "gov.va.me d.term.acc ess.mutabl e" | |||||
319 | _implement ation-clas s-simple-n ame="Mutab leState" | |||||
320 | _implement ation-clas s-name="go v.va.med.t erm.access .mutable.M utableStat e" | |||||
321 | _atomic-mu table-data type="gov. va.med.ter m.access.m utable.Sta te" | |||||
322 | _mutable-d atatype="g ov.va.med. term.acces s.mutable. State" | |||||
323 | _readonly- class-pack age="gov.v a.med.term .access.re adonly" | |||||
324 | _readonly- class-simp le-name="R eadonlySta te" | |||||
325 | _readonly- class-name ="gov.va.m ed.term.ac cess.reado nly.Readon lyState" | |||||
326 | _supports- logical-de lete="true " | |||||
327 | _datatype- is-attr-gr oup="false " | |||||
328 | _role="chi ld" | |||||
329 | _relations hip="one-t o-many" | |||||
330 | _stores-fo reign-key= "true" | |||||
331 | _bidirecti onal="true " | |||||
332 | /> | |||||
333 | ||||||
334 | <attr | |||||
335 | name="stat isticalAre as" | |||||
336 | datatype=" gov.va.med .term.acce ss.Statist icalArea[] " | |||||
337 | associatio n="gov.va. med.term.a ccess.Stat isticalAre aCountyAss ignment" | |||||
338 | short-desc ription="T he Statist ical Areas associate d with thi s County." | |||||
339 | display-on -list="fal se" | |||||
340 | user-name= "Statistic al Areas" | |||||
341 | private="f alse" | |||||
342 | owning="fa lse" | |||||
343 | shared-key ="false" | |||||
344 | required=" false" | |||||
345 | unique="fa lse" | |||||
346 | frozen="fa lse" | |||||
347 | password=" false" | |||||
348 | display-on -search="f alse" | |||||
349 | display-on -view="tru e" | |||||
350 | allow-patt ern-search ="false" | |||||
351 | allow-soun dex-search ="false" | |||||
352 | _capitaliz ed-name="S tatistical Areas" | |||||
353 | _accessor- name="getS tatistical Areas" | |||||
354 | _mutator-n ame="setSt atisticalA reas" | |||||
355 | _hibernate -name="sta tisticalAr eas" | |||||
356 | _derived=" false" | |||||
357 | _system-as signed="fa lse" | |||||
358 | _is-user-d efined="tr ue" | |||||
359 | _column-na me="statis ticalAreas " | |||||
360 | _capitaliz ed-column- name="Stat isticalAre as" | |||||
361 | _column-ab brev="Stat isticalAre as" | |||||
362 | _is-multi= "true" | |||||
363 | _singular- name="stat isticalAre a" | |||||
364 | _capitaliz ed-singula r-name="St atisticalA rea" | |||||
365 | _atomic-da tatype="go v.va.med.t erm.access .Statistic alArea" | |||||
366 | _simple-da tatype="St atisticalA rea[]" | |||||
367 | _simple-at omic-datat ype="Stati sticalArea " | |||||
368 | _datatype- package="g ov.va.med. term.acces s" | |||||
369 | _implement ation-clas s-package= "gov.va.me d.term.acc ess.mutabl e" | |||||
370 | _implement ation-clas s-simple-n ame="Mutab leStatisti calArea" | |||||
371 | _implement ation-clas s-name="go v.va.med.t erm.access .mutable.M utableStat isticalAre a" | |||||
372 | _atomic-mu table-data type="gov. va.med.ter m.access.m utable.Sta tisticalAr ea" | |||||
373 | _mutable-d atatype="g ov.va.med. term.acces s.mutable. Statistica lArea[]" | |||||
374 | _readonly- class-pack age="gov.v a.med.term .access.re adonly" | |||||
375 | _readonly- class-simp le-name="R eadonlySta tisticalAr ea" | |||||
376 | _readonly- class-name ="gov.va.m ed.term.ac cess.reado nly.Readon lyStatisti calArea" | |||||
377 | _supports- logical-de lete="true " | |||||
378 | _datatype- is-attr-gr oup="false " | |||||
379 | _role="par ent" | |||||
380 | _relations hip="one-t o-many" | |||||
381 | _stores-fo reign-key= "false" | |||||
382 | _bidirecti onal="fals e" | |||||
383 | _associati on-class-s imple-name ="Statisti calAreaCou ntyAssignm ent" | |||||
384 | _associati on-package ="gov.va.m ed.term.ac cess" | |||||
385 | _associati on-impleme ntation-cl ass-simple -name="Mut ableStatis ticalAreaC ountyAssig nment" | |||||
386 | _associati on-impleme ntation-cl ass-name=" gov.va.med .term.acce ss.mutable .MutableSt atisticalA reaCountyA ssignment" | |||||
387 | _associati on-mutable -class-nam e="gov.va. med.term.a ccess.muta ble.Statis ticalAreaC ountyAssig nment" | |||||
388 | _associati on-back-re f-index="1 " | |||||
389 | _associati on-back-re f-name="co unty" | |||||
390 | _associati on-peer-re f-index="2 " | |||||
391 | _associati on-peer-re f-name="st atisticalA rea" | |||||
392 | _capitaliz ed-associa tion-peer- ref-name=" Statistica lArea" | |||||
393 | _associati on-peer-re f-accessor ="getStati sticalArea " | |||||
394 | /> | |||||
395 | ||||||
396 | <attr | |||||
397 | name="isAc tive" | |||||
398 | datatype=" boolean" | |||||
399 | short-desc ription="T rue if thi s object i s currentl y active." | |||||
400 | private="f alse" | |||||
401 | owning="fa lse" | |||||
402 | shared-key ="false" | |||||
403 | required=" false" | |||||
404 | unique="fa lse" | |||||
405 | frozen="fa lse" | |||||
406 | password=" false" | |||||
407 | display-on -search="t rue" | |||||
408 | display-on -list="tru e" | |||||
409 | display-on -view="tru e" | |||||
410 | allow-patt ern-search ="false" | |||||
411 | allow-soun dex-search ="false" | |||||
412 | _capitaliz ed-name="I sActive" | |||||
413 | user-name= "Is Active " | |||||
414 | _accessor- name="isAc tive" | |||||
415 | _mutator-n ame="setAc tive" | |||||
416 | _hibernate -name="act ive" | |||||
417 | _derived=" true" | |||||
418 | _system-as signed="tr ue" | |||||
419 | _is-user-d efined="fa lse" | |||||
420 | _column-na me="isActi ve" | |||||
421 | _capitaliz ed-column- name="IsAc tive" | |||||
422 | _column-ab brev="IsAc tive" | |||||
423 | _is-multi= "false" | |||||
424 | _atomic-da tatype="bo olean" | |||||
425 | _simple-da tatype="bo olean" | |||||
426 | _simple-at omic-datat ype="boole an" | |||||
427 | > | |||||
428 | ||||||
429 | <derivatio n-expressi on | |||||
430 | apply-on-c reate="fal se" | |||||
431 | > | |||||
432 | is Active(new java.sql. Date(Syste m.currentT imeMillis( ))) | |||||
433 | ||||||
434 | </derivati on-express ion> | |||||
435 | ||||||
436 | </attr> | |||||
437 | ||||||
438 | <attr | |||||
439 | name="hist ory" | |||||
440 | singular-n ame="histo ry" | |||||
441 | datatype=" gov.va.med .term.acce ss.CountyH istory[]" | |||||
442 | short-desc ription="T he status history fo r County." | |||||
443 | owning="tr ue" | |||||
444 | display-on -list="fal se" | |||||
445 | private="f alse" | |||||
446 | shared-key ="false" | |||||
447 | required=" false" | |||||
448 | unique="fa lse" | |||||
449 | frozen="fa lse" | |||||
450 | password=" false" | |||||
451 | display-on -search="f alse" | |||||
452 | display-on -view="tru e" | |||||
453 | allow-patt ern-search ="false" | |||||
454 | allow-soun dex-search ="false" | |||||
455 | _capitaliz ed-name="H istory" | |||||
456 | user-name= "History" | |||||
457 | _accessor- name="getH istory" | |||||
458 | _mutator-n ame="setHi story" | |||||
459 | _hibernate -name="his tory" | |||||
460 | _derived=" false" | |||||
461 | _system-as signed="fa lse" | |||||
462 | _is-user-d efined="tr ue" | |||||
463 | _column-na me="histor y" | |||||
464 | _capitaliz ed-column- name="Hist ory" | |||||
465 | _column-ab brev="Hist ory" | |||||
466 | _is-multi= "true" | |||||
467 | _singular- name="hist ory" | |||||
468 | _capitaliz ed-singula r-name="Hi story" | |||||
469 | _atomic-da tatype="go v.va.med.t erm.access .CountyHis tory" | |||||
470 | _simple-da tatype="Co untyHistor y[]" | |||||
471 | _simple-at omic-datat ype="Count yHistory" | |||||
472 | _datatype- package="g ov.va.med. term.acces s" | |||||
473 | _implement ation-clas s-package= "gov.va.me d.term.acc ess.mutabl e" | |||||
474 | _implement ation-clas s-simple-n ame="Mutab leCountyHi story" | |||||
475 | _implement ation-clas s-name="go v.va.med.t erm.access .mutable.M utableCoun tyHistory" | |||||
476 | _atomic-mu table-data type="gov. va.med.ter m.access.m utable.Cou ntyHistory " | |||||
477 | _mutable-d atatype="g ov.va.med. term.acces s.mutable. CountyHist ory[]" | |||||
478 | _readonly- class-pack age="gov.v a.med.term .access.re adonly" | |||||
479 | _readonly- class-simp le-name="R eadonlyCou ntyHistory " | |||||
480 | _readonly- class-name ="gov.va.m ed.term.ac cess.reado nly.Readon lyCountyHi story" | |||||
481 | _supports- logical-de lete="fals e" | |||||
482 | _datatype- is-attr-gr oup="false " | |||||
483 | _role="par ent" | |||||
484 | _relations hip="one-t o-many" | |||||
485 | _stores-fo reign-key= "false" | |||||
486 | _bidirecti onal="true " | |||||
487 | _dependent -type="sim ple" | |||||
488 | /> | |||||
489 | ||||||
490 | <query | |||||
491 | short-desc ription="T rue if thi s object i s active o n the give n date." | |||||
492 | > | |||||
493 | ||||||
494 | <method-si gnature> | |||||
495 | boolea n | |||||
496 | isActi ve( | |||||
497 | ja va.sql.Dat e when | |||||
498 | ) | |||||
499 | ||||||
500 | </method-s ignature> | |||||
501 | ||||||
502 | <method-bo dy> | |||||
503 | CountyHist ory[] hist ory = getH istory(); | |||||
504 | fo r (int i=0 ; i<his tory.lengt h; i++) | |||||
505 | { | |||||
506 | CountyHi story entr y | |||||
507 | = history [i]; | |||||
508 | java.sql .Date effe ctiveDate = entry.ge tEffective Date(); | |||||
509 | java.sql .Date expi rationDate = entry.g etExpirati onDate(); | |||||
510 | if ( ( effectiveD ate.before (when) || effectiveD ate.equals (when)) | |||||
511 | & ;& whe n.before(e xpirationD ate) | |||||
512 | ) | |||||
513 | { | |||||
514 | retu rn entry.i sActive(); | |||||
515 | } | |||||
516 | } | |||||
517 | re turn false ; | |||||
518 | ||||||
519 | </method-b ody> | |||||
520 | ||||||
521 | </query> | |||||
522 | ||||||
523 | <script | |||||
524 | language=" beanshell" | |||||
525 | id="number -is-unique -within-a- state" | |||||
526 | > | |||||
527 | bool ean result = false; | |||||
528 | Obje ct other = | |||||
529 | ((object.s tate != nu ll) @and ( object.num ber != nul l)) | |||||
530 | ? object.o btainByNum ber(object .state, ob ject.numbe r) | |||||
531 | : null; | |||||
532 | if ( (other == null) @or (other.id. equals(obj ect.id))) | |||||
533 | { | |||||
534 | result = t rue; | |||||
535 | } | |||||
536 | else | |||||
537 | { | |||||
538 | errors.put (object.nu mber, "num ber", "Num ber must b e unique w ithin a st ate."); | |||||
539 | } | |||||
540 | retu rn result; | |||||
541 | ||||||
542 | </script> | |||||
543 | ||||||
544 | <script | |||||
545 | language=" beanshell" | |||||
546 | id="name-i s-unique-w ithin-a-st ate" | |||||
547 | > | |||||
548 | bool ean result = false; | |||||
549 | Obje ct other = | |||||
550 | ((object.s tate != nu ll) @and ( object.nam e != null) ) | |||||
551 | ? object.o btainByNam e(object.s tate, obje ct.name) | |||||
552 | : null; | |||||
553 | if ( (other == null) @or (other.id. equals(obj ect.id))) | |||||
554 | { | |||||
555 | result = t rue; | |||||
556 | } | |||||
557 | else | |||||
558 | { | |||||
559 | errors.put (object.na me, "name" , "Name mu st be uniq ue within a state.") ; | |||||
560 | } | |||||
561 | retu rn result; | |||||
562 | ||||||
563 | </script> | |||||
564 | ||||||
565 | <extension > | |||||
566 | ||||||
567 | ||||||
568 | <hl7-messa ging-metad ata> | |||||
569 | ||||||
570 | ||||||
571 | <master-fi le-identif ier> | |||||
572 | ||||||
573 | ||||||
574 | <coded-ele ment> | |||||
575 | ||||||
576 | ||||||
577 | <identifie r> | |||||
578 | ||||||
579 | ||||||
580 | <constant | |||||
581 | value="gov .va.med.te rm.access. County" | |||||
582 | /> | |||||
583 | ||||||
584 | ||||||
585 | </identifi er> | |||||
586 | ||||||
587 | ||||||
588 | <text> | |||||
589 | ||||||
590 | ||||||
591 | <constant | |||||
592 | value="Cou nty" | |||||
593 | /> | |||||
594 | ||||||
595 | ||||||
596 | </text> | |||||
597 | ||||||
598 | ||||||
599 | <coding-sy stem> | |||||
600 | ||||||
601 | ||||||
602 | <constant | |||||
603 | value="SDS " | |||||
604 | /> | |||||
605 | ||||||
606 | ||||||
607 | </coding-s ystem> | |||||
608 | ||||||
609 | ||||||
610 | </coded-el ement> | |||||
611 | ||||||
612 | ||||||
613 | </master-f ile-identi fier> | |||||
614 | ||||||
615 | ||||||
616 | <primary-k ey-value> | |||||
617 | ||||||
618 | ||||||
619 | <coded-ele ment> | |||||
620 | ||||||
621 | ||||||
622 | <identifie r> | |||||
623 | ||||||
624 | ||||||
625 | <attr-ref | |||||
626 | name="id" | |||||
627 | /> | |||||
628 | ||||||
629 | ||||||
630 | </identifi er> | |||||
631 | ||||||
632 | ||||||
633 | <text> | |||||
634 | ||||||
635 | ||||||
636 | <attr-ref | |||||
637 | name="name " | |||||
638 | /> | |||||
639 | ||||||
640 | ||||||
641 | </text> | |||||
642 | ||||||
643 | ||||||
644 | <coding-sy stem> | |||||
645 | ||||||
646 | ||||||
647 | <constant | |||||
648 | value="SDS " | |||||
649 | /> | |||||
650 | ||||||
651 | ||||||
652 | </coding-s ystem> | |||||
653 | ||||||
654 | ||||||
655 | <alternate -identifie r> | |||||
656 | ||||||
657 | ||||||
658 | <attr-ref | |||||
659 | name="id" | |||||
660 | /> | |||||
661 | ||||||
662 | ||||||
663 | </alternat e-identifi er> | |||||
664 | ||||||
665 | ||||||
666 | <alternate -text> | |||||
667 | ||||||
668 | ||||||
669 | <attr-ref | |||||
670 | name="name " | |||||
671 | /> | |||||
672 | ||||||
673 | ||||||
674 | </alternat e-text> | |||||
675 | ||||||
676 | ||||||
677 | <alternate -coding-sy stem> | |||||
678 | ||||||
679 | ||||||
680 | <constant | |||||
681 | value="VA" | |||||
682 | /> | |||||
683 | ||||||
684 | ||||||
685 | </alternat e-coding-s ystem> | |||||
686 | ||||||
687 | ||||||
688 | </coded-el ement> | |||||
689 | ||||||
690 | ||||||
691 | </primary- key-value> | |||||
692 | ||||||
693 | ||||||
694 | </hl7-mess aging-meta data> | |||||
695 | ||||||
696 | ||||||
697 | </extensio n> | |||||
698 | </type> |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.