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