View Javadoc
1   // Do not edit this file!  It was generated by Melati POEM's DSD preprocessor.
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.ColumnTypePoemType;
10  import org.melati.poem.Database;
11  import org.melati.poem.DefinitionSource;
12  import org.melati.poem.DisplayLevel;
13  import org.melati.poem.Field;
14  import org.melati.poem.IntegerPoemType;
15  import org.melati.poem.Persistent;
16  import org.melati.poem.PoemDatabaseTables;
17  import org.melati.poem.PoemException;
18  import org.melati.poem.PoemTable;
19  import org.melati.poem.PoemTypeFactory;
20  import org.melati.poem.Searchability;
21  import org.melati.poem.StringPoemType;
22  import org.melati.poem.ValidationPoemException;
23  import org.melati.poem.ValueInfo;
24  
25  
26  /**
27   * Melati POEM generated base class for <code>Table</code> <code>ValueInfo</code>.
28   *
29   * See org.melati.poem.prepro.TableDef#generateTableBaseJava 
30   */
31  
32  public class ValueInfoTableBase<T extends ValueInfo> extends PoemTable<T> {
33  
34    private Column<String> col_displayname = null;
35    private Column<String> col_description = null;
36    private Column<Boolean> col_usereditable = null;
37    private Column<Integer> col_typefactory = null;
38    private Column<Boolean> col_nullable = null;
39    private Column<Integer> col_size = null;
40    private Column<Integer> col_width = null;
41    private Column<Integer> col_height = null;
42    private Column<Integer> col_precision = null;
43    private Column<Integer> col_scale = null;
44    private Column<String> col_renderinfo = null;
45    private Column<String> col_rangelow_string = null;
46    private Column<String> col_rangelimit_string = null;
47  
48   /**
49    * Constructor. 
50    * 
51    * See org.melati.poem.prepro.TableDef#generateTableBaseJava 
52    * @param database          the POEM database we are using
53    * @param name              the name of this <code>Table</code>
54    * @param definitionSource  which definition is being used
55    * @throws PoemException    if anything goes wrong
56    */
57  
58    public ValueInfoTableBase(
59        Database database, String name,
60        DefinitionSource definitionSource) throws PoemException {
61      super(database, name, definitionSource);
62    }
63  
64  
65   /**
66    * Get the database tables.
67    *
68    * See org.melati.poem.prepro.TableDef#generateTableBaseJava 
69    * @return the database tables
70    */
71    public PoemDatabaseTables getPoemDatabaseTables() {
72      return (PoemDatabaseTables)getDatabase();
73    }
74  
75  
76   /**
77    * Initialise this table by defining its columns.
78    *
79    * See org.melati.poem.prepro.TableDef#generateTableBaseJava 
80    */
81    public void init() throws PoemException {
82      super.init();
83      defineColumn(col_displayname =
84          new Column<String>(this, "displayname",
85                     new StringPoemType(false, 60),
86                     DefinitionSource.dsd) { 
87            public Object getCooked(Persistent g)
88                throws AccessPoemException, PoemException {
89              return ((ValueInfo)g).getDisplayname();
90            }
91  
92            public void setCooked(Persistent g, Object cooked)
93                throws AccessPoemException, ValidationPoemException {
94              ((ValueInfo)g).setDisplayname((String)cooked);
95            }
96  
97            public Field<String> asField(Persistent g) {
98              return ((ValueInfo)g).getDisplaynameField();
99            }
100 
101           public DisplayLevel defaultDisplayLevel() {
102             return DisplayLevel.primary;
103           }
104 
105           public Integer defaultDisplayOrderPriority() {
106             return new Integer(2);
107           }
108 
109           public String defaultDisplayName() {
110             return "Display name";
111           }
112 
113           public int defaultDisplayOrder() {
114             return 100;
115           }
116 
117           public String defaultDescription() {
118             return "A user-friendly name for the field";
119           }
120 
121           public Object getRaw_unsafe(Persistent g)
122               throws AccessPoemException {
123             return ((ValueInfo)g).getDisplayname_unsafe();
124           }
125 
126           public void setRaw_unsafe(Persistent g, Object raw)
127               throws AccessPoemException {
128             ((ValueInfo)g).setDisplayname_unsafe((String)raw);
129           }
130 
131           public Object getRaw(Persistent g)
132               throws AccessPoemException {
133             return ((ValueInfo)g).getDisplayname();
134           }
135 
136           public void setRaw(Persistent g, Object raw)
137               throws AccessPoemException {
138             ((ValueInfo)g).setDisplayname((String)raw);
139           }
140         });
141 
142     defineColumn(col_description =
143         new Column<String>(this, "description",
144                    new StringPoemType(true, -1),
145                    DefinitionSource.dsd) { 
146           public Object getCooked(Persistent g)
147               throws AccessPoemException, PoemException {
148             return ((ValueInfo)g).getDescription();
149           }
150 
151           public void setCooked(Persistent g, Object cooked)
152               throws AccessPoemException, ValidationPoemException {
153             ((ValueInfo)g).setDescription((String)cooked);
154           }
155 
156           public Field<String> asField(Persistent g) {
157             return ((ValueInfo)g).getDescriptionField();
158           }
159 
160           public DisplayLevel defaultDisplayLevel() {
161             return DisplayLevel.record;
162           }
163 
164           public Searchability defaultSearchability() {
165             return Searchability.no;
166           }
167 
168           public int defaultDisplayOrder() {
169             return 101;
170           }
171 
172           public String defaultDescription() {
173             return "A brief description of the field's function";
174           }
175 
176           public int defaultWidth() {
177             return 50;
178           }
179 
180           public Object getRaw_unsafe(Persistent g)
181               throws AccessPoemException {
182             return ((ValueInfo)g).getDescription_unsafe();
183           }
184 
185           public void setRaw_unsafe(Persistent g, Object raw)
186               throws AccessPoemException {
187             ((ValueInfo)g).setDescription_unsafe((String)raw);
188           }
189 
190           public Object getRaw(Persistent g)
191               throws AccessPoemException {
192             return ((ValueInfo)g).getDescription();
193           }
194 
195           public void setRaw(Persistent g, Object raw)
196               throws AccessPoemException {
197             ((ValueInfo)g).setDescription((String)raw);
198           }
199         });
200 
201     defineColumn(col_usereditable =
202         new Column<Boolean>(this, "usereditable",
203                    new BooleanPoemType(false),
204                    DefinitionSource.dsd) { 
205           public Object getCooked(Persistent g)
206               throws AccessPoemException, PoemException {
207             return ((ValueInfo)g).getUsereditable();
208           }
209 
210           public void setCooked(Persistent g, Object cooked)
211               throws AccessPoemException, ValidationPoemException {
212             ((ValueInfo)g).setUsereditable((Boolean)cooked);
213           }
214 
215           public Field<Boolean> asField(Persistent g) {
216             return ((ValueInfo)g).getUsereditableField();
217           }
218 
219           public DisplayLevel defaultDisplayLevel() {
220             return DisplayLevel.detail;
221           }
222 
223           public Searchability defaultSearchability() {
224             return Searchability.no;
225           }
226 
227           public String defaultDisplayName() {
228             return "User-editable";
229           }
230 
231           public int defaultDisplayOrder() {
232             return 200;
233           }
234 
235           public String defaultDescription() {
236             return "Whether it makes sense for the user to update the field's value";
237           }
238 
239           public Object getRaw_unsafe(Persistent g)
240               throws AccessPoemException {
241             return ((ValueInfo)g).getUsereditable_unsafe();
242           }
243 
244           public void setRaw_unsafe(Persistent g, Object raw)
245               throws AccessPoemException {
246             ((ValueInfo)g).setUsereditable_unsafe((Boolean)raw);
247           }
248 
249           public Object getRaw(Persistent g)
250               throws AccessPoemException {
251             return ((ValueInfo)g).getUsereditable();
252           }
253 
254           public void setRaw(Persistent g, Object raw)
255               throws AccessPoemException {
256             ((ValueInfo)g).setUsereditable((Boolean)raw);
257           }
258         });
259 
260     defineColumn(col_typefactory =
261         new Column<Integer>(this, "typefactory",
262                    new ColumnTypePoemType(getDatabase()),
263                    DefinitionSource.dsd) { 
264           public Object getCooked(Persistent g)
265               throws AccessPoemException, PoemException {
266             return ((ValueInfo)g).getTypefactory();
267           }
268 
269           public void setCooked(Persistent g, Object cooked)
270               throws AccessPoemException, ValidationPoemException {
271             ((ValueInfo)g).setTypefactory((PoemTypeFactory)cooked);
272           }
273 
274           public Field<Integer> asField(Persistent g) {
275             return ((ValueInfo)g).getTypefactoryField();
276           }
277 
278           public boolean defaultUserEditable() {
279             return false;
280           }
281 
282           public DisplayLevel defaultDisplayLevel() {
283             return DisplayLevel.detail;
284           }
285 
286           public Searchability defaultSearchability() {
287             return Searchability.no;
288           }
289 
290           public String defaultDisplayName() {
291             return "Type";
292           }
293 
294           public int defaultDisplayOrder() {
295             return 201;
296           }
297 
298           public String defaultDescription() {
299             return "The field's POEM type";
300           }
301 
302           public Object getRaw_unsafe(Persistent g)
303               throws AccessPoemException {
304             return ((ValueInfo)g).getTypefactory_unsafe();
305           }
306 
307           public void setRaw_unsafe(Persistent g, Object raw)
308               throws AccessPoemException {
309             ((ValueInfo)g).setTypefactory_unsafe((Integer)raw);
310           }
311 
312           public Object getRaw(Persistent g)
313               throws AccessPoemException {
314             return ((ValueInfo)g).getTypefactoryCode();
315           }
316 
317           public void setRaw(Persistent g, Object raw)
318               throws AccessPoemException {
319             ((ValueInfo)g).setTypefactoryCode((Integer)raw);
320           }
321         });
322 
323     defineColumn(col_nullable =
324         new Column<Boolean>(this, "nullable",
325                    new BooleanPoemType(false),
326                    DefinitionSource.dsd) { 
327           public Object getCooked(Persistent g)
328               throws AccessPoemException, PoemException {
329             return ((ValueInfo)g).getNullable();
330           }
331 
332           public void setCooked(Persistent g, Object cooked)
333               throws AccessPoemException, ValidationPoemException {
334             ((ValueInfo)g).setNullable((Boolean)cooked);
335           }
336 
337           public Field<Boolean> asField(Persistent g) {
338             return ((ValueInfo)g).getNullableField();
339           }
340 
341           public boolean defaultUserEditable() {
342             return false;
343           }
344 
345           public DisplayLevel defaultDisplayLevel() {
346             return DisplayLevel.detail;
347           }
348 
349           public Searchability defaultSearchability() {
350             return Searchability.no;
351           }
352 
353           public int defaultDisplayOrder() {
354             return 202;
355           }
356 
357           public String defaultDescription() {
358             return "Whether the field can be empty";
359           }
360 
361           public Object getRaw_unsafe(Persistent g)
362               throws AccessPoemException {
363             return ((ValueInfo)g).getNullable_unsafe();
364           }
365 
366           public void setRaw_unsafe(Persistent g, Object raw)
367               throws AccessPoemException {
368             ((ValueInfo)g).setNullable_unsafe((Boolean)raw);
369           }
370 
371           public Object getRaw(Persistent g)
372               throws AccessPoemException {
373             return ((ValueInfo)g).getNullable();
374           }
375 
376           public void setRaw(Persistent g, Object raw)
377               throws AccessPoemException {
378             ((ValueInfo)g).setNullable((Boolean)raw);
379           }
380         });
381 
382     defineColumn(col_size =
383         new Column<Integer>(this, "size",
384                    new IntegerPoemType(false),
385                    DefinitionSource.dsd) { 
386           public Object getCooked(Persistent g)
387               throws AccessPoemException, PoemException {
388             return ((ValueInfo)g).getSize();
389           }
390 
391           public void setCooked(Persistent g, Object cooked)
392               throws AccessPoemException, ValidationPoemException {
393             ((ValueInfo)g).setSize((Integer)cooked);
394           }
395 
396           public Field<Integer> asField(Persistent g) {
397             return ((ValueInfo)g).getSizeField();
398           }
399 
400           public boolean defaultUserEditable() {
401             return false;
402           }
403 
404           public DisplayLevel defaultDisplayLevel() {
405             return DisplayLevel.record;
406           }
407 
408           public Searchability defaultSearchability() {
409             return Searchability.no;
410           }
411 
412           public int defaultDisplayOrder() {
413             return 203;
414           }
415 
416           public String defaultDescription() {
417             return "For character fields, the maximum number of characters that can be stored, (-1 for unlimited)";
418           }
419 
420           public Object getRaw_unsafe(Persistent g)
421               throws AccessPoemException {
422             return ((ValueInfo)g).getSize_unsafe();
423           }
424 
425           public void setRaw_unsafe(Persistent g, Object raw)
426               throws AccessPoemException {
427             ((ValueInfo)g).setSize_unsafe((Integer)raw);
428           }
429 
430           public Object getRaw(Persistent g)
431               throws AccessPoemException {
432             return ((ValueInfo)g).getSize();
433           }
434 
435           public void setRaw(Persistent g, Object raw)
436               throws AccessPoemException {
437             ((ValueInfo)g).setSize((Integer)raw);
438           }
439         });
440 
441     defineColumn(col_width =
442         new Column<Integer>(this, "width",
443                    new IntegerPoemType(false),
444                    DefinitionSource.dsd) { 
445           public Object getCooked(Persistent g)
446               throws AccessPoemException, PoemException {
447             return ((ValueInfo)g).getWidth();
448           }
449 
450           public void setCooked(Persistent g, Object cooked)
451               throws AccessPoemException, ValidationPoemException {
452             ((ValueInfo)g).setWidth((Integer)cooked);
453           }
454 
455           public Field<Integer> asField(Persistent g) {
456             return ((ValueInfo)g).getWidthField();
457           }
458 
459           public DisplayLevel defaultDisplayLevel() {
460             return DisplayLevel.record;
461           }
462 
463           public Searchability defaultSearchability() {
464             return Searchability.no;
465           }
466 
467           public String defaultDisplayName() {
468             return "Input-box width";
469           }
470 
471           public int defaultDisplayOrder() {
472             return 204;
473           }
474 
475           public String defaultDescription() {
476             return "A sensible width for text boxes used for entering the field, where appropriate";
477           }
478 
479           public Object getRaw_unsafe(Persistent g)
480               throws AccessPoemException {
481             return ((ValueInfo)g).getWidth_unsafe();
482           }
483 
484           public void setRaw_unsafe(Persistent g, Object raw)
485               throws AccessPoemException {
486             ((ValueInfo)g).setWidth_unsafe((Integer)raw);
487           }
488 
489           public Object getRaw(Persistent g)
490               throws AccessPoemException {
491             return ((ValueInfo)g).getWidth();
492           }
493 
494           public void setRaw(Persistent g, Object raw)
495               throws AccessPoemException {
496             ((ValueInfo)g).setWidth((Integer)raw);
497           }
498         });
499 
500     defineColumn(col_height =
501         new Column<Integer>(this, "height",
502                    new IntegerPoemType(false),
503                    DefinitionSource.dsd) { 
504           public Object getCooked(Persistent g)
505               throws AccessPoemException, PoemException {
506             return ((ValueInfo)g).getHeight();
507           }
508 
509           public void setCooked(Persistent g, Object cooked)
510               throws AccessPoemException, ValidationPoemException {
511             ((ValueInfo)g).setHeight((Integer)cooked);
512           }
513 
514           public Field<Integer> asField(Persistent g) {
515             return ((ValueInfo)g).getHeightField();
516           }
517 
518           public DisplayLevel defaultDisplayLevel() {
519             return DisplayLevel.record;
520           }
521 
522           public Searchability defaultSearchability() {
523             return Searchability.no;
524           }
525 
526           public String defaultDisplayName() {
527             return "Input-box height";
528           }
529 
530           public int defaultDisplayOrder() {
531             return 205;
532           }
533 
534           public String defaultDescription() {
535             return "A sensible height for text boxes used for entering the field, where appropriate";
536           }
537 
538           public Object getRaw_unsafe(Persistent g)
539               throws AccessPoemException {
540             return ((ValueInfo)g).getHeight_unsafe();
541           }
542 
543           public void setRaw_unsafe(Persistent g, Object raw)
544               throws AccessPoemException {
545             ((ValueInfo)g).setHeight_unsafe((Integer)raw);
546           }
547 
548           public Object getRaw(Persistent g)
549               throws AccessPoemException {
550             return ((ValueInfo)g).getHeight();
551           }
552 
553           public void setRaw(Persistent g, Object raw)
554               throws AccessPoemException {
555             ((ValueInfo)g).setHeight((Integer)raw);
556           }
557         });
558 
559     defineColumn(col_precision =
560         new Column<Integer>(this, "precision",
561                    new IntegerPoemType(false),
562                    DefinitionSource.dsd) { 
563           public Object getCooked(Persistent g)
564               throws AccessPoemException, PoemException {
565             return ((ValueInfo)g).getPrecision();
566           }
567 
568           public void setCooked(Persistent g, Object cooked)
569               throws AccessPoemException, ValidationPoemException {
570             ((ValueInfo)g).setPrecision((Integer)cooked);
571           }
572 
573           public Field<Integer> asField(Persistent g) {
574             return ((ValueInfo)g).getPrecisionField();
575           }
576 
577           public boolean defaultUserEditable() {
578             return false;
579           }
580 
581           public DisplayLevel defaultDisplayLevel() {
582             return DisplayLevel.record;
583           }
584 
585           public Searchability defaultSearchability() {
586             return Searchability.no;
587           }
588 
589           public String defaultDisplayName() {
590             return "Precision";
591           }
592 
593           public int defaultDisplayOrder() {
594             return 206;
595           }
596 
597           public String defaultDescription() {
598             return "Precision (total number of digits) for fixed-point numbers";
599           }
600 
601           public Object getRaw_unsafe(Persistent g)
602               throws AccessPoemException {
603             return ((ValueInfo)g).getPrecision_unsafe();
604           }
605 
606           public void setRaw_unsafe(Persistent g, Object raw)
607               throws AccessPoemException {
608             ((ValueInfo)g).setPrecision_unsafe((Integer)raw);
609           }
610 
611           public Object getRaw(Persistent g)
612               throws AccessPoemException {
613             return ((ValueInfo)g).getPrecision();
614           }
615 
616           public void setRaw(Persistent g, Object raw)
617               throws AccessPoemException {
618             ((ValueInfo)g).setPrecision((Integer)raw);
619           }
620         });
621 
622     defineColumn(col_scale =
623         new Column<Integer>(this, "scale",
624                    new IntegerPoemType(false),
625                    DefinitionSource.dsd) { 
626           public Object getCooked(Persistent g)
627               throws AccessPoemException, PoemException {
628             return ((ValueInfo)g).getScale();
629           }
630 
631           public void setCooked(Persistent g, Object cooked)
632               throws AccessPoemException, ValidationPoemException {
633             ((ValueInfo)g).setScale((Integer)cooked);
634           }
635 
636           public Field<Integer> asField(Persistent g) {
637             return ((ValueInfo)g).getScaleField();
638           }
639 
640           public boolean defaultUserEditable() {
641             return false;
642           }
643 
644           public DisplayLevel defaultDisplayLevel() {
645             return DisplayLevel.record;
646           }
647 
648           public Searchability defaultSearchability() {
649             return Searchability.no;
650           }
651 
652           public String defaultDisplayName() {
653             return "Scale";
654           }
655 
656           public int defaultDisplayOrder() {
657             return 207;
658           }
659 
660           public String defaultDescription() {
661             return "Scale (number of digits after the decimal) for fixed-point numbers";
662           }
663 
664           public Object getRaw_unsafe(Persistent g)
665               throws AccessPoemException {
666             return ((ValueInfo)g).getScale_unsafe();
667           }
668 
669           public void setRaw_unsafe(Persistent g, Object raw)
670               throws AccessPoemException {
671             ((ValueInfo)g).setScale_unsafe((Integer)raw);
672           }
673 
674           public Object getRaw(Persistent g)
675               throws AccessPoemException {
676             return ((ValueInfo)g).getScale();
677           }
678 
679           public void setRaw(Persistent g, Object raw)
680               throws AccessPoemException {
681             ((ValueInfo)g).setScale((Integer)raw);
682           }
683         });
684 
685     defineColumn(col_renderinfo =
686         new Column<String>(this, "renderinfo",
687                    new StringPoemType(true, -1),
688                    DefinitionSource.dsd) { 
689           public Object getCooked(Persistent g)
690               throws AccessPoemException, PoemException {
691             return ((ValueInfo)g).getRenderinfo();
692           }
693 
694           public void setCooked(Persistent g, Object cooked)
695               throws AccessPoemException, ValidationPoemException {
696             ((ValueInfo)g).setRenderinfo((String)cooked);
697           }
698 
699           public Field<String> asField(Persistent g) {
700             return ((ValueInfo)g).getRenderinfoField();
701           }
702 
703           public DisplayLevel defaultDisplayLevel() {
704             return DisplayLevel.record;
705           }
706 
707           public Searchability defaultSearchability() {
708             return Searchability.no;
709           }
710 
711           public String defaultDisplayName() {
712             return "Rendering information";
713           }
714 
715           public int defaultDisplayOrder() {
716             return 208;
717           }
718 
719           public String defaultDescription() {
720             return "The name of the Melati templet (if not the default) to use for input controls for the field";
721           }
722 
723           public Object getRaw_unsafe(Persistent g)
724               throws AccessPoemException {
725             return ((ValueInfo)g).getRenderinfo_unsafe();
726           }
727 
728           public void setRaw_unsafe(Persistent g, Object raw)
729               throws AccessPoemException {
730             ((ValueInfo)g).setRenderinfo_unsafe((String)raw);
731           }
732 
733           public Object getRaw(Persistent g)
734               throws AccessPoemException {
735             return ((ValueInfo)g).getRenderinfo();
736           }
737 
738           public void setRaw(Persistent g, Object raw)
739               throws AccessPoemException {
740             ((ValueInfo)g).setRenderinfo((String)raw);
741           }
742         });
743 
744     defineColumn(col_rangelow_string =
745         new Column<String>(this, "rangelow_string",
746                    new StringPoemType(true, -1),
747                    DefinitionSource.dsd) { 
748           public Object getCooked(Persistent g)
749               throws AccessPoemException, PoemException {
750             return ((ValueInfo)g).getRangelow_string();
751           }
752 
753           public void setCooked(Persistent g, Object cooked)
754               throws AccessPoemException, ValidationPoemException {
755             ((ValueInfo)g).setRangelow_string((String)cooked);
756           }
757 
758           public Field<String> asField(Persistent g) {
759             return ((ValueInfo)g).getRangelow_stringField();
760           }
761 
762           public DisplayLevel defaultDisplayLevel() {
763             return DisplayLevel.detail;
764           }
765 
766           public Searchability defaultSearchability() {
767             return Searchability.no;
768           }
769 
770           public String defaultDisplayName() {
771             return "Range: low";
772           }
773 
774           public int defaultDisplayOrder() {
775             return 209;
776           }
777 
778           public String defaultDescription() {
779             return "The low end of the range of permissible values for the field";
780           }
781 
782           public Object getRaw_unsafe(Persistent g)
783               throws AccessPoemException {
784             return ((ValueInfo)g).getRangelow_string_unsafe();
785           }
786 
787           public void setRaw_unsafe(Persistent g, Object raw)
788               throws AccessPoemException {
789             ((ValueInfo)g).setRangelow_string_unsafe((String)raw);
790           }
791 
792           public Object getRaw(Persistent g)
793               throws AccessPoemException {
794             return ((ValueInfo)g).getRangelow_string();
795           }
796 
797           public void setRaw(Persistent g, Object raw)
798               throws AccessPoemException {
799             ((ValueInfo)g).setRangelow_string((String)raw);
800           }
801         });
802 
803     defineColumn(col_rangelimit_string =
804         new Column<String>(this, "rangelimit_string",
805                    new StringPoemType(true, -1),
806                    DefinitionSource.dsd) { 
807           public Object getCooked(Persistent g)
808               throws AccessPoemException, PoemException {
809             return ((ValueInfo)g).getRangelimit_string();
810           }
811 
812           public void setCooked(Persistent g, Object cooked)
813               throws AccessPoemException, ValidationPoemException {
814             ((ValueInfo)g).setRangelimit_string((String)cooked);
815           }
816 
817           public Field<String> asField(Persistent g) {
818             return ((ValueInfo)g).getRangelimit_stringField();
819           }
820 
821           public DisplayLevel defaultDisplayLevel() {
822             return DisplayLevel.detail;
823           }
824 
825           public Searchability defaultSearchability() {
826             return Searchability.no;
827           }
828 
829           public String defaultDisplayName() {
830             return "Range: limit";
831           }
832 
833           public int defaultDisplayOrder() {
834             return 210;
835           }
836 
837           public String defaultDescription() {
838             return "The (exclusive) limit of the range of permissible values for the field";
839           }
840 
841           public Object getRaw_unsafe(Persistent g)
842               throws AccessPoemException {
843             return ((ValueInfo)g).getRangelimit_string_unsafe();
844           }
845 
846           public void setRaw_unsafe(Persistent g, Object raw)
847               throws AccessPoemException {
848             ((ValueInfo)g).setRangelimit_string_unsafe((String)raw);
849           }
850 
851           public Object getRaw(Persistent g)
852               throws AccessPoemException {
853             return ((ValueInfo)g).getRangelimit_string();
854           }
855 
856           public void setRaw(Persistent g, Object raw)
857               throws AccessPoemException {
858             ((ValueInfo)g).setRangelimit_string((String)raw);
859           }
860         });
861   }
862 
863 
864  /**
865   * Retrieves the <code>Displayname</code> <code>Column</code> for this 
866   * <code>ValueInfo</code> <code>Table</code>.
867   * 
868   * see org.melati.poem.prepro.FieldDef#generateColAccessor 
869   * @return the displayname <code>Column</code>
870   */
871   public final Column<String> getDisplaynameColumn() {
872     return col_displayname;
873   }
874 
875 
876  /**
877   * Retrieves the <code>Description</code> <code>Column</code> for this 
878   * <code>ValueInfo</code> <code>Table</code>.
879   * 
880   * see org.melati.poem.prepro.FieldDef#generateColAccessor 
881   * @return the description <code>Column</code>
882   */
883   public final Column<String> getDescriptionColumn() {
884     return col_description;
885   }
886 
887 
888  /**
889   * Retrieves the <code>Usereditable</code> <code>Column</code> for this 
890   * <code>ValueInfo</code> <code>Table</code>.
891   * 
892   * see org.melati.poem.prepro.FieldDef#generateColAccessor 
893   * @return the usereditable <code>Column</code>
894   */
895   public final Column<Boolean> getUsereditableColumn() {
896     return col_usereditable;
897   }
898 
899 
900  /**
901   * Retrieves the <code>Typefactory</code> <code>Column</code> for this 
902   * <code>ValueInfo</code> <code>Table</code>.
903   * 
904   * see org.melati.poem.prepro.FieldDef#generateColAccessor 
905   * @return the typefactory <code>Column</code>
906   */
907   public final Column<Integer> getTypefactoryColumn() {
908     return col_typefactory;
909   }
910 
911 
912  /**
913   * Retrieves the <code>Nullable</code> <code>Column</code> for this 
914   * <code>ValueInfo</code> <code>Table</code>.
915   * 
916   * see org.melati.poem.prepro.FieldDef#generateColAccessor 
917   * @return the nullable <code>Column</code>
918   */
919   public final Column<Boolean> getNullableColumn() {
920     return col_nullable;
921   }
922 
923 
924  /**
925   * Retrieves the <code>Size</code> <code>Column</code> for this 
926   * <code>ValueInfo</code> <code>Table</code>.
927   * 
928   * see org.melati.poem.prepro.FieldDef#generateColAccessor 
929   * @return the size <code>Column</code>
930   */
931   public final Column<Integer> getSizeColumn() {
932     return col_size;
933   }
934 
935 
936  /**
937   * Retrieves the <code>Width</code> <code>Column</code> for this 
938   * <code>ValueInfo</code> <code>Table</code>.
939   * 
940   * see org.melati.poem.prepro.FieldDef#generateColAccessor 
941   * @return the width <code>Column</code>
942   */
943   public final Column<Integer> getWidthColumn() {
944     return col_width;
945   }
946 
947 
948  /**
949   * Retrieves the <code>Height</code> <code>Column</code> for this 
950   * <code>ValueInfo</code> <code>Table</code>.
951   * 
952   * see org.melati.poem.prepro.FieldDef#generateColAccessor 
953   * @return the height <code>Column</code>
954   */
955   public final Column<Integer> getHeightColumn() {
956     return col_height;
957   }
958 
959 
960  /**
961   * Retrieves the <code>Precision</code> <code>Column</code> for this 
962   * <code>ValueInfo</code> <code>Table</code>.
963   * 
964   * see org.melati.poem.prepro.FieldDef#generateColAccessor 
965   * @return the precision <code>Column</code>
966   */
967   public final Column<Integer> getPrecisionColumn() {
968     return col_precision;
969   }
970 
971 
972  /**
973   * Retrieves the <code>Scale</code> <code>Column</code> for this 
974   * <code>ValueInfo</code> <code>Table</code>.
975   * 
976   * see org.melati.poem.prepro.FieldDef#generateColAccessor 
977   * @return the scale <code>Column</code>
978   */
979   public final Column<Integer> getScaleColumn() {
980     return col_scale;
981   }
982 
983 
984  /**
985   * Retrieves the <code>Renderinfo</code> <code>Column</code> for this 
986   * <code>ValueInfo</code> <code>Table</code>.
987   * 
988   * see org.melati.poem.prepro.FieldDef#generateColAccessor 
989   * @return the renderinfo <code>Column</code>
990   */
991   public final Column<String> getRenderinfoColumn() {
992     return col_renderinfo;
993   }
994 
995 
996  /**
997   * Retrieves the <code>Rangelow_string</code> <code>Column</code> for this 
998   * <code>ValueInfo</code> <code>Table</code>.
999   * 
1000   * see org.melati.poem.prepro.FieldDef#generateColAccessor 
1001   * @return the rangelow_string <code>Column</code>
1002   */
1003   public final Column<String> getRangelow_stringColumn() {
1004     return col_rangelow_string;
1005   }
1006 
1007 
1008  /**
1009   * Retrieves the <code>Rangelimit_string</code> <code>Column</code> for this 
1010   * <code>ValueInfo</code> <code>Table</code>.
1011   * 
1012   * see org.melati.poem.prepro.FieldDef#generateColAccessor 
1013   * @return the rangelimit_string <code>Column</code>
1014   */
1015   public final Column<String> getRangelimit_stringColumn() {
1016     return col_rangelimit_string;
1017   }
1018 
1019 
1020  /**
1021   * Retrieve the <code>ValueInfo</code> as a <code>ValueInfo</code>.
1022   *
1023   * See org.melati.poem.prepro.TableDef#generateTableBaseJava 
1024   * @param troid a Table Row Object ID
1025   * @return the <code>Persistent</code> identified by the <code>troid</code>
1026   */
1027   public ValueInfo getValueInfoObject(Integer troid) {
1028     return (ValueInfo)getObject(troid);
1029   }
1030 
1031 
1032  /**
1033   * Retrieve the <code>ValueInfo</code> 
1034   * as a <code>ValueInfo</code>.
1035   *
1036   * See org.melati.poem.prepro.TableDef#generateTableBaseJava 
1037   * @param troid a Table Row Object ID
1038   * @return the <code>Persistent</code> identified   */
1039   public ValueInfo getValueInfoObject(int troid) {
1040     return (ValueInfo)getObject(troid);
1041   }
1042   public int defaultDisplayOrder() {
1043     return 7;
1044   }
1045 }
1046