1
2
3 package org.melati.poem.generated;
4
5
6 import org.melati.poem.AccessPoemException;
7 import org.melati.poem.BooleanPoemType;
8 import org.melati.poem.Column;
9 import org.melati.poem.ColumnInfo;
10 import org.melati.poem.Database;
11 import org.melati.poem.DefinitionSource;
12 import org.melati.poem.DisplayLevel;
13 import org.melati.poem.DisplayLevelPoemType;
14 import org.melati.poem.Field;
15 import org.melati.poem.IntegerPoemType;
16 import org.melati.poem.IntegrityFixPoemType;
17 import org.melati.poem.JdbcPersistent;
18 import org.melati.poem.Persistent;
19 import org.melati.poem.PoemDatabaseTables;
20 import org.melati.poem.PoemException;
21 import org.melati.poem.ReferencePoemType;
22 import org.melati.poem.Searchability;
23 import org.melati.poem.SearchabilityPoemType;
24 import org.melati.poem.StandardIntegrityFix;
25 import org.melati.poem.StringPoemType;
26 import org.melati.poem.TableInfo;
27 import org.melati.poem.TroidPoemType;
28 import org.melati.poem.ValidationPoemException;
29 import org.melati.poem.ValueInfoTable;
30
31
32
33
34
35
36
37
38 public class ColumnInfoTableBase<T extends ColumnInfo> extends ValueInfoTable<T> {
39
40 private Column<Integer> col_id = null;
41 private Column<Integer> col_tableinfo = null;
42 private Column<String> col_name = null;
43 private Column<Integer> col_displayorder = null;
44 private Column<Boolean> col_usercreateable = null;
45 private Column<Integer> col_displaylevel = null;
46 private Column<Integer> col_searchability = null;
47 private Column<Integer> col_displayorderpriority = null;
48 private Column<Boolean> col_sortdescending = null;
49 private Column<Boolean> col_indexed = null;
50 private Column<Boolean> col_unique = null;
51 private Column<Integer> col_integrityfix = null;
52
53
54
55
56
57
58
59
60
61
62
63 public ColumnInfoTableBase(
64 Database database, String name,
65 DefinitionSource definitionSource) throws PoemException {
66 super(database, name, definitionSource);
67 }
68
69
70
71
72
73
74
75
76 public PoemDatabaseTables getPoemDatabaseTables() {
77 return (PoemDatabaseTables)getDatabase();
78 }
79
80
81
82
83
84
85
86 public void init() throws PoemException {
87 super.init();
88 defineColumn(col_id =
89 new Column<Integer>(this, "id",
90 new TroidPoemType(),
91 DefinitionSource.dsd) {
92 public Object getCooked(Persistent g)
93 throws AccessPoemException, PoemException {
94 return ((ColumnInfo)g).getId();
95 }
96
97 public void setCooked(Persistent g, Object cooked)
98 throws AccessPoemException, ValidationPoemException {
99 ((ColumnInfo)g).setId((Integer)cooked);
100 }
101
102 public Field<Integer> asField(Persistent g) {
103 return ((ColumnInfo)g).getIdField();
104 }
105
106 public boolean defaultUserEditable() {
107 return false;
108 }
109
110 public boolean defaultUserCreateable() {
111 return false;
112 }
113
114 public int defaultDisplayOrder() {
115 return 0;
116 }
117
118 public Object getRaw_unsafe(Persistent g)
119 throws AccessPoemException {
120 return ((ColumnInfo)g).getId_unsafe();
121 }
122
123 public void setRaw_unsafe(Persistent g, Object raw)
124 throws AccessPoemException {
125 ((ColumnInfo)g).setId_unsafe((Integer)raw);
126 }
127
128 public Object getRaw(Persistent g)
129 throws AccessPoemException {
130 return ((ColumnInfo)g).getId();
131 }
132
133 public void setRaw(Persistent g, Object raw)
134 throws AccessPoemException {
135 ((ColumnInfo)g).setId((Integer)raw);
136 }
137 });
138
139 defineColumn(col_tableinfo =
140 new Column<Integer>(this, "tableinfo",
141 new ReferencePoemType(getPoemDatabaseTables().
142 getTableInfoTable(), false),
143 DefinitionSource.dsd) {
144 public Object getCooked(Persistent g)
145 throws AccessPoemException, PoemException {
146 return ((ColumnInfo)g).getTableinfo();
147 }
148
149 public void setCooked(Persistent g, Object cooked)
150 throws AccessPoemException, ValidationPoemException {
151 ((ColumnInfo)g).setTableinfo((TableInfo)cooked);
152 }
153
154 public Field<Integer> asField(Persistent g) {
155 return ((ColumnInfo)g).getTableinfoField();
156 }
157
158 public boolean defaultUserEditable() {
159 return false;
160 }
161
162 public Searchability defaultSearchability() {
163 return Searchability.primary;
164 }
165
166 public Integer defaultDisplayOrderPriority() {
167 return new Integer(0);
168 }
169
170 public String defaultDisplayName() {
171 return "Owning table";
172 }
173
174 public int defaultDisplayOrder() {
175 return 1;
176 }
177
178 public String defaultDescription() {
179 return "The table to which the field belongs";
180 }
181
182 public String defaultRenderinfo() {
183 return "SelectionWindow";
184 }
185
186 public Object getRaw_unsafe(Persistent g)
187 throws AccessPoemException {
188 return ((ColumnInfo)g).getTableinfo_unsafe();
189 }
190
191 public void setRaw_unsafe(Persistent g, Object raw)
192 throws AccessPoemException {
193 ((ColumnInfo)g).setTableinfo_unsafe((Integer)raw);
194 }
195
196 public Object getRaw(Persistent g)
197 throws AccessPoemException {
198 return ((ColumnInfo)g).getTableinfoTroid();
199 }
200
201 public void setRaw(Persistent g, Object raw)
202 throws AccessPoemException {
203 ((ColumnInfo)g).setTableinfoTroid((Integer)raw);
204 }
205 });
206
207 defineColumn(col_name =
208 new Column<String>(this, "name",
209 new StringPoemType(false, 50),
210 DefinitionSource.dsd) {
211 public Object getCooked(Persistent g)
212 throws AccessPoemException, PoemException {
213 return ((ColumnInfo)g).getName();
214 }
215
216 public void setCooked(Persistent g, Object cooked)
217 throws AccessPoemException, ValidationPoemException {
218 ((ColumnInfo)g).setName((String)cooked);
219 }
220
221 public Field<String> asField(Persistent g) {
222 return ((ColumnInfo)g).getNameField();
223 }
224
225 public boolean defaultUserEditable() {
226 return false;
227 }
228
229 public DisplayLevel defaultDisplayLevel() {
230 return DisplayLevel.record;
231 }
232
233 public Searchability defaultSearchability() {
234 return Searchability.no;
235 }
236
237 public int defaultDisplayOrder() {
238 return 50;
239 }
240
241 public String defaultDescription() {
242 return "A code-name for the field";
243 }
244
245 public boolean defaultIndexed() {
246 return true;
247 }
248
249 public Object getRaw_unsafe(Persistent g)
250 throws AccessPoemException {
251 return ((ColumnInfo)g).getName_unsafe();
252 }
253
254 public void setRaw_unsafe(Persistent g, Object raw)
255 throws AccessPoemException {
256 ((ColumnInfo)g).setName_unsafe((String)raw);
257 }
258
259 public Object getRaw(Persistent g)
260 throws AccessPoemException {
261 return ((ColumnInfo)g).getName();
262 }
263
264 public void setRaw(Persistent g, Object raw)
265 throws AccessPoemException {
266 ((ColumnInfo)g).setName((String)raw);
267 }
268 });
269
270 defineColumn(col_displayorder =
271 new Column<Integer>(this, "displayorder",
272 new IntegerPoemType(false),
273 DefinitionSource.dsd) {
274 public Object getCooked(Persistent g)
275 throws AccessPoemException, PoemException {
276 return ((ColumnInfo)g).getDisplayorder();
277 }
278
279 public void setCooked(Persistent g, Object cooked)
280 throws AccessPoemException, ValidationPoemException {
281 ((ColumnInfo)g).setDisplayorder((Integer)cooked);
282 }
283
284 public Field<Integer> asField(Persistent g) {
285 return ((ColumnInfo)g).getDisplayorderField();
286 }
287
288 public DisplayLevel defaultDisplayLevel() {
289 return DisplayLevel.record;
290 }
291
292 public Searchability defaultSearchability() {
293 return Searchability.no;
294 }
295
296 public Integer defaultDisplayOrderPriority() {
297 return new Integer(1);
298 }
299
300 public String defaultDisplayName() {
301 return "Display order";
302 }
303
304 public int defaultDisplayOrder() {
305 return 51;
306 }
307
308 public String defaultDescription() {
309 return "A rank determining where the field appears in lists";
310 }
311
312 public Object getRaw_unsafe(Persistent g)
313 throws AccessPoemException {
314 return ((ColumnInfo)g).getDisplayorder_unsafe();
315 }
316
317 public void setRaw_unsafe(Persistent g, Object raw)
318 throws AccessPoemException {
319 ((ColumnInfo)g).setDisplayorder_unsafe((Integer)raw);
320 }
321
322 public Object getRaw(Persistent g)
323 throws AccessPoemException {
324 return ((ColumnInfo)g).getDisplayorder();
325 }
326
327 public void setRaw(Persistent g, Object raw)
328 throws AccessPoemException {
329 ((ColumnInfo)g).setDisplayorder((Integer)raw);
330 }
331 });
332
333 defineColumn(col_usercreateable =
334 new Column<Boolean>(this, "usercreateable",
335 new BooleanPoemType(false),
336 DefinitionSource.dsd) {
337 public Object getCooked(Persistent g)
338 throws AccessPoemException, PoemException {
339 return ((ColumnInfo)g).getUsercreateable();
340 }
341
342 public void setCooked(Persistent g, Object cooked)
343 throws AccessPoemException, ValidationPoemException {
344 ((ColumnInfo)g).setUsercreateable((Boolean)cooked);
345 }
346
347 public Field<Boolean> asField(Persistent g) {
348 return ((ColumnInfo)g).getUsercreateableField();
349 }
350
351 public DisplayLevel defaultDisplayLevel() {
352 return DisplayLevel.detail;
353 }
354
355 public Searchability defaultSearchability() {
356 return Searchability.no;
357 }
358
359 public String defaultDisplayName() {
360 return "User-createable";
361 }
362
363 public int defaultDisplayOrder() {
364 return 52;
365 }
366
367 public String defaultDescription() {
368 return "Whether it makes sense for the user to initialise the field's value";
369 }
370
371 public Object getRaw_unsafe(Persistent g)
372 throws AccessPoemException {
373 return ((ColumnInfo)g).getUsercreateable_unsafe();
374 }
375
376 public void setRaw_unsafe(Persistent g, Object raw)
377 throws AccessPoemException {
378 ((ColumnInfo)g).setUsercreateable_unsafe((Boolean)raw);
379 }
380
381 public Object getRaw(Persistent g)
382 throws AccessPoemException {
383 return ((ColumnInfo)g).getUsercreateable();
384 }
385
386 public void setRaw(Persistent g, Object raw)
387 throws AccessPoemException {
388 ((ColumnInfo)g).setUsercreateable((Boolean)raw);
389 }
390 });
391
392 defineColumn(col_displaylevel =
393 new Column<Integer>(this, "displaylevel",
394 new DisplayLevelPoemType(),
395 DefinitionSource.dsd) {
396 public Object getCooked(Persistent g)
397 throws AccessPoemException, PoemException {
398 return ((ColumnInfo)g).getDisplaylevel();
399 }
400
401 public void setCooked(Persistent g, Object cooked)
402 throws AccessPoemException, ValidationPoemException {
403 ((ColumnInfo)g).setDisplaylevel((DisplayLevel)cooked);
404 }
405
406 public Field<Integer> asField(Persistent g) {
407 return ((ColumnInfo)g).getDisplaylevelField();
408 }
409
410 public DisplayLevel defaultDisplayLevel() {
411 return DisplayLevel.record;
412 }
413
414 public Searchability defaultSearchability() {
415 return Searchability.no;
416 }
417
418 public String defaultDisplayName() {
419 return "Display level";
420 }
421
422 public int defaultDisplayOrder() {
423 return 53;
424 }
425
426 public String defaultDescription() {
427 return "A category determining what granularity of report the field appears in";
428 }
429
430 public Object getRaw_unsafe(Persistent g)
431 throws AccessPoemException {
432 return ((ColumnInfo)g).getDisplaylevel_unsafe();
433 }
434
435 public void setRaw_unsafe(Persistent g, Object raw)
436 throws AccessPoemException {
437 ((ColumnInfo)g).setDisplaylevel_unsafe((Integer)raw);
438 }
439
440 public Object getRaw(Persistent g)
441 throws AccessPoemException {
442 return ((ColumnInfo)g).getDisplaylevelIndex();
443 }
444
445 public void setRaw(Persistent g, Object raw)
446 throws AccessPoemException {
447 ((ColumnInfo)g).setDisplaylevelIndex((Integer)raw);
448 }
449 });
450
451 defineColumn(col_searchability =
452 new Column<Integer>(this, "searchability",
453 new SearchabilityPoemType(),
454 DefinitionSource.dsd) {
455 public Object getCooked(Persistent g)
456 throws AccessPoemException, PoemException {
457 return ((ColumnInfo)g).getSearchability();
458 }
459
460 public void setCooked(Persistent g, Object cooked)
461 throws AccessPoemException, ValidationPoemException {
462 ((ColumnInfo)g).setSearchability((Searchability)cooked);
463 }
464
465 public Field<Integer> asField(Persistent g) {
466 return ((ColumnInfo)g).getSearchabilityField();
467 }
468
469 public DisplayLevel defaultDisplayLevel() {
470 return DisplayLevel.record;
471 }
472
473 public Searchability defaultSearchability() {
474 return Searchability.no;
475 }
476
477 public int defaultDisplayOrder() {
478 return 54;
479 }
480
481 public String defaultDescription() {
482 return "A category determining what level of searching this field supports";
483 }
484
485 public Object getRaw_unsafe(Persistent g)
486 throws AccessPoemException {
487 return ((ColumnInfo)g).getSearchability_unsafe();
488 }
489
490 public void setRaw_unsafe(Persistent g, Object raw)
491 throws AccessPoemException {
492 ((ColumnInfo)g).setSearchability_unsafe((Integer)raw);
493 }
494
495 public Object getRaw(Persistent g)
496 throws AccessPoemException {
497 return ((ColumnInfo)g).getSearchabilityIndex();
498 }
499
500 public void setRaw(Persistent g, Object raw)
501 throws AccessPoemException {
502 ((ColumnInfo)g).setSearchabilityIndex((Integer)raw);
503 }
504 });
505
506 defineColumn(col_displayorderpriority =
507 new Column<Integer>(this, "displayorderpriority",
508 new IntegerPoemType(true),
509 DefinitionSource.dsd) {
510 public Object getCooked(Persistent g)
511 throws AccessPoemException, PoemException {
512 return ((ColumnInfo)g).getDisplayorderpriority();
513 }
514
515 public void setCooked(Persistent g, Object cooked)
516 throws AccessPoemException, ValidationPoemException {
517 ((ColumnInfo)g).setDisplayorderpriority((Integer)cooked);
518 }
519
520 public Field<Integer> asField(Persistent g) {
521 return ((ColumnInfo)g).getDisplayorderpriorityField();
522 }
523
524 public Searchability defaultSearchability() {
525 return Searchability.no;
526 }
527
528 public String defaultDisplayName() {
529 return "Display order priority";
530 }
531
532 public int defaultDisplayOrder() {
533 return 55;
534 }
535
536 public String defaultDescription() {
537 return "If present, the level at which lists of records are sorted by the field";
538 }
539
540 public Object getRaw_unsafe(Persistent g)
541 throws AccessPoemException {
542 return ((ColumnInfo)g).getDisplayorderpriority_unsafe();
543 }
544
545 public void setRaw_unsafe(Persistent g, Object raw)
546 throws AccessPoemException {
547 ((ColumnInfo)g).setDisplayorderpriority_unsafe((Integer)raw);
548 }
549
550 public Object getRaw(Persistent g)
551 throws AccessPoemException {
552 return ((ColumnInfo)g).getDisplayorderpriority();
553 }
554
555 public void setRaw(Persistent g, Object raw)
556 throws AccessPoemException {
557 ((ColumnInfo)g).setDisplayorderpriority((Integer)raw);
558 }
559 });
560
561 defineColumn(col_sortdescending =
562 new Column<Boolean>(this, "sortdescending",
563 new BooleanPoemType(true),
564 DefinitionSource.dsd) {
565 public Object getCooked(Persistent g)
566 throws AccessPoemException, PoemException {
567 return ((ColumnInfo)g).getSortdescending();
568 }
569
570 public void setCooked(Persistent g, Object cooked)
571 throws AccessPoemException, ValidationPoemException {
572 ((ColumnInfo)g).setSortdescending((Boolean)cooked);
573 }
574
575 public Field<Boolean> asField(Persistent g) {
576 return ((ColumnInfo)g).getSortdescendingField();
577 }
578
579 public DisplayLevel defaultDisplayLevel() {
580 return DisplayLevel.record;
581 }
582
583 public Searchability defaultSearchability() {
584 return Searchability.no;
585 }
586
587 public String defaultDisplayName() {
588 return "Sort Descending";
589 }
590
591 public int defaultDisplayOrder() {
592 return 56;
593 }
594
595 public String defaultDescription() {
596 return "Whether when sorting by this column, the sort order should be reversed";
597 }
598
599 public Object getRaw_unsafe(Persistent g)
600 throws AccessPoemException {
601 return ((ColumnInfo)g).getSortdescending_unsafe();
602 }
603
604 public void setRaw_unsafe(Persistent g, Object raw)
605 throws AccessPoemException {
606 ((ColumnInfo)g).setSortdescending_unsafe((Boolean)raw);
607 }
608
609 public Object getRaw(Persistent g)
610 throws AccessPoemException {
611 return ((ColumnInfo)g).getSortdescending();
612 }
613
614 public void setRaw(Persistent g, Object raw)
615 throws AccessPoemException {
616 ((ColumnInfo)g).setSortdescending((Boolean)raw);
617 }
618 });
619
620 defineColumn(col_indexed =
621 new Column<Boolean>(this, "indexed",
622 new BooleanPoemType(false),
623 DefinitionSource.dsd) {
624 public Object getCooked(Persistent g)
625 throws AccessPoemException, PoemException {
626 return ((ColumnInfo)g).getIndexed();
627 }
628
629 public void setCooked(Persistent g, Object cooked)
630 throws AccessPoemException, ValidationPoemException {
631 ((ColumnInfo)g).setIndexed((Boolean)cooked);
632 }
633
634 public Field<Boolean> asField(Persistent g) {
635 return ((ColumnInfo)g).getIndexedField();
636 }
637
638 public boolean defaultUserEditable() {
639 return false;
640 }
641
642 public DisplayLevel defaultDisplayLevel() {
643 return DisplayLevel.record;
644 }
645
646 public Searchability defaultSearchability() {
647 return Searchability.no;
648 }
649
650 public int defaultDisplayOrder() {
651 return 57;
652 }
653
654 public String defaultDescription() {
655 return "Whether the field is indexed (ignored if the field is marked `unique')";
656 }
657
658 public Object getRaw_unsafe(Persistent g)
659 throws AccessPoemException {
660 return ((ColumnInfo)g).getIndexed_unsafe();
661 }
662
663 public void setRaw_unsafe(Persistent g, Object raw)
664 throws AccessPoemException {
665 ((ColumnInfo)g).setIndexed_unsafe((Boolean)raw);
666 }
667
668 public Object getRaw(Persistent g)
669 throws AccessPoemException {
670 return ((ColumnInfo)g).getIndexed();
671 }
672
673 public void setRaw(Persistent g, Object raw)
674 throws AccessPoemException {
675 ((ColumnInfo)g).setIndexed((Boolean)raw);
676 }
677 });
678
679 defineColumn(col_unique =
680 new Column<Boolean>(this, "unique",
681 new BooleanPoemType(false),
682 DefinitionSource.dsd) {
683 public Object getCooked(Persistent g)
684 throws AccessPoemException, PoemException {
685 return ((ColumnInfo)g).getUnique();
686 }
687
688 public void setCooked(Persistent g, Object cooked)
689 throws AccessPoemException, ValidationPoemException {
690 ((ColumnInfo)g).setUnique((Boolean)cooked);
691 }
692
693 public Field<Boolean> asField(Persistent g) {
694 return ((ColumnInfo)g).getUniqueField();
695 }
696
697 public boolean defaultUserEditable() {
698 return false;
699 }
700
701 public DisplayLevel defaultDisplayLevel() {
702 return DisplayLevel.record;
703 }
704
705 public Searchability defaultSearchability() {
706 return Searchability.no;
707 }
708
709 public int defaultDisplayOrder() {
710 return 58;
711 }
712
713 public String defaultDescription() {
714 return "Whether the field is unique (implies that it's `indexed')";
715 }
716
717 public Object getRaw_unsafe(Persistent g)
718 throws AccessPoemException {
719 return ((ColumnInfo)g).getUnique_unsafe();
720 }
721
722 public void setRaw_unsafe(Persistent g, Object raw)
723 throws AccessPoemException {
724 ((ColumnInfo)g).setUnique_unsafe((Boolean)raw);
725 }
726
727 public Object getRaw(Persistent g)
728 throws AccessPoemException {
729 return ((ColumnInfo)g).getUnique();
730 }
731
732 public void setRaw(Persistent g, Object raw)
733 throws AccessPoemException {
734 ((ColumnInfo)g).setUnique((Boolean)raw);
735 }
736 });
737
738 defineColumn(col_integrityfix =
739 new Column<Integer>(this, "integrityfix",
740 new IntegrityFixPoemType(true),
741 DefinitionSource.dsd) {
742 public Object getCooked(Persistent g)
743 throws AccessPoemException, PoemException {
744 return ((ColumnInfo)g).getIntegrityfix();
745 }
746
747 public void setCooked(Persistent g, Object cooked)
748 throws AccessPoemException, ValidationPoemException {
749 ((ColumnInfo)g).setIntegrityfix((StandardIntegrityFix)cooked);
750 }
751
752 public Field<Integer> asField(Persistent g) {
753 return ((ColumnInfo)g).getIntegrityfixField();
754 }
755
756 public DisplayLevel defaultDisplayLevel() {
757 return DisplayLevel.record;
758 }
759
760 public Searchability defaultSearchability() {
761 return Searchability.no;
762 }
763
764 public String defaultDisplayName() {
765 return "Integrity fix";
766 }
767
768 public int defaultDisplayOrder() {
769 return 59;
770 }
771
772 public String defaultDescription() {
773 return "How referential integrity is maintained, what to do when the object referred to is deleted";
774 }
775
776 public Object getRaw_unsafe(Persistent g)
777 throws AccessPoemException {
778 return ((ColumnInfo)g).getIntegrityfix_unsafe();
779 }
780
781 public void setRaw_unsafe(Persistent g, Object raw)
782 throws AccessPoemException {
783 ((ColumnInfo)g).setIntegrityfix_unsafe((Integer)raw);
784 }
785
786 public Object getRaw(Persistent g)
787 throws AccessPoemException {
788 return ((ColumnInfo)g).getIntegrityfixIndex();
789 }
790
791 public void setRaw(Persistent g, Object raw)
792 throws AccessPoemException {
793 ((ColumnInfo)g).setIntegrityfixIndex((Integer)raw);
794 }
795 });
796 }
797
798
799
800
801
802
803
804
805
806 public final Column<Integer> getIdColumn() {
807 return col_id;
808 }
809
810
811
812
813
814
815
816
817
818 public final Column<Integer> getTableinfoColumn() {
819 return col_tableinfo;
820 }
821
822
823
824
825
826
827
828
829
830 public final Column<String> getNameColumn() {
831 return col_name;
832 }
833
834
835
836
837
838
839
840
841
842 public final Column<Integer> getDisplayorderColumn() {
843 return col_displayorder;
844 }
845
846
847
848
849
850
851
852
853
854 public final Column<Boolean> getUsercreateableColumn() {
855 return col_usercreateable;
856 }
857
858
859
860
861
862
863
864
865
866 public final Column<Integer> getDisplaylevelColumn() {
867 return col_displaylevel;
868 }
869
870
871
872
873
874
875
876
877
878 public final Column<Integer> getSearchabilityColumn() {
879 return col_searchability;
880 }
881
882
883
884
885
886
887
888
889
890 public final Column<Integer> getDisplayorderpriorityColumn() {
891 return col_displayorderpriority;
892 }
893
894
895
896
897
898
899
900
901
902 public final Column<Boolean> getSortdescendingColumn() {
903 return col_sortdescending;
904 }
905
906
907
908
909
910
911
912
913
914 public final Column<Boolean> getIndexedColumn() {
915 return col_indexed;
916 }
917
918
919
920
921
922
923
924
925
926 public final Column<Boolean> getUniqueColumn() {
927 return col_unique;
928 }
929
930
931
932
933
934
935
936
937
938 public final Column<Integer> getIntegrityfixColumn() {
939 return col_integrityfix;
940 }
941
942
943
944
945
946
947
948
949
950 public ColumnInfo getColumnInfoObject(Integer troid) {
951 return (ColumnInfo)getObject(troid);
952 }
953
954
955
956
957
958
959
960
961
962 public ColumnInfo getColumnInfoObject(int troid) {
963 return (ColumnInfo)getObject(troid);
964 }
965
966 protected JdbcPersistent _newPersistent() {
967 return new ColumnInfo();
968 }
969 public String defaultDisplayName() {
970 return "Column";
971 }
972
973 public String defaultDescription() {
974 return "Configuration information about a column in the database";
975 }
976
977 public boolean defaultRememberAllTroids() {
978 return true;
979 }
980
981 public Integer defaultCacheLimit() {
982 return new Integer(999999999);
983 }
984
985 public String defaultCategory() {
986 return "System";
987 }
988
989 public int defaultDisplayOrder() {
990 return 3020;
991 }
992 }
993