View Javadoc
1   // Do not edit this file!  It was generated by Melati POEM's DSD preprocessor.
2   
3   package org.melati.poem.test.generated;
4   
5   
6   import java.math.BigDecimal;
7   import java.sql.Date;
8   import java.sql.Timestamp;
9   import org.melati.poem.AccessPoemException;
10  import org.melati.poem.BigDecimalPoemType;
11  import org.melati.poem.BinaryPoemType;
12  import org.melati.poem.BooleanPoemType;
13  import org.melati.poem.Column;
14  import org.melati.poem.Database;
15  import org.melati.poem.DatePoemType;
16  import org.melati.poem.DefinitionSource;
17  import org.melati.poem.DisplayLevel;
18  import org.melati.poem.DoublePoemType;
19  import org.melati.poem.Field;
20  import org.melati.poem.IntegerPoemType;
21  import org.melati.poem.JdbcPersistent;
22  import org.melati.poem.LongPoemType;
23  import org.melati.poem.PasswordPoemType;
24  import org.melati.poem.Persistent;
25  import org.melati.poem.PoemException;
26  import org.melati.poem.Searchability;
27  import org.melati.poem.StringPoemType;
28  import org.melati.poem.TimestampPoemType;
29  import org.melati.poem.ValidationPoemException;
30  import org.melati.poem.test.ENExtended;
31  import org.melati.poem.test.EverythingDatabaseTables;
32  import org.melati.poem.test.EverythingNormalTable;
33  
34  
35  /**
36   * Melati POEM generated base class for <code>Table</code> <code>ENExtended</code>.
37   *
38   * See org.melati.poem.prepro.TableDef#generateTableBaseJava 
39   */
40  
41  public class ENExtendedTableBase<T extends ENExtended> extends EverythingNormalTable<T> {
42  
43    private Column<byte[]> col_binaryfield2 = null;
44    private Column<String> col_stringfield2 = null;
45    private Column<String> col_passwordfield2 = null;
46    private Column<Boolean> col_booleanfield2 = null;
47    private Column<Date> col_datefield2 = null;
48    private Column<Double> col_doublefield2 = null;
49    private Column<Integer> col_integerfield2 = null;
50    private Column<Long> col_longfield2 = null;
51    private Column<BigDecimal> col_bigdecimalfield2 = null;
52    private Column<Timestamp> col_timestampfield2 = null;
53  
54   /**
55    * Constructor. 
56    * 
57    * See org.melati.poem.prepro.TableDef#generateTableBaseJava 
58    * @param database          the POEM database we are using
59    * @param name              the name of this <code>Table</code>
60    * @param definitionSource  which definition is being used
61    * @throws PoemException    if anything goes wrong
62    */
63  
64    public ENExtendedTableBase(
65        Database database, String name,
66        DefinitionSource definitionSource) throws PoemException {
67      super(database, name, definitionSource);
68    }
69  
70  
71   /**
72    * Get the database tables.
73    *
74    * See org.melati.poem.prepro.TableDef#generateTableBaseJava 
75    * @return the database tables
76    */
77    public EverythingDatabaseTables getEverythingDatabaseTables() {
78      return (EverythingDatabaseTables)getDatabase();
79    }
80  
81  
82   /**
83    * Initialise this table by defining its columns.
84    *
85    * See org.melati.poem.prepro.TableDef#generateTableBaseJava 
86    */
87    public void init() throws PoemException {
88      super.init();
89      defineColumn(col_binaryfield2 =
90          new Column<byte[]>(this, "binaryfield2",
91                     new BinaryPoemType(true, 13),
92                     DefinitionSource.dsd) { 
93            public Object getCooked(Persistent g)
94                throws AccessPoemException, PoemException {
95              return ((ENExtended)g).getBinaryfield2();
96            }
97  
98            public void setCooked(Persistent g, Object cooked)
99                throws AccessPoemException, ValidationPoemException {
100             ((ENExtended)g).setBinaryfield2((byte[])cooked);
101           }
102 
103           public Field<byte[]> asField(Persistent g) {
104             return ((ENExtended)g).getBinaryfield2Field();
105           }
106 
107           public boolean defaultUserEditable() {
108             return false;
109           }
110 
111           public boolean defaultUserCreateable() {
112             return false;
113           }
114 
115           public DisplayLevel defaultDisplayLevel() {
116             return DisplayLevel.summary;
117           }
118 
119           public Searchability defaultSearchability() {
120             return Searchability.no;
121           }
122 
123           public String defaultDisplayName() {
124             return "Binaryfield2";
125           }
126 
127           public int defaultDisplayOrder() {
128             return 11;
129           }
130 
131           public String defaultDescription() {
132             return "Second Binary Field";
133           }
134 
135           public int defaultWidth() {
136             return 20;
137           }
138 
139           public int defaultHeight() {
140             return 1;
141           }
142 
143           public Object getRaw_unsafe(Persistent g)
144               throws AccessPoemException {
145             return ((ENExtended)g).getBinaryfield2_unsafe();
146           }
147 
148           public void setRaw_unsafe(Persistent g, Object raw)
149               throws AccessPoemException {
150             ((ENExtended)g).setBinaryfield2_unsafe((byte[])raw);
151           }
152 
153           public Object getRaw(Persistent g)
154               throws AccessPoemException {
155             return ((ENExtended)g).getBinaryfield2();
156           }
157 
158           public void setRaw(Persistent g, Object raw)
159               throws AccessPoemException {
160             ((ENExtended)g).setBinaryfield2((byte[])raw);
161           }
162         });
163 
164     defineColumn(col_stringfield2 =
165         new Column<String>(this, "stringfield2",
166                    new StringPoemType(true, 23),
167                    DefinitionSource.dsd) { 
168           public Object getCooked(Persistent g)
169               throws AccessPoemException, PoemException {
170             return ((ENExtended)g).getStringfield2();
171           }
172 
173           public void setCooked(Persistent g, Object cooked)
174               throws AccessPoemException, ValidationPoemException {
175             ((ENExtended)g).setStringfield2((String)cooked);
176           }
177 
178           public Field<String> asField(Persistent g) {
179             return ((ENExtended)g).getStringfield2Field();
180           }
181 
182           public DisplayLevel defaultDisplayLevel() {
183             return DisplayLevel.primary;
184           }
185 
186           public Searchability defaultSearchability() {
187             return Searchability.yes;
188           }
189 
190           public String defaultDisplayName() {
191             return "String Field 2";
192           }
193 
194           public int defaultDisplayOrder() {
195             return 20;
196           }
197 
198           public String defaultDescription() {
199             return "Second String Field";
200           }
201 
202           public boolean defaultUnique() {
203             return true;
204           }
205 
206           public int defaultWidth() {
207             return 20;
208           }
209 
210           public int defaultHeight() {
211             return 3;
212           }
213 
214           public Object getRaw_unsafe(Persistent g)
215               throws AccessPoemException {
216             return ((ENExtended)g).getStringfield2_unsafe();
217           }
218 
219           public void setRaw_unsafe(Persistent g, Object raw)
220               throws AccessPoemException {
221             ((ENExtended)g).setStringfield2_unsafe((String)raw);
222           }
223 
224           public Object getRaw(Persistent g)
225               throws AccessPoemException {
226             return ((ENExtended)g).getStringfield2();
227           }
228 
229           public void setRaw(Persistent g, Object raw)
230               throws AccessPoemException {
231             ((ENExtended)g).setStringfield2((String)raw);
232           }
233         });
234 
235     defineColumn(col_passwordfield2 =
236         new Column<String>(this, "passwordfield2",
237                    new PasswordPoemType(true, 23),
238                    DefinitionSource.dsd) { 
239           public Object getCooked(Persistent g)
240               throws AccessPoemException, PoemException {
241             return ((ENExtended)g).getPasswordfield2();
242           }
243 
244           public void setCooked(Persistent g, Object cooked)
245               throws AccessPoemException, ValidationPoemException {
246             ((ENExtended)g).setPasswordfield2((String)cooked);
247           }
248 
249           public Field<String> asField(Persistent g) {
250             return ((ENExtended)g).getPasswordfield2Field();
251           }
252 
253           public DisplayLevel defaultDisplayLevel() {
254             return DisplayLevel.summary;
255           }
256 
257           public Searchability defaultSearchability() {
258             return Searchability.yes;
259           }
260 
261           public String defaultDisplayName() {
262             return "Password Field 2";
263           }
264 
265           public int defaultDisplayOrder() {
266             return 13;
267           }
268 
269           public String defaultDescription() {
270             return "Second Password Field";
271           }
272 
273           public int defaultWidth() {
274             return 20;
275           }
276 
277           public int defaultHeight() {
278             return 1;
279           }
280 
281           public Object getRaw_unsafe(Persistent g)
282               throws AccessPoemException {
283             return ((ENExtended)g).getPasswordfield2_unsafe();
284           }
285 
286           public void setRaw_unsafe(Persistent g, Object raw)
287               throws AccessPoemException {
288             ((ENExtended)g).setPasswordfield2_unsafe((String)raw);
289           }
290 
291           public Object getRaw(Persistent g)
292               throws AccessPoemException {
293             return ((ENExtended)g).getPasswordfield2();
294           }
295 
296           public void setRaw(Persistent g, Object raw)
297               throws AccessPoemException {
298             ((ENExtended)g).setPasswordfield2((String)raw);
299           }
300         });
301 
302     defineColumn(col_booleanfield2 =
303         new Column<Boolean>(this, "booleanfield2",
304                    new BooleanPoemType(true),
305                    DefinitionSource.dsd) { 
306           public Object getCooked(Persistent g)
307               throws AccessPoemException, PoemException {
308             return ((ENExtended)g).getBooleanfield2();
309           }
310 
311           public void setCooked(Persistent g, Object cooked)
312               throws AccessPoemException, ValidationPoemException {
313             ((ENExtended)g).setBooleanfield2((Boolean)cooked);
314           }
315 
316           public Field<Boolean> asField(Persistent g) {
317             return ((ENExtended)g).getBooleanfield2Field();
318           }
319 
320           public DisplayLevel defaultDisplayLevel() {
321             return DisplayLevel.summary;
322           }
323 
324           public Searchability defaultSearchability() {
325             return Searchability.yes;
326           }
327 
328           public String defaultDisplayName() {
329             return "Boolean Field 2";
330           }
331 
332           public int defaultDisplayOrder() {
333             return 14;
334           }
335 
336           public String defaultDescription() {
337             return "Second Boolean Field";
338           }
339 
340           public int defaultWidth() {
341             return 20;
342           }
343 
344           public int defaultHeight() {
345             return 1;
346           }
347 
348           public Object getRaw_unsafe(Persistent g)
349               throws AccessPoemException {
350             return ((ENExtended)g).getBooleanfield2_unsafe();
351           }
352 
353           public void setRaw_unsafe(Persistent g, Object raw)
354               throws AccessPoemException {
355             ((ENExtended)g).setBooleanfield2_unsafe((Boolean)raw);
356           }
357 
358           public Object getRaw(Persistent g)
359               throws AccessPoemException {
360             return ((ENExtended)g).getBooleanfield2();
361           }
362 
363           public void setRaw(Persistent g, Object raw)
364               throws AccessPoemException {
365             ((ENExtended)g).setBooleanfield2((Boolean)raw);
366           }
367         });
368 
369     defineColumn(col_datefield2 =
370         new Column<Date>(this, "datefield2",
371                    new DatePoemType(true),
372                    DefinitionSource.dsd) { 
373           public Object getCooked(Persistent g)
374               throws AccessPoemException, PoemException {
375             return ((ENExtended)g).getDatefield2();
376           }
377 
378           public void setCooked(Persistent g, Object cooked)
379               throws AccessPoemException, ValidationPoemException {
380             ((ENExtended)g).setDatefield2((Date)cooked);
381           }
382 
383           public Field<Date> asField(Persistent g) {
384             return ((ENExtended)g).getDatefield2Field();
385           }
386 
387           public DisplayLevel defaultDisplayLevel() {
388             return DisplayLevel.summary;
389           }
390 
391           public Searchability defaultSearchability() {
392             return Searchability.yes;
393           }
394 
395           public String defaultDisplayName() {
396             return "Date Field 2";
397           }
398 
399           public int defaultDisplayOrder() {
400             return 15;
401           }
402 
403           public String defaultDescription() {
404             return "Second Date Field";
405           }
406 
407           public int defaultWidth() {
408             return 20;
409           }
410 
411           public int defaultHeight() {
412             return 1;
413           }
414 
415           public Object getRaw_unsafe(Persistent g)
416               throws AccessPoemException {
417             return ((ENExtended)g).getDatefield2_unsafe();
418           }
419 
420           public void setRaw_unsafe(Persistent g, Object raw)
421               throws AccessPoemException {
422             ((ENExtended)g).setDatefield2_unsafe((Date)raw);
423           }
424 
425           public Object getRaw(Persistent g)
426               throws AccessPoemException {
427             return ((ENExtended)g).getDatefield2();
428           }
429 
430           public void setRaw(Persistent g, Object raw)
431               throws AccessPoemException {
432             ((ENExtended)g).setDatefield2((Date)raw);
433           }
434         });
435 
436     defineColumn(col_doublefield2 =
437         new Column<Double>(this, "doublefield2",
438                    new DoublePoemType(true),
439                    DefinitionSource.dsd) { 
440           public Object getCooked(Persistent g)
441               throws AccessPoemException, PoemException {
442             return ((ENExtended)g).getDoublefield2();
443           }
444 
445           public void setCooked(Persistent g, Object cooked)
446               throws AccessPoemException, ValidationPoemException {
447             ((ENExtended)g).setDoublefield2((Double)cooked);
448           }
449 
450           public Field<Double> asField(Persistent g) {
451             return ((ENExtended)g).getDoublefield2Field();
452           }
453 
454           public DisplayLevel defaultDisplayLevel() {
455             return DisplayLevel.summary;
456           }
457 
458           public Searchability defaultSearchability() {
459             return Searchability.yes;
460           }
461 
462           public String defaultDisplayName() {
463             return "Double Field 2";
464           }
465 
466           public int defaultDisplayOrder() {
467             return 16;
468           }
469 
470           public String defaultDescription() {
471             return "Second Double Field";
472           }
473 
474           public int defaultWidth() {
475             return 20;
476           }
477 
478           public int defaultHeight() {
479             return 1;
480           }
481 
482           public Object getRaw_unsafe(Persistent g)
483               throws AccessPoemException {
484             return ((ENExtended)g).getDoublefield2_unsafe();
485           }
486 
487           public void setRaw_unsafe(Persistent g, Object raw)
488               throws AccessPoemException {
489             ((ENExtended)g).setDoublefield2_unsafe((Double)raw);
490           }
491 
492           public Object getRaw(Persistent g)
493               throws AccessPoemException {
494             return ((ENExtended)g).getDoublefield2();
495           }
496 
497           public void setRaw(Persistent g, Object raw)
498               throws AccessPoemException {
499             ((ENExtended)g).setDoublefield2((Double)raw);
500           }
501         });
502 
503     defineColumn(col_integerfield2 =
504         new Column<Integer>(this, "integerfield2",
505                    new IntegerPoemType(true),
506                    DefinitionSource.dsd) { 
507           public Object getCooked(Persistent g)
508               throws AccessPoemException, PoemException {
509             return ((ENExtended)g).getIntegerfield2();
510           }
511 
512           public void setCooked(Persistent g, Object cooked)
513               throws AccessPoemException, ValidationPoemException {
514             ((ENExtended)g).setIntegerfield2((Integer)cooked);
515           }
516 
517           public Field<Integer> asField(Persistent g) {
518             return ((ENExtended)g).getIntegerfield2Field();
519           }
520 
521           public DisplayLevel defaultDisplayLevel() {
522             return DisplayLevel.summary;
523           }
524 
525           public Searchability defaultSearchability() {
526             return Searchability.yes;
527           }
528 
529           public String defaultDisplayName() {
530             return "Integer Field 2";
531           }
532 
533           public int defaultDisplayOrder() {
534             return 17;
535           }
536 
537           public String defaultDescription() {
538             return "Second Integer Field";
539           }
540 
541           public int defaultWidth() {
542             return 20;
543           }
544 
545           public int defaultHeight() {
546             return 1;
547           }
548 
549           public Object getRaw_unsafe(Persistent g)
550               throws AccessPoemException {
551             return ((ENExtended)g).getIntegerfield2_unsafe();
552           }
553 
554           public void setRaw_unsafe(Persistent g, Object raw)
555               throws AccessPoemException {
556             ((ENExtended)g).setIntegerfield2_unsafe((Integer)raw);
557           }
558 
559           public Object getRaw(Persistent g)
560               throws AccessPoemException {
561             return ((ENExtended)g).getIntegerfield2();
562           }
563 
564           public void setRaw(Persistent g, Object raw)
565               throws AccessPoemException {
566             ((ENExtended)g).setIntegerfield2((Integer)raw);
567           }
568         });
569 
570     defineColumn(col_longfield2 =
571         new Column<Long>(this, "longfield2",
572                    new LongPoemType(true),
573                    DefinitionSource.dsd) { 
574           public Object getCooked(Persistent g)
575               throws AccessPoemException, PoemException {
576             return ((ENExtended)g).getLongfield2();
577           }
578 
579           public void setCooked(Persistent g, Object cooked)
580               throws AccessPoemException, ValidationPoemException {
581             ((ENExtended)g).setLongfield2((Long)cooked);
582           }
583 
584           public Field<Long> asField(Persistent g) {
585             return ((ENExtended)g).getLongfield2Field();
586           }
587 
588           public DisplayLevel defaultDisplayLevel() {
589             return DisplayLevel.summary;
590           }
591 
592           public Searchability defaultSearchability() {
593             return Searchability.yes;
594           }
595 
596           public String defaultDisplayName() {
597             return "Long Field 2";
598           }
599 
600           public int defaultDisplayOrder() {
601             return 18;
602           }
603 
604           public String defaultDescription() {
605             return "Second Long Field";
606           }
607 
608           public int defaultWidth() {
609             return 20;
610           }
611 
612           public int defaultHeight() {
613             return 1;
614           }
615 
616           public Object getRaw_unsafe(Persistent g)
617               throws AccessPoemException {
618             return ((ENExtended)g).getLongfield2_unsafe();
619           }
620 
621           public void setRaw_unsafe(Persistent g, Object raw)
622               throws AccessPoemException {
623             ((ENExtended)g).setLongfield2_unsafe((Long)raw);
624           }
625 
626           public Object getRaw(Persistent g)
627               throws AccessPoemException {
628             return ((ENExtended)g).getLongfield2();
629           }
630 
631           public void setRaw(Persistent g, Object raw)
632               throws AccessPoemException {
633             ((ENExtended)g).setLongfield2((Long)raw);
634           }
635         });
636 
637     defineColumn(col_bigdecimalfield2 =
638         new Column<BigDecimal>(this, "bigdecimalfield2",
639                    new BigDecimalPoemType(true, 22, 2),
640                    DefinitionSource.dsd) { 
641           public Object getCooked(Persistent g)
642               throws AccessPoemException, PoemException {
643             return ((ENExtended)g).getBigdecimalfield2();
644           }
645 
646           public void setCooked(Persistent g, Object cooked)
647               throws AccessPoemException, ValidationPoemException {
648             ((ENExtended)g).setBigdecimalfield2((BigDecimal)cooked);
649           }
650 
651           public Field<BigDecimal> asField(Persistent g) {
652             return ((ENExtended)g).getBigdecimalfield2Field();
653           }
654 
655           public DisplayLevel defaultDisplayLevel() {
656             return DisplayLevel.summary;
657           }
658 
659           public Searchability defaultSearchability() {
660             return Searchability.yes;
661           }
662 
663           public String defaultDisplayName() {
664             return "BigDecimal Field 2";
665           }
666 
667           public int defaultDisplayOrder() {
668             return 19;
669           }
670 
671           public String defaultDescription() {
672             return "Second BigDecimal Field";
673           }
674 
675           public int defaultWidth() {
676             return 20;
677           }
678 
679           public int defaultHeight() {
680             return 1;
681           }
682 
683           public Object getRaw_unsafe(Persistent g)
684               throws AccessPoemException {
685             return ((ENExtended)g).getBigdecimalfield2_unsafe();
686           }
687 
688           public void setRaw_unsafe(Persistent g, Object raw)
689               throws AccessPoemException {
690             ((ENExtended)g).setBigdecimalfield2_unsafe((BigDecimal)raw);
691           }
692 
693           public Object getRaw(Persistent g)
694               throws AccessPoemException {
695             return ((ENExtended)g).getBigdecimalfield2();
696           }
697 
698           public void setRaw(Persistent g, Object raw)
699               throws AccessPoemException {
700             ((ENExtended)g).setBigdecimalfield2((BigDecimal)raw);
701           }
702         });
703 
704     defineColumn(col_timestampfield2 =
705         new Column<Timestamp>(this, "timestampfield2",
706                    new TimestampPoemType(true),
707                    DefinitionSource.dsd) { 
708           public Object getCooked(Persistent g)
709               throws AccessPoemException, PoemException {
710             return ((ENExtended)g).getTimestampfield2();
711           }
712 
713           public void setCooked(Persistent g, Object cooked)
714               throws AccessPoemException, ValidationPoemException {
715             ((ENExtended)g).setTimestampfield2((Timestamp)cooked);
716           }
717 
718           public Field<Timestamp> asField(Persistent g) {
719             return ((ENExtended)g).getTimestampfield2Field();
720           }
721 
722           public DisplayLevel defaultDisplayLevel() {
723             return DisplayLevel.summary;
724           }
725 
726           public Searchability defaultSearchability() {
727             return Searchability.yes;
728           }
729 
730           public String defaultDisplayName() {
731             return "Timestamp Field 2";
732           }
733 
734           public int defaultDisplayOrder() {
735             return 20;
736           }
737 
738           public String defaultDescription() {
739             return "Second Timestamp Field";
740           }
741 
742           public int defaultWidth() {
743             return 20;
744           }
745 
746           public int defaultHeight() {
747             return 1;
748           }
749 
750           public Object getRaw_unsafe(Persistent g)
751               throws AccessPoemException {
752             return ((ENExtended)g).getTimestampfield2_unsafe();
753           }
754 
755           public void setRaw_unsafe(Persistent g, Object raw)
756               throws AccessPoemException {
757             ((ENExtended)g).setTimestampfield2_unsafe((Timestamp)raw);
758           }
759 
760           public Object getRaw(Persistent g)
761               throws AccessPoemException {
762             return ((ENExtended)g).getTimestampfield2();
763           }
764 
765           public void setRaw(Persistent g, Object raw)
766               throws AccessPoemException {
767             ((ENExtended)g).setTimestampfield2((Timestamp)raw);
768           }
769         });
770   }
771 
772 
773  /**
774   * Retrieves the <code>Binaryfield2</code> <code>Column</code> for this 
775   * <code>ENExtended</code> <code>Table</code>.
776   * 
777   * see org.melati.poem.prepro.FieldDef#generateColAccessor 
778   * @return the binaryfield2 <code>Column</code>
779   */
780   public final Column<byte[]> getBinaryfield2Column() {
781     return col_binaryfield2;
782   }
783 
784 
785  /**
786   * Retrieves the <code>Stringfield2</code> <code>Column</code> for this 
787   * <code>ENExtended</code> <code>Table</code>.
788   * 
789   * see org.melati.poem.prepro.FieldDef#generateColAccessor 
790   * @return the stringfield2 <code>Column</code>
791   */
792   public final Column<String> getStringfield2Column() {
793     return col_stringfield2;
794   }
795 
796 
797  /**
798   * Retrieves the <code>Passwordfield2</code> <code>Column</code> for this 
799   * <code>ENExtended</code> <code>Table</code>.
800   * 
801   * see org.melati.poem.prepro.FieldDef#generateColAccessor 
802   * @return the passwordfield2 <code>Column</code>
803   */
804   public final Column<String> getPasswordfield2Column() {
805     return col_passwordfield2;
806   }
807 
808 
809  /**
810   * Retrieves the <code>Booleanfield2</code> <code>Column</code> for this 
811   * <code>ENExtended</code> <code>Table</code>.
812   * 
813   * see org.melati.poem.prepro.FieldDef#generateColAccessor 
814   * @return the booleanfield2 <code>Column</code>
815   */
816   public final Column<Boolean> getBooleanfield2Column() {
817     return col_booleanfield2;
818   }
819 
820 
821  /**
822   * Retrieves the <code>Datefield2</code> <code>Column</code> for this 
823   * <code>ENExtended</code> <code>Table</code>.
824   * 
825   * see org.melati.poem.prepro.FieldDef#generateColAccessor 
826   * @return the datefield2 <code>Column</code>
827   */
828   public final Column<Date> getDatefield2Column() {
829     return col_datefield2;
830   }
831 
832 
833  /**
834   * Retrieves the <code>Doublefield2</code> <code>Column</code> for this 
835   * <code>ENExtended</code> <code>Table</code>.
836   * 
837   * see org.melati.poem.prepro.FieldDef#generateColAccessor 
838   * @return the doublefield2 <code>Column</code>
839   */
840   public final Column<Double> getDoublefield2Column() {
841     return col_doublefield2;
842   }
843 
844 
845  /**
846   * Retrieves the <code>Integerfield2</code> <code>Column</code> for this 
847   * <code>ENExtended</code> <code>Table</code>.
848   * 
849   * see org.melati.poem.prepro.FieldDef#generateColAccessor 
850   * @return the integerfield2 <code>Column</code>
851   */
852   public final Column<Integer> getIntegerfield2Column() {
853     return col_integerfield2;
854   }
855 
856 
857  /**
858   * Retrieves the <code>Longfield2</code> <code>Column</code> for this 
859   * <code>ENExtended</code> <code>Table</code>.
860   * 
861   * see org.melati.poem.prepro.FieldDef#generateColAccessor 
862   * @return the longfield2 <code>Column</code>
863   */
864   public final Column<Long> getLongfield2Column() {
865     return col_longfield2;
866   }
867 
868 
869  /**
870   * Retrieves the <code>Bigdecimalfield2</code> <code>Column</code> for this 
871   * <code>ENExtended</code> <code>Table</code>.
872   * 
873   * see org.melati.poem.prepro.FieldDef#generateColAccessor 
874   * @return the bigdecimalfield2 <code>Column</code>
875   */
876   public final Column<BigDecimal> getBigdecimalfield2Column() {
877     return col_bigdecimalfield2;
878   }
879 
880 
881  /**
882   * Retrieves the <code>Timestampfield2</code> <code>Column</code> for this 
883   * <code>ENExtended</code> <code>Table</code>.
884   * 
885   * see org.melati.poem.prepro.FieldDef#generateColAccessor 
886   * @return the timestampfield2 <code>Column</code>
887   */
888   public final Column<Timestamp> getTimestampfield2Column() {
889     return col_timestampfield2;
890   }
891 
892 
893  /**
894   * Retrieve the <code>ENExtended</code> as a <code>ENExtended</code>.
895   *
896   * See org.melati.poem.prepro.TableDef#generateTableBaseJava 
897   * @param troid a Table Row Object ID
898   * @return the <code>Persistent</code> identified by the <code>troid</code>
899   */
900   public ENExtended getENExtendedObject(Integer troid) {
901     return (ENExtended)getObject(troid);
902   }
903 
904 
905  /**
906   * Retrieve the <code>ENExtended</code> 
907   * as a <code>ENExtended</code>.
908   *
909   * See org.melati.poem.prepro.TableDef#generateTableBaseJava 
910   * @param troid a Table Row Object ID
911   * @return the <code>Persistent</code> identified   */
912   public ENExtended getENExtendedObject(int troid) {
913     return (ENExtended)getObject(troid);
914   }
915 
916   protected JdbcPersistent _newPersistent() {
917     return new ENExtended();
918   }
919   public String defaultDisplayName() {
920     return "Everything Normal Extended";
921   }
922 
923   public String defaultDescription() {
924     return "Every datatype inheritted from a normal table and normally defined";
925   }
926 
927   public Integer defaultCacheLimit() {
928     return new Integer(100);
929   }
930 
931   public String defaultCategory() {
932     return "Normal";
933   }
934 
935   public int defaultDisplayOrder() {
936     return 70;
937   }
938 }
939