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