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.Column;
11  import org.melati.poem.Field;
12  import org.melati.poem.JdbcPersistent;
13  import org.melati.poem.ValidationPoemException;
14  import org.melati.poem.test.EverythingDatabaseTables;
15  import org.melati.poem.test.EverythingNormal;
16  import org.melati.poem.test.EverythingNormalTable;
17  
18  
19  /**
20   * Melati POEM generated abstract base class for a <code>Persistent</code> 
21   * <code>EverythingNormal</code> Object.
22   *
23   * See org.melati.poem.prepro.TableDef#generatePersistentBaseJava 
24   */
25  public abstract class EverythingNormalBase extends JdbcPersistent {
26  
27  
28   /**
29    * Retrieves the Database object.
30    * 
31    * See org.melati.poem.prepro.TableDef#generatePersistentBaseJava 
32    * @return the database
33    */
34    public EverythingDatabaseTables getEverythingDatabaseTables() {
35      return (EverythingDatabaseTables)getDatabase();
36    }
37  
38  
39   /**
40    * Retrieves the  <code>EverythingNormalTable</code> table 
41    * which this <code>Persistent</code> is from.
42    * 
43    * See org.melati.poem.prepro.TableDef#generatePersistentBaseJava 
44    * @return the EverythingNormalTable
45    */
46    @SuppressWarnings("unchecked")
47    public EverythingNormalTable<EverythingNormal> getEverythingNormalTable() {
48      return (EverythingNormalTable<EverythingNormal>)getTable();
49    }
50  
51    @SuppressWarnings("unchecked")
52    private EverythingNormalTable<EverythingNormal> _getEverythingNormalTable() {
53      return (EverythingNormalTable<EverythingNormal>)getTable();
54    }
55  
56    // Fields in this table 
57   /**
58    * Id 
59    */
60    protected Integer id;
61   /**
62    * Binaryfield 
63    */
64    protected byte[] binaryfield;
65   /**
66    * String Field 
67    */
68    protected String stringfield;
69   /**
70    * Password Field 
71    */
72    protected String passwordfield;
73   /**
74    * Boolean Field 
75    */
76    protected Boolean booleanfield;
77   /**
78    * Date Field 
79    */
80    protected Date datefield;
81   /**
82    * Double Field 
83    */
84    protected Double doublefield;
85   /**
86    * Integer Field 
87    */
88    protected Integer integerfield;
89   /**
90    * Long Field 
91    */
92    protected Long longfield;
93   /**
94    * BigDecimal Field 
95    */
96    protected BigDecimal bigdecimalfield;
97   /**
98    * Timestamp Field 
99    */
100   protected Timestamp timestampfield;
101  /**
102   * Deleted Field 
103   */
104   protected Boolean deletedfield;
105 
106 
107  /**
108   * Retrieves the <code>Id</code> value, without locking, 
109   * for this <code>EverythingNormal</code> <code>Persistent</code>.
110   *
111   * see org.melati.poem.prepro.FieldDef#generateBaseMethods 
112   * @return the Integer id
113   */
114   public Integer getId_unsafe() {
115     return id;
116   }
117 
118 
119  /**
120   * Sets the <code>Id</code> value directly, without checking, 
121   * for this EverythingNormal <code>Persistent</code>.
122   * 
123   * see org.melati.poem.prepro.FieldDef#generateBaseMethods 
124   * @param cooked  the pre-validated value to set
125   */
126   public void setId_unsafe(Integer cooked) {
127     id = cooked;
128   }
129 
130  /**
131   * Retrieves the Id value, with locking, for this 
132   * <code>EverythingNormal</code> <code>Persistent</code>.
133   * 
134   * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods 
135   * @throws AccessPoemException 
136   *         if the current <code>AccessToken</code> 
137   *         does not confer write access rights 
138   * @return the value of the field <code>Id</code> for this 
139   *         <code>EverythingNormal</code> <code>Persistent</code>  
140   */
141 
142   public Integer getId()
143       throws AccessPoemException {
144     readLock();
145     return getId_unsafe();
146   }
147 
148 
149  /**
150   * Sets the <code>Id</code> value, with checking, for this 
151   * <code>EverythingNormal</code> <code>Persistent</code>.
152   * 
153   * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods  
154   * @param cooked  a validated <code>int</code> 
155   * @throws AccessPoemException 
156   *         if the current <code>AccessToken</code> 
157   *         does not confer write access rights
158   * @throws ValidationPoemException 
159   *         if the value is not valid
160   */
161   public void setId(Integer cooked)
162       throws AccessPoemException, ValidationPoemException {
163     _getEverythingNormalTable().getIdColumn().
164       getType().assertValidCooked(cooked);
165     writeLock();
166     setId_unsafe(cooked);
167   }
168 
169  /**
170   * Sets the <code>Id</code> value, with checking, for this 
171   * <code>EverythingNormal</code> <code>Persistent</code>.
172   * 
173   * Generated by org.melati.poem.prepro.IntegerFieldDef#generateBaseMethods 
174   * @param cooked  a validated <code>int</code>
175   * @throws AccessPoemException 
176   *         if the current <code>AccessToken</code> 
177   *         does not confer write access rights
178   * @throws ValidationPoemException 
179   *         if the value is not valid
180   */
181 
182   public final void setId(int cooked)
183       throws AccessPoemException, ValidationPoemException {
184     setId(new Integer(cooked));
185   }
186 
187 
188  /**
189   * Retrieves the <code>Id</code> value as a <code>Field</code>
190   * from this <code>EverythingNormal</code> <code>Persistent</code>.
191   * 
192   * see org.melati.poem.prepro.FieldDef#generateFieldCreator 
193   * @throws AccessPoemException 
194   *         if the current <code>AccessToken</code> 
195   *         does not confer write access rights
196   * @return the Integer id
197   */
198   public Field<Integer> getIdField() throws AccessPoemException {
199     Column<Integer> c = _getEverythingNormalTable().getIdColumn();
200     return new Field<Integer>((Integer)c.getRaw(this), c);
201   }
202 
203 
204  /**
205   * Retrieves the <code>Binaryfield</code> value, without locking, 
206   * for this <code>EverythingNormal</code> <code>Persistent</code>.
207   *
208   * see org.melati.poem.prepro.FieldDef#generateBaseMethods 
209   * @return the byte[] binaryfield
210   */
211   public byte[] getBinaryfield_unsafe() {
212     return binaryfield;
213   }
214 
215 
216  /**
217   * Sets the <code>Binaryfield</code> value directly, without checking, 
218   * for this EverythingNormal <code>Persistent</code>.
219   * 
220   * see org.melati.poem.prepro.FieldDef#generateBaseMethods 
221   * @param cooked  the pre-validated value to set
222   */
223   public void setBinaryfield_unsafe(byte[] cooked) {
224     binaryfield = cooked;
225   }
226 
227  /**
228   * Retrieves the Binaryfield value, with locking, for this 
229   * <code>EverythingNormal</code> <code>Persistent</code>.
230   * 
231   * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods 
232   * @throws AccessPoemException 
233   *         if the current <code>AccessToken</code> 
234   *         does not confer write access rights 
235   * @return the value of the field <code>Binaryfield</code> for this 
236   *         <code>EverythingNormal</code> <code>Persistent</code>  
237   */
238 
239   public byte[] getBinaryfield()
240       throws AccessPoemException {
241     readLock();
242     return getBinaryfield_unsafe();
243   }
244 
245 
246  /**
247   * Sets the <code>Binaryfield</code> value, with checking, for this 
248   * <code>EverythingNormal</code> <code>Persistent</code>.
249   * 
250   * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods  
251   * @param cooked  a validated <code>int</code> 
252   * @throws AccessPoemException 
253   *         if the current <code>AccessToken</code> 
254   *         does not confer write access rights
255   * @throws ValidationPoemException 
256   *         if the value is not valid
257   */
258   public void setBinaryfield(byte[] cooked)
259       throws AccessPoemException, ValidationPoemException {
260     _getEverythingNormalTable().getBinaryfieldColumn().
261       getType().assertValidCooked(cooked);
262     writeLock();
263     setBinaryfield_unsafe(cooked);
264   }
265 
266 
267  /**
268   * Retrieves the <code>Binaryfield</code> value as a <code>Field</code>
269   * from this <code>EverythingNormal</code> <code>Persistent</code>.
270   * 
271   * see org.melati.poem.prepro.FieldDef#generateFieldCreator 
272   * @throws AccessPoemException 
273   *         if the current <code>AccessToken</code> 
274   *         does not confer write access rights
275   * @return the byte[] binaryfield
276   */
277   public Field<byte[]> getBinaryfieldField() throws AccessPoemException {
278     Column<byte[]> c = _getEverythingNormalTable().getBinaryfieldColumn();
279     return new Field<byte[]>((byte[])c.getRaw(this), c);
280   }
281 
282 
283  /**
284   * Retrieves the <code>Stringfield</code> value, without locking, 
285   * for this <code>EverythingNormal</code> <code>Persistent</code>.
286   *
287   * see org.melati.poem.prepro.FieldDef#generateBaseMethods 
288   * @return the String stringfield
289   */
290   public String getStringfield_unsafe() {
291     return stringfield;
292   }
293 
294 
295  /**
296   * Sets the <code>Stringfield</code> value directly, without checking, 
297   * for this EverythingNormal <code>Persistent</code>.
298   * 
299   * see org.melati.poem.prepro.FieldDef#generateBaseMethods 
300   * @param cooked  the pre-validated value to set
301   */
302   public void setStringfield_unsafe(String cooked) {
303     stringfield = cooked;
304   }
305 
306  /**
307   * Retrieves the Stringfield value, with locking, for this 
308   * <code>EverythingNormal</code> <code>Persistent</code>.
309   * 
310   * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods 
311   * @throws AccessPoemException 
312   *         if the current <code>AccessToken</code> 
313   *         does not confer write access rights 
314   * @return the value of the field <code>Stringfield</code> for this 
315   *         <code>EverythingNormal</code> <code>Persistent</code>  
316   */
317 
318   public String getStringfield()
319       throws AccessPoemException {
320     readLock();
321     return getStringfield_unsafe();
322   }
323 
324 
325  /**
326   * Sets the <code>Stringfield</code> value, with checking, for this 
327   * <code>EverythingNormal</code> <code>Persistent</code>.
328   * 
329   * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods  
330   * @param cooked  a validated <code>int</code> 
331   * @throws AccessPoemException 
332   *         if the current <code>AccessToken</code> 
333   *         does not confer write access rights
334   * @throws ValidationPoemException 
335   *         if the value is not valid
336   */
337   public void setStringfield(String cooked)
338       throws AccessPoemException, ValidationPoemException {
339     _getEverythingNormalTable().getStringfieldColumn().
340       getType().assertValidCooked(cooked);
341     writeLock();
342     setStringfield_unsafe(cooked);
343   }
344 
345 
346  /**
347   * Retrieves the <code>Stringfield</code> value as a <code>Field</code>
348   * from this <code>EverythingNormal</code> <code>Persistent</code>.
349   * 
350   * see org.melati.poem.prepro.FieldDef#generateFieldCreator 
351   * @throws AccessPoemException 
352   *         if the current <code>AccessToken</code> 
353   *         does not confer write access rights
354   * @return the String stringfield
355   */
356   public Field<String> getStringfieldField() throws AccessPoemException {
357     Column<String> c = _getEverythingNormalTable().getStringfieldColumn();
358     return new Field<String>((String)c.getRaw(this), c);
359   }
360 
361 
362  /**
363   * Retrieves the <code>Passwordfield</code> value, without locking, 
364   * for this <code>EverythingNormal</code> <code>Persistent</code>.
365   *
366   * see org.melati.poem.prepro.FieldDef#generateBaseMethods 
367   * @return the String passwordfield
368   */
369   public String getPasswordfield_unsafe() {
370     return passwordfield;
371   }
372 
373 
374  /**
375   * Sets the <code>Passwordfield</code> value directly, without checking, 
376   * for this EverythingNormal <code>Persistent</code>.
377   * 
378   * see org.melati.poem.prepro.FieldDef#generateBaseMethods 
379   * @param cooked  the pre-validated value to set
380   */
381   public void setPasswordfield_unsafe(String cooked) {
382     passwordfield = cooked;
383   }
384 
385  /**
386   * Retrieves the Passwordfield value, with locking, for this 
387   * <code>EverythingNormal</code> <code>Persistent</code>.
388   * 
389   * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods 
390   * @throws AccessPoemException 
391   *         if the current <code>AccessToken</code> 
392   *         does not confer write access rights 
393   * @return the value of the field <code>Passwordfield</code> for this 
394   *         <code>EverythingNormal</code> <code>Persistent</code>  
395   */
396 
397   public String getPasswordfield()
398       throws AccessPoemException {
399     readLock();
400     return getPasswordfield_unsafe();
401   }
402 
403 
404  /**
405   * Sets the <code>Passwordfield</code> value, with checking, for this 
406   * <code>EverythingNormal</code> <code>Persistent</code>.
407   * 
408   * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods  
409   * @param cooked  a validated <code>int</code> 
410   * @throws AccessPoemException 
411   *         if the current <code>AccessToken</code> 
412   *         does not confer write access rights
413   * @throws ValidationPoemException 
414   *         if the value is not valid
415   */
416   public void setPasswordfield(String cooked)
417       throws AccessPoemException, ValidationPoemException {
418     _getEverythingNormalTable().getPasswordfieldColumn().
419       getType().assertValidCooked(cooked);
420     writeLock();
421     setPasswordfield_unsafe(cooked);
422   }
423 
424 
425  /**
426   * Retrieves the <code>Passwordfield</code> value as a <code>Field</code>
427   * from this <code>EverythingNormal</code> <code>Persistent</code>.
428   * 
429   * see org.melati.poem.prepro.FieldDef#generateFieldCreator 
430   * @throws AccessPoemException 
431   *         if the current <code>AccessToken</code> 
432   *         does not confer write access rights
433   * @return the String passwordfield
434   */
435   public Field<String> getPasswordfieldField() throws AccessPoemException {
436     Column<String> c = _getEverythingNormalTable().getPasswordfieldColumn();
437     return new Field<String>((String)c.getRaw(this), c);
438   }
439 
440 
441  /**
442   * Retrieves the <code>Booleanfield</code> value, without locking, 
443   * for this <code>EverythingNormal</code> <code>Persistent</code>.
444   *
445   * see org.melati.poem.prepro.FieldDef#generateBaseMethods 
446   * @return the Boolean booleanfield
447   */
448   public Boolean getBooleanfield_unsafe() {
449     return booleanfield;
450   }
451 
452 
453  /**
454   * Sets the <code>Booleanfield</code> value directly, without checking, 
455   * for this EverythingNormal <code>Persistent</code>.
456   * 
457   * see org.melati.poem.prepro.FieldDef#generateBaseMethods 
458   * @param cooked  the pre-validated value to set
459   */
460   public void setBooleanfield_unsafe(Boolean cooked) {
461     booleanfield = cooked;
462   }
463 
464  /**
465   * Retrieves the Booleanfield value, with locking, for this 
466   * <code>EverythingNormal</code> <code>Persistent</code>.
467   * 
468   * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods 
469   * @throws AccessPoemException 
470   *         if the current <code>AccessToken</code> 
471   *         does not confer write access rights 
472   * @return the value of the field <code>Booleanfield</code> for this 
473   *         <code>EverythingNormal</code> <code>Persistent</code>  
474   */
475 
476   public Boolean getBooleanfield()
477       throws AccessPoemException {
478     readLock();
479     return getBooleanfield_unsafe();
480   }
481 
482 
483  /**
484   * Sets the <code>Booleanfield</code> value, with checking, for this 
485   * <code>EverythingNormal</code> <code>Persistent</code>.
486   * 
487   * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods  
488   * @param cooked  a validated <code>int</code> 
489   * @throws AccessPoemException 
490   *         if the current <code>AccessToken</code> 
491   *         does not confer write access rights
492   * @throws ValidationPoemException 
493   *         if the value is not valid
494   */
495   public void setBooleanfield(Boolean cooked)
496       throws AccessPoemException, ValidationPoemException {
497     _getEverythingNormalTable().getBooleanfieldColumn().
498       getType().assertValidCooked(cooked);
499     writeLock();
500     setBooleanfield_unsafe(cooked);
501   }
502 
503  /**
504   * Sets the <code>Booleanfield</code> value, with checking, 
505   * from a <code>boolean</code>, for this 
506   * <code>EverythingNormal</code> <code>Persistent</code>.
507   * 
508   * Generated by org.melati.poem.prepro.BooleanFieldDef#generateBaseMethods 
509   * @param cooked  a <code>boolean</code> 
510   * @throws AccessPoemException 
511   *         if the current <code>AccessToken</code> 
512   *         does not confer write access rights
513   * @throws ValidationPoemException 
514   *         if the value is not valid
515   */
516 
517   public final void setBooleanfield(boolean cooked)
518       throws AccessPoemException, ValidationPoemException {
519     setBooleanfield(cooked ? Boolean.TRUE : Boolean.FALSE);
520   }
521 
522 
523  /**
524   * Retrieves the <code>Booleanfield</code> value as a <code>Field</code>
525   * from this <code>EverythingNormal</code> <code>Persistent</code>.
526   * 
527   * see org.melati.poem.prepro.FieldDef#generateFieldCreator 
528   * @throws AccessPoemException 
529   *         if the current <code>AccessToken</code> 
530   *         does not confer write access rights
531   * @return the Boolean booleanfield
532   */
533   public Field<Boolean> getBooleanfieldField() throws AccessPoemException {
534     Column<Boolean> c = _getEverythingNormalTable().getBooleanfieldColumn();
535     return new Field<Boolean>((Boolean)c.getRaw(this), c);
536   }
537 
538 
539  /**
540   * Retrieves the <code>Datefield</code> value, without locking, 
541   * for this <code>EverythingNormal</code> <code>Persistent</code>.
542   *
543   * see org.melati.poem.prepro.FieldDef#generateBaseMethods 
544   * @return the Date datefield
545   */
546   public Date getDatefield_unsafe() {
547     return datefield;
548   }
549 
550 
551  /**
552   * Sets the <code>Datefield</code> value directly, without checking, 
553   * for this EverythingNormal <code>Persistent</code>.
554   * 
555   * see org.melati.poem.prepro.FieldDef#generateBaseMethods 
556   * @param cooked  the pre-validated value to set
557   */
558   public void setDatefield_unsafe(Date cooked) {
559     datefield = cooked;
560   }
561 
562  /**
563   * Retrieves the Datefield value, with locking, for this 
564   * <code>EverythingNormal</code> <code>Persistent</code>.
565   * 
566   * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods 
567   * @throws AccessPoemException 
568   *         if the current <code>AccessToken</code> 
569   *         does not confer write access rights 
570   * @return the value of the field <code>Datefield</code> for this 
571   *         <code>EverythingNormal</code> <code>Persistent</code>  
572   */
573 
574   public Date getDatefield()
575       throws AccessPoemException {
576     readLock();
577     return getDatefield_unsafe();
578   }
579 
580 
581  /**
582   * Sets the <code>Datefield</code> value, with checking, for this 
583   * <code>EverythingNormal</code> <code>Persistent</code>.
584   * 
585   * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods  
586   * @param cooked  a validated <code>int</code> 
587   * @throws AccessPoemException 
588   *         if the current <code>AccessToken</code> 
589   *         does not confer write access rights
590   * @throws ValidationPoemException 
591   *         if the value is not valid
592   */
593   public void setDatefield(Date cooked)
594       throws AccessPoemException, ValidationPoemException {
595     _getEverythingNormalTable().getDatefieldColumn().
596       getType().assertValidCooked(cooked);
597     writeLock();
598     setDatefield_unsafe(cooked);
599   }
600 
601 
602  /**
603   * Retrieves the <code>Datefield</code> value as a <code>Field</code>
604   * from this <code>EverythingNormal</code> <code>Persistent</code>.
605   * 
606   * see org.melati.poem.prepro.FieldDef#generateFieldCreator 
607   * @throws AccessPoemException 
608   *         if the current <code>AccessToken</code> 
609   *         does not confer write access rights
610   * @return the Date datefield
611   */
612   public Field<Date> getDatefieldField() throws AccessPoemException {
613     Column<Date> c = _getEverythingNormalTable().getDatefieldColumn();
614     return new Field<Date>((Date)c.getRaw(this), c);
615   }
616 
617 
618  /**
619   * Retrieves the <code>Doublefield</code> value, without locking, 
620   * for this <code>EverythingNormal</code> <code>Persistent</code>.
621   *
622   * see org.melati.poem.prepro.FieldDef#generateBaseMethods 
623   * @return the Double doublefield
624   */
625   public Double getDoublefield_unsafe() {
626     return doublefield;
627   }
628 
629 
630  /**
631   * Sets the <code>Doublefield</code> value directly, without checking, 
632   * for this EverythingNormal <code>Persistent</code>.
633   * 
634   * see org.melati.poem.prepro.FieldDef#generateBaseMethods 
635   * @param cooked  the pre-validated value to set
636   */
637   public void setDoublefield_unsafe(Double cooked) {
638     doublefield = cooked;
639   }
640 
641  /**
642   * Retrieves the Doublefield value, with locking, for this 
643   * <code>EverythingNormal</code> <code>Persistent</code>.
644   * 
645   * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods 
646   * @throws AccessPoemException 
647   *         if the current <code>AccessToken</code> 
648   *         does not confer write access rights 
649   * @return the value of the field <code>Doublefield</code> for this 
650   *         <code>EverythingNormal</code> <code>Persistent</code>  
651   */
652 
653   public Double getDoublefield()
654       throws AccessPoemException {
655     readLock();
656     return getDoublefield_unsafe();
657   }
658 
659 
660  /**
661   * Sets the <code>Doublefield</code> value, with checking, for this 
662   * <code>EverythingNormal</code> <code>Persistent</code>.
663   * 
664   * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods  
665   * @param cooked  a validated <code>int</code> 
666   * @throws AccessPoemException 
667   *         if the current <code>AccessToken</code> 
668   *         does not confer write access rights
669   * @throws ValidationPoemException 
670   *         if the value is not valid
671   */
672   public void setDoublefield(Double cooked)
673       throws AccessPoemException, ValidationPoemException {
674     _getEverythingNormalTable().getDoublefieldColumn().
675       getType().assertValidCooked(cooked);
676     writeLock();
677     setDoublefield_unsafe(cooked);
678   }
679 
680  /**
681   * Sets the <code>Doublefield</code> value, with checking, for this <code>EverythingNormal</code> <code>Persistent</code>.
682   * 
683   * Generated by org.melati.poem.prepro.DoubleFieldDef#generateBaseMethods 
684   * @param cooked  a validated <code>int</code> 
685   * @throws AccessPoemException 
686   *         if the current <code>AccessToken</code> 
687   *         does not confer write access rights
688   * @throws ValidationPoemException 
689   *         if the value is not valid
690   */
691 
692   public final void setDoublefield(double cooked)
693       throws AccessPoemException, ValidationPoemException {
694     setDoublefield(new Double(cooked));
695   }
696 
697 
698  /**
699   * Retrieves the <code>Doublefield</code> value as a <code>Field</code>
700   * from this <code>EverythingNormal</code> <code>Persistent</code>.
701   * 
702   * see org.melati.poem.prepro.FieldDef#generateFieldCreator 
703   * @throws AccessPoemException 
704   *         if the current <code>AccessToken</code> 
705   *         does not confer write access rights
706   * @return the Double doublefield
707   */
708   public Field<Double> getDoublefieldField() throws AccessPoemException {
709     Column<Double> c = _getEverythingNormalTable().getDoublefieldColumn();
710     return new Field<Double>((Double)c.getRaw(this), c);
711   }
712 
713 
714  /**
715   * Retrieves the <code>Integerfield</code> value, without locking, 
716   * for this <code>EverythingNormal</code> <code>Persistent</code>.
717   *
718   * see org.melati.poem.prepro.FieldDef#generateBaseMethods 
719   * @return the Integer integerfield
720   */
721   public Integer getIntegerfield_unsafe() {
722     return integerfield;
723   }
724 
725 
726  /**
727   * Sets the <code>Integerfield</code> value directly, without checking, 
728   * for this EverythingNormal <code>Persistent</code>.
729   * 
730   * see org.melati.poem.prepro.FieldDef#generateBaseMethods 
731   * @param cooked  the pre-validated value to set
732   */
733   public void setIntegerfield_unsafe(Integer cooked) {
734     integerfield = cooked;
735   }
736 
737  /**
738   * Retrieves the Integerfield value, with locking, for this 
739   * <code>EverythingNormal</code> <code>Persistent</code>.
740   * 
741   * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods 
742   * @throws AccessPoemException 
743   *         if the current <code>AccessToken</code> 
744   *         does not confer write access rights 
745   * @return the value of the field <code>Integerfield</code> for this 
746   *         <code>EverythingNormal</code> <code>Persistent</code>  
747   */
748 
749   public Integer getIntegerfield()
750       throws AccessPoemException {
751     readLock();
752     return getIntegerfield_unsafe();
753   }
754 
755 
756  /**
757   * Sets the <code>Integerfield</code> value, with checking, for this 
758   * <code>EverythingNormal</code> <code>Persistent</code>.
759   * 
760   * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods  
761   * @param cooked  a validated <code>int</code> 
762   * @throws AccessPoemException 
763   *         if the current <code>AccessToken</code> 
764   *         does not confer write access rights
765   * @throws ValidationPoemException 
766   *         if the value is not valid
767   */
768   public void setIntegerfield(Integer cooked)
769       throws AccessPoemException, ValidationPoemException {
770     _getEverythingNormalTable().getIntegerfieldColumn().
771       getType().assertValidCooked(cooked);
772     writeLock();
773     setIntegerfield_unsafe(cooked);
774   }
775 
776  /**
777   * Sets the <code>Integerfield</code> value, with checking, for this 
778   * <code>EverythingNormal</code> <code>Persistent</code>.
779   * 
780   * Generated by org.melati.poem.prepro.IntegerFieldDef#generateBaseMethods 
781   * @param cooked  a validated <code>int</code>
782   * @throws AccessPoemException 
783   *         if the current <code>AccessToken</code> 
784   *         does not confer write access rights
785   * @throws ValidationPoemException 
786   *         if the value is not valid
787   */
788 
789   public final void setIntegerfield(int cooked)
790       throws AccessPoemException, ValidationPoemException {
791     setIntegerfield(new Integer(cooked));
792   }
793 
794 
795  /**
796   * Retrieves the <code>Integerfield</code> value as a <code>Field</code>
797   * from this <code>EverythingNormal</code> <code>Persistent</code>.
798   * 
799   * see org.melati.poem.prepro.FieldDef#generateFieldCreator 
800   * @throws AccessPoemException 
801   *         if the current <code>AccessToken</code> 
802   *         does not confer write access rights
803   * @return the Integer integerfield
804   */
805   public Field<Integer> getIntegerfieldField() throws AccessPoemException {
806     Column<Integer> c = _getEverythingNormalTable().getIntegerfieldColumn();
807     return new Field<Integer>((Integer)c.getRaw(this), c);
808   }
809 
810 
811  /**
812   * Retrieves the <code>Longfield</code> value, without locking, 
813   * for this <code>EverythingNormal</code> <code>Persistent</code>.
814   *
815   * see org.melati.poem.prepro.FieldDef#generateBaseMethods 
816   * @return the Long longfield
817   */
818   public Long getLongfield_unsafe() {
819     return longfield;
820   }
821 
822 
823  /**
824   * Sets the <code>Longfield</code> value directly, without checking, 
825   * for this EverythingNormal <code>Persistent</code>.
826   * 
827   * see org.melati.poem.prepro.FieldDef#generateBaseMethods 
828   * @param cooked  the pre-validated value to set
829   */
830   public void setLongfield_unsafe(Long cooked) {
831     longfield = cooked;
832   }
833 
834  /**
835   * Retrieves the Longfield value, with locking, for this 
836   * <code>EverythingNormal</code> <code>Persistent</code>.
837   * 
838   * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods 
839   * @throws AccessPoemException 
840   *         if the current <code>AccessToken</code> 
841   *         does not confer write access rights 
842   * @return the value of the field <code>Longfield</code> for this 
843   *         <code>EverythingNormal</code> <code>Persistent</code>  
844   */
845 
846   public Long getLongfield()
847       throws AccessPoemException {
848     readLock();
849     return getLongfield_unsafe();
850   }
851 
852 
853  /**
854   * Sets the <code>Longfield</code> value, with checking, for this 
855   * <code>EverythingNormal</code> <code>Persistent</code>.
856   * 
857   * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods  
858   * @param cooked  a validated <code>int</code> 
859   * @throws AccessPoemException 
860   *         if the current <code>AccessToken</code> 
861   *         does not confer write access rights
862   * @throws ValidationPoemException 
863   *         if the value is not valid
864   */
865   public void setLongfield(Long cooked)
866       throws AccessPoemException, ValidationPoemException {
867     _getEverythingNormalTable().getLongfieldColumn().
868       getType().assertValidCooked(cooked);
869     writeLock();
870     setLongfield_unsafe(cooked);
871   }
872 
873  /**
874   * Sets the <code>Longfield</code> value, with checking, for this 
875   * <code>EverythingNormal</code> <code>Persistent</code>.
876   * 
877   * Generated by org.melati.poem.prepro.LongFieldDef#generateBaseMethods 
878   * @param cooked  a validated <code>int</code>
879   * @throws AccessPoemException 
880   *         if the current <code>AccessToken</code> 
881   *         does not confer write access rights
882   * @throws ValidationPoemException 
883   *         if the value is not valid
884   */
885 
886   public final void setLongfield(long cooked)
887       throws AccessPoemException, ValidationPoemException {
888     setLongfield(new Long(cooked));
889   }
890 
891 
892  /**
893   * Retrieves the <code>Longfield</code> value as a <code>Field</code>
894   * from this <code>EverythingNormal</code> <code>Persistent</code>.
895   * 
896   * see org.melati.poem.prepro.FieldDef#generateFieldCreator 
897   * @throws AccessPoemException 
898   *         if the current <code>AccessToken</code> 
899   *         does not confer write access rights
900   * @return the Long longfield
901   */
902   public Field<Long> getLongfieldField() throws AccessPoemException {
903     Column<Long> c = _getEverythingNormalTable().getLongfieldColumn();
904     return new Field<Long>((Long)c.getRaw(this), c);
905   }
906 
907 
908  /**
909   * Retrieves the <code>Bigdecimalfield</code> value, without locking, 
910   * for this <code>EverythingNormal</code> <code>Persistent</code>.
911   *
912   * see org.melati.poem.prepro.FieldDef#generateBaseMethods 
913   * @return the BigDecimal bigdecimalfield
914   */
915   public BigDecimal getBigdecimalfield_unsafe() {
916     return bigdecimalfield;
917   }
918 
919 
920  /**
921   * Sets the <code>Bigdecimalfield</code> value directly, without checking, 
922   * for this EverythingNormal <code>Persistent</code>.
923   * 
924   * see org.melati.poem.prepro.FieldDef#generateBaseMethods 
925   * @param cooked  the pre-validated value to set
926   */
927   public void setBigdecimalfield_unsafe(BigDecimal cooked) {
928     bigdecimalfield = cooked;
929   }
930 
931  /**
932   * Retrieves the Bigdecimalfield value, with locking, for this 
933   * <code>EverythingNormal</code> <code>Persistent</code>.
934   * 
935   * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods 
936   * @throws AccessPoemException 
937   *         if the current <code>AccessToken</code> 
938   *         does not confer write access rights 
939   * @return the value of the field <code>Bigdecimalfield</code> for this 
940   *         <code>EverythingNormal</code> <code>Persistent</code>  
941   */
942 
943   public BigDecimal getBigdecimalfield()
944       throws AccessPoemException {
945     readLock();
946     return getBigdecimalfield_unsafe();
947   }
948 
949 
950  /**
951   * Sets the <code>Bigdecimalfield</code> value, with checking, for this 
952   * <code>EverythingNormal</code> <code>Persistent</code>.
953   * 
954   * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods  
955   * @param cooked  a validated <code>int</code> 
956   * @throws AccessPoemException 
957   *         if the current <code>AccessToken</code> 
958   *         does not confer write access rights
959   * @throws ValidationPoemException 
960   *         if the value is not valid
961   */
962   public void setBigdecimalfield(BigDecimal cooked)
963       throws AccessPoemException, ValidationPoemException {
964     _getEverythingNormalTable().getBigdecimalfieldColumn().
965       getType().assertValidCooked(cooked);
966     writeLock();
967     setBigdecimalfield_unsafe(cooked);
968   }
969 
970 
971  /**
972   * Retrieves the <code>Bigdecimalfield</code> value as a <code>Field</code>
973   * from this <code>EverythingNormal</code> <code>Persistent</code>.
974   * 
975   * see org.melati.poem.prepro.FieldDef#generateFieldCreator 
976   * @throws AccessPoemException 
977   *         if the current <code>AccessToken</code> 
978   *         does not confer write access rights
979   * @return the BigDecimal bigdecimalfield
980   */
981   public Field<BigDecimal> getBigdecimalfieldField() throws AccessPoemException {
982     Column<BigDecimal> c = _getEverythingNormalTable().getBigdecimalfieldColumn();
983     return new Field<BigDecimal>((BigDecimal)c.getRaw(this), c);
984   }
985 
986 
987  /**
988   * Retrieves the <code>Timestampfield</code> value, without locking, 
989   * for this <code>EverythingNormal</code> <code>Persistent</code>.
990   *
991   * see org.melati.poem.prepro.FieldDef#generateBaseMethods 
992   * @return the Timestamp timestampfield
993   */
994   public Timestamp getTimestampfield_unsafe() {
995     return timestampfield;
996   }
997 
998 
999  /**
1000   * Sets the <code>Timestampfield</code> value directly, without checking, 
1001   * for this EverythingNormal <code>Persistent</code>.
1002   * 
1003   * see org.melati.poem.prepro.FieldDef#generateBaseMethods 
1004   * @param cooked  the pre-validated value to set
1005   */
1006   public void setTimestampfield_unsafe(Timestamp cooked) {
1007     timestampfield = cooked;
1008   }
1009 
1010  /**
1011   * Retrieves the Timestampfield value, with locking, for this 
1012   * <code>EverythingNormal</code> <code>Persistent</code>.
1013   * 
1014   * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods 
1015   * @throws AccessPoemException 
1016   *         if the current <code>AccessToken</code> 
1017   *         does not confer write access rights 
1018   * @return the value of the field <code>Timestampfield</code> for this 
1019   *         <code>EverythingNormal</code> <code>Persistent</code>  
1020   */
1021 
1022   public Timestamp getTimestampfield()
1023       throws AccessPoemException {
1024     readLock();
1025     return getTimestampfield_unsafe();
1026   }
1027 
1028 
1029  /**
1030   * Sets the <code>Timestampfield</code> value, with checking, for this 
1031   * <code>EverythingNormal</code> <code>Persistent</code>.
1032   * 
1033   * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods  
1034   * @param cooked  a validated <code>int</code> 
1035   * @throws AccessPoemException 
1036   *         if the current <code>AccessToken</code> 
1037   *         does not confer write access rights
1038   * @throws ValidationPoemException 
1039   *         if the value is not valid
1040   */
1041   public void setTimestampfield(Timestamp cooked)
1042       throws AccessPoemException, ValidationPoemException {
1043     _getEverythingNormalTable().getTimestampfieldColumn().
1044       getType().assertValidCooked(cooked);
1045     writeLock();
1046     setTimestampfield_unsafe(cooked);
1047   }
1048 
1049 
1050  /**
1051   * Retrieves the <code>Timestampfield</code> value as a <code>Field</code>
1052   * from this <code>EverythingNormal</code> <code>Persistent</code>.
1053   * 
1054   * see org.melati.poem.prepro.FieldDef#generateFieldCreator 
1055   * @throws AccessPoemException 
1056   *         if the current <code>AccessToken</code> 
1057   *         does not confer write access rights
1058   * @return the Timestamp timestampfield
1059   */
1060   public Field<Timestamp> getTimestampfieldField() throws AccessPoemException {
1061     Column<Timestamp> c = _getEverythingNormalTable().getTimestampfieldColumn();
1062     return new Field<Timestamp>((Timestamp)c.getRaw(this), c);
1063   }
1064 
1065 
1066  /**
1067   * Retrieves the <code>Deletedfield</code> value, without locking, 
1068   * for this <code>EverythingNormal</code> <code>Persistent</code>.
1069   *
1070   * see org.melati.poem.prepro.FieldDef#generateBaseMethods 
1071   * @return the Boolean deletedfield
1072   */
1073   public Boolean getDeletedfield_unsafe() {
1074     return deletedfield;
1075   }
1076 
1077 
1078  /**
1079   * Sets the <code>Deletedfield</code> value directly, without checking, 
1080   * for this EverythingNormal <code>Persistent</code>.
1081   * 
1082   * see org.melati.poem.prepro.FieldDef#generateBaseMethods 
1083   * @param cooked  the pre-validated value to set
1084   */
1085   public void setDeletedfield_unsafe(Boolean cooked) {
1086     deletedfield = cooked;
1087   }
1088 
1089  /**
1090   * Retrieves the Deletedfield value, with locking, for this 
1091   * <code>EverythingNormal</code> <code>Persistent</code>.
1092   * 
1093   * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods 
1094   * @throws AccessPoemException 
1095   *         if the current <code>AccessToken</code> 
1096   *         does not confer write access rights 
1097   * @return the value of the field <code>Deletedfield</code> for this 
1098   *         <code>EverythingNormal</code> <code>Persistent</code>  
1099   */
1100 
1101   public Boolean getDeletedfield()
1102       throws AccessPoemException {
1103     readLock();
1104     return getDeletedfield_unsafe();
1105   }
1106 
1107 
1108  /**
1109   * Sets the <code>Deletedfield</code> value, with checking, for this 
1110   * <code>EverythingNormal</code> <code>Persistent</code>.
1111   * 
1112   * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods  
1113   * @param cooked  a validated <code>int</code> 
1114   * @throws AccessPoemException 
1115   *         if the current <code>AccessToken</code> 
1116   *         does not confer write access rights
1117   * @throws ValidationPoemException 
1118   *         if the value is not valid
1119   */
1120   public void setDeletedfield(Boolean cooked)
1121       throws AccessPoemException, ValidationPoemException {
1122     _getEverythingNormalTable().getDeletedfieldColumn().
1123       getType().assertValidCooked(cooked);
1124     writeLock();
1125     setDeletedfield_unsafe(cooked);
1126   }
1127 
1128  /**
1129   * Sets the <code>Deletedfield</code> value, with checking, 
1130   * from a <code>boolean</code>, for this 
1131   * <code>EverythingNormal</code> <code>Persistent</code>.
1132   * 
1133   * Generated by org.melati.poem.prepro.BooleanFieldDef#generateBaseMethods 
1134   * @param cooked  a <code>boolean</code> 
1135   * @throws AccessPoemException 
1136   *         if the current <code>AccessToken</code> 
1137   *         does not confer write access rights
1138   * @throws ValidationPoemException 
1139   *         if the value is not valid
1140   */
1141 
1142   public final void setDeletedfield(boolean cooked)
1143       throws AccessPoemException, ValidationPoemException {
1144     setDeletedfield(cooked ? Boolean.TRUE : Boolean.FALSE);
1145   }
1146 
1147 
1148  /**
1149   * Retrieves the <code>Deletedfield</code> value as a <code>Field</code>
1150   * from this <code>EverythingNormal</code> <code>Persistent</code>.
1151   * 
1152   * see org.melati.poem.prepro.FieldDef#generateFieldCreator 
1153   * @throws AccessPoemException 
1154   *         if the current <code>AccessToken</code> 
1155   *         does not confer write access rights
1156   * @return the Boolean deletedfield
1157   */
1158   public Field<Boolean> getDeletedfieldField() throws AccessPoemException {
1159     Column<Boolean> c = _getEverythingNormalTable().getDeletedfieldColumn();
1160     return new Field<Boolean>((Boolean)c.getRaw(this), c);
1161   }
1162 
1163 }
1164