Produced by Araxis Merge on 4/11/2017 10:42:14 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:42:14 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 | StatisticalArea.xml | Thu Sep 6 07:48:36 2007 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 0 | 0 |
Changed | 0 | 0 |
Inserted | 1 | 784 |
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=" Statistica lArea" | |||||
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 leStatisti calArea" | |||||
11 | _implement ation-clas s-name="go v.va.med.t erm.access .mutable.M utableStat isticalAre a" | |||||
12 | _mutable-c lass-name= "gov.va.me d.term.acc ess.mutabl e.Statisti calArea" | |||||
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 eadonlySta tisticalAr ea" | |||||
16 | _readonly- class-name ="gov.va.m ed.term.ac cess.reado nly.Readon lyStatisti calArea" | |||||
17 | _transfero bject-clas s-simple-n ame="Stati sticalArea TOv1" | |||||
18 | _transfero bject-clas s-name="go v.va.med.t erm.access .ejb.commo n.Statisti calAreaTOv 1" | |||||
19 | _decapital ized-class -name="sta tisticalAr ea" | |||||
20 | _table-abb rev="STD_S tatistical Area" | |||||
21 | auditable= "true" | |||||
22 | has-versio n-number=" true" | |||||
23 | name="gov. va.med.ter m.access.S tatistical Area" | |||||
24 | serial-ver sion-uid=" 1" | |||||
25 | short-desc ription="A n integrat ed economi c and soci al unit wi th a large populatio n nucleus. " | |||||
26 | table="STD _Statistic alArea" | |||||
27 | user-name= "Statistic al Area" | |||||
28 | tablespace ="S_DATA_0 1" | |||||
29 | indexspace ="S_INDEX_ 01" | |||||
30 | read-only= "false" | |||||
31 | deleteable ="false" | |||||
32 | supports-l ogical-del ete="true" | |||||
33 | temporal=" snapshot" | |||||
34 | abstract=" false" | |||||
35 | > | |||||
36 | ||||||
37 | <descripti on> | |||||
38 | <p>S tatistical Area does not map t o a corres ponding Vi stA file. </p> | |||||
39 | ||||||
40 | </descript ion> | |||||
41 | ||||||
42 | <alternate -key-group | |||||
43 | _capitaliz ed-name="C ode" | |||||
44 | _abbrev="C ode" | |||||
45 | name="code " | |||||
46 | short-desc ription="S tatistical Area code " | |||||
47 | > | |||||
48 | ||||||
49 | <alternate -key-eleme nt | |||||
50 | name="code " | |||||
51 | /> | |||||
52 | ||||||
53 | ||||||
54 | </alternat e-key-grou p> | |||||
55 | ||||||
56 | <sort-attr s> | |||||
57 | ||||||
58 | <sort-attr | |||||
59 | name="name " | |||||
60 | /> | |||||
61 | ||||||
62 | </sort-att rs> | |||||
63 | ||||||
64 | <attr | |||||
65 | name="id" | |||||
66 | datatype=" Long" | |||||
67 | display-on -list="fal se" | |||||
68 | display-on -search="f alse" | |||||
69 | display-on -view="fal se" | |||||
70 | key="syste m-assigned " | |||||
71 | min-value= "1" | |||||
72 | short-desc ription="T he identif ier for th e Statisti cal Area. This is th e primary key for th e object." | |||||
73 | user-name= "Id" | |||||
74 | private="f alse" | |||||
75 | owning="fa lse" | |||||
76 | shared-key ="false" | |||||
77 | required=" false" | |||||
78 | unique="tr ue" | |||||
79 | frozen="tr ue" | |||||
80 | password=" false" | |||||
81 | allow-patt ern-search ="false" | |||||
82 | allow-soun dex-search ="false" | |||||
83 | _capitaliz ed-name="I d" | |||||
84 | _accessor- name="getI d" | |||||
85 | _mutator-n ame="setId " | |||||
86 | _hibernate -name="id" | |||||
87 | _derived=" false" | |||||
88 | _system-as signed="tr ue" | |||||
89 | _is-user-d efined="fa lse" | |||||
90 | _column-na me="id" | |||||
91 | _capitaliz ed-column- name="Id" | |||||
92 | _column-ab brev="Id" | |||||
93 | _is-multi= "false" | |||||
94 | _atomic-da tatype="Lo ng" | |||||
95 | _simple-da tatype="Lo ng" | |||||
96 | _simple-at omic-datat ype="Long" | |||||
97 | /> | |||||
98 | ||||||
99 | <attr | |||||
100 | name="code " | |||||
101 | datatype=" Integer" | |||||
102 | required=" true" | |||||
103 | max-value= "59999" | |||||
104 | min-value= "100" | |||||
105 | short-desc ription="T he unique numeric co de for the Statistic al Area." | |||||
106 | unique="tr ue" | |||||
107 | user-name= "Code" | |||||
108 | private="f alse" | |||||
109 | owning="fa lse" | |||||
110 | shared-key ="false" | |||||
111 | frozen="fa lse" | |||||
112 | password=" false" | |||||
113 | display-on -search="t rue" | |||||
114 | display-on -list="tru e" | |||||
115 | display-on -view="tru e" | |||||
116 | allow-patt ern-search ="false" | |||||
117 | allow-soun dex-search ="false" | |||||
118 | _capitaliz ed-name="C ode" | |||||
119 | _accessor- name="getC ode" | |||||
120 | _mutator-n ame="setCo de" | |||||
121 | _hibernate -name="cod e" | |||||
122 | _derived=" false" | |||||
123 | _system-as signed="fa lse" | |||||
124 | _is-user-d efined="fa lse" | |||||
125 | _column-na me="code" | |||||
126 | _capitaliz ed-column- name="Code " | |||||
127 | _column-ab brev="Code " | |||||
128 | _is-multi= "false" | |||||
129 | _atomic-da tatype="In teger" | |||||
130 | _simple-da tatype="In teger" | |||||
131 | _simple-at omic-datat ype="Integ er" | |||||
132 | /> | |||||
133 | ||||||
134 | <attr | |||||
135 | name="name " | |||||
136 | column="ti tle" | |||||
137 | datatype=" String" | |||||
138 | max-length ="100" | |||||
139 | user-name= "Title" | |||||
140 | short-desc ription="T he title f or the Sta tistical A rea." | |||||
141 | required=" true" | |||||
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="N ame" | |||||
154 | _accessor- name="getN ame" | |||||
155 | _mutator-n ame="setNa me" | |||||
156 | _hibernate -name="nam e" | |||||
157 | _derived=" false" | |||||
158 | _system-as signed="fa lse" | |||||
159 | _is-user-d efined="fa lse" | |||||
160 | _column-na me="title" | |||||
161 | _capitaliz ed-column- name="Titl e" | |||||
162 | _column-ab brev="Titl e" | |||||
163 | _is-multi= "false" | |||||
164 | _atomic-da tatype="St ring" | |||||
165 | _simple-da tatype="St ring" | |||||
166 | _simple-at omic-datat ype="Strin g" | |||||
167 | /> | |||||
168 | ||||||
169 | <attr | |||||
170 | name="stat isticalAre aType" | |||||
171 | datatype=" gov.va.med .term.acce ss.Statist icalAreaTy pe" | |||||
172 | display-on -list="tru e" | |||||
173 | short-desc ription="T he type of a Statist ical Area. " | |||||
174 | required=" true" | |||||
175 | user-name= "Type" | |||||
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 -view="tru e" | |||||
184 | allow-patt ern-search ="false" | |||||
185 | allow-soun dex-search ="false" | |||||
186 | _capitaliz ed-name="S tatistical AreaType" | |||||
187 | _accessor- name="getS tatistical AreaType" | |||||
188 | _mutator-n ame="setSt atisticalA reaType" | |||||
189 | _hibernate -name="sta tisticalAr eaType" | |||||
190 | _derived=" false" | |||||
191 | _system-as signed="fa lse" | |||||
192 | _is-user-d efined="tr ue" | |||||
193 | _column-na me="statis ticalAreaT ype" | |||||
194 | _capitaliz ed-column- name="Stat isticalAre aType" | |||||
195 | _column-ab brev="Stat isticalAre aType" | |||||
196 | _is-multi= "false" | |||||
197 | _atomic-da tatype="go v.va.med.t erm.access .Statistic alAreaType " | |||||
198 | _simple-da tatype="St atisticalA reaType" | |||||
199 | _simple-at omic-datat ype="Stati sticalArea Type" | |||||
200 | _datatype- package="g ov.va.med. term.acces s" | |||||
201 | _implement ation-clas s-package= "gov.va.me d.term.acc ess.mutabl e" | |||||
202 | _implement ation-clas s-simple-n ame="Mutab leStatisti calAreaTyp e" | |||||
203 | _implement ation-clas s-name="go v.va.med.t erm.access .mutable.M utableStat isticalAre aType" | |||||
204 | _atomic-mu table-data type="gov. va.med.ter m.access.m utable.Sta tisticalAr eaType" | |||||
205 | _mutable-d atatype="g ov.va.med. term.acces s.mutable. Statistica lAreaType" | |||||
206 | _readonly- class-pack age="gov.v a.med.term .access.re adonly" | |||||
207 | _readonly- class-simp le-name="R eadonlySta tisticalAr eaType" | |||||
208 | _readonly- class-name ="gov.va.m ed.term.ac cess.reado nly.Readon lyStatisti calAreaTyp e" | |||||
209 | _supports- logical-de lete="true " | |||||
210 | _datatype- is-attr-gr oup="false " | |||||
211 | _role="par ent" | |||||
212 | _relations hip="many- to-one" | |||||
213 | _stores-fo reign-key= "true" | |||||
214 | _bidirecti onal="fals e" | |||||
215 | /> | |||||
216 | ||||||
217 | <attr | |||||
218 | name="pare nt" | |||||
219 | constraine d-by="stat isticalAre aType" | |||||
220 | constraini ng-type-pa th="parent Type" | |||||
221 | constraine d-type-pat h="statist icalAreaTy pe" | |||||
222 | datatype=" gov.va.med .term.acce ss.Statist icalArea" | |||||
223 | display-on -list="fal se" | |||||
224 | short-desc ription="T he Statist ical Area that conta ins this a rea." | |||||
225 | referring- attr="chil dren" | |||||
226 | user-name= "Containin g SA" | |||||
227 | private="f alse" | |||||
228 | owning="fa lse" | |||||
229 | shared-key ="false" | |||||
230 | required=" false" | |||||
231 | unique="fa lse" | |||||
232 | frozen="fa lse" | |||||
233 | password=" false" | |||||
234 | display-on -search="t rue" | |||||
235 | display-on -view="tru e" | |||||
236 | allow-patt ern-search ="false" | |||||
237 | allow-soun dex-search ="false" | |||||
238 | _capitaliz ed-name="P arent" | |||||
239 | _accessor- name="getP arent" | |||||
240 | _mutator-n ame="setPa rent" | |||||
241 | _hibernate -name="par ent" | |||||
242 | _derived=" false" | |||||
243 | _system-as signed="fa lse" | |||||
244 | _is-user-d efined="tr ue" | |||||
245 | _column-na me="parent " | |||||
246 | _capitaliz ed-column- name="Pare nt" | |||||
247 | _column-ab brev="Pare nt" | |||||
248 | _is-multi= "false" | |||||
249 | _atomic-da tatype="go v.va.med.t erm.access .Statistic alArea" | |||||
250 | _simple-da tatype="St atisticalA rea" | |||||
251 | _simple-at omic-datat ype="Stati sticalArea " | |||||
252 | _datatype- package="g ov.va.med. term.acces s" | |||||
253 | _implement ation-clas s-package= "gov.va.me d.term.acc ess.mutabl e" | |||||
254 | _implement ation-clas s-simple-n ame="Mutab leStatisti calArea" | |||||
255 | _implement ation-clas s-name="go v.va.med.t erm.access .mutable.M utableStat isticalAre a" | |||||
256 | _atomic-mu table-data type="gov. va.med.ter m.access.m utable.Sta tisticalAr ea" | |||||
257 | _mutable-d atatype="g ov.va.med. term.acces s.mutable. Statistica lArea" | |||||
258 | _readonly- class-pack age="gov.v a.med.term .access.re adonly" | |||||
259 | _readonly- class-simp le-name="R eadonlySta tisticalAr ea" | |||||
260 | _readonly- class-name ="gov.va.m ed.term.ac cess.reado nly.Readon lyStatisti calArea" | |||||
261 | _supports- logical-de lete="true " | |||||
262 | _datatype- is-attr-gr oup="false " | |||||
263 | _role="chi ld" | |||||
264 | _relations hip="optio nal-to-man y" | |||||
265 | _stores-fo reign-key= "true" | |||||
266 | _bidirecti onal="true " | |||||
267 | _capitaliz ed-referri ng-attr="C hildren" | |||||
268 | /> | |||||
269 | ||||||
270 | <attr | |||||
271 | name="isAM etropolita nArea" | |||||
272 | datatype=" boolean" | |||||
273 | display-on -list="fal se" | |||||
274 | display-on -view="fal se" | |||||
275 | short-desc ription="T RUE if the Statistic al Area is a Metropo litan area ." | |||||
276 | private="f alse" | |||||
277 | owning="fa lse" | |||||
278 | shared-key ="false" | |||||
279 | required=" false" | |||||
280 | unique="fa lse" | |||||
281 | frozen="fa lse" | |||||
282 | password=" false" | |||||
283 | display-on -search="t rue" | |||||
284 | allow-patt ern-search ="false" | |||||
285 | allow-soun dex-search ="false" | |||||
286 | _capitaliz ed-name="I sAMetropol itanArea" | |||||
287 | user-name= "Is A Metr opolitan A rea" | |||||
288 | _accessor- name="isAM etropolita nArea" | |||||
289 | _mutator-n ame="setAM etropolita nArea" | |||||
290 | _hibernate -name="aMe tropolitan Area" | |||||
291 | _derived=" true" | |||||
292 | _system-as signed="tr ue" | |||||
293 | _is-user-d efined="fa lse" | |||||
294 | _column-na me="isAMet ropolitanA rea" | |||||
295 | _capitaliz ed-column- name="IsAM etropolita nArea" | |||||
296 | _column-ab brev="IsAM etropolita nArea" | |||||
297 | _is-multi= "false" | |||||
298 | _atomic-da tatype="bo olean" | |||||
299 | _simple-da tatype="bo olean" | |||||
300 | _simple-at omic-datat ype="boole an" | |||||
301 | > | |||||
302 | ||||||
303 | ||||||
304 | <derivatio n-method | |||||
305 | apply-on-c reate="fal se" | |||||
306 | > | |||||
307 | return ( "METRO SA".equals (getStatis ticalAreaT ype().getC ode()) ) ? true : fa lse; | |||||
308 | ||||||
309 | ||||||
310 | </derivati on-method> | |||||
311 | ||||||
312 | ||||||
313 | </attr> | |||||
314 | ||||||
315 | <attr | |||||
316 | name="isAM icropolita nArea" | |||||
317 | datatype=" boolean" | |||||
318 | display-on -list="fal se" | |||||
319 | display-on -view="fal se" | |||||
320 | short-desc ription="T RUE if the Statistic al Area is a Micropo litan area ." | |||||
321 | private="f alse" | |||||
322 | owning="fa lse" | |||||
323 | shared-key ="false" | |||||
324 | required=" false" | |||||
325 | unique="fa lse" | |||||
326 | frozen="fa lse" | |||||
327 | password=" false" | |||||
328 | display-on -search="t rue" | |||||
329 | allow-patt ern-search ="false" | |||||
330 | allow-soun dex-search ="false" | |||||
331 | _capitaliz ed-name="I sAMicropol itanArea" | |||||
332 | user-name= "Is A Micr opolitan A rea" | |||||
333 | _accessor- name="isAM icropolita nArea" | |||||
334 | _mutator-n ame="setAM icropolita nArea" | |||||
335 | _hibernate -name="aMi cropolitan Area" | |||||
336 | _derived=" true" | |||||
337 | _system-as signed="tr ue" | |||||
338 | _is-user-d efined="fa lse" | |||||
339 | _column-na me="isAMic ropolitanA rea" | |||||
340 | _capitaliz ed-column- name="IsAM icropolita nArea" | |||||
341 | _column-ab brev="IsAM icropolita nArea" | |||||
342 | _is-multi= "false" | |||||
343 | _atomic-da tatype="bo olean" | |||||
344 | _simple-da tatype="bo olean" | |||||
345 | _simple-at omic-datat ype="boole an" | |||||
346 | > | |||||
347 | ||||||
348 | ||||||
349 | <derivatio n-method | |||||
350 | apply-on-c reate="fal se" | |||||
351 | > | |||||
352 | return ( "MICRO SA".equals (getStatis ticalAreaT ype().getC ode()) ) ? true : fa lse; | |||||
353 | ||||||
354 | ||||||
355 | </derivati on-method> | |||||
356 | ||||||
357 | ||||||
358 | </attr> | |||||
359 | ||||||
360 | <attr | |||||
361 | name="chil dren" | |||||
362 | display-on -list="fal se" | |||||
363 | singular-n ame="child " | |||||
364 | user-name= "Contained SAs" | |||||
365 | datatype=" gov.va.med .term.acce ss.Statist icalArea[] " | |||||
366 | short-desc ription="T he set of Statistica l Areas re lated to t his area." | |||||
367 | private="f alse" | |||||
368 | owning="fa lse" | |||||
369 | shared-key ="false" | |||||
370 | required=" false" | |||||
371 | unique="fa lse" | |||||
372 | frozen="fa lse" | |||||
373 | password=" false" | |||||
374 | display-on -search="f alse" | |||||
375 | display-on -view="tru e" | |||||
376 | allow-patt ern-search ="false" | |||||
377 | allow-soun dex-search ="false" | |||||
378 | _capitaliz ed-name="C hildren" | |||||
379 | _accessor- name="getC hildren" | |||||
380 | _mutator-n ame="setCh ildren" | |||||
381 | _hibernate -name="chi ldren" | |||||
382 | _derived=" false" | |||||
383 | _system-as signed="fa lse" | |||||
384 | _is-user-d efined="tr ue" | |||||
385 | _column-na me="childr en" | |||||
386 | _capitaliz ed-column- name="Chil dren" | |||||
387 | _column-ab brev="Chil dren" | |||||
388 | _is-multi= "true" | |||||
389 | _singular- name="chil d" | |||||
390 | _capitaliz ed-singula r-name="Ch ild" | |||||
391 | _atomic-da tatype="go v.va.med.t erm.access .Statistic alArea" | |||||
392 | _simple-da tatype="St atisticalA rea[]" | |||||
393 | _simple-at omic-datat ype="Stati sticalArea " | |||||
394 | _datatype- package="g ov.va.med. term.acces s" | |||||
395 | _implement ation-clas s-package= "gov.va.me d.term.acc ess.mutabl e" | |||||
396 | _implement ation-clas s-simple-n ame="Mutab leStatisti calArea" | |||||
397 | _implement ation-clas s-name="go v.va.med.t erm.access .mutable.M utableStat isticalAre a" | |||||
398 | _atomic-mu table-data type="gov. va.med.ter m.access.m utable.Sta tisticalAr ea" | |||||
399 | _mutable-d atatype="g ov.va.med. term.acces s.mutable. Statistica lArea[]" | |||||
400 | _readonly- class-pack age="gov.v a.med.term .access.re adonly" | |||||
401 | _readonly- class-simp le-name="R eadonlySta tisticalAr ea" | |||||
402 | _readonly- class-name ="gov.va.m ed.term.ac cess.reado nly.Readon lyStatisti calArea" | |||||
403 | _supports- logical-de lete="true " | |||||
404 | _datatype- is-attr-gr oup="false " | |||||
405 | _role="par ent" | |||||
406 | _relations hip="optio nal-to-man y" | |||||
407 | _stores-fo reign-key= "false" | |||||
408 | _bidirecti onal="true " | |||||
409 | /> | |||||
410 | ||||||
411 | <attr | |||||
412 | name="coun ties" | |||||
413 | singular-n ame="count y" | |||||
414 | datatype=" gov.va.med .term.acce ss.County[ ]" | |||||
415 | associatio n="gov.va. med.term.a ccess.Stat isticalAre aCountyAss ignment" | |||||
416 | short-desc ription="T he countie s associat ed with th is Statist ical Area. " | |||||
417 | user-name= "Counties" | |||||
418 | private="f alse" | |||||
419 | owning="fa lse" | |||||
420 | shared-key ="false" | |||||
421 | required=" false" | |||||
422 | unique="fa lse" | |||||
423 | frozen="fa lse" | |||||
424 | password=" false" | |||||
425 | display-on -search="f alse" | |||||
426 | display-on -list="fal se" | |||||
427 | display-on -view="tru e" | |||||
428 | allow-patt ern-search ="false" | |||||
429 | allow-soun dex-search ="false" | |||||
430 | _capitaliz ed-name="C ounties" | |||||
431 | _accessor- name="getC ounties" | |||||
432 | _mutator-n ame="setCo unties" | |||||
433 | _hibernate -name="cou nties" | |||||
434 | _derived=" false" | |||||
435 | _system-as signed="fa lse" | |||||
436 | _is-user-d efined="tr ue" | |||||
437 | _column-na me="counti es" | |||||
438 | _capitaliz ed-column- name="Coun ties" | |||||
439 | _column-ab brev="Coun ties" | |||||
440 | _is-multi= "true" | |||||
441 | _singular- name="coun ty" | |||||
442 | _capitaliz ed-singula r-name="Co unty" | |||||
443 | _atomic-da tatype="go v.va.med.t erm.access .County" | |||||
444 | _simple-da tatype="Co unty[]" | |||||
445 | _simple-at omic-datat ype="Count y" | |||||
446 | _datatype- package="g ov.va.med. term.acces s" | |||||
447 | _implement ation-clas s-package= "gov.va.me d.term.acc ess.mutabl e" | |||||
448 | _implement ation-clas s-simple-n ame="Mutab leCounty" | |||||
449 | _implement ation-clas s-name="go v.va.med.t erm.access .mutable.M utableCoun ty" | |||||
450 | _atomic-mu table-data type="gov. va.med.ter m.access.m utable.Cou nty" | |||||
451 | _mutable-d atatype="g ov.va.med. term.acces s.mutable. County[]" | |||||
452 | _readonly- class-pack age="gov.v a.med.term .access.re adonly" | |||||
453 | _readonly- class-simp le-name="R eadonlyCou nty" | |||||
454 | _readonly- class-name ="gov.va.m ed.term.ac cess.reado nly.Readon lyCounty" | |||||
455 | _supports- logical-de lete="true " | |||||
456 | _datatype- is-attr-gr oup="false " | |||||
457 | _role="par ent" | |||||
458 | _relations hip="one-t o-many" | |||||
459 | _stores-fo reign-key= "false" | |||||
460 | _bidirecti onal="true " | |||||
461 | _associati on-class-s imple-name ="Statisti calAreaCou ntyAssignm ent" | |||||
462 | _associati on-package ="gov.va.m ed.term.ac cess" | |||||
463 | _associati on-impleme ntation-cl ass-simple -name="Mut ableStatis ticalAreaC ountyAssig nment" | |||||
464 | _associati on-impleme ntation-cl ass-name=" gov.va.med .term.acce ss.mutable .MutableSt atisticalA reaCountyA ssignment" | |||||
465 | _associati on-mutable -class-nam e="gov.va. med.term.a ccess.muta ble.Statis ticalAreaC ountyAssig nment" | |||||
466 | _associati on-back-re f-index="2 " | |||||
467 | _associati on-back-re f-name="st atisticalA rea" | |||||
468 | _associati on-peer-re f-index="1 " | |||||
469 | _associati on-peer-re f-name="co unty" | |||||
470 | _capitaliz ed-associa tion-peer- ref-name=" County" | |||||
471 | _associati on-peer-re f-accessor ="getCount y" | |||||
472 | /> | |||||
473 | ||||||
474 | <attr | |||||
475 | name="isAc tive" | |||||
476 | datatype=" boolean" | |||||
477 | short-desc ription="T rue if thi s object i s currentl y active." | |||||
478 | private="f alse" | |||||
479 | owning="fa lse" | |||||
480 | shared-key ="false" | |||||
481 | required=" false" | |||||
482 | unique="fa lse" | |||||
483 | frozen="fa lse" | |||||
484 | password=" false" | |||||
485 | display-on -search="t rue" | |||||
486 | display-on -list="tru e" | |||||
487 | display-on -view="tru e" | |||||
488 | allow-patt ern-search ="false" | |||||
489 | allow-soun dex-search ="false" | |||||
490 | _capitaliz ed-name="I sActive" | |||||
491 | user-name= "Is Active " | |||||
492 | _accessor- name="isAc tive" | |||||
493 | _mutator-n ame="setAc tive" | |||||
494 | _hibernate -name="act ive" | |||||
495 | _derived=" true" | |||||
496 | _system-as signed="tr ue" | |||||
497 | _is-user-d efined="fa lse" | |||||
498 | _column-na me="isActi ve" | |||||
499 | _capitaliz ed-column- name="IsAc tive" | |||||
500 | _column-ab brev="IsAc tive" | |||||
501 | _is-multi= "false" | |||||
502 | _atomic-da tatype="bo olean" | |||||
503 | _simple-da tatype="bo olean" | |||||
504 | _simple-at omic-datat ype="boole an" | |||||
505 | > | |||||
506 | ||||||
507 | <derivatio n-expressi on | |||||
508 | apply-on-c reate="fal se" | |||||
509 | > | |||||
510 | is Active(new java.sql. Date(Syste m.currentT imeMillis( ))) | |||||
511 | ||||||
512 | </derivati on-express ion> | |||||
513 | ||||||
514 | </attr> | |||||
515 | ||||||
516 | <attr | |||||
517 | name="hist ory" | |||||
518 | singular-n ame="histo ry" | |||||
519 | datatype=" gov.va.med .term.acce ss.Statist icalAreaHi story[]" | |||||
520 | short-desc ription="T he status history fo r Statisti cal Area." | |||||
521 | owning="tr ue" | |||||
522 | display-on -list="fal se" | |||||
523 | private="f alse" | |||||
524 | shared-key ="false" | |||||
525 | required=" false" | |||||
526 | unique="fa lse" | |||||
527 | frozen="fa lse" | |||||
528 | password=" false" | |||||
529 | display-on -search="f alse" | |||||
530 | display-on -view="tru e" | |||||
531 | allow-patt ern-search ="false" | |||||
532 | allow-soun dex-search ="false" | |||||
533 | _capitaliz ed-name="H istory" | |||||
534 | user-name= "History" | |||||
535 | _accessor- name="getH istory" | |||||
536 | _mutator-n ame="setHi story" | |||||
537 | _hibernate -name="his tory" | |||||
538 | _derived=" false" | |||||
539 | _system-as signed="fa lse" | |||||
540 | _is-user-d efined="tr ue" | |||||
541 | _column-na me="histor y" | |||||
542 | _capitaliz ed-column- name="Hist ory" | |||||
543 | _column-ab brev="Hist ory" | |||||
544 | _is-multi= "true" | |||||
545 | _singular- name="hist ory" | |||||
546 | _capitaliz ed-singula r-name="Hi story" | |||||
547 | _atomic-da tatype="go v.va.med.t erm.access .Statistic alAreaHist ory" | |||||
548 | _simple-da tatype="St atisticalA reaHistory []" | |||||
549 | _simple-at omic-datat ype="Stati sticalArea History" | |||||
550 | _datatype- package="g ov.va.med. term.acces s" | |||||
551 | _implement ation-clas s-package= "gov.va.me d.term.acc ess.mutabl e" | |||||
552 | _implement ation-clas s-simple-n ame="Mutab leStatisti calAreaHis tory" | |||||
553 | _implement ation-clas s-name="go v.va.med.t erm.access .mutable.M utableStat isticalAre aHistory" | |||||
554 | _atomic-mu table-data type="gov. va.med.ter m.access.m utable.Sta tisticalAr eaHistory" | |||||
555 | _mutable-d atatype="g ov.va.med. term.acces s.mutable. Statistica lAreaHisto ry[]" | |||||
556 | _readonly- class-pack age="gov.v a.med.term .access.re adonly" | |||||
557 | _readonly- class-simp le-name="R eadonlySta tisticalAr eaHistory" | |||||
558 | _readonly- class-name ="gov.va.m ed.term.ac cess.reado nly.Readon lyStatisti calAreaHis tory" | |||||
559 | _supports- logical-de lete="fals e" | |||||
560 | _datatype- is-attr-gr oup="false " | |||||
561 | _role="par ent" | |||||
562 | _relations hip="one-t o-many" | |||||
563 | _stores-fo reign-key= "false" | |||||
564 | _bidirecti onal="true " | |||||
565 | _dependent -type="sim ple" | |||||
566 | /> | |||||
567 | ||||||
568 | <query | |||||
569 | short-desc ription="T rue if thi s object i s active o n the give n date." | |||||
570 | > | |||||
571 | ||||||
572 | <method-si gnature> | |||||
573 | boolea n | |||||
574 | isActi ve( | |||||
575 | ja va.sql.Dat e when | |||||
576 | ) | |||||
577 | ||||||
578 | </method-s ignature> | |||||
579 | ||||||
580 | <method-bo dy> | |||||
581 | Statistica lAreaHisto ry[] histo ry = getHi story(); | |||||
582 | fo r (int i=0 ; i<his tory.lengt h; i++) | |||||
583 | { | |||||
584 | Statisti calAreaHis tory entry | |||||
585 | = history [i]; | |||||
586 | java.sql .Date effe ctiveDate = entry.ge tEffective Date(); | |||||
587 | java.sql .Date expi rationDate = entry.g etExpirati onDate(); | |||||
588 | if ( ( effectiveD ate.before (when) || effectiveD ate.equals (when)) | |||||
589 | & ;& whe n.before(e xpirationD ate) | |||||
590 | ) | |||||
591 | { | |||||
592 | retu rn entry.i sActive(); | |||||
593 | } | |||||
594 | } | |||||
595 | re turn false ; | |||||
596 | ||||||
597 | </method-b ody> | |||||
598 | ||||||
599 | </query> | |||||
600 | ||||||
601 | <script | |||||
602 | language=" beanshell" | |||||
603 | id="check- code" | |||||
604 | > | |||||
605 | // Scri pt should use VUIDs once they have been assigned | |||||
606 | ||||||
607 | if ( "C OMBO SA".e quals(obje ct.statist icalAreaTy pe.code) ) | |||||
608 | { | |||||
609 | if ( object.c ode @lt 10 0 @or obje ct.code @g t 599) | |||||
610 | { | |||||
611 | errors.put (object.co de, "code" , "A Combi ned Statis tical Area must have a 3 digit code in t he range ( 100, 599). "); | |||||
612 | return fal se; | |||||
613 | } | |||||
614 | } | |||||
615 | else i f ( object .code @lt 10000 @or object.cod e @gt 5999 9 ) | |||||
616 | { | |||||
617 | err ors.put(ob ject.code, "code", " The Statis tical Area must have a 5 digit code in t he range ( 10000, 599 99)."); | |||||
618 | ret urn false; | |||||
619 | } | |||||
620 | ||||||
621 | return true; | |||||
622 | ||||||
623 | </script> | |||||
624 | ||||||
625 | <script | |||||
626 | language=" beanshell" | |||||
627 | id="check- parent" | |||||
628 | > | |||||
629 | // Ensu re the par ent is of the correc t type for the SA | |||||
630 | if ( ob ject.paren t != null ) | |||||
631 | { | |||||
632 | if ( object.s tatistical AreaType.p arentType == null ) | |||||
633 | { | |||||
634 | errors.put (object.pa rent, "par ent", "The containin g Statisti cal Area m ust be emp ty for a ' " | |||||
635 | + obje ct.statist icalAreaTy pe.name + "'."); | |||||
636 | return fal se; | |||||
637 | } | |||||
638 | ||||||
639 | if ( object.p arent.stat isticalAre aType.id ! = object.s tatistical AreaType.p arentType. id ) | |||||
640 | { | |||||
641 | errors.put (object.pa rent, "par ent", "The containin g Statisti cal Area m ust be of type '" | |||||
642 | + obje ct.statist icalAreaTy pe.parentT ype.name + "'."); | |||||
643 | return fal se; | |||||
644 | } | |||||
645 | } | |||||
646 | ||||||
647 | return true; | |||||
648 | ||||||
649 | </script> | |||||
650 | ||||||
651 | <extension > | |||||
652 | ||||||
653 | ||||||
654 | <hl7-messa ging-metad ata> | |||||
655 | ||||||
656 | ||||||
657 | <master-fi le-identif ier> | |||||
658 | ||||||
659 | ||||||
660 | <coded-ele ment> | |||||
661 | ||||||
662 | ||||||
663 | <identifie r> | |||||
664 | ||||||
665 | ||||||
666 | <constant | |||||
667 | value="gov .va.med.te rm.access. Statistica lArea" | |||||
668 | /> | |||||
669 | ||||||
670 | ||||||
671 | </identifi er> | |||||
672 | ||||||
673 | ||||||
674 | <text> | |||||
675 | ||||||
676 | ||||||
677 | <constant | |||||
678 | value="Sta tistical A rea" | |||||
679 | /> | |||||
680 | ||||||
681 | ||||||
682 | </text> | |||||
683 | ||||||
684 | ||||||
685 | <coding-sy stem> | |||||
686 | ||||||
687 | ||||||
688 | <constant | |||||
689 | value="SDS " | |||||
690 | /> | |||||
691 | ||||||
692 | ||||||
693 | </coding-s ystem> | |||||
694 | ||||||
695 | ||||||
696 | </coded-el ement> | |||||
697 | ||||||
698 | ||||||
699 | </master-f ile-identi fier> | |||||
700 | ||||||
701 | ||||||
702 | <primary-k ey-value> | |||||
703 | ||||||
704 | ||||||
705 | <coded-ele ment> | |||||
706 | ||||||
707 | ||||||
708 | <identifie r> | |||||
709 | ||||||
710 | ||||||
711 | <attr-ref | |||||
712 | name="id" | |||||
713 | /> | |||||
714 | ||||||
715 | ||||||
716 | </identifi er> | |||||
717 | ||||||
718 | ||||||
719 | <text> | |||||
720 | ||||||
721 | ||||||
722 | <attr-ref | |||||
723 | name="name " | |||||
724 | /> | |||||
725 | ||||||
726 | ||||||
727 | </text> | |||||
728 | ||||||
729 | ||||||
730 | <coding-sy stem> | |||||
731 | ||||||
732 | ||||||
733 | <constant | |||||
734 | value="SDS " | |||||
735 | /> | |||||
736 | ||||||
737 | ||||||
738 | </coding-s ystem> | |||||
739 | ||||||
740 | ||||||
741 | <alternate -identifie r> | |||||
742 | ||||||
743 | ||||||
744 | <attr-ref | |||||
745 | name="code " | |||||
746 | /> | |||||
747 | ||||||
748 | ||||||
749 | </alternat e-identifi er> | |||||
750 | ||||||
751 | ||||||
752 | <alternate -text> | |||||
753 | ||||||
754 | ||||||
755 | <attr-ref | |||||
756 | name="name " | |||||
757 | /> | |||||
758 | ||||||
759 | ||||||
760 | </alternat e-text> | |||||
761 | ||||||
762 | ||||||
763 | <alternate -coding-sy stem> | |||||
764 | ||||||
765 | ||||||
766 | <constant | |||||
767 | value="VA" | |||||
768 | /> | |||||
769 | ||||||
770 | ||||||
771 | </alternat e-coding-s ystem> | |||||
772 | ||||||
773 | ||||||
774 | </coded-el ement> | |||||
775 | ||||||
776 | ||||||
777 | </primary- key-value> | |||||
778 | ||||||
779 | ||||||
780 | </hl7-mess aging-meta data> | |||||
781 | ||||||
782 | ||||||
783 | </extensio n> | |||||
784 | </type> |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.