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.Column;
8   import org.melati.poem.Field;
9   import org.melati.poem.NoSuchRowPoemException;
10  import org.melati.poem.ValidationPoemException;
11  import org.paneris.bibliomania.Advert;
12  import org.paneris.bibliomania.AuthorTable;
13  import org.paneris.bibliomania.BibliomaniaDatabaseTables;
14  import org.paneris.bibliomania.Section;
15  import org.paneris.bibliomania.Unit;
16  
17  
18  /**
19   * Melati POEM generated abstract base class for a <code>Persistent</code> 
20   * <code>Author</code> Object.
21   *
22   * @generator org.melati.poem.prepro.TableDef#generatePersistentBaseJava 
23   */
24  public abstract class AuthorBase extends Unit {
25  
26  
27   /**
28    * Retrieves the Database object.
29    * 
30    * @generator org.melati.poem.prepro.TableDef#generatePersistentBaseJava 
31    * @return the database
32    */
33    public BibliomaniaDatabaseTables getBibliomaniaDatabaseTables() {
34      return (BibliomaniaDatabaseTables)getDatabase();
35    }
36  
37  
38   /**
39    * Retrieves the  <code>AuthorTable</code> table 
40    * which this <code>Persistent</code> is from.
41    * 
42    * @generator org.melati.poem.prepro.TableDef#generatePersistentBaseJava 
43    * @return the AuthorTable
44    */
45    public AuthorTable getAuthorTable() {
46      return (AuthorTable)getTable();
47    }
48  
49    private AuthorTable _getAuthorTable() {
50      return (AuthorTable)getTable();
51    }
52  
53    // Fields in this table 
54   /**
55    * id 
56    */
57    protected Integer id;
58   /**
59    * Short name - The author's full name in short form (`Yule and Burnell') 
60    */
61    protected String displayname;
62   /**
63    * Long name - The author's full name in long form (`Col Henry Yule and A. 
64    * C. Burnell'), if different 
65    */
66    protected String longnameifdifferent;
67   /**
68    * sortname - A name by which the author should be sorted (`Fenimore Cooper, 
69    * James') 
70    */
71    protected String sortname;
72   /**
73    * section 
74    */
75    protected Integer section;
76   /**
77    * advert - Advert for this author 
78    */
79    protected Integer advert;
80   /**
81    * metatag_description 
82    */
83    protected String metatag_description;
84   /**
85    * metatag_keywords 
86    */
87    protected String metatag_keywords;
88   /**
89    * Image file name - The name, within the book directory, of an image of the 
90    * author 
91    */
92    protected String imagefilename;
93   /**
94    * blurb - A short blurb to go next to the author image 
95    */
96    protected String blurb;
97   /**
98    * biography - A biography for the author 
99    */
100   protected String biography;
101  /**
102   * nonstandard - If set then Author.wm is not used, any .wm files in the 
103   * directory, such as index.wm, are used. 
104   */
105   protected Boolean nonstandard;
106 
107 
108  /**
109   * Retrieves the <code>Id</code> value, without locking, 
110   * for this <code>Author</code> <code>Persistent</code>.
111   *
112   * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods 
113   * @return the Integer id
114   */
115   public Integer getId_unsafe() {
116     return id;
117   }
118 
119 
120  /**
121   * Sets the <code>Id</code> value directly, without checking, 
122   * for this Author <code>Persistent</code>.
123   * 
124   * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods 
125   * @param cooked  the pre-validated value to set
126   */
127   public void setId_unsafe(Integer cooked) {
128     id = cooked;
129   }
130 
131  /**
132   * Retrieves the Id value, with locking, for this 
133   * <code>Author</code> <code>Persistent</code>.
134   * 
135   * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods 
136   * @throws AccessPoemException 
137   *         if the current <code>AccessToken</code> 
138   *         does not confer write access rights 
139   * @return the value of the field <code>Id</code> for this 
140   *         <code>Author</code> <code>Persistent</code>  
141   */
142 
143   public Integer getId()
144       throws AccessPoemException {
145     readLock();
146     return getId_unsafe();
147   }
148 
149 
150  /**
151   * Sets the <code>Id</code> value, with checking, for this 
152   * <code>Author</code> <code>Persistent</code>.
153   * 
154   * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods  
155   * @param cooked  a validated <code>int</code> 
156   * @throws AccessPoemException 
157   *         if the current <code>AccessToken</code> 
158   *         does not confer write access rights
159   * @throws ValidationPoemException 
160   *         if the value is not valid
161   */
162   public void setId(Integer cooked)
163       throws AccessPoemException, ValidationPoemException {
164     _getAuthorTable().getIdColumn().
165       getType().assertValidCooked(cooked);
166     writeLock();
167     setId_unsafe(cooked);
168   }
169 
170  /**
171   * Sets the <code>Id</code> value, with checking, for this 
172   * <code>Author</code> <code>Persistent</code>.
173   * 
174   * @generator org.melati.poem.prepro.IntegerFieldDef#generateBaseMethods 
175   * @param cooked  a validated <code>int</code>
176   * @throws AccessPoemException 
177   *         if the current <code>AccessToken</code> 
178   *         does not confer write access rights
179   * @throws ValidationPoemException 
180   *         if the value is not valid
181   */
182 
183   public final void setId(int cooked)
184       throws AccessPoemException, ValidationPoemException {
185     setId(new Integer(cooked));
186   }
187 
188 
189  /**
190   * Retrieves the <code>Id</code> value as a <code>Field</code>
191   * from this <code>Author</code> <code>Persistent</code>.
192   * 
193   * @generator org.melati.poem.prepro.FieldDef#generateFieldCreator 
194   * @throws AccessPoemException 
195   *         if the current <code>AccessToken</code> 
196   *         does not confer write access rights
197   * @return the Integer id
198   */
199   public Field getIdField() throws AccessPoemException {
200     Column c = _getAuthorTable().getIdColumn();
201     return new Field(c.getRaw(this), c);
202   }
203 
204 
205  /**
206   * Retrieves the <code>Displayname</code> value, without locking, 
207   * for this <code>Author</code> <code>Persistent</code>.
208   *
209   * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods 
210   * @return the String displayname
211   */
212   public String getDisplayname_unsafe() {
213     return displayname;
214   }
215 
216 
217  /**
218   * Sets the <code>Displayname</code> value directly, without checking, 
219   * for this Author <code>Persistent</code>.
220   * 
221   * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods 
222   * @param cooked  the pre-validated value to set
223   */
224   public void setDisplayname_unsafe(String cooked) {
225     displayname = cooked;
226   }
227 
228  /**
229   * Retrieves the Displayname value, with locking, for this 
230   * <code>Author</code> <code>Persistent</code>.
231   * Field description: 
232   *   The author's full name in short form (`Yule and Burnell') 
233   * 
234   * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods 
235   * @throws AccessPoemException 
236   *         if the current <code>AccessToken</code> 
237   *         does not confer write access rights 
238   * @return the value of the field <code>Displayname</code> for this 
239   *         <code>Author</code> <code>Persistent</code>  
240   */
241 
242   public String getDisplayname()
243       throws AccessPoemException {
244     readLock();
245     return getDisplayname_unsafe();
246   }
247 
248 
249  /**
250   * Sets the <code>Displayname</code> value, with checking, for this 
251   * <code>Author</code> <code>Persistent</code>.
252   * Field description: 
253   *   The author's full name in short form (`Yule and Burnell') 
254   * 
255   * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods  
256   * @param cooked  a validated <code>int</code> 
257   * @throws AccessPoemException 
258   *         if the current <code>AccessToken</code> 
259   *         does not confer write access rights
260   * @throws ValidationPoemException 
261   *         if the value is not valid
262   */
263   public void setDisplayname(String cooked)
264       throws AccessPoemException, ValidationPoemException {
265     _getAuthorTable().getDisplaynameColumn().
266       getType().assertValidCooked(cooked);
267     writeLock();
268     setDisplayname_unsafe(cooked);
269   }
270 
271 
272  /**
273   * Retrieves the <code>Displayname</code> value as a <code>Field</code>
274   * from this <code>Author</code> <code>Persistent</code>.
275   * 
276   * @generator org.melati.poem.prepro.FieldDef#generateFieldCreator 
277   * @throws AccessPoemException 
278   *         if the current <code>AccessToken</code> 
279   *         does not confer write access rights
280   * @return the String displayname
281   */
282   public Field getDisplaynameField() throws AccessPoemException {
283     Column c = _getAuthorTable().getDisplaynameColumn();
284     return new Field(c.getRaw(this), c);
285   }
286 
287 
288  /**
289   * Retrieves the <code>Longnameifdifferent</code> value, without locking, 
290   * for this <code>Author</code> <code>Persistent</code>.
291   *
292   * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods 
293   * @return the String longnameifdifferent
294   */
295   public String getLongnameifdifferent_unsafe() {
296     return longnameifdifferent;
297   }
298 
299 
300  /**
301   * Sets the <code>Longnameifdifferent</code> value directly, without checking, 
302   * for this Author <code>Persistent</code>.
303   * 
304   * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods 
305   * @param cooked  the pre-validated value to set
306   */
307   public void setLongnameifdifferent_unsafe(String cooked) {
308     longnameifdifferent = cooked;
309   }
310 
311  /**
312   * Retrieves the Longnameifdifferent value, with locking, for this 
313   * <code>Author</code> <code>Persistent</code>.
314   * Field description: 
315   *   The author's full name in long form (`Col Henry Yule and A. C. 
316   *   Burnell'), if different 
317   * 
318   * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods 
319   * @throws AccessPoemException 
320   *         if the current <code>AccessToken</code> 
321   *         does not confer write access rights 
322   * @return the value of the field <code>Longnameifdifferent</code> for this 
323   *         <code>Author</code> <code>Persistent</code>  
324   */
325 
326   public String getLongnameifdifferent()
327       throws AccessPoemException {
328     readLock();
329     return getLongnameifdifferent_unsafe();
330   }
331 
332 
333  /**
334   * Sets the <code>Longnameifdifferent</code> value, with checking, for this 
335   * <code>Author</code> <code>Persistent</code>.
336   * Field description: 
337   *   The author's full name in long form (`Col Henry Yule and A. C. 
338   *   Burnell'), if different 
339   * 
340   * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods  
341   * @param cooked  a validated <code>int</code> 
342   * @throws AccessPoemException 
343   *         if the current <code>AccessToken</code> 
344   *         does not confer write access rights
345   * @throws ValidationPoemException 
346   *         if the value is not valid
347   */
348   public void setLongnameifdifferent(String cooked)
349       throws AccessPoemException, ValidationPoemException {
350     _getAuthorTable().getLongnameifdifferentColumn().
351       getType().assertValidCooked(cooked);
352     writeLock();
353     setLongnameifdifferent_unsafe(cooked);
354   }
355 
356 
357  /**
358   * Retrieves the <code>Longnameifdifferent</code> value as a <code>Field</code>
359   * from this <code>Author</code> <code>Persistent</code>.
360   * 
361   * @generator org.melati.poem.prepro.FieldDef#generateFieldCreator 
362   * @throws AccessPoemException 
363   *         if the current <code>AccessToken</code> 
364   *         does not confer write access rights
365   * @return the String longnameifdifferent
366   */
367   public Field getLongnameifdifferentField() throws AccessPoemException {
368     Column c = _getAuthorTable().getLongnameifdifferentColumn();
369     return new Field(c.getRaw(this), c);
370   }
371 
372 
373  /**
374   * Retrieves the <code>Sortname</code> value, without locking, 
375   * for this <code>Author</code> <code>Persistent</code>.
376   *
377   * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods 
378   * @return the String sortname
379   */
380   public String getSortname_unsafe() {
381     return sortname;
382   }
383 
384 
385  /**
386   * Sets the <code>Sortname</code> value directly, without checking, 
387   * for this Author <code>Persistent</code>.
388   * 
389   * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods 
390   * @param cooked  the pre-validated value to set
391   */
392   public void setSortname_unsafe(String cooked) {
393     sortname = cooked;
394   }
395 
396  /**
397   * Retrieves the Sortname value, with locking, for this 
398   * <code>Author</code> <code>Persistent</code>.
399   * Field description: 
400   *   A name by which the author should be sorted (`Fenimore Cooper, James') 
401   * 
402   * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods 
403   * @throws AccessPoemException 
404   *         if the current <code>AccessToken</code> 
405   *         does not confer write access rights 
406   * @return the value of the field <code>Sortname</code> for this 
407   *         <code>Author</code> <code>Persistent</code>  
408   */
409 
410   public String getSortname()
411       throws AccessPoemException {
412     readLock();
413     return getSortname_unsafe();
414   }
415 
416 
417  /**
418   * Sets the <code>Sortname</code> value, with checking, for this 
419   * <code>Author</code> <code>Persistent</code>.
420   * Field description: 
421   *   A name by which the author should be sorted (`Fenimore Cooper, James') 
422   * 
423   * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods  
424   * @param cooked  a validated <code>int</code> 
425   * @throws AccessPoemException 
426   *         if the current <code>AccessToken</code> 
427   *         does not confer write access rights
428   * @throws ValidationPoemException 
429   *         if the value is not valid
430   */
431   public void setSortname(String cooked)
432       throws AccessPoemException, ValidationPoemException {
433     _getAuthorTable().getSortnameColumn().
434       getType().assertValidCooked(cooked);
435     writeLock();
436     setSortname_unsafe(cooked);
437   }
438 
439 
440  /**
441   * Retrieves the <code>Sortname</code> value as a <code>Field</code>
442   * from this <code>Author</code> <code>Persistent</code>.
443   * 
444   * @generator org.melati.poem.prepro.FieldDef#generateFieldCreator 
445   * @throws AccessPoemException 
446   *         if the current <code>AccessToken</code> 
447   *         does not confer write access rights
448   * @return the String sortname
449   */
450   public Field getSortnameField() throws AccessPoemException {
451     Column c = _getAuthorTable().getSortnameColumn();
452     return new Field(c.getRaw(this), c);
453   }
454 
455 
456  /**
457   * Retrieves the <code>Section</code> value, without locking, 
458   * for this <code>Author</code> <code>Persistent</code>.
459   *
460   * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods 
461   * @return the Integer section
462   */
463   public Integer getSection_unsafe() {
464     return section;
465   }
466 
467 
468  /**
469   * Sets the <code>Section</code> value directly, without checking, 
470   * for this Author <code>Persistent</code>.
471   * 
472   * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods 
473   * @param cooked  the pre-validated value to set
474   */
475   public void setSection_unsafe(Integer cooked) {
476     section = cooked;
477   }
478 
479  /**
480   * Retrieves the Table Row Object ID. 
481   *
482   * @generator org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods 
483   * @throws AccessPoemException  
484   *         if the current <code>AccessToken</code> 
485   *         does not confer read access rights 
486   * @return the TROID as an <code>Integer</code> 
487   */
488 
489   public Integer getSectionTroid()
490       throws AccessPoemException {
491     readLock();
492     return getSection_unsafe();
493   }
494 
495 
496  /**
497   * Sets the Table Row Object ID. 
498   * 
499   * @generator org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods 
500   * @param raw  a Table Row Object Id 
501   * @throws AccessPoemException  
502   *         if the current <code>AccessToken</code> 
503   *         does not confer write access rights
504   */
505   public void setSectionTroid(Integer raw)
506       throws AccessPoemException {
507     setSection(raw == null ? null : 
508         (Section)getBibliomaniaDatabaseTables().getSectionTable().getSectionObject(raw));
509   }
510 
511 
512  /**
513   * Retrieves the <code>Section</code> object referred to.
514   *  
515   * @generator org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods 
516   * @throws AccessPoemException  
517   *         if the current <code>AccessToken</code> 
518   *         does not confer read access rights 
519   * @throws NoSuchRowPoemException  
520   *         if the <code>Persistent</code> has yet to be allocated a TROID 
521   * @return the <code>Section</code> as a <code>Section</code> 
522   */
523   public Section getSection()
524       throws AccessPoemException, NoSuchRowPoemException {
525     Integer troid = getSectionTroid();
526     return troid == null ? null :
527         (Section)getBibliomaniaDatabaseTables().getSectionTable().getSectionObject(troid);
528   }
529 
530 
531  /**
532   * Set the Section.
533   * 
534   * @generator org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods 
535   * @param cooked  a validated <code>Section</code>
536   * @throws AccessPoemException  
537   *         if the current <code>AccessToken</code> 
538   *         does not confer write access rights 
539   */
540   public void setSection(Section cooked)
541       throws AccessPoemException {
542     _getAuthorTable().
543       getSectionColumn().
544         getType().assertValidCooked(cooked);
545     writeLock();
546     if (cooked == null)
547       setSection_unsafe(null);
548     else {
549       cooked.existenceLock();
550       setSection_unsafe(cooked.troid());
551     }
552   }
553 
554 
555  /**
556   * Retrieves the <code>Section</code> value as a <code>Field</code>
557   * from this <code>Author</code> <code>Persistent</code>.
558   * 
559   * @generator org.melati.poem.prepro.FieldDef#generateFieldCreator 
560   * @throws AccessPoemException 
561   *         if the current <code>AccessToken</code> 
562   *         does not confer write access rights
563   * @return the Integer section
564   */
565   public Field getSectionField() throws AccessPoemException {
566     Column c = _getAuthorTable().getSectionColumn();
567     return new Field(c.getRaw(this), c);
568   }
569 
570 
571  /**
572   * Retrieves the <code>Advert</code> value, without locking, 
573   * for this <code>Author</code> <code>Persistent</code>.
574   *
575   * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods 
576   * @return the Integer advert
577   */
578   public Integer getAdvert_unsafe() {
579     return advert;
580   }
581 
582 
583  /**
584   * Sets the <code>Advert</code> value directly, without checking, 
585   * for this Author <code>Persistent</code>.
586   * 
587   * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods 
588   * @param cooked  the pre-validated value to set
589   */
590   public void setAdvert_unsafe(Integer cooked) {
591     advert = cooked;
592   }
593 
594  /**
595   * Retrieves the Table Row Object ID. 
596   *
597   * @generator org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods 
598   * @throws AccessPoemException  
599   *         if the current <code>AccessToken</code> 
600   *         does not confer read access rights 
601   * @return the TROID as an <code>Integer</code> 
602   */
603 
604   public Integer getAdvertTroid()
605       throws AccessPoemException {
606     readLock();
607     return getAdvert_unsafe();
608   }
609 
610 
611  /**
612   * Sets the Table Row Object ID. 
613   * 
614   * @generator org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods 
615   * @param raw  a Table Row Object Id 
616   * @throws AccessPoemException  
617   *         if the current <code>AccessToken</code> 
618   *         does not confer write access rights
619   */
620   public void setAdvertTroid(Integer raw)
621       throws AccessPoemException {
622     setAdvert(raw == null ? null : 
623         getBibliomaniaDatabaseTables().getAdvertTable().getAdvertObject(raw));
624   }
625 
626 
627  /**
628   * Retrieves the <code>Advert</code> object referred to.
629   *  
630   * @generator org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods 
631   * @throws AccessPoemException  
632   *         if the current <code>AccessToken</code> 
633   *         does not confer read access rights 
634   * @throws NoSuchRowPoemException  
635   *         if the <code>Persistent</code> has yet to be allocated a TROID 
636   * @return the <code>Advert</code> as a <code>Advert</code> 
637   */
638   public Advert getAdvert()
639       throws AccessPoemException, NoSuchRowPoemException {
640     Integer troid = getAdvertTroid();
641     return troid == null ? null :
642         getBibliomaniaDatabaseTables().getAdvertTable().getAdvertObject(troid);
643   }
644 
645 
646  /**
647   * Set the Advert.
648   * 
649   * @generator org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods 
650   * @param cooked  a validated <code>Advert</code>
651   * @throws AccessPoemException  
652   *         if the current <code>AccessToken</code> 
653   *         does not confer write access rights 
654   */
655   public void setAdvert(Advert cooked)
656       throws AccessPoemException {
657     _getAuthorTable().
658       getAdvertColumn().
659         getType().assertValidCooked(cooked);
660     writeLock();
661     if (cooked == null)
662       setAdvert_unsafe(null);
663     else {
664       cooked.existenceLock();
665       setAdvert_unsafe(cooked.troid());
666     }
667   }
668 
669 
670  /**
671   * Retrieves the <code>Advert</code> value as a <code>Field</code>
672   * from this <code>Author</code> <code>Persistent</code>.
673   * 
674   * @generator org.melati.poem.prepro.FieldDef#generateFieldCreator 
675   * @throws AccessPoemException 
676   *         if the current <code>AccessToken</code> 
677   *         does not confer write access rights
678   * @return the Integer advert
679   */
680   public Field getAdvertField() throws AccessPoemException {
681     Column c = _getAuthorTable().getAdvertColumn();
682     return new Field(c.getRaw(this), c);
683   }
684 
685 
686  /**
687   * Retrieves the <code>Metatag_description</code> value, without locking, 
688   * for this <code>Author</code> <code>Persistent</code>.
689   *
690   * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods 
691   * @return the String metatag_description
692   */
693   public String getMetatag_description_unsafe() {
694     return metatag_description;
695   }
696 
697 
698  /**
699   * Sets the <code>Metatag_description</code> value directly, without checking, 
700   * for this Author <code>Persistent</code>.
701   * 
702   * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods 
703   * @param cooked  the pre-validated value to set
704   */
705   public void setMetatag_description_unsafe(String cooked) {
706     metatag_description = cooked;
707   }
708 
709  /**
710   * Retrieves the Metatag_description value, with locking, for this 
711   * <code>Author</code> <code>Persistent</code>.
712   * 
713   * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods 
714   * @throws AccessPoemException 
715   *         if the current <code>AccessToken</code> 
716   *         does not confer write access rights 
717   * @return the value of the field <code>Metatag_description</code> for this 
718   *         <code>Author</code> <code>Persistent</code>  
719   */
720 
721   public String getMetatag_description()
722       throws AccessPoemException {
723     readLock();
724     return getMetatag_description_unsafe();
725   }
726 
727 
728  /**
729   * Sets the <code>Metatag_description</code> value, with checking, for this 
730   * <code>Author</code> <code>Persistent</code>.
731   * 
732   * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods  
733   * @param cooked  a validated <code>int</code> 
734   * @throws AccessPoemException 
735   *         if the current <code>AccessToken</code> 
736   *         does not confer write access rights
737   * @throws ValidationPoemException 
738   *         if the value is not valid
739   */
740   public void setMetatag_description(String cooked)
741       throws AccessPoemException, ValidationPoemException {
742     _getAuthorTable().getMetatag_descriptionColumn().
743       getType().assertValidCooked(cooked);
744     writeLock();
745     setMetatag_description_unsafe(cooked);
746   }
747 
748 
749  /**
750   * Retrieves the <code>Metatag_description</code> value as a <code>Field</code>
751   * from this <code>Author</code> <code>Persistent</code>.
752   * 
753   * @generator org.melati.poem.prepro.FieldDef#generateFieldCreator 
754   * @throws AccessPoemException 
755   *         if the current <code>AccessToken</code> 
756   *         does not confer write access rights
757   * @return the String metatag_description
758   */
759   public Field getMetatag_descriptionField() throws AccessPoemException {
760     Column c = _getAuthorTable().getMetatag_descriptionColumn();
761     return new Field(c.getRaw(this), c);
762   }
763 
764 
765  /**
766   * Retrieves the <code>Metatag_keywords</code> value, without locking, 
767   * for this <code>Author</code> <code>Persistent</code>.
768   *
769   * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods 
770   * @return the String metatag_keywords
771   */
772   public String getMetatag_keywords_unsafe() {
773     return metatag_keywords;
774   }
775 
776 
777  /**
778   * Sets the <code>Metatag_keywords</code> value directly, without checking, 
779   * for this Author <code>Persistent</code>.
780   * 
781   * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods 
782   * @param cooked  the pre-validated value to set
783   */
784   public void setMetatag_keywords_unsafe(String cooked) {
785     metatag_keywords = cooked;
786   }
787 
788  /**
789   * Retrieves the Metatag_keywords value, with locking, for this 
790   * <code>Author</code> <code>Persistent</code>.
791   * 
792   * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods 
793   * @throws AccessPoemException 
794   *         if the current <code>AccessToken</code> 
795   *         does not confer write access rights 
796   * @return the value of the field <code>Metatag_keywords</code> for this 
797   *         <code>Author</code> <code>Persistent</code>  
798   */
799 
800   public String getMetatag_keywords()
801       throws AccessPoemException {
802     readLock();
803     return getMetatag_keywords_unsafe();
804   }
805 
806 
807  /**
808   * Sets the <code>Metatag_keywords</code> value, with checking, for this 
809   * <code>Author</code> <code>Persistent</code>.
810   * 
811   * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods  
812   * @param cooked  a validated <code>int</code> 
813   * @throws AccessPoemException 
814   *         if the current <code>AccessToken</code> 
815   *         does not confer write access rights
816   * @throws ValidationPoemException 
817   *         if the value is not valid
818   */
819   public void setMetatag_keywords(String cooked)
820       throws AccessPoemException, ValidationPoemException {
821     _getAuthorTable().getMetatag_keywordsColumn().
822       getType().assertValidCooked(cooked);
823     writeLock();
824     setMetatag_keywords_unsafe(cooked);
825   }
826 
827 
828  /**
829   * Retrieves the <code>Metatag_keywords</code> value as a <code>Field</code>
830   * from this <code>Author</code> <code>Persistent</code>.
831   * 
832   * @generator org.melati.poem.prepro.FieldDef#generateFieldCreator 
833   * @throws AccessPoemException 
834   *         if the current <code>AccessToken</code> 
835   *         does not confer write access rights
836   * @return the String metatag_keywords
837   */
838   public Field getMetatag_keywordsField() throws AccessPoemException {
839     Column c = _getAuthorTable().getMetatag_keywordsColumn();
840     return new Field(c.getRaw(this), c);
841   }
842 
843 
844  /**
845   * Retrieves the <code>Imagefilename</code> value, without locking, 
846   * for this <code>Author</code> <code>Persistent</code>.
847   *
848   * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods 
849   * @return the String imagefilename
850   */
851   public String getImagefilename_unsafe() {
852     return imagefilename;
853   }
854 
855 
856  /**
857   * Sets the <code>Imagefilename</code> value directly, without checking, 
858   * for this Author <code>Persistent</code>.
859   * 
860   * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods 
861   * @param cooked  the pre-validated value to set
862   */
863   public void setImagefilename_unsafe(String cooked) {
864     imagefilename = cooked;
865   }
866 
867  /**
868   * Retrieves the Imagefilename value, with locking, for this 
869   * <code>Author</code> <code>Persistent</code>.
870   * Field description: 
871   *   The name, within the book directory, of an image of the author 
872   * 
873   * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods 
874   * @throws AccessPoemException 
875   *         if the current <code>AccessToken</code> 
876   *         does not confer write access rights 
877   * @return the value of the field <code>Imagefilename</code> for this 
878   *         <code>Author</code> <code>Persistent</code>  
879   */
880 
881   public String getImagefilename()
882       throws AccessPoemException {
883     readLock();
884     return getImagefilename_unsafe();
885   }
886 
887 
888  /**
889   * Sets the <code>Imagefilename</code> value, with checking, for this 
890   * <code>Author</code> <code>Persistent</code>.
891   * Field description: 
892   *   The name, within the book directory, of an image of the author 
893   * 
894   * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods  
895   * @param cooked  a validated <code>int</code> 
896   * @throws AccessPoemException 
897   *         if the current <code>AccessToken</code> 
898   *         does not confer write access rights
899   * @throws ValidationPoemException 
900   *         if the value is not valid
901   */
902   public void setImagefilename(String cooked)
903       throws AccessPoemException, ValidationPoemException {
904     _getAuthorTable().getImagefilenameColumn().
905       getType().assertValidCooked(cooked);
906     writeLock();
907     setImagefilename_unsafe(cooked);
908   }
909 
910 
911  /**
912   * Retrieves the <code>Imagefilename</code> value as a <code>Field</code>
913   * from this <code>Author</code> <code>Persistent</code>.
914   * 
915   * @generator org.melati.poem.prepro.FieldDef#generateFieldCreator 
916   * @throws AccessPoemException 
917   *         if the current <code>AccessToken</code> 
918   *         does not confer write access rights
919   * @return the String imagefilename
920   */
921   public Field getImagefilenameField() throws AccessPoemException {
922     Column c = _getAuthorTable().getImagefilenameColumn();
923     return new Field(c.getRaw(this), c);
924   }
925 
926 
927  /**
928   * Retrieves the <code>Blurb</code> value, without locking, 
929   * for this <code>Author</code> <code>Persistent</code>.
930   *
931   * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods 
932   * @return the String blurb
933   */
934   public String getBlurb_unsafe() {
935     return blurb;
936   }
937 
938 
939  /**
940   * Sets the <code>Blurb</code> value directly, without checking, 
941   * for this Author <code>Persistent</code>.
942   * 
943   * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods 
944   * @param cooked  the pre-validated value to set
945   */
946   public void setBlurb_unsafe(String cooked) {
947     blurb = cooked;
948   }
949 
950  /**
951   * Retrieves the Blurb value, with locking, for this 
952   * <code>Author</code> <code>Persistent</code>.
953   * Field description: 
954   *   A short blurb to go next to the author image 
955   * 
956   * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods 
957   * @throws AccessPoemException 
958   *         if the current <code>AccessToken</code> 
959   *         does not confer write access rights 
960   * @return the value of the field <code>Blurb</code> for this 
961   *         <code>Author</code> <code>Persistent</code>  
962   */
963 
964   public String getBlurb()
965       throws AccessPoemException {
966     readLock();
967     return getBlurb_unsafe();
968   }
969 
970 
971  /**
972   * Sets the <code>Blurb</code> value, with checking, for this 
973   * <code>Author</code> <code>Persistent</code>.
974   * Field description: 
975   *   A short blurb to go next to the author image 
976   * 
977   * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods  
978   * @param cooked  a validated <code>int</code> 
979   * @throws AccessPoemException 
980   *         if the current <code>AccessToken</code> 
981   *         does not confer write access rights
982   * @throws ValidationPoemException 
983   *         if the value is not valid
984   */
985   public void setBlurb(String cooked)
986       throws AccessPoemException, ValidationPoemException {
987     _getAuthorTable().getBlurbColumn().
988       getType().assertValidCooked(cooked);
989     writeLock();
990     setBlurb_unsafe(cooked);
991   }
992 
993 
994  /**
995   * Retrieves the <code>Blurb</code> value as a <code>Field</code>
996   * from this <code>Author</code> <code>Persistent</code>.
997   * 
998   * @generator org.melati.poem.prepro.FieldDef#generateFieldCreator 
999   * @throws AccessPoemException 
1000   *         if the current <code>AccessToken</code> 
1001   *         does not confer write access rights
1002   * @return the String blurb
1003   */
1004   public Field getBlurbField() throws AccessPoemException {
1005     Column c = _getAuthorTable().getBlurbColumn();
1006     return new Field(c.getRaw(this), c);
1007   }
1008 
1009 
1010  /**
1011   * Retrieves the <code>Biography</code> value, without locking, 
1012   * for this <code>Author</code> <code>Persistent</code>.
1013   *
1014   * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods 
1015   * @return the String biography
1016   */
1017   public String getBiography_unsafe() {
1018     return biography;
1019   }
1020 
1021 
1022  /**
1023   * Sets the <code>Biography</code> value directly, without checking, 
1024   * for this Author <code>Persistent</code>.
1025   * 
1026   * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods 
1027   * @param cooked  the pre-validated value to set
1028   */
1029   public void setBiography_unsafe(String cooked) {
1030     biography = cooked;
1031   }
1032 
1033  /**
1034   * Retrieves the Biography value, with locking, for this 
1035   * <code>Author</code> <code>Persistent</code>.
1036   * Field description: 
1037   *   A biography for the author 
1038   * 
1039   * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods 
1040   * @throws AccessPoemException 
1041   *         if the current <code>AccessToken</code> 
1042   *         does not confer write access rights 
1043   * @return the value of the field <code>Biography</code> for this 
1044   *         <code>Author</code> <code>Persistent</code>  
1045   */
1046 
1047   public String getBiography()
1048       throws AccessPoemException {
1049     readLock();
1050     return getBiography_unsafe();
1051   }
1052 
1053 
1054  /**
1055   * Sets the <code>Biography</code> value, with checking, for this 
1056   * <code>Author</code> <code>Persistent</code>.
1057   * Field description: 
1058   *   A biography for the author 
1059   * 
1060   * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods  
1061   * @param cooked  a validated <code>int</code> 
1062   * @throws AccessPoemException 
1063   *         if the current <code>AccessToken</code> 
1064   *         does not confer write access rights
1065   * @throws ValidationPoemException 
1066   *         if the value is not valid
1067   */
1068   public void setBiography(String cooked)
1069       throws AccessPoemException, ValidationPoemException {
1070     _getAuthorTable().getBiographyColumn().
1071       getType().assertValidCooked(cooked);
1072     writeLock();
1073     setBiography_unsafe(cooked);
1074   }
1075 
1076 
1077  /**
1078   * Retrieves the <code>Biography</code> value as a <code>Field</code>
1079   * from this <code>Author</code> <code>Persistent</code>.
1080   * 
1081   * @generator org.melati.poem.prepro.FieldDef#generateFieldCreator 
1082   * @throws AccessPoemException 
1083   *         if the current <code>AccessToken</code> 
1084   *         does not confer write access rights
1085   * @return the String biography
1086   */
1087   public Field getBiographyField() throws AccessPoemException {
1088     Column c = _getAuthorTable().getBiographyColumn();
1089     return new Field(c.getRaw(this), c);
1090   }
1091 
1092 
1093  /**
1094   * Retrieves the <code>Nonstandard</code> value, without locking, 
1095   * for this <code>Author</code> <code>Persistent</code>.
1096   *
1097   * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods 
1098   * @return the Boolean nonstandard
1099   */
1100   public Boolean getNonstandard_unsafe() {
1101     return nonstandard;
1102   }
1103 
1104 
1105  /**
1106   * Sets the <code>Nonstandard</code> value directly, without checking, 
1107   * for this Author <code>Persistent</code>.
1108   * 
1109   * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods 
1110   * @param cooked  the pre-validated value to set
1111   */
1112   public void setNonstandard_unsafe(Boolean cooked) {
1113     nonstandard = cooked;
1114   }
1115 
1116  /**
1117   * Retrieves the Nonstandard value, with locking, for this 
1118   * <code>Author</code> <code>Persistent</code>.
1119   * Field description: 
1120   *   If set then Author.wm is not used, any .wm files in the directory, such 
1121   *   as index.wm, are used. 
1122   * 
1123   * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods 
1124   * @throws AccessPoemException 
1125   *         if the current <code>AccessToken</code> 
1126   *         does not confer write access rights 
1127   * @return the value of the field <code>Nonstandard</code> for this 
1128   *         <code>Author</code> <code>Persistent</code>  
1129   */
1130 
1131   public Boolean getNonstandard()
1132       throws AccessPoemException {
1133     readLock();
1134     return getNonstandard_unsafe();
1135   }
1136 
1137 
1138  /**
1139   * Sets the <code>Nonstandard</code> value, with checking, for this 
1140   * <code>Author</code> <code>Persistent</code>.
1141   * Field description: 
1142   *   If set then Author.wm is not used, any .wm files in the directory, such 
1143   *   as index.wm, are used. 
1144   * 
1145   * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods  
1146   * @param cooked  a validated <code>int</code> 
1147   * @throws AccessPoemException 
1148   *         if the current <code>AccessToken</code> 
1149   *         does not confer write access rights
1150   * @throws ValidationPoemException 
1151   *         if the value is not valid
1152   */
1153   public void setNonstandard(Boolean cooked)
1154       throws AccessPoemException, ValidationPoemException {
1155     _getAuthorTable().getNonstandardColumn().
1156       getType().assertValidCooked(cooked);
1157     writeLock();
1158     setNonstandard_unsafe(cooked);
1159   }
1160 
1161  /**
1162   * Sets the <code>Nonstandard</code> value, with checking, 
1163   * from a <code>boolean</code>, for this 
1164   * <code>Author</code> <code>Persistent</code>.
1165   * Field description: 
1166   *   If set then Author.wm is not used, any .wm files in the directory, such 
1167   *   as index.wm, are used. 
1168   * 
1169   * 
1170   * @generator org.melati.poem.prepro.BooleanFieldDef#generateBaseMethods 
1171   * @param cooked  a <code>boolean</code> 
1172   * @throws AccessPoemException 
1173   *         if the current <code>AccessToken</code> 
1174   *         does not confer write access rights
1175   * @throws ValidationPoemException 
1176   *         if the value is not valid
1177   */
1178 
1179   public final void setNonstandard(boolean cooked)
1180       throws AccessPoemException, ValidationPoemException {
1181     setNonstandard(cooked ? Boolean.TRUE : Boolean.FALSE);
1182   }
1183 
1184 
1185  /**
1186   * Retrieves the <code>Nonstandard</code> value as a <code>Field</code>
1187   * from this <code>Author</code> <code>Persistent</code>.
1188   * 
1189   * @generator org.melati.poem.prepro.FieldDef#generateFieldCreator 
1190   * @throws AccessPoemException 
1191   *         if the current <code>AccessToken</code> 
1192   *         does not confer write access rights
1193   * @return the Boolean nonstandard
1194   */
1195   public Field getNonstandardField() throws AccessPoemException {
1196     Column c = _getAuthorTable().getNonstandardColumn();
1197     return new Field(c.getRaw(this), c);
1198   }
1199 }
1200