View Javadoc

1   // Do not edit this file!  It was generated by Melati POEM's DSD preprocessor.
2   
3   package org.paneris.bibliomania.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.Database;
10  import org.melati.poem.DefinitionSource;
11  import org.melati.poem.DisplayLevel;
12  import org.melati.poem.Field;
13  import org.melati.poem.JdbcPersistent;
14  import org.melati.poem.Persistent;
15  import org.melati.poem.PoemException;
16  import org.melati.poem.ReferencePoemType;
17  import org.melati.poem.Searchability;
18  import org.melati.poem.StringPoemType;
19  import org.melati.poem.TroidPoemType;
20  import org.melati.poem.ValidationPoemException;
21  import org.paneris.bibliomania.Advert;
22  import org.paneris.bibliomania.Author;
23  import org.paneris.bibliomania.BibliomaniaDatabaseTables;
24  import org.paneris.bibliomania.Section;
25  import org.paneris.bibliomania.UnitTable;
26  
27  
28  /**
29   * Melati POEM generated base class for <code>Table</code> <code>Author</code>.
30   *
31   * see org.melati.poem.prepro.TableDef#generateTableBaseJava 
32   */
33  
34  public class AuthorTableBase<T extends Author> extends UnitTable<T> {
35  
36    private Column<Integer> col_id = null;
37    private Column<String> col_displayname = null;
38    private Column<String> col_longnameifdifferent = null;
39    private Column<String> col_sortname = null;
40    private Column<Integer> col_section = null;
41    private Column<Integer> col_advert = null;
42    private Column<String> col_metatag_description = null;
43    private Column<String> col_metatag_keywords = null;
44    private Column<String> col_imagefilename = null;
45    private Column<String> col_blurb = null;
46    private Column<String> col_biography = null;
47    private Column<Boolean> col_nonstandard = null;
48  
49   /**
50    * Constructor. 
51    * 
52    * see org.melati.poem.prepro.TableDef#generateTableBaseJava 
53    * @param database          the POEM database we are using
54    * @param name              the name of this <code>Table</code>
55    * @param definitionSource  which definition is being used
56    * @throws PoemException    if anything goes wrong
57    */
58  
59    public AuthorTableBase(
60        Database database, String name,
61        DefinitionSource definitionSource) throws PoemException {
62      super(database, name, definitionSource);
63    }
64  
65  
66   /**
67    * Get the database tables.
68    *
69    * see org.melati.poem.prepro.TableDef#generateTableBaseJava 
70    * @return the database tables
71    */
72    public BibliomaniaDatabaseTables getBibliomaniaDatabaseTables() {
73      return (BibliomaniaDatabaseTables)getDatabase();
74    }
75  
76  
77   /**
78    * Initialise this table by defining its columns.
79    *
80    * see org.melati.poem.prepro.TableDef#generateTableBaseJava 
81    */
82    public void init() throws PoemException {
83      super.init();
84      defineColumn(col_id =
85          new Column<Integer>(this, "id",
86                     new TroidPoemType(),
87                     DefinitionSource.dsd) { 
88            public Object getCooked(Persistent g)
89                throws AccessPoemException, PoemException {
90              return ((Author)g).getId();
91            }
92  
93            public void setCooked(Persistent g, Object cooked)
94                throws AccessPoemException, ValidationPoemException {
95              ((Author)g).setId((Integer)cooked);
96            }
97  
98            public Field<Integer> asField(Persistent g) {
99              return ((Author)g).getIdField();
100           }
101 
102           public boolean defaultUserEditable() {
103             return false;
104           }
105 
106           public boolean defaultUserCreateable() {
107             return false;
108           }
109 
110           public int defaultDisplayOrder() {
111             return 0;
112           }
113 
114           public Object getRaw_unsafe(Persistent g)
115               throws AccessPoemException {
116             return ((Author)g).getId_unsafe();
117           }
118 
119           public void setRaw_unsafe(Persistent g, Object raw)
120               throws AccessPoemException {
121             ((Author)g).setId_unsafe((Integer)raw);
122           }
123 
124           public Object getRaw(Persistent g)
125               throws AccessPoemException {
126             return ((Author)g).getId();
127           }
128 
129           public void setRaw(Persistent g, Object raw)
130               throws AccessPoemException {
131             ((Author)g).setId((Integer)raw);
132           }
133         });
134 
135     defineColumn(col_displayname =
136         new Column<String>(this, "displayname",
137                    new StringPoemType(false, -1),
138                    DefinitionSource.dsd) { 
139           public Object getCooked(Persistent g)
140               throws AccessPoemException, PoemException {
141             return ((Author)g).getDisplayname();
142           }
143 
144           public void setCooked(Persistent g, Object cooked)
145               throws AccessPoemException, ValidationPoemException {
146             ((Author)g).setDisplayname((String)cooked);
147           }
148 
149           public Field<String> asField(Persistent g) {
150             return ((Author)g).getDisplaynameField();
151           }
152 
153           public DisplayLevel defaultDisplayLevel() {
154             return DisplayLevel.primary;
155           }
156 
157           public Searchability defaultSearchability() {
158             return Searchability.primary;
159           }
160 
161           public String defaultDisplayName() {
162             return "Short name";
163           }
164 
165           public int defaultDisplayOrder() {
166             return 1;
167           }
168 
169           public String defaultDescription() {
170             return "The author's full name in short form (`Yule and Burnell')";
171           }
172 
173           public Object getRaw_unsafe(Persistent g)
174               throws AccessPoemException {
175             return ((Author)g).getDisplayname_unsafe();
176           }
177 
178           public void setRaw_unsafe(Persistent g, Object raw)
179               throws AccessPoemException {
180             ((Author)g).setDisplayname_unsafe((String)raw);
181           }
182 
183           public Object getRaw(Persistent g)
184               throws AccessPoemException {
185             return ((Author)g).getDisplayname();
186           }
187 
188           public void setRaw(Persistent g, Object raw)
189               throws AccessPoemException {
190             ((Author)g).setDisplayname((String)raw);
191           }
192         });
193 
194     defineColumn(col_longnameifdifferent =
195         new Column<String>(this, "longnameifdifferent",
196                    new StringPoemType(true, -1),
197                    DefinitionSource.dsd) { 
198           public Object getCooked(Persistent g)
199               throws AccessPoemException, PoemException {
200             return ((Author)g).getLongnameifdifferent();
201           }
202 
203           public void setCooked(Persistent g, Object cooked)
204               throws AccessPoemException, ValidationPoemException {
205             ((Author)g).setLongnameifdifferent((String)cooked);
206           }
207 
208           public Field<String> asField(Persistent g) {
209             return ((Author)g).getLongnameifdifferentField();
210           }
211 
212           public DisplayLevel defaultDisplayLevel() {
213             return DisplayLevel.record;
214           }
215 
216           public String defaultDisplayName() {
217             return "Long name";
218           }
219 
220           public int defaultDisplayOrder() {
221             return 2;
222           }
223 
224           public String defaultDescription() {
225             return "The author's full name in long form (`Col Henry Yule and A. C. Burnell'), if different";
226           }
227 
228           public Object getRaw_unsafe(Persistent g)
229               throws AccessPoemException {
230             return ((Author)g).getLongnameifdifferent_unsafe();
231           }
232 
233           public void setRaw_unsafe(Persistent g, Object raw)
234               throws AccessPoemException {
235             ((Author)g).setLongnameifdifferent_unsafe((String)raw);
236           }
237 
238           public Object getRaw(Persistent g)
239               throws AccessPoemException {
240             return ((Author)g).getLongnameifdifferent();
241           }
242 
243           public void setRaw(Persistent g, Object raw)
244               throws AccessPoemException {
245             ((Author)g).setLongnameifdifferent((String)raw);
246           }
247         });
248 
249     defineColumn(col_sortname =
250         new Column<String>(this, "sortname",
251                    new StringPoemType(true, -1),
252                    DefinitionSource.dsd) { 
253           public Object getCooked(Persistent g)
254               throws AccessPoemException, PoemException {
255             return ((Author)g).getSortname();
256           }
257 
258           public void setCooked(Persistent g, Object cooked)
259               throws AccessPoemException, ValidationPoemException {
260             ((Author)g).setSortname((String)cooked);
261           }
262 
263           public Field<String> asField(Persistent g) {
264             return ((Author)g).getSortnameField();
265           }
266 
267           public DisplayLevel defaultDisplayLevel() {
268             return DisplayLevel.record;
269           }
270 
271           public Integer defaultDisplayOrderPriority() {
272             return new Integer(0);
273           }
274 
275           public int defaultDisplayOrder() {
276             return 3;
277           }
278 
279           public String defaultDescription() {
280             return "A name by which the author should be sorted (`Fenimore Cooper, James')";
281           }
282 
283           public boolean defaultIndexed() {
284             return true;
285           }
286 
287           public Object getRaw_unsafe(Persistent g)
288               throws AccessPoemException {
289             return ((Author)g).getSortname_unsafe();
290           }
291 
292           public void setRaw_unsafe(Persistent g, Object raw)
293               throws AccessPoemException {
294             ((Author)g).setSortname_unsafe((String)raw);
295           }
296 
297           public Object getRaw(Persistent g)
298               throws AccessPoemException {
299             return ((Author)g).getSortname();
300           }
301 
302           public void setRaw(Persistent g, Object raw)
303               throws AccessPoemException {
304             ((Author)g).setSortname((String)raw);
305           }
306         });
307 
308     defineColumn(col_section =
309         new Column<Integer>(this, "section",
310                    new ReferencePoemType(getBibliomaniaDatabaseTables().
311                                              getSectionTable(), true),
312                    DefinitionSource.dsd) { 
313           public Object getCooked(Persistent g)
314               throws AccessPoemException, PoemException {
315             return ((Author)g).getSection();
316           }
317 
318           public void setCooked(Persistent g, Object cooked)
319               throws AccessPoemException, ValidationPoemException {
320             ((Author)g).setSection((Section)cooked);
321           }
322 
323           public Field<Integer> asField(Persistent g) {
324             return ((Author)g).getSectionField();
325           }
326 
327           public DisplayLevel defaultDisplayLevel() {
328             return DisplayLevel.record;
329           }
330 
331           public Searchability defaultSearchability() {
332             return Searchability.yes;
333           }
334 
335           public int defaultDisplayOrder() {
336             return 4;
337           }
338 
339           public Object getRaw_unsafe(Persistent g)
340               throws AccessPoemException {
341             return ((Author)g).getSection_unsafe();
342           }
343 
344           public void setRaw_unsafe(Persistent g, Object raw)
345               throws AccessPoemException {
346             ((Author)g).setSection_unsafe((Integer)raw);
347           }
348 
349           public Object getRaw(Persistent g)
350               throws AccessPoemException {
351             return ((Author)g).getSectionTroid();
352           }
353 
354           public void setRaw(Persistent g, Object raw)
355               throws AccessPoemException {
356             ((Author)g).setSectionTroid((Integer)raw);
357           }
358         });
359 
360     defineColumn(col_advert =
361         new Column<Integer>(this, "advert",
362                    new ReferencePoemType(getBibliomaniaDatabaseTables().
363                                              getAdvertTable(), true),
364                    DefinitionSource.dsd) { 
365           public Object getCooked(Persistent g)
366               throws AccessPoemException, PoemException {
367             return ((Author)g).getAdvert();
368           }
369 
370           public void setCooked(Persistent g, Object cooked)
371               throws AccessPoemException, ValidationPoemException {
372             ((Author)g).setAdvert((Advert)cooked);
373           }
374 
375           public Field<Integer> asField(Persistent g) {
376             return ((Author)g).getAdvertField();
377           }
378 
379           public int defaultDisplayOrder() {
380             return 5;
381           }
382 
383           public String defaultDescription() {
384             return "Advert for this author";
385           }
386 
387           public Object getRaw_unsafe(Persistent g)
388               throws AccessPoemException {
389             return ((Author)g).getAdvert_unsafe();
390           }
391 
392           public void setRaw_unsafe(Persistent g, Object raw)
393               throws AccessPoemException {
394             ((Author)g).setAdvert_unsafe((Integer)raw);
395           }
396 
397           public Object getRaw(Persistent g)
398               throws AccessPoemException {
399             return ((Author)g).getAdvertTroid();
400           }
401 
402           public void setRaw(Persistent g, Object raw)
403               throws AccessPoemException {
404             ((Author)g).setAdvertTroid((Integer)raw);
405           }
406         });
407 
408     defineColumn(col_metatag_description =
409         new Column<String>(this, "metatag_description",
410                    new StringPoemType(true, -1),
411                    DefinitionSource.dsd) { 
412           public Object getCooked(Persistent g)
413               throws AccessPoemException, PoemException {
414             return ((Author)g).getMetatag_description();
415           }
416 
417           public void setCooked(Persistent g, Object cooked)
418               throws AccessPoemException, ValidationPoemException {
419             ((Author)g).setMetatag_description((String)cooked);
420           }
421 
422           public Field<String> asField(Persistent g) {
423             return ((Author)g).getMetatag_descriptionField();
424           }
425 
426           public DisplayLevel defaultDisplayLevel() {
427             return DisplayLevel.record;
428           }
429 
430           public Searchability defaultSearchability() {
431             return Searchability.no;
432           }
433 
434           public int defaultDisplayOrder() {
435             return 6;
436           }
437 
438           public Object getRaw_unsafe(Persistent g)
439               throws AccessPoemException {
440             return ((Author)g).getMetatag_description_unsafe();
441           }
442 
443           public void setRaw_unsafe(Persistent g, Object raw)
444               throws AccessPoemException {
445             ((Author)g).setMetatag_description_unsafe((String)raw);
446           }
447 
448           public Object getRaw(Persistent g)
449               throws AccessPoemException {
450             return ((Author)g).getMetatag_description();
451           }
452 
453           public void setRaw(Persistent g, Object raw)
454               throws AccessPoemException {
455             ((Author)g).setMetatag_description((String)raw);
456           }
457         });
458 
459     defineColumn(col_metatag_keywords =
460         new Column<String>(this, "metatag_keywords",
461                    new StringPoemType(true, -1),
462                    DefinitionSource.dsd) { 
463           public Object getCooked(Persistent g)
464               throws AccessPoemException, PoemException {
465             return ((Author)g).getMetatag_keywords();
466           }
467 
468           public void setCooked(Persistent g, Object cooked)
469               throws AccessPoemException, ValidationPoemException {
470             ((Author)g).setMetatag_keywords((String)cooked);
471           }
472 
473           public Field<String> asField(Persistent g) {
474             return ((Author)g).getMetatag_keywordsField();
475           }
476 
477           public DisplayLevel defaultDisplayLevel() {
478             return DisplayLevel.record;
479           }
480 
481           public Searchability defaultSearchability() {
482             return Searchability.no;
483           }
484 
485           public int defaultDisplayOrder() {
486             return 7;
487           }
488 
489           public Object getRaw_unsafe(Persistent g)
490               throws AccessPoemException {
491             return ((Author)g).getMetatag_keywords_unsafe();
492           }
493 
494           public void setRaw_unsafe(Persistent g, Object raw)
495               throws AccessPoemException {
496             ((Author)g).setMetatag_keywords_unsafe((String)raw);
497           }
498 
499           public Object getRaw(Persistent g)
500               throws AccessPoemException {
501             return ((Author)g).getMetatag_keywords();
502           }
503 
504           public void setRaw(Persistent g, Object raw)
505               throws AccessPoemException {
506             ((Author)g).setMetatag_keywords((String)raw);
507           }
508         });
509 
510     defineColumn(col_imagefilename =
511         new Column<String>(this, "imagefilename",
512                    new StringPoemType(true, -1),
513                    DefinitionSource.dsd) { 
514           public Object getCooked(Persistent g)
515               throws AccessPoemException, PoemException {
516             return ((Author)g).getImagefilename();
517           }
518 
519           public void setCooked(Persistent g, Object cooked)
520               throws AccessPoemException, ValidationPoemException {
521             ((Author)g).setImagefilename((String)cooked);
522           }
523 
524           public Field<String> asField(Persistent g) {
525             return ((Author)g).getImagefilenameField();
526           }
527 
528           public DisplayLevel defaultDisplayLevel() {
529             return DisplayLevel.record;
530           }
531 
532           public Searchability defaultSearchability() {
533             return Searchability.no;
534           }
535 
536           public String defaultDisplayName() {
537             return "Image file name";
538           }
539 
540           public int defaultDisplayOrder() {
541             return 8;
542           }
543 
544           public String defaultDescription() {
545             return "The name, within the book directory, of an image of the author";
546           }
547 
548           public Object getRaw_unsafe(Persistent g)
549               throws AccessPoemException {
550             return ((Author)g).getImagefilename_unsafe();
551           }
552 
553           public void setRaw_unsafe(Persistent g, Object raw)
554               throws AccessPoemException {
555             ((Author)g).setImagefilename_unsafe((String)raw);
556           }
557 
558           public Object getRaw(Persistent g)
559               throws AccessPoemException {
560             return ((Author)g).getImagefilename();
561           }
562 
563           public void setRaw(Persistent g, Object raw)
564               throws AccessPoemException {
565             ((Author)g).setImagefilename((String)raw);
566           }
567         });
568 
569     defineColumn(col_blurb =
570         new Column<String>(this, "blurb",
571                    new StringPoemType(true, -1),
572                    DefinitionSource.dsd) { 
573           public Object getCooked(Persistent g)
574               throws AccessPoemException, PoemException {
575             return ((Author)g).getBlurb();
576           }
577 
578           public void setCooked(Persistent g, Object cooked)
579               throws AccessPoemException, ValidationPoemException {
580             ((Author)g).setBlurb((String)cooked);
581           }
582 
583           public Field<String> asField(Persistent g) {
584             return ((Author)g).getBlurbField();
585           }
586 
587           public DisplayLevel defaultDisplayLevel() {
588             return DisplayLevel.record;
589           }
590 
591           public Searchability defaultSearchability() {
592             return Searchability.no;
593           }
594 
595           public int defaultDisplayOrder() {
596             return 9;
597           }
598 
599           public String defaultDescription() {
600             return "A short blurb to go next to the author image";
601           }
602 
603           public Object getRaw_unsafe(Persistent g)
604               throws AccessPoemException {
605             return ((Author)g).getBlurb_unsafe();
606           }
607 
608           public void setRaw_unsafe(Persistent g, Object raw)
609               throws AccessPoemException {
610             ((Author)g).setBlurb_unsafe((String)raw);
611           }
612 
613           public Object getRaw(Persistent g)
614               throws AccessPoemException {
615             return ((Author)g).getBlurb();
616           }
617 
618           public void setRaw(Persistent g, Object raw)
619               throws AccessPoemException {
620             ((Author)g).setBlurb((String)raw);
621           }
622         });
623 
624     defineColumn(col_biography =
625         new Column<String>(this, "biography",
626                    new StringPoemType(true, -1),
627                    DefinitionSource.dsd) { 
628           public Object getCooked(Persistent g)
629               throws AccessPoemException, PoemException {
630             return ((Author)g).getBiography();
631           }
632 
633           public void setCooked(Persistent g, Object cooked)
634               throws AccessPoemException, ValidationPoemException {
635             ((Author)g).setBiography((String)cooked);
636           }
637 
638           public Field<String> asField(Persistent g) {
639             return ((Author)g).getBiographyField();
640           }
641 
642           public DisplayLevel defaultDisplayLevel() {
643             return DisplayLevel.record;
644           }
645 
646           public Searchability defaultSearchability() {
647             return Searchability.no;
648           }
649 
650           public int defaultDisplayOrder() {
651             return 10;
652           }
653 
654           public String defaultDescription() {
655             return "A biography for the author";
656           }
657 
658           public int defaultWidth() {
659             return 80;
660           }
661 
662           public int defaultHeight() {
663             return 20;
664           }
665 
666           public Object getRaw_unsafe(Persistent g)
667               throws AccessPoemException {
668             return ((Author)g).getBiography_unsafe();
669           }
670 
671           public void setRaw_unsafe(Persistent g, Object raw)
672               throws AccessPoemException {
673             ((Author)g).setBiography_unsafe((String)raw);
674           }
675 
676           public Object getRaw(Persistent g)
677               throws AccessPoemException {
678             return ((Author)g).getBiography();
679           }
680 
681           public void setRaw(Persistent g, Object raw)
682               throws AccessPoemException {
683             ((Author)g).setBiography((String)raw);
684           }
685         });
686 
687     defineColumn(col_nonstandard =
688         new Column<Boolean>(this, "nonstandard",
689                    new BooleanPoemType(false),
690                    DefinitionSource.dsd) { 
691           public Object getCooked(Persistent g)
692               throws AccessPoemException, PoemException {
693             return ((Author)g).getNonstandard();
694           }
695 
696           public void setCooked(Persistent g, Object cooked)
697               throws AccessPoemException, ValidationPoemException {
698             ((Author)g).setNonstandard((Boolean)cooked);
699           }
700 
701           public Field<Boolean> asField(Persistent g) {
702             return ((Author)g).getNonstandardField();
703           }
704 
705           public DisplayLevel defaultDisplayLevel() {
706             return DisplayLevel.record;
707           }
708 
709           public int defaultDisplayOrder() {
710             return 11;
711           }
712 
713           public String defaultDescription() {
714             return "If set then Author.wm is not used, any .wm files in the directory, such as index.wm, are used.";
715           }
716 
717           public Object getRaw_unsafe(Persistent g)
718               throws AccessPoemException {
719             return ((Author)g).getNonstandard_unsafe();
720           }
721 
722           public void setRaw_unsafe(Persistent g, Object raw)
723               throws AccessPoemException {
724             ((Author)g).setNonstandard_unsafe((Boolean)raw);
725           }
726 
727           public Object getRaw(Persistent g)
728               throws AccessPoemException {
729             return ((Author)g).getNonstandard();
730           }
731 
732           public void setRaw(Persistent g, Object raw)
733               throws AccessPoemException {
734             ((Author)g).setNonstandard((Boolean)raw);
735           }
736         });
737   }
738 
739 
740  /**
741   * Retrieves the <code>Id</code> <code>Column</code> for this 
742   * <code>Author</code> <code>Table</code>.
743   * 
744   * see org.melati.poem.prepro.FieldDef#generateColAccessor 
745   * @return the id <code>Column</code>
746   */
747   public final Column<Integer> getIdColumn() {
748     return col_id;
749   }
750 
751 
752  /**
753   * Retrieves the <code>Displayname</code> <code>Column</code> for this 
754   * <code>Author</code> <code>Table</code>.
755   * 
756   * see org.melati.poem.prepro.FieldDef#generateColAccessor 
757   * @return the displayname <code>Column</code>
758   */
759   public final Column<String> getDisplaynameColumn() {
760     return col_displayname;
761   }
762 
763 
764  /**
765   * Retrieves the <code>Longnameifdifferent</code> <code>Column</code> for this 
766   * <code>Author</code> <code>Table</code>.
767   * 
768   * see org.melati.poem.prepro.FieldDef#generateColAccessor 
769   * @return the longnameifdifferent <code>Column</code>
770   */
771   public final Column<String> getLongnameifdifferentColumn() {
772     return col_longnameifdifferent;
773   }
774 
775 
776  /**
777   * Retrieves the <code>Sortname</code> <code>Column</code> for this 
778   * <code>Author</code> <code>Table</code>.
779   * 
780   * see org.melati.poem.prepro.FieldDef#generateColAccessor 
781   * @return the sortname <code>Column</code>
782   */
783   public final Column<String> getSortnameColumn() {
784     return col_sortname;
785   }
786 
787 
788  /**
789   * Retrieves the <code>Section</code> <code>Column</code> for this 
790   * <code>Author</code> <code>Table</code>.
791   * 
792   * see org.melati.poem.prepro.FieldDef#generateColAccessor 
793   * @return the section <code>Column</code>
794   */
795   public final Column<Integer> getSectionColumn() {
796     return col_section;
797   }
798 
799 
800  /**
801   * Retrieves the <code>Advert</code> <code>Column</code> for this 
802   * <code>Author</code> <code>Table</code>.
803   * 
804   * see org.melati.poem.prepro.FieldDef#generateColAccessor 
805   * @return the advert <code>Column</code>
806   */
807   public final Column<Integer> getAdvertColumn() {
808     return col_advert;
809   }
810 
811 
812  /**
813   * Retrieves the <code>Metatag_description</code> <code>Column</code> for this 
814   * <code>Author</code> <code>Table</code>.
815   * 
816   * see org.melati.poem.prepro.FieldDef#generateColAccessor 
817   * @return the metatag_description <code>Column</code>
818   */
819   public final Column<String> getMetatag_descriptionColumn() {
820     return col_metatag_description;
821   }
822 
823 
824  /**
825   * Retrieves the <code>Metatag_keywords</code> <code>Column</code> for this 
826   * <code>Author</code> <code>Table</code>.
827   * 
828   * see org.melati.poem.prepro.FieldDef#generateColAccessor 
829   * @return the metatag_keywords <code>Column</code>
830   */
831   public final Column<String> getMetatag_keywordsColumn() {
832     return col_metatag_keywords;
833   }
834 
835 
836  /**
837   * Retrieves the <code>Imagefilename</code> <code>Column</code> for this 
838   * <code>Author</code> <code>Table</code>.
839   * 
840   * see org.melati.poem.prepro.FieldDef#generateColAccessor 
841   * @return the imagefilename <code>Column</code>
842   */
843   public final Column<String> getImagefilenameColumn() {
844     return col_imagefilename;
845   }
846 
847 
848  /**
849   * Retrieves the <code>Blurb</code> <code>Column</code> for this 
850   * <code>Author</code> <code>Table</code>.
851   * 
852   * see org.melati.poem.prepro.FieldDef#generateColAccessor 
853   * @return the blurb <code>Column</code>
854   */
855   public final Column<String> getBlurbColumn() {
856     return col_blurb;
857   }
858 
859 
860  /**
861   * Retrieves the <code>Biography</code> <code>Column</code> for this 
862   * <code>Author</code> <code>Table</code>.
863   * 
864   * see org.melati.poem.prepro.FieldDef#generateColAccessor 
865   * @return the biography <code>Column</code>
866   */
867   public final Column<String> getBiographyColumn() {
868     return col_biography;
869   }
870 
871 
872  /**
873   * Retrieves the <code>Nonstandard</code> <code>Column</code> for this 
874   * <code>Author</code> <code>Table</code>.
875   * 
876   * see org.melati.poem.prepro.FieldDef#generateColAccessor 
877   * @return the nonstandard <code>Column</code>
878   */
879   public final Column<Boolean> getNonstandardColumn() {
880     return col_nonstandard;
881   }
882 
883 
884  /**
885   * Retrieve the <code>Author</code> as a <code>Author</code>.
886   *
887   * see org.melati.poem.prepro.TableDef#generateTableBaseJava 
888   * @param troid a Table Row Oject ID
889   * @return the <code>Persistent</code> identified by the <code>troid</code>
890   */
891   public Author getAuthorObject(Integer troid) {
892     return (Author)getObject(troid);
893   }
894 
895 
896  /**
897   * Retrieve the <code>Author</code> 
898   * as a <code>Author</code>.
899   *
900   * see org.melati.poem.prepro.TableDef#generateTableBaseJava 
901   * @param troid a Table Row Object ID
902   * @return the <code>Persistent</code> identified   */
903   public Author getAuthorObject(int troid) {
904     return (Author)getObject(troid);
905   }
906 
907   protected JdbcPersistent _newPersistent() {
908     return new Author();
909   }
910   public String defaultDescription() {
911     return "An author of books or other works";
912   }
913 
914   public int defaultDisplayOrder() {
915     return 300;
916   }
917 }
918