Subversion Repository Public Repository

litesoft

Diff Revisions 949 vs 950 for /trunk/Java/KeyHole/src/org/litesoft/aokeyhole/objects/factories/a6plus/A6plusPropertyMetaDataDefinitionAccessor.java

Diff revisions: vs.
  @@ -1,545 +1,545 @@
1 - // This Source Code is in the Public Domain per: http://unlicense.org
2 - package org.litesoft.aokeyhole.objects.factories.a6plus;
3 -
4 - import org.litesoft.aokeyhole.objects.*;
5 - import org.litesoft.aokeyhole.objects.attributes.*;
6 - import org.litesoft.aokeyhole.objects.factories.*;
7 - import org.litesoft.aokeyhole.objects.properties.*;
8 -
9 - import java.util.*;
10 -
11 - public class A6plusPropertyMetaDataDefinitionAccessor extends PropertyMetaDataDefinitionAccessorImpl implements A6plusTypes {
12 - private static Set<String> NON_ABSTRACT_REGULAR_POS = createSet( TYPE_PO, TYPE_COMMON_PAIRED_PO, TYPE_PAIRED_PO, TYPE_BRIDGE, TYPE_VARIABLE_TO_ONE_BRIDGE );
13 - private static Set<String> ALL_REGULAR_POS = createSet( NON_ABSTRACT_REGULAR_POS, TYPE_ABSTRACT_PO );
14 -
15 - public A6plusPropertyMetaDataDefinitionAccessor() {
16 - super( "A6plus", //
17 - new ObjectSet[] //
18 - { //
19 - new ObjectSet( -40, false, TYPE_VIEW_OBJECT, //
20 - PMD_Package.INSTANCE, //
21 - PMD_DisplayValueFormat.INSTANCE, //
22 - PMD_DerivedFromObject.INSTANCE ) {
23 - @Override
24 - public String getParentLabel( String pSubSystemName ) {
25 - return "Extends";
26 - }
27 -
28 - @Override
29 - public boolean isAcceptableParentOption( String zObjectSetType ) {
30 - return TYPE_ABSTRACT_VIEW_OBJECT.equals( zObjectSetType );
31 - }
32 -
33 - @Override
34 - public void justCreated( ObjectMetaData pObjectMetaData ) {
35 - pObjectMetaData.createAttributeMetaDataID(); // Add the ID
36 - }
37 -
38 - @Override
39 - public boolean acceptableAttributeType( AttributeType pAttributeType ) {
40 - return pAttributeType.getFAT().equals( FundamentalAttributeType.Simple );
41 - }
42 -
43 - @Override
44 - public boolean acceptableAttributePMD( PropertyMetaData pPropertyMetaData ) {
45 - return !PMD_ColumnName.INSTANCE.equals( pPropertyMetaData );
46 - }
47 -
48 - @Override
49 - public String labelForRegularAttributes() {
50 - return "Regular";
51 - }
52 - }, //
53 - new ObjectSet( -40, false, TYPE_ABSTRACT_VIEW_OBJECT, //
54 - PMD_Package.INSTANCE ) {
55 - @Override
56 - public String getParentLabel( String pSubSystemName ) {
57 - return "Extends";
58 - }
59 -
60 - @Override
61 - public boolean isAcceptableParentOption( String zObjectSetType ) {
62 - return TYPE_ABSTRACT_VIEW_OBJECT.equals( zObjectSetType );
63 - }
64 -
65 - @Override
66 - public boolean requireID() {
67 - return false;
68 - }
69 -
70 - @Override
71 - public boolean acceptableAttributeType( AttributeType pAttributeType ) {
72 - return pAttributeType.getFAT().equals( FundamentalAttributeType.Simple );
73 - }
74 -
75 - @Override
76 - public boolean acceptableAttributePMD( PropertyMetaData pPropertyMetaData ) {
77 - return !PMD_ColumnName.INSTANCE.equals( pPropertyMetaData );
78 - }
79 -
80 - @Override
81 - public String labelForRegularAttributes() {
82 - return "Regular";
83 - }
84 - }, //
85 - new ObjectSet( 0, true, TYPE_PO, //
86 - PMD_Active.INSTANCE, //
87 - PMD_Package.INSTANCE, //
88 - PMD_TimeTracked.INSTANCE, //
89 - PMD_DisplayValueFormat.INSTANCE, //
90 - PMD_TableName.INSTANCE, //
91 - PMD_OrderByAttribute.INSTANCE ) {
92 - @Override
93 - public String getParentLabel( String pSubSystemName ) {
94 - return "Extends";
95 - }
96 -
97 - @Override
98 - public boolean isAcceptableParentOption( String zObjectSetType ) {
99 - return TYPE_ABSTRACT_PO.equals( zObjectSetType ) || TYPE_PARTIAL_PO.equals( zObjectSetType );
100 - }
101 -
102 - @Override
103 - public void justCreated( ObjectMetaData pObjectMetaData ) {
104 - pObjectMetaData.createAttributeMetaDataID(); // Add the ID
105 - }
106 -
107 - @Override
108 - public boolean acceptableAttributeType( AttributeType pAttributeType ) {
109 - return !A_Derived.TYPE.equals( pAttributeType );
110 - }
111 - }, //
112 - new ObjectSet( 0, true, TYPE_COMMON_PAIRED_PO, //
113 - PMD_Active.INSTANCE, //
114 - PMD_Package.INSTANCE, //
115 - PMD_TimeTracked.INSTANCE, //
116 - PMD_DisplayValueFormat.INSTANCE, //
117 - PMD_TableName.INSTANCE ) {
118 - @Override
119 - public String getParentLabel( String pSubSystemName ) {
120 - return "Extends";
121 - }
122 -
123 - @Override
124 - public boolean isAcceptableParentOption( String zObjectSetType ) {
125 - return TYPE_ABSTRACT_PO.equals( zObjectSetType ) || TYPE_PARTIAL_PO.equals( zObjectSetType );
126 - }
127 -
128 - @Override
129 - public void justCreated( ObjectMetaData pObjectMetaData ) {
130 - pObjectMetaData.createAttributeMetaDataID();
131 - pObjectMetaData.createAttributeMetaDataCommonPairedToOne();
132 - }
133 -
134 - @Override
135 - public boolean acceptableAttributeType( AttributeType pAttributeType ) {
136 - return !A_Derived.TYPE.equals( pAttributeType );
137 - }
138 - }, //
139 - new ObjectSet( 0, true, TYPE_PAIRED_PO, //
140 - PMD_Active.INSTANCE, //
141 - PMD_Package.INSTANCE, //
142 - PMD_TimeTracked.INSTANCE, //
143 - PMD_DisplayValueFormat.INSTANCE, //
144 - PMD_TableName.INSTANCE ) {
145 - @Override
146 - public String getParentLabel( String pSubSystemName ) {
147 - return "Extends";
148 - }
149 -
150 - @Override
151 - public boolean isAcceptableParentOption( String zObjectSetType ) {
152 - return TYPE_ABSTRACT_PO.equals( zObjectSetType ) || TYPE_PARTIAL_PO.equals( zObjectSetType );
153 - }
154 -
155 - @Override
156 - public void justCreated( ObjectMetaData pObjectMetaData ) {
157 - pObjectMetaData.createAttributeMetaDataID();
158 - pObjectMetaData.createAttributeMetaDataPairedToOne();
159 - }
160 -
161 - @Override
162 - public boolean acceptableAttributeType( AttributeType pAttributeType ) {
163 - return !A_Derived.TYPE.equals( pAttributeType );
164 - }
165 - }, //
166 - new ObjectSet( 50, true, TYPE_BRIDGE, //
167 - PMD_Active.INSTANCE, //
168 - PMD_Package.INSTANCE, //
169 - PMD_TimeTracked.INSTANCE, //
170 - PMD_DisplayValueFormat.INSTANCE, //
171 - PMD_TableName.INSTANCE ) {
172 - @Override
173 - public PropertyMetaData[] getAdditionalAttributePMDs( AttributeType pType ) {
174 - return pType.getFAT().equals( FundamentalAttributeType.ToMany ) ? //
175 - null : //
176 - new PropertyMetaData[]{PMD_MembershipDisplayOrder.INSTANCE};
177 - }
178 -
179 - @Override
180 - public void justCreated( ObjectMetaData pObjectMetaData ) {
181 - pObjectMetaData.createAttributeMetaDataID();
182 - pObjectMetaData.createAttributeMetaDataBridgeToOneLeft();
183 - pObjectMetaData.createAttributeMetaDataBridgeToOneRight();
184 - }
185 -
186 - @Override
187 - public boolean acceptableAttributeType( AttributeType pAttributeType ) {
188 - return !A_Derived.TYPE.equals( pAttributeType );
189 - }
190 - }, //
191 - new ObjectSet( 50, true, TYPE_VARIABLE_TO_ONE_BRIDGE, //
192 - PMD_Active.INSTANCE, //
193 - PMD_Package.INSTANCE, //
194 - PMD_TimeTracked.INSTANCE, //
195 - PMD_DisplayValueFormat.INSTANCE, //
196 - PMD_TableName.INSTANCE ) {
197 - @Override
198 - public PropertyMetaData[] getAdditionalAttributePMDs( AttributeType pType ) {
199 - return pType.getFAT().equals( FundamentalAttributeType.ToMany ) ? //
200 - null : //
201 - new PropertyMetaData[]{PMD_MembershipDisplayOrder.INSTANCE};
202 - }
203 -
204 - @Override
205 - public void justCreated( ObjectMetaData pObjectMetaData ) {
206 - pObjectMetaData.createAttributeMetaDataID();
207 - pObjectMetaData.createAttributeMetaDataVariableBridgeToOneLeft();
208 - pObjectMetaData.createAttributeMetaDataBridgeToOneRight();
209 - }
210 -
211 - @Override
212 - public boolean acceptableAttributeType( AttributeType pAttributeType ) {
213 - return !A_Derived.TYPE.equals( pAttributeType );
214 - }
215 - }, //
216 - new ObjectSet( 0, false, TYPE_ABSTRACT_PO, //
217 - PMD_Active.INSTANCE, //
218 - PMD_Package.INSTANCE, //
219 - PMD_TimeTracked.INSTANCE ) {
220 - @Override
221 - public String getParentLabel( String pSubSystemName ) {
222 - return "Extends";
223 - }
224 -
225 - @Override
226 - public boolean isAcceptableParentOption( String zObjectSetType ) {
227 - return TYPE_ABSTRACT_PO.equals( zObjectSetType );
228 - }
229 -
230 - @Override
231 - public boolean requireID() {
232 - return false;
233 - }
234 -
235 - @Override
236 - public boolean acceptableAttributeType( AttributeType pAttributeType ) {
237 - return pAttributeType.getFAT().equals( FundamentalAttributeType.Simple ) && !A_Derived.TYPE.equals( pAttributeType );
238 - }
239 - }, //
240 - new ObjectSet( -50, false, TYPE_PARTIAL_PO, //
241 - PMD_Active.INSTANCE, //
242 - PMD_Package.INSTANCE, //
243 - PMD_TimeTracked.INSTANCE ) {
244 - @Override
245 - public String getParentLabel( String pSubSystemName ) {
246 - return "Extends";
247 - }
248 -
249 - @Override
250 - public boolean isAcceptableParentOption( String zObjectSetType ) {
251 - return TYPE_ABSTRACT_PO.equals( zObjectSetType );
252 - }
253 -
254 - @Override
255 - public boolean acceptableForSubSystem( String pSubSystemName ) {
256 - return "Foundation".equals( pSubSystemName );
257 - }
258 -
259 - @Override
260 - public void justCreated( ObjectMetaData pObjectMetaData ) {
261 - pObjectMetaData.createAttributeMetaDataID(); // Add the ID
262 - }
263 -
264 - @Override
265 - public boolean acceptableAttributeType( AttributeType pAttributeType ) {
266 - return !A_Derived.TYPE.equals( pAttributeType );
267 - }
268 - },
269 - }, //
270 - new ID_Set( PMD_ColumnName.INSTANCE ), //
271 - // Fields not used for: Simples
272 - // PMD_Domain.INSTANCE,
273 - // new PMD_DataType( String.class ),
274 - new DerivedSet( PMD_Changeable.INSTANCE, //
275 - PMD_Required.INSTANCE, //
276 - PMD_DerivedFromAttribute.INSTANCE, PMD_QueryView.INSTANCE ), //
277 - // Other fields for: Simple ...
278 - // PMD_FractionalPlaces.of( null ),
279 - // PMD_MembershipDisplayOrder.INSTANCE,
280 - // PMD_DependsOnAttributes.INSTANCE,
281 - new UiCRUDpSet( A_String.TYPE, //
282 - new ASet( PMD_Changeable.INSTANCE, //
283 - PMD_Required.INSTANCE, //
284 - PMD_Case.INSTANCE, //
285 - PMD_DefaultValue.INSTANCE, //
286 - PMD_MaxLength.of( 40 ), //
287 - PMD_DisplayLength.of( 20 ), //
288 - PMD_UniqueGroup.INSTANCE, //
289 - PMD_CachedCalculatedValue.INSTANCE, //
290 - PMD_ColumnName.INSTANCE ), //
291 - new ASet( PMD_Changeable.INSTANCE, //
292 - PMD_Required.INSTANCE, //
293 - PMD_Case.INSTANCE, //
294 - PMD_MaxLength.of( 40 ), //
295 - PMD_DisplayLength.of( 20 ), //
296 - PMD_DependsOnAttributes.INSTANCE ) ), //
297 - new UiCRUDpSet( A_Password.TYPE, //
298 - new ASet( PMD_Changeable.INSTANCE, //
299 - PMD_Required.INSTANCE, //
300 - PMD_DefaultValue.INSTANCE, //
301 - PMD_MaxLength.of( 40 ), //
302 - PMD_DisplayLength.of( 20 ), //
303 - PMD_UniqueGroup.INSTANCE, //
304 - PMD_ColumnName.INSTANCE ), //
305 - new ASet( PMD_Changeable.INSTANCE, //
306 - PMD_Required.INSTANCE, //
307 - PMD_MaxLength.of( 40 ), //
308 - PMD_DisplayLength.of( 20 ), //
309 - PMD_DependsOnAttributes.INSTANCE ) ), //
310 - new UiCRUDpSet( A_Timestamp.TYPE, //
311 - new ASet( PMD_Changeable.INSTANCE, //
312 - PMD_Required.INSTANCE, //
313 - PMD_DefaultValue.INSTANCE, //
314 - PMD_TimeResolution.INSTANCE, //
315 - PMD_UniqueGroup.INSTANCE, //
316 - PMD_CachedCalculatedValue.INSTANCE, //
317 - PMD_ColumnName.INSTANCE ), //
318 - new ASet( PMD_Changeable.INSTANCE, //
319 - PMD_Required.INSTANCE, //
320 - PMD_TimeResolution.INSTANCE, //
321 - PMD_DependsOnAttributes.INSTANCE ) ), //
322 - new UiCRUDpSet( A_Date.TYPE, //
323 - new ASet( PMD_Changeable.INSTANCE, //
324 - PMD_Required.INSTANCE, //
325 - PMD_DefaultValue.INSTANCE, //
326 - PMD_UniqueGroup.INSTANCE, //
327 - PMD_CachedCalculatedValue.INSTANCE, //
328 - PMD_ColumnName.INSTANCE ), //
329 - new ASet( PMD_Changeable.INSTANCE, //
330 - PMD_Required.INSTANCE, //
331 - PMD_DependsOnAttributes.INSTANCE ) ), //
332 - new UiCRUDpSet( A_Time.TYPE, //
333 - new ASet( PMD_Changeable.INSTANCE, //
334 - PMD_Required.INSTANCE, //
335 - PMD_DefaultValue.INSTANCE, //
336 - PMD_TimeResolution.INSTANCE, //
337 - PMD_UniqueGroup.INSTANCE, //
338 - PMD_CachedCalculatedValue.INSTANCE, //
339 - PMD_ColumnName.INSTANCE ), //
340 - new ASet( PMD_Changeable.INSTANCE, //
341 - PMD_Required.INSTANCE, //
342 - PMD_TimeResolution.INSTANCE, //
343 - PMD_DependsOnAttributes.INSTANCE ) ), //
344 - new UiCRUDpSet( A_Money.TYPE, //
345 - new ASet( PMD_Changeable.INSTANCE, //
346 - PMD_Required.INSTANCE, //
347 - PMD_DefaultValue.INSTANCE, //
348 - PMD_DisplayLength.of( 9 ), //
349 - PMD_UniqueGroup.INSTANCE, //
350 - PMD_CachedCalculatedValue.INSTANCE, //
351 - PMD_ColumnName.INSTANCE ), //
352 - new ASet( PMD_Changeable.INSTANCE, //
353 - PMD_Required.INSTANCE, //
354 - PMD_DisplayLength.of( 9 ), //
355 - PMD_DependsOnAttributes.INSTANCE ) ), //
356 - new UiCRUDpSet( A_Order.TYPE, //
357 - new ASet( PMD_Changeable.INSTANCE, //
358 - PMD_Required.INSTANCE, //
359 - PMD_DefaultValue.INSTANCE, //
360 - PMD_DisplayLength.of( 9 ), //
361 - PMD_UniqueGroup.INSTANCE, //
362 - PMD_ColumnName.INSTANCE ), //
363 - new ASet( PMD_Changeable.INSTANCE, //
364 - PMD_Required.INSTANCE, //
365 - PMD_DisplayLength.of( 9 ), //
366 - PMD_DependsOnAttributes.INSTANCE ) ), //
367 - new UiCRUDpSet( A_Integer.TYPE, //
368 - new ASet( PMD_Changeable.INSTANCE, //
369 - PMD_Required.INSTANCE, //
370 - PMD_DefaultValue.INSTANCE, //
371 - PMD_DisplayLength.of( 10 ), //
372 - PMD_UniqueGroup.INSTANCE, //
373 - PMD_CachedCalculatedValue.INSTANCE, //
374 - PMD_ColumnName.INSTANCE ), //
375 - new ASet( PMD_Changeable.INSTANCE, //
376 - PMD_Required.INSTANCE, //
377 - PMD_DisplayLength.of( 10 ), //
378 - PMD_DependsOnAttributes.INSTANCE ) ), //
379 - new UiCRUDpSet( A_Size.TYPE, //
380 - new ASet( PMD_Changeable.INSTANCE, //
381 - PMD_Required.INSTANCE, //
382 - PMD_DefaultValue.INSTANCE, //
383 - PMD_DisplayLength.of( 5 ), //
384 - PMD_MaxValue.INSTANCE, //
385 - PMD_Format.INSTANCE, //
386 - PMD_UniqueGroup.INSTANCE, //
387 - PMD_CachedCalculatedValue.INSTANCE, //
388 - PMD_ColumnName.INSTANCE ), //
389 - new ASet( PMD_Changeable.INSTANCE, //
390 - PMD_Required.INSTANCE, //
391 - PMD_DisplayLength.of( 5 ), //
392 - PMD_MaxValue.INSTANCE, //
393 - PMD_Format.INSTANCE, //
394 - PMD_DependsOnAttributes.INSTANCE ) ), //
395 - new UiCRUDpSet( A_Count.TYPE, //
396 - new ASet( PMD_Changeable.INSTANCE, //
397 - PMD_Required.INSTANCE, //
398 - PMD_DefaultValue.INSTANCE, //
399 - PMD_DisplayLength.of( 4 ), //
400 - PMD_MaxValue.INSTANCE, //
401 - PMD_Format.INSTANCE, //
402 - PMD_UniqueGroup.INSTANCE, //
403 - PMD_CachedCalculatedValue.INSTANCE, //
404 - PMD_ColumnName.INSTANCE ), //
405 - new ASet( PMD_Changeable.INSTANCE, //
406 - PMD_Required.INSTANCE, //
407 - PMD_DisplayLength.of( 4 ), //
408 - PMD_MaxValue.INSTANCE, //
409 - PMD_Format.INSTANCE, //
410 - PMD_DependsOnAttributes.INSTANCE ) ), //
411 - new UiCRUDpSet( A_Index.TYPE, //
412 - new ASet( PMD_Changeable.INSTANCE, //
413 - PMD_Required.INSTANCE, //
414 - PMD_DefaultValue.INSTANCE, //
415 - PMD_DisplayLength.of( 3 ), //
416 - PMD_MaxValue.INSTANCE, //
417 - PMD_Format.INSTANCE, //
418 - PMD_UniqueGroup.INSTANCE, //
419 - PMD_CachedCalculatedValue.INSTANCE, //
420 - PMD_ColumnName.INSTANCE ), //
421 - new ASet( PMD_Changeable.INSTANCE, //
422 - PMD_Required.INSTANCE, //
423 - PMD_DisplayLength.of( 3 ), //
424 - PMD_MaxValue.INSTANCE, //
425 - PMD_Format.INSTANCE, //
426 - PMD_DependsOnAttributes.INSTANCE ) ), //
427 - new UiCRUDpSet( A_Boolean.TYPE, //
428 - new ASet( PMD_Changeable.INSTANCE, //
429 - PMD_Required.INSTANCE, //
430 - PMD_DefaultValue.INSTANCE, //
431 - PMD_UniqueGroup.INSTANCE, //
432 - PMD_CachedCalculatedValue.INSTANCE, //
433 - PMD_ColumnName.INSTANCE ), //
434 - new ASet( PMD_Changeable.INSTANCE, //
435 - PMD_Required.INSTANCE, //
436 - PMD_DependsOnAttributes.INSTANCE ) ), //
437 - new UiCRUDpSet( A_Text.TYPE, //
438 - new ASet( PMD_Changeable.INSTANCE, //
439 - PMD_Required.INSTANCE, //
440 - PMD_Case.INSTANCE, //
441 - PMD_DefaultValue.INSTANCE, //
442 - PMD_MaxLength.of( null ), //
443 - PMD_DisplayWidthInitial.of( 40 ), //
444 - PMD_DisplayHeightInitial.of( 4 ), //
445 - PMD_UniqueGroup.INSTANCE, //
446 - PMD_CachedCalculatedValue.INSTANCE, //
447 - PMD_ColumnName.INSTANCE ), //
448 - new ASet( PMD_Changeable.INSTANCE, //
449 - PMD_Required.INSTANCE, //
450 - PMD_Case.INSTANCE, //
451 - PMD_MaxLength.of( null ), //
452 - PMD_DisplayWidthInitial.of( 40 ), //
453 - PMD_DisplayHeightInitial.of( 4 ), //
454 - PMD_DependsOnAttributes.INSTANCE ) ), //
455 - new UiCRUDpSet( A_ArrayOptions.TYPE, //
456 - new ASet( PMD_Changeable.INSTANCE, //
457 - PMD_Required.INSTANCE, //
458 - PMD_FullyQualifiedStringArrayPath.INSTANCE, //
459 - PMD_DefaultValue.INSTANCE, //
460 - PMD_UniqueGroup.INSTANCE, //
461 - PMD_CachedCalculatedValue.INSTANCE, //
462 - PMD_ColumnName.INSTANCE ), //
463 - new ASet( PMD_Changeable.INSTANCE, //
464 - PMD_Required.INSTANCE, //
465 - PMD_FullyQualifiedStringArrayPath.INSTANCE, //
466 - PMD_DependsOnAttributes.INSTANCE ) ), //
467 - new UiCRUDpSet( A_OpenArrayOptions.TYPE, //
468 - new ASet( PMD_Changeable.INSTANCE, //
469 - PMD_Required.INSTANCE, //
470 - PMD_FullyQualifiedStringArrayPath.INSTANCE, //
471 - PMD_DefaultValue.INSTANCE, //
472 - PMD_UniqueGroup.INSTANCE, //
473 - PMD_CachedCalculatedValue.INSTANCE, //
474 - PMD_ColumnName.INSTANCE ), //
475 - new ASet( PMD_Changeable.INSTANCE, //
476 - PMD_Required.INSTANCE, //
477 - PMD_FullyQualifiedStringArrayPath.INSTANCE, //
478 - PMD_DependsOnAttributes.INSTANCE ) ), //
479 - new UiCRUDpSet( A_ValidOptions.TYPE, //
480 - new ASet( PMD_Changeable.INSTANCE, //
481 - PMD_Required.INSTANCE, //
482 - PMD_DefaultValue.INSTANCE, //
483 - PMD_UniqueGroup.INSTANCE, //
484 - PMD_CachedCalculatedValue.INSTANCE, //
485 - PMD_ColumnName.INSTANCE ), //
486 - new ASet( PMD_Changeable.INSTANCE, //
487 - PMD_Required.INSTANCE, //
488 - PMD_DependsOnAttributes.INSTANCE ) ), //
489 - new UiCRUDpSet( A_OpenValidOptions.TYPE, //
490 - new ASet( PMD_Changeable.INSTANCE, //
491 - PMD_Required.INSTANCE, //
492 - PMD_DefaultValue.INSTANCE, //
493 - PMD_UniqueGroup.INSTANCE, //
494 - PMD_CachedCalculatedValue.INSTANCE, //
495 - PMD_ColumnName.INSTANCE ), //
496 - new ASet( PMD_Changeable.INSTANCE, //
497 - PMD_Required.INSTANCE, //
498 - PMD_DependsOnAttributes.INSTANCE ) ), //
499 - new UiCRUDpSet( A_TextLines.TYPE, //
500 - new ASet( PMD_Changeable.INSTANCE, //
501 - PMD_Required.INSTANCE, //
502 - PMD_ColumnName.INSTANCE ), //
503 - new ASet( PMD_Changeable.INSTANCE, //
504 - PMD_Required.INSTANCE, //
505 - PMD_DependsOnAttributes.INSTANCE ) ), //
506 - new PairedToOneSet( TYPE_COMMON_PAIRED_PO ), //
507 - new CommonPairedToOneSet( TYPE_ABSTRACT_PO, //
508 - PMD_UniqueGroup.INSTANCE, //
509 - PMD_ColumnName.INSTANCE ), //
510 - new VariableBridgeToOneLeftSet( PMD_Changeable.INSTANCE, //
511 - PMD_UniqueGroup.INSTANCE, //
512 - PMD_ColumnName.INSTANCE ), //
513 - new BridgeToOneLeftSet( NON_ABSTRACT_REGULAR_POS, //
514 - PMD_Changeable.INSTANCE, //
515 - PMD_UniqueGroup.INSTANCE, //
516 - PMD_ColumnName.INSTANCE ), //
517 - new BridgeToOneRightSet( NON_ABSTRACT_REGULAR_POS, //
518 - PMD_Changeable.INSTANCE, //
519 - PMD_UniqueGroup.INSTANCE, //
520 - PMD_ColumnName.INSTANCE ), //
521 - new ToOneSet( new ASet( NON_ABSTRACT_REGULAR_POS, //
522 - PMD_Changeable.INSTANCE, //
523 - PMD_Required.INSTANCE, //
524 - PMD_CascadeDeleteThem.INSTANCE, //
525 - PMD_UniqueGroup.INSTANCE, //
526 - PMD_ColumnName.INSTANCE ), //
527 - new ASet( ALL_REGULAR_POS, //
528 - PMD_Changeable.INSTANCE, //
529 - PMD_Required.INSTANCE, //
530 - PMD_DependsOnAttributes.INSTANCE ) ), //
531 - new VariableToOneSet( PMD_Changeable.INSTANCE, //
532 - PMD_Required.INSTANCE, //
533 - PMD_CascadeDeleteThem.INSTANCE, //
534 - PMD_UniqueGroup.INSTANCE, //
535 - PMD_ColumnName.INSTANCE ), //
536 - new ToManySet( new ASet( NON_ABSTRACT_REGULAR_POS, //
537 - PMD_Changeable.INSTANCE, //
538 - PMD_Required.INSTANCE, //
539 - PMD_OrderByAttribute.INSTANCE ), //
540 - new ASet( ALL_REGULAR_POS, //
541 - PMD_Changeable.INSTANCE, //
542 - PMD_Required.INSTANCE, //
543 - PMD_DependsOnAttributes.INSTANCE ) ) );
544 - }
545 - }
1 + // This Source Code is in the Public Domain per: http://unlicense.org
2 + package org.litesoft.aokeyhole.objects.factories.a6plus;
3 +
4 + import org.litesoft.aokeyhole.objects.*;
5 + import org.litesoft.aokeyhole.objects.attributes.*;
6 + import org.litesoft.aokeyhole.objects.factories.*;
7 + import org.litesoft.aokeyhole.objects.properties.*;
8 +
9 + import java.util.*;
10 +
11 + public class A6plusPropertyMetaDataDefinitionAccessor extends PropertyMetaDataDefinitionAccessorImpl implements A6plusTypes {
12 + private static Set<String> NON_ABSTRACT_REGULAR_POS = createSet( TYPE_PO, TYPE_COMMON_PAIRED_PO, TYPE_PAIRED_PO, TYPE_BRIDGE, TYPE_VARIABLE_TO_ONE_BRIDGE );
13 + private static Set<String> ALL_REGULAR_POS = createSet( NON_ABSTRACT_REGULAR_POS, TYPE_ABSTRACT_PO );
14 +
15 + public A6plusPropertyMetaDataDefinitionAccessor() {
16 + super( "A6plus", //
17 + new ObjectSet[] //
18 + { //
19 + new ObjectSet( -40, false, TYPE_VIEW_OBJECT, //
20 + PMD_Package.INSTANCE, //
21 + PMD_DisplayValueFormat.INSTANCE, //
22 + PMD_DerivedFromObject.INSTANCE ) {
23 + @Override
24 + public String getParentLabel( String pSubSystemName ) {
25 + return "Extends";
26 + }
27 +
28 + @Override
29 + public boolean isAcceptableParentOption( String zObjectSetType ) {
30 + return TYPE_ABSTRACT_VIEW_OBJECT.equals( zObjectSetType );
31 + }
32 +
33 + @Override
34 + public void justCreated( ObjectMetaData pObjectMetaData ) {
35 + pObjectMetaData.createAttributeMetaDataID(); // Add the ID
36 + }
37 +
38 + @Override
39 + public boolean acceptableAttributeType( AttributeType pAttributeType ) {
40 + return pAttributeType.getFAT().equals( FundamentalAttributeType.Simple );
41 + }
42 +
43 + @Override
44 + public boolean acceptableAttributePMD( PropertyMetaData pPropertyMetaData ) {
45 + return !PMD_ColumnName.INSTANCE.equals( pPropertyMetaData );
46 + }
47 +
48 + @Override
49 + public String labelForRegularAttributes() {
50 + return "Regular";
51 + }
52 + }, //
53 + new ObjectSet( -40, false, TYPE_ABSTRACT_VIEW_OBJECT, //
54 + PMD_Package.INSTANCE ) {
55 + @Override
56 + public String getParentLabel( String pSubSystemName ) {
57 + return "Extends";
58 + }
59 +
60 + @Override
61 + public boolean isAcceptableParentOption( String zObjectSetType ) {
62 + return TYPE_ABSTRACT_VIEW_OBJECT.equals( zObjectSetType );
63 + }
64 +
65 + @Override
66 + public boolean requireID() {
67 + return false;
68 + }
69 +
70 + @Override
71 + public boolean acceptableAttributeType( AttributeType pAttributeType ) {
72 + return pAttributeType.getFAT().equals( FundamentalAttributeType.Simple );
73 + }
74 +
75 + @Override
76 + public boolean acceptableAttributePMD( PropertyMetaData pPropertyMetaData ) {
77 + return !PMD_ColumnName.INSTANCE.equals( pPropertyMetaData );
78 + }
79 +
80 + @Override
81 + public String labelForRegularAttributes() {
82 + return "Regular";
83 + }
84 + }, //
85 + new ObjectSet( 0, true, TYPE_PO, //
86 + PMD_Active.INSTANCE, //
87 + PMD_Package.INSTANCE, //
88 + PMD_TimeTracked.INSTANCE, //
89 + PMD_DisplayValueFormat.INSTANCE, //
90 + PMD_TableName.INSTANCE, //
91 + PMD_OrderByAttribute.INSTANCE ) {
92 + @Override
93 + public String getParentLabel( String pSubSystemName ) {
94 + return "Extends";
95 + }
96 +
97 + @Override
98 + public boolean isAcceptableParentOption( String zObjectSetType ) {
99 + return TYPE_ABSTRACT_PO.equals( zObjectSetType ) || TYPE_PARTIAL_PO.equals( zObjectSetType );
100 + }
101 +
102 + @Override
103 + public void justCreated( ObjectMetaData pObjectMetaData ) {
104 + pObjectMetaData.createAttributeMetaDataID(); // Add the ID
105 + }
106 +
107 + @Override
108 + public boolean acceptableAttributeType( AttributeType pAttributeType ) {
109 + return !A_Derived.TYPE.equals( pAttributeType );
110 + }
111 + }, //
112 + new ObjectSet( 0, true, TYPE_COMMON_PAIRED_PO, //
113 + PMD_Active.INSTANCE, //
114 + PMD_Package.INSTANCE, //
115 + PMD_TimeTracked.INSTANCE, //
116 + PMD_DisplayValueFormat.INSTANCE, //
117 + PMD_TableName.INSTANCE ) {
118 + @Override
119 + public String getParentLabel( String pSubSystemName ) {
120 + return "Extends";
121 + }
122 +
123 + @Override
124 + public boolean isAcceptableParentOption( String zObjectSetType ) {
125 + return TYPE_ABSTRACT_PO.equals( zObjectSetType ) || TYPE_PARTIAL_PO.equals( zObjectSetType );
126 + }
127 +
128 + @Override
129 + public void justCreated( ObjectMetaData pObjectMetaData ) {
130 + pObjectMetaData.createAttributeMetaDataID();
131 + pObjectMetaData.createAttributeMetaDataCommonPairedToOne();
132 + }
133 +
134 + @Override
135 + public boolean acceptableAttributeType( AttributeType pAttributeType ) {
136 + return !A_Derived.TYPE.equals( pAttributeType );
137 + }
138 + }, //
139 + new ObjectSet( 0, true, TYPE_PAIRED_PO, //
140 + PMD_Active.INSTANCE, //
141 + PMD_Package.INSTANCE, //
142 + PMD_TimeTracked.INSTANCE, //
143 + PMD_DisplayValueFormat.INSTANCE, //
144 + PMD_TableName.INSTANCE ) {
145 + @Override
146 + public String getParentLabel( String pSubSystemName ) {
147 + return "Extends";
148 + }
149 +
150 + @Override
151 + public boolean isAcceptableParentOption( String zObjectSetType ) {
152 + return TYPE_ABSTRACT_PO.equals( zObjectSetType ) || TYPE_PARTIAL_PO.equals( zObjectSetType );
153 + }
154 +
155 + @Override
156 + public void justCreated( ObjectMetaData pObjectMetaData ) {
157 + pObjectMetaData.createAttributeMetaDataID();
158 + pObjectMetaData.createAttributeMetaDataPairedToOne();
159 + }
160 +
161 + @Override
162 + public boolean acceptableAttributeType( AttributeType pAttributeType ) {
163 + return !A_Derived.TYPE.equals( pAttributeType );
164 + }
165 + }, //
166 + new ObjectSet( 50, true, TYPE_BRIDGE, //
167 + PMD_Active.INSTANCE, //
168 + PMD_Package.INSTANCE, //
169 + PMD_TimeTracked.INSTANCE, //
170 + PMD_DisplayValueFormat.INSTANCE, //
171 + PMD_TableName.INSTANCE ) {
172 + @Override
173 + public PropertyMetaData[] getAdditionalAttributePMDs( AttributeType pType ) {
174 + return pType.getFAT().equals( FundamentalAttributeType.ToMany ) ? //
175 + null : //
176 + new PropertyMetaData[]{PMD_MembershipDisplayOrder.INSTANCE};
177 + }
178 +
179 + @Override
180 + public void justCreated( ObjectMetaData pObjectMetaData ) {
181 + pObjectMetaData.createAttributeMetaDataID();
182 + pObjectMetaData.createAttributeMetaDataBridgeToOneLeft();
183 + pObjectMetaData.createAttributeMetaDataBridgeToOneRight();
184 + }
185 +
186 + @Override
187 + public boolean acceptableAttributeType( AttributeType pAttributeType ) {
188 + return !A_Derived.TYPE.equals( pAttributeType );
189 + }
190 + }, //
191 + new ObjectSet( 50, true, TYPE_VARIABLE_TO_ONE_BRIDGE, //
192 + PMD_Active.INSTANCE, //
193 + PMD_Package.INSTANCE, //
194 + PMD_TimeTracked.INSTANCE, //
195 + PMD_DisplayValueFormat.INSTANCE, //
196 + PMD_TableName.INSTANCE ) {
197 + @Override
198 + public PropertyMetaData[] getAdditionalAttributePMDs( AttributeType pType ) {
199 + return pType.getFAT().equals( FundamentalAttributeType.ToMany ) ? //
200 + null : //
201 + new PropertyMetaData[]{PMD_MembershipDisplayOrder.INSTANCE};
202 + }
203 +
204 + @Override
205 + public void justCreated( ObjectMetaData pObjectMetaData ) {
206 + pObjectMetaData.createAttributeMetaDataID();
207 + pObjectMetaData.createAttributeMetaDataVariableBridgeToOneLeft();
208 + pObjectMetaData.createAttributeMetaDataBridgeToOneRight();
209 + }
210 +
211 + @Override
212 + public boolean acceptableAttributeType( AttributeType pAttributeType ) {
213 + return !A_Derived.TYPE.equals( pAttributeType );
214 + }
215 + }, //
216 + new ObjectSet( 0, false, TYPE_ABSTRACT_PO, //
217 + PMD_Active.INSTANCE, //
218 + PMD_Package.INSTANCE, //
219 + PMD_TimeTracked.INSTANCE ) {
220 + @Override
221 + public String getParentLabel( String pSubSystemName ) {
222 + return "Extends";
223 + }
224 +
225 + @Override
226 + public boolean isAcceptableParentOption( String zObjectSetType ) {
227 + return TYPE_ABSTRACT_PO.equals( zObjectSetType );
228 + }
229 +
230 + @Override
231 + public boolean requireID() {
232 + return false;
233 + }
234 +
235 + @Override
236 + public boolean acceptableAttributeType( AttributeType pAttributeType ) {
237 + return pAttributeType.getFAT().equals( FundamentalAttributeType.Simple ) && !A_Derived.TYPE.equals( pAttributeType );
238 + }
239 + }, //
240 + new ObjectSet( -50, false, TYPE_PARTIAL_PO, //
241 + PMD_Active.INSTANCE, //
242 + PMD_Package.INSTANCE, //
243 + PMD_TimeTracked.INSTANCE ) {
244 + @Override
245 + public String getParentLabel( String pSubSystemName ) {
246 + return "Extends";
247 + }
248 +
249 + @Override
250 + public boolean isAcceptableParentOption( String zObjectSetType ) {
251 + return TYPE_ABSTRACT_PO.equals( zObjectSetType );
252 + }
253 +
254 + @Override
255 + public boolean acceptableForSubSystem( String pSubSystemName ) {
256 + return "Foundation".equals( pSubSystemName );
257 + }
258 +
259 + @Override
260 + public void justCreated( ObjectMetaData pObjectMetaData ) {
261 + pObjectMetaData.createAttributeMetaDataID(); // Add the ID
262 + }
263 +
264 + @Override
265 + public boolean acceptableAttributeType( AttributeType pAttributeType ) {
266 + return !A_Derived.TYPE.equals( pAttributeType );
267 + }
268 + },
269 + }, //
270 + new ID_Set( PMD_ColumnName.INSTANCE ), //
271 + // Fields not used for: Simples
272 + // PMD_Domain.INSTANCE,
273 + // new PMD_DataType( String.class ),
274 + new DerivedSet( PMD_Changeable.INSTANCE, //
275 + PMD_Required.INSTANCE, //
276 + PMD_DerivedFromAttribute.INSTANCE, PMD_QueryView.INSTANCE ), //
277 + // Other fields for: Simple ...
278 + // PMD_FractionalPlaces.of( null ),
279 + // PMD_MembershipDisplayOrder.INSTANCE,
280 + // PMD_DependsOnAttributes.INSTANCE,
281 + new UiCRUDpSet( A_String.TYPE, //
282 + new ASet( PMD_Changeable.INSTANCE, //
283 + PMD_Required.INSTANCE, //
284 + PMD_Case.INSTANCE, //
285 + PMD_DefaultValue.INSTANCE, //
286 + PMD_MaxLength.of( 40 ), //
287 + PMD_DisplayLength.of( 20 ), //
288 + PMD_UniqueGroup.INSTANCE, //
289 + PMD_CachedCalculatedValue.INSTANCE, //
290 + PMD_ColumnName.INSTANCE ), //
291 + new ASet( PMD_Changeable.INSTANCE, //
292 + PMD_Required.INSTANCE, //
293 + PMD_Case.INSTANCE, //
294 + PMD_MaxLength.of( 40 ), //
295 + PMD_DisplayLength.of( 20 ), //
296 + PMD_DependsOnAttributes.INSTANCE ) ), //
297 + new UiCRUDpSet( A_Password.TYPE, //
298 + new ASet( PMD_Changeable.INSTANCE, //
299 + PMD_Required.INSTANCE, //
300 + PMD_DefaultValue.INSTANCE, //
301 + PMD_MaxLength.of( 40 ), //
302 + PMD_DisplayLength.of( 20 ), //
303 + PMD_UniqueGroup.INSTANCE, //
304 + PMD_ColumnName.INSTANCE ), //
305 + new ASet( PMD_Changeable.INSTANCE, //
306 + PMD_Required.INSTANCE, //
307 + PMD_MaxLength.of( 40 ), //
308 + PMD_DisplayLength.of( 20 ), //
309 + PMD_DependsOnAttributes.INSTANCE ) ), //
310 + new UiCRUDpSet( A_Timestamp.TYPE, //
311 + new ASet( PMD_Changeable.INSTANCE, //
312 + PMD_Required.INSTANCE, //
313 + PMD_DefaultValue.INSTANCE, //
314 + PMD_TimeResolution.INSTANCE, //
315 + PMD_UniqueGroup.INSTANCE, //
316 + PMD_CachedCalculatedValue.INSTANCE, //
317 + PMD_ColumnName.INSTANCE ), //
318 + new ASet( PMD_Changeable.INSTANCE, //
319 + PMD_Required.INSTANCE, //
320 + PMD_TimeResolution.INSTANCE, //
321 + PMD_DependsOnAttributes.INSTANCE ) ), //
322 + new UiCRUDpSet( A_Date.TYPE, //
323 + new ASet( PMD_Changeable.INSTANCE, //
324 + PMD_Required.INSTANCE, //
325 + PMD_DefaultValue.INSTANCE, //
326 + PMD_UniqueGroup.INSTANCE, //
327 + PMD_CachedCalculatedValue.INSTANCE, //
328 + PMD_ColumnName.INSTANCE ), //
329 + new ASet( PMD_Changeable.INSTANCE, //
330 + PMD_Required.INSTANCE, //
331 + PMD_DependsOnAttributes.INSTANCE ) ), //
332 + new UiCRUDpSet( A_Time.TYPE, //
333 + new ASet( PMD_Changeable.INSTANCE, //
334 + PMD_Required.INSTANCE, //
335 + PMD_DefaultValue.INSTANCE, //
336 + PMD_TimeResolution.INSTANCE, //
337 + PMD_UniqueGroup.INSTANCE, //
338 + PMD_CachedCalculatedValue.INSTANCE, //
339 + PMD_ColumnName.INSTANCE ), //
340 + new ASet( PMD_Changeable.INSTANCE, //
341 + PMD_Required.INSTANCE, //
342 + PMD_TimeResolution.INSTANCE, //
343 + PMD_DependsOnAttributes.INSTANCE ) ), //
344 + new UiCRUDpSet( A_Money.TYPE, //
345 + new ASet( PMD_Changeable.INSTANCE, //
346 + PMD_Required.INSTANCE, //
347 + PMD_DefaultValue.INSTANCE, //
348 + PMD_DisplayLength.of( 9 ), //
349 + PMD_UniqueGroup.INSTANCE, //
350 + PMD_CachedCalculatedValue.INSTANCE, //
351 + PMD_ColumnName.INSTANCE ), //
352 + new ASet( PMD_Changeable.INSTANCE, //
353 + PMD_Required.INSTANCE, //
354 + PMD_DisplayLength.of( 9 ), //
355 + PMD_DependsOnAttributes.INSTANCE ) ), //
356 + new UiCRUDpSet( A_Order.TYPE, //
357 + new ASet( PMD_Changeable.INSTANCE, //
358 + PMD_Required.INSTANCE, //
359 + PMD_DefaultValue.INSTANCE, //
360 + PMD_DisplayLength.of( 9 ), //
361 + PMD_UniqueGroup.INSTANCE, //
362 + PMD_ColumnName.INSTANCE ), //
363 + new ASet( PMD_Changeable.INSTANCE, //
364 + PMD_Required.INSTANCE, //
365 + PMD_DisplayLength.of( 9 ), //
366 + PMD_DependsOnAttributes.INSTANCE ) ), //
367 + new UiCRUDpSet( A_Integer.TYPE, //
368 + new ASet( PMD_Changeable.INSTANCE, //
369 + PMD_Required.INSTANCE, //
370 + PMD_DefaultValue.INSTANCE, //
371 + PMD_DisplayLength.of( 10 ), //
372 + PMD_UniqueGroup.INSTANCE, //
373 + PMD_CachedCalculatedValue.INSTANCE, //
374 + PMD_ColumnName.INSTANCE ), //
375 + new ASet( PMD_Changeable.INSTANCE, //
376 + PMD_Required.INSTANCE, //
377 + PMD_DisplayLength.of( 10 ), //
378 + PMD_DependsOnAttributes.INSTANCE ) ), //
379 + new UiCRUDpSet( A_Size.TYPE, //
380 + new ASet( PMD_Changeable.INSTANCE, //
381 + PMD_Required.INSTANCE, //
382 + PMD_DefaultValue.INSTANCE, //
383 + PMD_DisplayLength.of( 5 ), //
384 + PMD_MaxValue.INSTANCE, //
385 + PMD_Format.INSTANCE, //
386 + PMD_UniqueGroup.INSTANCE, //
387 + PMD_CachedCalculatedValue.INSTANCE, //
388 + PMD_ColumnName.INSTANCE ), //
389 + new ASet( PMD_Changeable.INSTANCE, //
390 + PMD_Required.INSTANCE, //
391 + PMD_DisplayLength.of( 5 ), //
392 + PMD_MaxValue.INSTANCE, //
393 + PMD_Format.INSTANCE, //
394 + PMD_DependsOnAttributes.INSTANCE ) ), //
395 + new UiCRUDpSet( A_Count.TYPE, //
396 + new ASet( PMD_Changeable.INSTANCE, //
397 + PMD_Required.INSTANCE, //
398 + PMD_DefaultValue.INSTANCE, //
399 + PMD_DisplayLength.of( 4 ), //
400 + PMD_MaxValue.INSTANCE, //
401 + PMD_Format.INSTANCE, //
402 + PMD_UniqueGroup.INSTANCE, //
403 + PMD_CachedCalculatedValue.INSTANCE, //
404 + PMD_ColumnName.INSTANCE ), //
405 + new ASet( PMD_Changeable.INSTANCE, //
406 + PMD_Required.INSTANCE, //
407 + PMD_DisplayLength.of( 4 ), //
408 + PMD_MaxValue.INSTANCE, //
409 + PMD_Format.INSTANCE, //
410 + PMD_DependsOnAttributes.INSTANCE ) ), //
411 + new UiCRUDpSet( A_Index.TYPE, //
412 + new ASet( PMD_Changeable.INSTANCE, //
413 + PMD_Required.INSTANCE, //
414 + PMD_DefaultValue.INSTANCE, //
415 + PMD_DisplayLength.of( 3 ), //
416 + PMD_MaxValue.INSTANCE, //
417 + PMD_Format.INSTANCE, //
418 + PMD_UniqueGroup.INSTANCE, //
419 + PMD_CachedCalculatedValue.INSTANCE, //
420 + PMD_ColumnName.INSTANCE ), //
421 + new ASet( PMD_Changeable.INSTANCE, //
422 + PMD_Required.INSTANCE, //
423 + PMD_DisplayLength.of( 3 ), //
424 + PMD_MaxValue.INSTANCE, //
425 + PMD_Format.INSTANCE, //
426 + PMD_DependsOnAttributes.INSTANCE ) ), //
427 + new UiCRUDpSet( A_Boolean.TYPE, //
428 + new ASet( PMD_Changeable.INSTANCE, //
429 + PMD_Required.INSTANCE, //
430 + PMD_DefaultValue.INSTANCE, //
431 + PMD_UniqueGroup.INSTANCE, //
432 + PMD_CachedCalculatedValue.INSTANCE, //
433 + PMD_ColumnName.INSTANCE ), //
434 + new ASet( PMD_Changeable.INSTANCE, //
435 + PMD_Required.INSTANCE, //
436 + PMD_DependsOnAttributes.INSTANCE ) ), //
437 + new UiCRUDpSet( A_Text.TYPE, //
438 + new ASet( PMD_Changeable.INSTANCE, //
439 + PMD_Required.INSTANCE, //
440 + PMD_Case.INSTANCE, //
441 + PMD_DefaultValue.INSTANCE, //
442 + PMD_MaxLength.of( null ), //
443 + PMD_DisplayWidthInitial.of( 40 ), //
444 + PMD_DisplayHeightInitial.of( 4 ), //
445 + PMD_UniqueGroup.INSTANCE, //
446 + PMD_CachedCalculatedValue.INSTANCE, //
447 + PMD_ColumnName.INSTANCE ), //
448 + new ASet( PMD_Changeable.INSTANCE, //
449 + PMD_Required.INSTANCE, //
450 + PMD_Case.INSTANCE, //
451 + PMD_MaxLength.of( null ), //
452 + PMD_DisplayWidthInitial.of( 40 ), //
453 + PMD_DisplayHeightInitial.of( 4 ), //
454 + PMD_DependsOnAttributes.INSTANCE ) ), //
455 + new UiCRUDpSet( A_ArrayOptions.TYPE, //
456 + new ASet( PMD_Changeable.INSTANCE, //
457 + PMD_Required.INSTANCE, //
458 + PMD_FullyQualifiedStringArrayPath.INSTANCE, //
459 + PMD_DefaultValue.INSTANCE, //
460 + PMD_UniqueGroup.INSTANCE, //
461 + PMD_CachedCalculatedValue.INSTANCE, //
462 + PMD_ColumnName.INSTANCE ), //
463 + new ASet( PMD_Changeable.INSTANCE, //
464 + PMD_Required.INSTANCE, //
465 + PMD_FullyQualifiedStringArrayPath.INSTANCE, //
466 + PMD_DependsOnAttributes.INSTANCE ) ), //
467 + new UiCRUDpSet( A_OpenArrayOptions.TYPE, //
468 + new ASet( PMD_Changeable.INSTANCE, //
469 + PMD_Required.INSTANCE, //
470 + PMD_FullyQualifiedStringArrayPath.INSTANCE, //
471 + PMD_DefaultValue.INSTANCE, //
472 + PMD_UniqueGroup.INSTANCE, //
473 + PMD_CachedCalculatedValue.INSTANCE, //
474 + PMD_ColumnName.INSTANCE ), //
475 + new ASet( PMD_Changeable.INSTANCE, //
476 + PMD_Required.INSTANCE, //
477 + PMD_FullyQualifiedStringArrayPath.INSTANCE, //
478 + PMD_DependsOnAttributes.INSTANCE ) ), //
479 + new UiCRUDpSet( A_ValidOptions.TYPE, //
480 + new ASet( PMD_Changeable.INSTANCE, //
481 + PMD_Required.INSTANCE, //
482 + PMD_DefaultValue.INSTANCE, //
483 + PMD_UniqueGroup.INSTANCE, //
484 + PMD_CachedCalculatedValue.INSTANCE, //
485 + PMD_ColumnName.INSTANCE ), //
486 + new ASet( PMD_Changeable.INSTANCE, //
487 + PMD_Required.INSTANCE, //
488 + PMD_DependsOnAttributes.INSTANCE ) ), //
489 + new UiCRUDpSet( A_OpenValidOptions.TYPE, //
490 + new ASet( PMD_Changeable.INSTANCE, //
491 + PMD_Required.INSTANCE, //
492 + PMD_DefaultValue.INSTANCE, //
493 + PMD_UniqueGroup.INSTANCE, //
494 + PMD_CachedCalculatedValue.INSTANCE, //
495 + PMD_ColumnName.INSTANCE ), //
496 + new ASet( PMD_Changeable.INSTANCE, //
497 + PMD_Required.INSTANCE, //
498 + PMD_DependsOnAttributes.INSTANCE ) ), //
499 + new UiCRUDpSet( A_TextLines.TYPE, //
500 + new ASet( PMD_Changeable.INSTANCE, //
501 + PMD_Required.INSTANCE, //
502 + PMD_ColumnName.INSTANCE ), //
503 + new ASet( PMD_Changeable.INSTANCE, //
504 + PMD_Required.INSTANCE, //
505 + PMD_DependsOnAttributes.INSTANCE ) ), //
506 + new PairedToOneSet( TYPE_COMMON_PAIRED_PO ), //
507 + new CommonPairedToOneSet( TYPE_ABSTRACT_PO, //
508 + PMD_UniqueGroup.INSTANCE, //
509 + PMD_ColumnName.INSTANCE ), //
510 + new VariableBridgeToOneLeftSet( PMD_Changeable.INSTANCE, //
511 + PMD_UniqueGroup.INSTANCE, //
512 + PMD_ColumnName.INSTANCE ), //
513 + new BridgeToOneLeftSet( NON_ABSTRACT_REGULAR_POS, //
514 + PMD_Changeable.INSTANCE, //
515 + PMD_UniqueGroup.INSTANCE, //
516 + PMD_ColumnName.INSTANCE ), //
517 + new BridgeToOneRightSet( NON_ABSTRACT_REGULAR_POS, //
518 + PMD_Changeable.INSTANCE, //
519 + PMD_UniqueGroup.INSTANCE, //
520 + PMD_ColumnName.INSTANCE ), //
521 + new ToOneSet( new ASet( NON_ABSTRACT_REGULAR_POS, //
522 + PMD_Changeable.INSTANCE, //
523 + PMD_Required.INSTANCE, //
524 + PMD_CascadeDeleteThem.INSTANCE, //
525 + PMD_UniqueGroup.INSTANCE, //
526 + PMD_ColumnName.INSTANCE ), //
527 + new ASet( ALL_REGULAR_POS, //
528 + PMD_Changeable.INSTANCE, //
529 + PMD_Required.INSTANCE, //
530 + PMD_DependsOnAttributes.INSTANCE ) ), //
531 + new VariableToOneSet( PMD_Changeable.INSTANCE, //
532 + PMD_Required.INSTANCE, //
533 + PMD_CascadeDeleteThem.INSTANCE, //
534 + PMD_UniqueGroup.INSTANCE, //
535 + PMD_ColumnName.INSTANCE ), //
536 + new ToManySet( new ASet( NON_ABSTRACT_REGULAR_POS, //
537 + PMD_Changeable.INSTANCE, //
538 + PMD_Required.INSTANCE, //
539 + PMD_OrderByAttribute.INSTANCE ), //
540 + new ASet( ALL_REGULAR_POS, //
541 + PMD_Changeable.INSTANCE, //
542 + PMD_Required.INSTANCE, //
543 + PMD_DependsOnAttributes.INSTANCE ) ) );
544 + }
545 + }