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.ValidationPoemException;
10 import org.paneris.bibliomania.BibliomaniaDatabaseTables;
11 import org.paneris.bibliomania.SectionGroup;
12 import org.paneris.bibliomania.SectionGroupTable;
13 import org.paneris.bibliomania.Unit;
14
15
16 /**
17 * Melati POEM generated abstract base class for a <code>Persistent</code>
18 * <code>SectionGroup</code> Object.
19 *
20 * see org.melati.poem.prepro.TableDef#generatePersistentBaseJava
21 */
22 public abstract class SectionGroupBase extends Unit {
23
24
25 /**
26 * Retrieves the Database object.
27 *
28 * see org.melati.poem.prepro.TableDef#generatePersistentBaseJava
29 * @return the database
30 */
31 public BibliomaniaDatabaseTables getBibliomaniaDatabaseTables() {
32 return (BibliomaniaDatabaseTables)getDatabase();
33 }
34
35
36 /**
37 * Retrieves the <code>SectionGroupTable</code> table
38 * which this <code>Persistent</code> is from.
39 *
40 * see org.melati.poem.prepro.TableDef#generatePersistentBaseJava
41 * @return the SectionGroupTable
42 */
43 @SuppressWarnings("unchecked")
44 public SectionGroupTable<SectionGroup> getSectionGroupTable() {
45 return (SectionGroupTable<SectionGroup>)getTable();
46 }
47
48 @SuppressWarnings("unchecked")
49 private SectionGroupTable<SectionGroup> _getSectionGroupTable() {
50 return (SectionGroupTable<SectionGroup>)getTable();
51 }
52
53 // Fields in this table
54 /**
55 * id
56 */
57 protected Integer id;
58 /**
59 * Display name
60 */
61 protected String displayname;
62 /**
63 * generic - Whether the group is generic
64 */
65 protected Boolean generic;
66 /**
67 * urlprefix - Prefix for URLs in the group
68 */
69 protected String urlprefix;
70 /**
71 * subtext
72 */
73 protected String subtext;
74 /**
75 * Theme colour - The area's thematic colour
76 */
77 protected String themecolour;
78 /**
79 * imagename
80 */
81 protected String imagename;
82 /**
83 * image1file
84 */
85 protected String image1file;
86 /**
87 * image2file
88 */
89 protected String image2file;
90 /**
91 * imagenum
92 */
93 protected String imagenum;
94
95
96 /**
97 * Retrieves the <code>Id</code> value, without locking,
98 * for this <code>SectionGroup</code> <code>Persistent</code>.
99 *
100 * see org.melati.poem.prepro.FieldDef#generateBaseMethods
101 * @return the Integer id
102 */
103 public Integer getId_unsafe() {
104 return id;
105 }
106
107
108 /**
109 * Sets the <code>Id</code> value directly, without checking,
110 * for this SectionGroup <code>Persistent</code>.
111 *
112 * see org.melati.poem.prepro.FieldDef#generateBaseMethods
113 * @param cooked the pre-validated value to set
114 */
115 public void setId_unsafe(Integer cooked) {
116 id = cooked;
117 }
118
119 /**
120 * Retrieves the Id value, with locking, for this
121 * <code>SectionGroup</code> <code>Persistent</code>.
122 *
123 * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods
124 * @throws AccessPoemException
125 * if the current <code>AccessToken</code>
126 * does not confer write access rights
127 * @return the value of the field <code>Id</code> for this
128 * <code>SectionGroup</code> <code>Persistent</code>
129 */
130
131 public Integer getId()
132 throws AccessPoemException {
133 readLock();
134 return getId_unsafe();
135 }
136
137
138 /**
139 * Sets the <code>Id</code> value, with checking, for this
140 * <code>SectionGroup</code> <code>Persistent</code>.
141 *
142 * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods
143 * @param cooked a validated <code>int</code>
144 * @throws AccessPoemException
145 * if the current <code>AccessToken</code>
146 * does not confer write access rights
147 * @throws ValidationPoemException
148 * if the value is not valid
149 */
150 public void setId(Integer cooked)
151 throws AccessPoemException, ValidationPoemException {
152 _getSectionGroupTable().getIdColumn().
153 getType().assertValidCooked(cooked);
154 writeLock();
155 setId_unsafe(cooked);
156 }
157
158 /**
159 * Sets the <code>Id</code> value, with checking, for this
160 * <code>SectionGroup</code> <code>Persistent</code>.
161 *
162 * Generated by org.melati.poem.prepro.IntegerFieldDef#generateBaseMethods
163 * @param cooked a validated <code>int</code>
164 * @throws AccessPoemException
165 * if the current <code>AccessToken</code>
166 * does not confer write access rights
167 * @throws ValidationPoemException
168 * if the value is not valid
169 */
170
171 public final void setId(int cooked)
172 throws AccessPoemException, ValidationPoemException {
173 setId(new Integer(cooked));
174 }
175
176
177 /**
178 * Retrieves the <code>Id</code> value as a <code>Field</code>
179 * from this <code>SectionGroup</code> <code>Persistent</code>.
180 *
181 * see org.melati.poem.prepro.FieldDef#generateFieldCreator
182 * @throws AccessPoemException
183 * if the current <code>AccessToken</code>
184 * does not confer write access rights
185 * @return the Integer id
186 */
187 public Field<Integer> getIdField() throws AccessPoemException {
188 Column<Integer> c = _getSectionGroupTable().getIdColumn();
189 return new Field<Integer>((Integer)c.getRaw(this), c);
190 }
191
192
193 /**
194 * Retrieves the <code>Displayname</code> value, without locking,
195 * for this <code>SectionGroup</code> <code>Persistent</code>.
196 *
197 * see org.melati.poem.prepro.FieldDef#generateBaseMethods
198 * @return the String displayname
199 */
200 public String getDisplayname_unsafe() {
201 return displayname;
202 }
203
204
205 /**
206 * Sets the <code>Displayname</code> value directly, without checking,
207 * for this SectionGroup <code>Persistent</code>.
208 *
209 * see org.melati.poem.prepro.FieldDef#generateBaseMethods
210 * @param cooked the pre-validated value to set
211 */
212 public void setDisplayname_unsafe(String cooked) {
213 displayname = cooked;
214 }
215
216 /**
217 * Retrieves the Displayname value, with locking, for this
218 * <code>SectionGroup</code> <code>Persistent</code>.
219 *
220 * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods
221 * @throws AccessPoemException
222 * if the current <code>AccessToken</code>
223 * does not confer write access rights
224 * @return the value of the field <code>Displayname</code> for this
225 * <code>SectionGroup</code> <code>Persistent</code>
226 */
227
228 public String getDisplayname()
229 throws AccessPoemException {
230 readLock();
231 return getDisplayname_unsafe();
232 }
233
234
235 /**
236 * Sets the <code>Displayname</code> value, with checking, for this
237 * <code>SectionGroup</code> <code>Persistent</code>.
238 *
239 * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods
240 * @param cooked a validated <code>int</code>
241 * @throws AccessPoemException
242 * if the current <code>AccessToken</code>
243 * does not confer write access rights
244 * @throws ValidationPoemException
245 * if the value is not valid
246 */
247 public void setDisplayname(String cooked)
248 throws AccessPoemException, ValidationPoemException {
249 _getSectionGroupTable().getDisplaynameColumn().
250 getType().assertValidCooked(cooked);
251 writeLock();
252 setDisplayname_unsafe(cooked);
253 }
254
255
256 /**
257 * Retrieves the <code>Displayname</code> value as a <code>Field</code>
258 * from this <code>SectionGroup</code> <code>Persistent</code>.
259 *
260 * see org.melati.poem.prepro.FieldDef#generateFieldCreator
261 * @throws AccessPoemException
262 * if the current <code>AccessToken</code>
263 * does not confer write access rights
264 * @return the String displayname
265 */
266 public Field<String> getDisplaynameField() throws AccessPoemException {
267 Column<String> c = _getSectionGroupTable().getDisplaynameColumn();
268 return new Field<String>((String)c.getRaw(this), c);
269 }
270
271
272 /**
273 * Retrieves the <code>Generic</code> value, without locking,
274 * for this <code>SectionGroup</code> <code>Persistent</code>.
275 *
276 * see org.melati.poem.prepro.FieldDef#generateBaseMethods
277 * @return the Boolean generic
278 */
279 public Boolean getGeneric_unsafe() {
280 return generic;
281 }
282
283
284 /**
285 * Sets the <code>Generic</code> value directly, without checking,
286 * for this SectionGroup <code>Persistent</code>.
287 *
288 * see org.melati.poem.prepro.FieldDef#generateBaseMethods
289 * @param cooked the pre-validated value to set
290 */
291 public void setGeneric_unsafe(Boolean cooked) {
292 generic = cooked;
293 }
294
295 /**
296 * Retrieves the Generic value, with locking, for this
297 * <code>SectionGroup</code> <code>Persistent</code>.
298 * Field description:
299 * Whether the group is generic
300 *
301 * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods
302 * @throws AccessPoemException
303 * if the current <code>AccessToken</code>
304 * does not confer write access rights
305 * @return the value of the field <code>Generic</code> for this
306 * <code>SectionGroup</code> <code>Persistent</code>
307 */
308
309 public Boolean getGeneric()
310 throws AccessPoemException {
311 readLock();
312 return getGeneric_unsafe();
313 }
314
315
316 /**
317 * Sets the <code>Generic</code> value, with checking, for this
318 * <code>SectionGroup</code> <code>Persistent</code>.
319 * Field description:
320 * Whether the group is generic
321 *
322 * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods
323 * @param cooked a validated <code>int</code>
324 * @throws AccessPoemException
325 * if the current <code>AccessToken</code>
326 * does not confer write access rights
327 * @throws ValidationPoemException
328 * if the value is not valid
329 */
330 public void setGeneric(Boolean cooked)
331 throws AccessPoemException, ValidationPoemException {
332 _getSectionGroupTable().getGenericColumn().
333 getType().assertValidCooked(cooked);
334 writeLock();
335 setGeneric_unsafe(cooked);
336 }
337
338 /**
339 * Sets the <code>Generic</code> value, with checking,
340 * from a <code>boolean</code>, for this
341 * <code>SectionGroup</code> <code>Persistent</code>.
342 * Field description:
343 * Whether the group is generic
344 *
345 *
346 * Generated by org.melati.poem.prepro.BooleanFieldDef#generateBaseMethods
347 * @param cooked a <code>boolean</code>
348 * @throws AccessPoemException
349 * if the current <code>AccessToken</code>
350 * does not confer write access rights
351 * @throws ValidationPoemException
352 * if the value is not valid
353 */
354
355 public final void setGeneric(boolean cooked)
356 throws AccessPoemException, ValidationPoemException {
357 setGeneric(cooked ? Boolean.TRUE : Boolean.FALSE);
358 }
359
360
361 /**
362 * Retrieves the <code>Generic</code> value as a <code>Field</code>
363 * from this <code>SectionGroup</code> <code>Persistent</code>.
364 *
365 * see org.melati.poem.prepro.FieldDef#generateFieldCreator
366 * @throws AccessPoemException
367 * if the current <code>AccessToken</code>
368 * does not confer write access rights
369 * @return the Boolean generic
370 */
371 public Field<Boolean> getGenericField() throws AccessPoemException {
372 Column<Boolean> c = _getSectionGroupTable().getGenericColumn();
373 return new Field<Boolean>((Boolean)c.getRaw(this), c);
374 }
375
376
377 /**
378 * Retrieves the <code>Urlprefix</code> value, without locking,
379 * for this <code>SectionGroup</code> <code>Persistent</code>.
380 *
381 * see org.melati.poem.prepro.FieldDef#generateBaseMethods
382 * @return the String urlprefix
383 */
384 public String getUrlprefix_unsafe() {
385 return urlprefix;
386 }
387
388
389 /**
390 * Sets the <code>Urlprefix</code> value directly, without checking,
391 * for this SectionGroup <code>Persistent</code>.
392 *
393 * see org.melati.poem.prepro.FieldDef#generateBaseMethods
394 * @param cooked the pre-validated value to set
395 */
396 public void setUrlprefix_unsafe(String cooked) {
397 urlprefix = cooked;
398 }
399
400 /**
401 * Retrieves the Urlprefix value, with locking, for this
402 * <code>SectionGroup</code> <code>Persistent</code>.
403 * Field description:
404 * Prefix for URLs in the group
405 *
406 * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods
407 * @throws AccessPoemException
408 * if the current <code>AccessToken</code>
409 * does not confer write access rights
410 * @return the value of the field <code>Urlprefix</code> for this
411 * <code>SectionGroup</code> <code>Persistent</code>
412 */
413
414 public String getUrlprefix()
415 throws AccessPoemException {
416 readLock();
417 return getUrlprefix_unsafe();
418 }
419
420
421 /**
422 * Sets the <code>Urlprefix</code> value, with checking, for this
423 * <code>SectionGroup</code> <code>Persistent</code>.
424 * Field description:
425 * Prefix for URLs in the group
426 *
427 * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods
428 * @param cooked a validated <code>int</code>
429 * @throws AccessPoemException
430 * if the current <code>AccessToken</code>
431 * does not confer write access rights
432 * @throws ValidationPoemException
433 * if the value is not valid
434 */
435 public void setUrlprefix(String cooked)
436 throws AccessPoemException, ValidationPoemException {
437 _getSectionGroupTable().getUrlprefixColumn().
438 getType().assertValidCooked(cooked);
439 writeLock();
440 setUrlprefix_unsafe(cooked);
441 }
442
443
444 /**
445 * Retrieves the <code>Urlprefix</code> value as a <code>Field</code>
446 * from this <code>SectionGroup</code> <code>Persistent</code>.
447 *
448 * see org.melati.poem.prepro.FieldDef#generateFieldCreator
449 * @throws AccessPoemException
450 * if the current <code>AccessToken</code>
451 * does not confer write access rights
452 * @return the String urlprefix
453 */
454 public Field<String> getUrlprefixField() throws AccessPoemException {
455 Column<String> c = _getSectionGroupTable().getUrlprefixColumn();
456 return new Field<String>((String)c.getRaw(this), c);
457 }
458
459
460 /**
461 * Retrieves the <code>Subtext</code> value, without locking,
462 * for this <code>SectionGroup</code> <code>Persistent</code>.
463 *
464 * see org.melati.poem.prepro.FieldDef#generateBaseMethods
465 * @return the String subtext
466 */
467 public String getSubtext_unsafe() {
468 return subtext;
469 }
470
471
472 /**
473 * Sets the <code>Subtext</code> value directly, without checking,
474 * for this SectionGroup <code>Persistent</code>.
475 *
476 * see org.melati.poem.prepro.FieldDef#generateBaseMethods
477 * @param cooked the pre-validated value to set
478 */
479 public void setSubtext_unsafe(String cooked) {
480 subtext = cooked;
481 }
482
483 /**
484 * Retrieves the Subtext value, with locking, for this
485 * <code>SectionGroup</code> <code>Persistent</code>.
486 *
487 * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods
488 * @throws AccessPoemException
489 * if the current <code>AccessToken</code>
490 * does not confer write access rights
491 * @return the value of the field <code>Subtext</code> for this
492 * <code>SectionGroup</code> <code>Persistent</code>
493 */
494
495 public String getSubtext()
496 throws AccessPoemException {
497 readLock();
498 return getSubtext_unsafe();
499 }
500
501
502 /**
503 * Sets the <code>Subtext</code> value, with checking, for this
504 * <code>SectionGroup</code> <code>Persistent</code>.
505 *
506 * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods
507 * @param cooked a validated <code>int</code>
508 * @throws AccessPoemException
509 * if the current <code>AccessToken</code>
510 * does not confer write access rights
511 * @throws ValidationPoemException
512 * if the value is not valid
513 */
514 public void setSubtext(String cooked)
515 throws AccessPoemException, ValidationPoemException {
516 _getSectionGroupTable().getSubtextColumn().
517 getType().assertValidCooked(cooked);
518 writeLock();
519 setSubtext_unsafe(cooked);
520 }
521
522
523 /**
524 * Retrieves the <code>Subtext</code> value as a <code>Field</code>
525 * from this <code>SectionGroup</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 String subtext
532 */
533 public Field<String> getSubtextField() throws AccessPoemException {
534 Column<String> c = _getSectionGroupTable().getSubtextColumn();
535 return new Field<String>((String)c.getRaw(this), c);
536 }
537
538
539 /**
540 * Retrieves the <code>Themecolour</code> value, without locking,
541 * for this <code>SectionGroup</code> <code>Persistent</code>.
542 *
543 * see org.melati.poem.prepro.FieldDef#generateBaseMethods
544 * @return the String themecolour
545 */
546 public String getThemecolour_unsafe() {
547 return themecolour;
548 }
549
550
551 /**
552 * Sets the <code>Themecolour</code> value directly, without checking,
553 * for this SectionGroup <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 setThemecolour_unsafe(String cooked) {
559 themecolour = cooked;
560 }
561
562 /**
563 * Retrieves the Themecolour value, with locking, for this
564 * <code>SectionGroup</code> <code>Persistent</code>.
565 * Field description:
566 * The area's thematic colour
567 *
568 * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods
569 * @throws AccessPoemException
570 * if the current <code>AccessToken</code>
571 * does not confer write access rights
572 * @return the value of the field <code>Themecolour</code> for this
573 * <code>SectionGroup</code> <code>Persistent</code>
574 */
575
576 public String getThemecolour()
577 throws AccessPoemException {
578 readLock();
579 return getThemecolour_unsafe();
580 }
581
582
583 /**
584 * Sets the <code>Themecolour</code> value, with checking, for this
585 * <code>SectionGroup</code> <code>Persistent</code>.
586 * Field description:
587 * The area's thematic colour
588 *
589 * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods
590 * @param cooked a validated <code>int</code>
591 * @throws AccessPoemException
592 * if the current <code>AccessToken</code>
593 * does not confer write access rights
594 * @throws ValidationPoemException
595 * if the value is not valid
596 */
597 public void setThemecolour(String cooked)
598 throws AccessPoemException, ValidationPoemException {
599 _getSectionGroupTable().getThemecolourColumn().
600 getType().assertValidCooked(cooked);
601 writeLock();
602 setThemecolour_unsafe(cooked);
603 }
604
605
606 /**
607 * Retrieves the <code>Themecolour</code> value as a <code>Field</code>
608 * from this <code>SectionGroup</code> <code>Persistent</code>.
609 *
610 * see org.melati.poem.prepro.FieldDef#generateFieldCreator
611 * @throws AccessPoemException
612 * if the current <code>AccessToken</code>
613 * does not confer write access rights
614 * @return the String themecolour
615 */
616 public Field<String> getThemecolourField() throws AccessPoemException {
617 Column<String> c = _getSectionGroupTable().getThemecolourColumn();
618 return new Field<String>((String)c.getRaw(this), c);
619 }
620
621
622 /**
623 * Retrieves the <code>Imagename</code> value, without locking,
624 * for this <code>SectionGroup</code> <code>Persistent</code>.
625 *
626 * see org.melati.poem.prepro.FieldDef#generateBaseMethods
627 * @return the String imagename
628 */
629 public String getImagename_unsafe() {
630 return imagename;
631 }
632
633
634 /**
635 * Sets the <code>Imagename</code> value directly, without checking,
636 * for this SectionGroup <code>Persistent</code>.
637 *
638 * see org.melati.poem.prepro.FieldDef#generateBaseMethods
639 * @param cooked the pre-validated value to set
640 */
641 public void setImagename_unsafe(String cooked) {
642 imagename = cooked;
643 }
644
645 /**
646 * Retrieves the Imagename value, with locking, for this
647 * <code>SectionGroup</code> <code>Persistent</code>.
648 *
649 * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods
650 * @throws AccessPoemException
651 * if the current <code>AccessToken</code>
652 * does not confer write access rights
653 * @return the value of the field <code>Imagename</code> for this
654 * <code>SectionGroup</code> <code>Persistent</code>
655 */
656
657 public String getImagename()
658 throws AccessPoemException {
659 readLock();
660 return getImagename_unsafe();
661 }
662
663
664 /**
665 * Sets the <code>Imagename</code> value, with checking, for this
666 * <code>SectionGroup</code> <code>Persistent</code>.
667 *
668 * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods
669 * @param cooked a validated <code>int</code>
670 * @throws AccessPoemException
671 * if the current <code>AccessToken</code>
672 * does not confer write access rights
673 * @throws ValidationPoemException
674 * if the value is not valid
675 */
676 public void setImagename(String cooked)
677 throws AccessPoemException, ValidationPoemException {
678 _getSectionGroupTable().getImagenameColumn().
679 getType().assertValidCooked(cooked);
680 writeLock();
681 setImagename_unsafe(cooked);
682 }
683
684
685 /**
686 * Retrieves the <code>Imagename</code> value as a <code>Field</code>
687 * from this <code>SectionGroup</code> <code>Persistent</code>.
688 *
689 * see org.melati.poem.prepro.FieldDef#generateFieldCreator
690 * @throws AccessPoemException
691 * if the current <code>AccessToken</code>
692 * does not confer write access rights
693 * @return the String imagename
694 */
695 public Field<String> getImagenameField() throws AccessPoemException {
696 Column<String> c = _getSectionGroupTable().getImagenameColumn();
697 return new Field<String>((String)c.getRaw(this), c);
698 }
699
700
701 /**
702 * Retrieves the <code>Image1file</code> value, without locking,
703 * for this <code>SectionGroup</code> <code>Persistent</code>.
704 *
705 * see org.melati.poem.prepro.FieldDef#generateBaseMethods
706 * @return the String image1file
707 */
708 public String getImage1file_unsafe() {
709 return image1file;
710 }
711
712
713 /**
714 * Sets the <code>Image1file</code> value directly, without checking,
715 * for this SectionGroup <code>Persistent</code>.
716 *
717 * see org.melati.poem.prepro.FieldDef#generateBaseMethods
718 * @param cooked the pre-validated value to set
719 */
720 public void setImage1file_unsafe(String cooked) {
721 image1file = cooked;
722 }
723
724 /**
725 * Retrieves the Image1file value, with locking, for this
726 * <code>SectionGroup</code> <code>Persistent</code>.
727 *
728 * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods
729 * @throws AccessPoemException
730 * if the current <code>AccessToken</code>
731 * does not confer write access rights
732 * @return the value of the field <code>Image1file</code> for this
733 * <code>SectionGroup</code> <code>Persistent</code>
734 */
735
736 public String getImage1file()
737 throws AccessPoemException {
738 readLock();
739 return getImage1file_unsafe();
740 }
741
742
743 /**
744 * Sets the <code>Image1file</code> value, with checking, for this
745 * <code>SectionGroup</code> <code>Persistent</code>.
746 *
747 * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods
748 * @param cooked a validated <code>int</code>
749 * @throws AccessPoemException
750 * if the current <code>AccessToken</code>
751 * does not confer write access rights
752 * @throws ValidationPoemException
753 * if the value is not valid
754 */
755 public void setImage1file(String cooked)
756 throws AccessPoemException, ValidationPoemException {
757 _getSectionGroupTable().getImage1fileColumn().
758 getType().assertValidCooked(cooked);
759 writeLock();
760 setImage1file_unsafe(cooked);
761 }
762
763
764 /**
765 * Retrieves the <code>Image1file</code> value as a <code>Field</code>
766 * from this <code>SectionGroup</code> <code>Persistent</code>.
767 *
768 * see org.melati.poem.prepro.FieldDef#generateFieldCreator
769 * @throws AccessPoemException
770 * if the current <code>AccessToken</code>
771 * does not confer write access rights
772 * @return the String image1file
773 */
774 public Field<String> getImage1fileField() throws AccessPoemException {
775 Column<String> c = _getSectionGroupTable().getImage1fileColumn();
776 return new Field<String>((String)c.getRaw(this), c);
777 }
778
779
780 /**
781 * Retrieves the <code>Image2file</code> value, without locking,
782 * for this <code>SectionGroup</code> <code>Persistent</code>.
783 *
784 * see org.melati.poem.prepro.FieldDef#generateBaseMethods
785 * @return the String image2file
786 */
787 public String getImage2file_unsafe() {
788 return image2file;
789 }
790
791
792 /**
793 * Sets the <code>Image2file</code> value directly, without checking,
794 * for this SectionGroup <code>Persistent</code>.
795 *
796 * see org.melati.poem.prepro.FieldDef#generateBaseMethods
797 * @param cooked the pre-validated value to set
798 */
799 public void setImage2file_unsafe(String cooked) {
800 image2file = cooked;
801 }
802
803 /**
804 * Retrieves the Image2file value, with locking, for this
805 * <code>SectionGroup</code> <code>Persistent</code>.
806 *
807 * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods
808 * @throws AccessPoemException
809 * if the current <code>AccessToken</code>
810 * does not confer write access rights
811 * @return the value of the field <code>Image2file</code> for this
812 * <code>SectionGroup</code> <code>Persistent</code>
813 */
814
815 public String getImage2file()
816 throws AccessPoemException {
817 readLock();
818 return getImage2file_unsafe();
819 }
820
821
822 /**
823 * Sets the <code>Image2file</code> value, with checking, for this
824 * <code>SectionGroup</code> <code>Persistent</code>.
825 *
826 * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods
827 * @param cooked a validated <code>int</code>
828 * @throws AccessPoemException
829 * if the current <code>AccessToken</code>
830 * does not confer write access rights
831 * @throws ValidationPoemException
832 * if the value is not valid
833 */
834 public void setImage2file(String cooked)
835 throws AccessPoemException, ValidationPoemException {
836 _getSectionGroupTable().getImage2fileColumn().
837 getType().assertValidCooked(cooked);
838 writeLock();
839 setImage2file_unsafe(cooked);
840 }
841
842
843 /**
844 * Retrieves the <code>Image2file</code> value as a <code>Field</code>
845 * from this <code>SectionGroup</code> <code>Persistent</code>.
846 *
847 * see org.melati.poem.prepro.FieldDef#generateFieldCreator
848 * @throws AccessPoemException
849 * if the current <code>AccessToken</code>
850 * does not confer write access rights
851 * @return the String image2file
852 */
853 public Field<String> getImage2fileField() throws AccessPoemException {
854 Column<String> c = _getSectionGroupTable().getImage2fileColumn();
855 return new Field<String>((String)c.getRaw(this), c);
856 }
857
858
859 /**
860 * Retrieves the <code>Imagenum</code> value, without locking,
861 * for this <code>SectionGroup</code> <code>Persistent</code>.
862 *
863 * see org.melati.poem.prepro.FieldDef#generateBaseMethods
864 * @return the String imagenum
865 */
866 public String getImagenum_unsafe() {
867 return imagenum;
868 }
869
870
871 /**
872 * Sets the <code>Imagenum</code> value directly, without checking,
873 * for this SectionGroup <code>Persistent</code>.
874 *
875 * see org.melati.poem.prepro.FieldDef#generateBaseMethods
876 * @param cooked the pre-validated value to set
877 */
878 public void setImagenum_unsafe(String cooked) {
879 imagenum = cooked;
880 }
881
882 /**
883 * Retrieves the Imagenum value, with locking, for this
884 * <code>SectionGroup</code> <code>Persistent</code>.
885 *
886 * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods
887 * @throws AccessPoemException
888 * if the current <code>AccessToken</code>
889 * does not confer write access rights
890 * @return the value of the field <code>Imagenum</code> for this
891 * <code>SectionGroup</code> <code>Persistent</code>
892 */
893
894 public String getImagenum()
895 throws AccessPoemException {
896 readLock();
897 return getImagenum_unsafe();
898 }
899
900
901 /**
902 * Sets the <code>Imagenum</code> value, with checking, for this
903 * <code>SectionGroup</code> <code>Persistent</code>.
904 *
905 * Generated by org.melati.poem.prepro.AtomFieldDef#generateBaseMethods
906 * @param cooked a validated <code>int</code>
907 * @throws AccessPoemException
908 * if the current <code>AccessToken</code>
909 * does not confer write access rights
910 * @throws ValidationPoemException
911 * if the value is not valid
912 */
913 public void setImagenum(String cooked)
914 throws AccessPoemException, ValidationPoemException {
915 _getSectionGroupTable().getImagenumColumn().
916 getType().assertValidCooked(cooked);
917 writeLock();
918 setImagenum_unsafe(cooked);
919 }
920
921
922 /**
923 * Retrieves the <code>Imagenum</code> value as a <code>Field</code>
924 * from this <code>SectionGroup</code> <code>Persistent</code>.
925 *
926 * see org.melati.poem.prepro.FieldDef#generateFieldCreator
927 * @throws AccessPoemException
928 * if the current <code>AccessToken</code>
929 * does not confer write access rights
930 * @return the String imagenum
931 */
932 public Field<String> getImagenumField() throws AccessPoemException {
933 Column<String> c = _getSectionGroupTable().getImagenumColumn();
934 return new Field<String>((String)c.getRaw(this), c);
935 }
936
937 }
938