Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
SupplierBase |
|
| 1.0;1 |
1 | // Do not edit this file! It was generated by Melati POEM's DSD preprocessor. | |
2 | ||
3 | package org.paneris.jammyjoes.model.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.JdbcPersistent; | |
10 | import org.melati.poem.ValidationPoemException; | |
11 | import org.paneris.jammyjoes.model.JammyjoesDatabaseTables; | |
12 | import org.paneris.jammyjoes.model.SupplierTable; | |
13 | ||
14 | ||
15 | /** | |
16 | * Melati POEM generated abstract base class for a <code>Persistent</code> | |
17 | * <code>Supplier</code> Object. | |
18 | * | |
19 | * @generator org.melati.poem.prepro.TableDef#generatePersistentBaseJava | |
20 | */ | |
21 | 0 | public abstract class SupplierBase extends JdbcPersistent { |
22 | ||
23 | ||
24 | /** | |
25 | * Retrieves the Database object. | |
26 | * | |
27 | * @generator org.melati.poem.prepro.TableDef#generatePersistentBaseJava | |
28 | * @return the database | |
29 | */ | |
30 | public JammyjoesDatabaseTables getJammyjoesDatabaseTables() { | |
31 | 0 | return (JammyjoesDatabaseTables)getDatabase(); |
32 | } | |
33 | ||
34 | ||
35 | /** | |
36 | * Retrieves the <code>SupplierTable</code> table | |
37 | * which this <code>Persistent</code> is from. | |
38 | * | |
39 | * @generator org.melati.poem.prepro.TableDef#generatePersistentBaseJava | |
40 | * @return the SupplierTable | |
41 | */ | |
42 | public SupplierTable getSupplierTable() { | |
43 | 0 | return (SupplierTable)getTable(); |
44 | } | |
45 | ||
46 | private SupplierTable _getSupplierTable() { | |
47 | 0 | return (SupplierTable)getTable(); |
48 | } | |
49 | ||
50 | // Fields in this table | |
51 | /** | |
52 | * id | |
53 | */ | |
54 | protected Integer id; | |
55 | /** | |
56 | * Name | |
57 | */ | |
58 | protected String name; | |
59 | /** | |
60 | * Address | |
61 | */ | |
62 | protected String address; | |
63 | /** | |
64 | * Profile | |
65 | */ | |
66 | protected String profile; | |
67 | /** | |
68 | * Contact Name | |
69 | */ | |
70 | protected String contact; | |
71 | /** | |
72 | * email - email | |
73 | */ | |
74 | protected String email; | |
75 | /** | |
76 | * website - website | |
77 | */ | |
78 | protected String website; | |
79 | /** | |
80 | * comment - Comments | |
81 | */ | |
82 | protected String comment; | |
83 | /** | |
84 | * The minimum order value for this supplier | |
85 | */ | |
86 | protected Double minimumamount; | |
87 | /** | |
88 | * Telephone - Telephone number | |
89 | */ | |
90 | protected String tel; | |
91 | /** | |
92 | * Fax - Fax number | |
93 | */ | |
94 | protected String fax; | |
95 | /** | |
96 | * Minimum Order Value - The minimum value that can be ordered | |
97 | */ | |
98 | protected Double minimumorder; | |
99 | /** | |
100 | * Deleted? - Check this box if you no longer deal with this supplier | |
101 | */ | |
102 | protected Boolean deleted; | |
103 | ||
104 | ||
105 | /** | |
106 | * Retrieves the <code>Id</code> value, without locking, | |
107 | * for this <code>Supplier</code> <code>Persistent</code>. | |
108 | * | |
109 | * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods | |
110 | * @return the Integer id | |
111 | */ | |
112 | public Integer getId_unsafe() { | |
113 | 0 | return id; |
114 | } | |
115 | ||
116 | ||
117 | /** | |
118 | * Sets the <code>Id</code> value directly, without checking, | |
119 | * for this Supplier <code>Persistent</code>. | |
120 | * | |
121 | * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods | |
122 | * @param cooked the pre-validated value to set | |
123 | */ | |
124 | public void setId_unsafe(Integer cooked) { | |
125 | 0 | id = cooked; |
126 | 0 | } |
127 | ||
128 | /** | |
129 | * Retrieves the Id value, with locking, for this | |
130 | * <code>Supplier</code> <code>Persistent</code>. | |
131 | * | |
132 | * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods | |
133 | * @throws AccessPoemException | |
134 | * if the current <code>AccessToken</code> | |
135 | * does not confer write access rights | |
136 | * @return the value of the field <code>Id</code> for this | |
137 | * <code>Supplier</code> <code>Persistent</code> | |
138 | */ | |
139 | ||
140 | public Integer getId() | |
141 | throws AccessPoemException { | |
142 | 0 | readLock(); |
143 | 0 | return getId_unsafe(); |
144 | } | |
145 | ||
146 | ||
147 | /** | |
148 | * Sets the <code>Id</code> value, with checking, for this | |
149 | * <code>Supplier</code> <code>Persistent</code>. | |
150 | * | |
151 | * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods | |
152 | * @param cooked a validated <code>int</code> | |
153 | * @throws AccessPoemException | |
154 | * if the current <code>AccessToken</code> | |
155 | * does not confer write access rights | |
156 | * @throws ValidationPoemException | |
157 | * if the value is not valid | |
158 | */ | |
159 | public void setId(Integer cooked) | |
160 | throws AccessPoemException, ValidationPoemException { | |
161 | 0 | _getSupplierTable().getIdColumn(). |
162 | getType().assertValidCooked(cooked); | |
163 | 0 | writeLock(); |
164 | 0 | setId_unsafe(cooked); |
165 | 0 | } |
166 | ||
167 | /** | |
168 | * Sets the <code>Id</code> value, with checking, for this | |
169 | * <code>Supplier</code> <code>Persistent</code>. | |
170 | * | |
171 | * @generator org.melati.poem.prepro.IntegerFieldDef#generateBaseMethods | |
172 | * @param cooked a validated <code>int</code> | |
173 | * @throws AccessPoemException | |
174 | * if the current <code>AccessToken</code> | |
175 | * does not confer write access rights | |
176 | * @throws ValidationPoemException | |
177 | * if the value is not valid | |
178 | */ | |
179 | ||
180 | public final void setId(int cooked) | |
181 | throws AccessPoemException, ValidationPoemException { | |
182 | 0 | setId(new Integer(cooked)); |
183 | 0 | } |
184 | ||
185 | ||
186 | /** | |
187 | * Retrieves the <code>Id</code> value as a <code>Field</code> | |
188 | * from this <code>Supplier</code> <code>Persistent</code>. | |
189 | * | |
190 | * @generator org.melati.poem.prepro.FieldDef#generateFieldCreator | |
191 | * @throws AccessPoemException | |
192 | * if the current <code>AccessToken</code> | |
193 | * does not confer write access rights | |
194 | * @return the Integer id | |
195 | */ | |
196 | public Field getIdField() throws AccessPoemException { | |
197 | 0 | Column c = _getSupplierTable().getIdColumn(); |
198 | 0 | return new Field(c.getRaw(this), c); |
199 | } | |
200 | ||
201 | ||
202 | /** | |
203 | * Retrieves the <code>Name</code> value, without locking, | |
204 | * for this <code>Supplier</code> <code>Persistent</code>. | |
205 | * | |
206 | * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods | |
207 | * @return the String name | |
208 | */ | |
209 | public String getName_unsafe() { | |
210 | 0 | return name; |
211 | } | |
212 | ||
213 | ||
214 | /** | |
215 | * Sets the <code>Name</code> value directly, without checking, | |
216 | * for this Supplier <code>Persistent</code>. | |
217 | * | |
218 | * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods | |
219 | * @param cooked the pre-validated value to set | |
220 | */ | |
221 | public void setName_unsafe(String cooked) { | |
222 | 0 | name = cooked; |
223 | 0 | } |
224 | ||
225 | /** | |
226 | * Retrieves the Name value, with locking, for this | |
227 | * <code>Supplier</code> <code>Persistent</code>. | |
228 | * | |
229 | * @generator 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>Name</code> for this | |
234 | * <code>Supplier</code> <code>Persistent</code> | |
235 | */ | |
236 | ||
237 | public String getName() | |
238 | throws AccessPoemException { | |
239 | 0 | readLock(); |
240 | 0 | return getName_unsafe(); |
241 | } | |
242 | ||
243 | ||
244 | /** | |
245 | * Sets the <code>Name</code> value, with checking, for this | |
246 | * <code>Supplier</code> <code>Persistent</code>. | |
247 | * | |
248 | * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods | |
249 | * @param cooked a validated <code>int</code> | |
250 | * @throws AccessPoemException | |
251 | * if the current <code>AccessToken</code> | |
252 | * does not confer write access rights | |
253 | * @throws ValidationPoemException | |
254 | * if the value is not valid | |
255 | */ | |
256 | public void setName(String cooked) | |
257 | throws AccessPoemException, ValidationPoemException { | |
258 | 0 | _getSupplierTable().getNameColumn(). |
259 | getType().assertValidCooked(cooked); | |
260 | 0 | writeLock(); |
261 | 0 | setName_unsafe(cooked); |
262 | 0 | } |
263 | ||
264 | ||
265 | /** | |
266 | * Retrieves the <code>Name</code> value as a <code>Field</code> | |
267 | * from this <code>Supplier</code> <code>Persistent</code>. | |
268 | * | |
269 | * @generator org.melati.poem.prepro.FieldDef#generateFieldCreator | |
270 | * @throws AccessPoemException | |
271 | * if the current <code>AccessToken</code> | |
272 | * does not confer write access rights | |
273 | * @return the String name | |
274 | */ | |
275 | public Field getNameField() throws AccessPoemException { | |
276 | 0 | Column c = _getSupplierTable().getNameColumn(); |
277 | 0 | return new Field(c.getRaw(this), c); |
278 | } | |
279 | ||
280 | ||
281 | /** | |
282 | * Retrieves the <code>Address</code> value, without locking, | |
283 | * for this <code>Supplier</code> <code>Persistent</code>. | |
284 | * | |
285 | * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods | |
286 | * @return the String address | |
287 | */ | |
288 | public String getAddress_unsafe() { | |
289 | 0 | return address; |
290 | } | |
291 | ||
292 | ||
293 | /** | |
294 | * Sets the <code>Address</code> value directly, without checking, | |
295 | * for this Supplier <code>Persistent</code>. | |
296 | * | |
297 | * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods | |
298 | * @param cooked the pre-validated value to set | |
299 | */ | |
300 | public void setAddress_unsafe(String cooked) { | |
301 | 0 | address = cooked; |
302 | 0 | } |
303 | ||
304 | /** | |
305 | * Retrieves the Address value, with locking, for this | |
306 | * <code>Supplier</code> <code>Persistent</code>. | |
307 | * | |
308 | * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods | |
309 | * @throws AccessPoemException | |
310 | * if the current <code>AccessToken</code> | |
311 | * does not confer write access rights | |
312 | * @return the value of the field <code>Address</code> for this | |
313 | * <code>Supplier</code> <code>Persistent</code> | |
314 | */ | |
315 | ||
316 | public String getAddress() | |
317 | throws AccessPoemException { | |
318 | 0 | readLock(); |
319 | 0 | return getAddress_unsafe(); |
320 | } | |
321 | ||
322 | ||
323 | /** | |
324 | * Sets the <code>Address</code> value, with checking, for this | |
325 | * <code>Supplier</code> <code>Persistent</code>. | |
326 | * | |
327 | * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods | |
328 | * @param cooked a validated <code>int</code> | |
329 | * @throws AccessPoemException | |
330 | * if the current <code>AccessToken</code> | |
331 | * does not confer write access rights | |
332 | * @throws ValidationPoemException | |
333 | * if the value is not valid | |
334 | */ | |
335 | public void setAddress(String cooked) | |
336 | throws AccessPoemException, ValidationPoemException { | |
337 | 0 | _getSupplierTable().getAddressColumn(). |
338 | getType().assertValidCooked(cooked); | |
339 | 0 | writeLock(); |
340 | 0 | setAddress_unsafe(cooked); |
341 | 0 | } |
342 | ||
343 | ||
344 | /** | |
345 | * Retrieves the <code>Address</code> value as a <code>Field</code> | |
346 | * from this <code>Supplier</code> <code>Persistent</code>. | |
347 | * | |
348 | * @generator org.melati.poem.prepro.FieldDef#generateFieldCreator | |
349 | * @throws AccessPoemException | |
350 | * if the current <code>AccessToken</code> | |
351 | * does not confer write access rights | |
352 | * @return the String address | |
353 | */ | |
354 | public Field getAddressField() throws AccessPoemException { | |
355 | 0 | Column c = _getSupplierTable().getAddressColumn(); |
356 | 0 | return new Field(c.getRaw(this), c); |
357 | } | |
358 | ||
359 | ||
360 | /** | |
361 | * Retrieves the <code>Profile</code> value, without locking, | |
362 | * for this <code>Supplier</code> <code>Persistent</code>. | |
363 | * | |
364 | * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods | |
365 | * @return the String profile | |
366 | */ | |
367 | public String getProfile_unsafe() { | |
368 | 0 | return profile; |
369 | } | |
370 | ||
371 | ||
372 | /** | |
373 | * Sets the <code>Profile</code> value directly, without checking, | |
374 | * for this Supplier <code>Persistent</code>. | |
375 | * | |
376 | * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods | |
377 | * @param cooked the pre-validated value to set | |
378 | */ | |
379 | public void setProfile_unsafe(String cooked) { | |
380 | 0 | profile = cooked; |
381 | 0 | } |
382 | ||
383 | /** | |
384 | * Retrieves the Profile value, with locking, for this | |
385 | * <code>Supplier</code> <code>Persistent</code>. | |
386 | * | |
387 | * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods | |
388 | * @throws AccessPoemException | |
389 | * if the current <code>AccessToken</code> | |
390 | * does not confer write access rights | |
391 | * @return the value of the field <code>Profile</code> for this | |
392 | * <code>Supplier</code> <code>Persistent</code> | |
393 | */ | |
394 | ||
395 | public String getProfile() | |
396 | throws AccessPoemException { | |
397 | 0 | readLock(); |
398 | 0 | return getProfile_unsafe(); |
399 | } | |
400 | ||
401 | ||
402 | /** | |
403 | * Sets the <code>Profile</code> value, with checking, for this | |
404 | * <code>Supplier</code> <code>Persistent</code>. | |
405 | * | |
406 | * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods | |
407 | * @param cooked a validated <code>int</code> | |
408 | * @throws AccessPoemException | |
409 | * if the current <code>AccessToken</code> | |
410 | * does not confer write access rights | |
411 | * @throws ValidationPoemException | |
412 | * if the value is not valid | |
413 | */ | |
414 | public void setProfile(String cooked) | |
415 | throws AccessPoemException, ValidationPoemException { | |
416 | 0 | _getSupplierTable().getProfileColumn(). |
417 | getType().assertValidCooked(cooked); | |
418 | 0 | writeLock(); |
419 | 0 | setProfile_unsafe(cooked); |
420 | 0 | } |
421 | ||
422 | ||
423 | /** | |
424 | * Retrieves the <code>Profile</code> value as a <code>Field</code> | |
425 | * from this <code>Supplier</code> <code>Persistent</code>. | |
426 | * | |
427 | * @generator org.melati.poem.prepro.FieldDef#generateFieldCreator | |
428 | * @throws AccessPoemException | |
429 | * if the current <code>AccessToken</code> | |
430 | * does not confer write access rights | |
431 | * @return the String profile | |
432 | */ | |
433 | public Field getProfileField() throws AccessPoemException { | |
434 | 0 | Column c = _getSupplierTable().getProfileColumn(); |
435 | 0 | return new Field(c.getRaw(this), c); |
436 | } | |
437 | ||
438 | ||
439 | /** | |
440 | * Retrieves the <code>Contact</code> value, without locking, | |
441 | * for this <code>Supplier</code> <code>Persistent</code>. | |
442 | * | |
443 | * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods | |
444 | * @return the String contact | |
445 | */ | |
446 | public String getContact_unsafe() { | |
447 | 0 | return contact; |
448 | } | |
449 | ||
450 | ||
451 | /** | |
452 | * Sets the <code>Contact</code> value directly, without checking, | |
453 | * for this Supplier <code>Persistent</code>. | |
454 | * | |
455 | * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods | |
456 | * @param cooked the pre-validated value to set | |
457 | */ | |
458 | public void setContact_unsafe(String cooked) { | |
459 | 0 | contact = cooked; |
460 | 0 | } |
461 | ||
462 | /** | |
463 | * Retrieves the Contact value, with locking, for this | |
464 | * <code>Supplier</code> <code>Persistent</code>. | |
465 | * | |
466 | * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods | |
467 | * @throws AccessPoemException | |
468 | * if the current <code>AccessToken</code> | |
469 | * does not confer write access rights | |
470 | * @return the value of the field <code>Contact</code> for this | |
471 | * <code>Supplier</code> <code>Persistent</code> | |
472 | */ | |
473 | ||
474 | public String getContact() | |
475 | throws AccessPoemException { | |
476 | 0 | readLock(); |
477 | 0 | return getContact_unsafe(); |
478 | } | |
479 | ||
480 | ||
481 | /** | |
482 | * Sets the <code>Contact</code> value, with checking, for this | |
483 | * <code>Supplier</code> <code>Persistent</code>. | |
484 | * | |
485 | * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods | |
486 | * @param cooked a validated <code>int</code> | |
487 | * @throws AccessPoemException | |
488 | * if the current <code>AccessToken</code> | |
489 | * does not confer write access rights | |
490 | * @throws ValidationPoemException | |
491 | * if the value is not valid | |
492 | */ | |
493 | public void setContact(String cooked) | |
494 | throws AccessPoemException, ValidationPoemException { | |
495 | 0 | _getSupplierTable().getContactColumn(). |
496 | getType().assertValidCooked(cooked); | |
497 | 0 | writeLock(); |
498 | 0 | setContact_unsafe(cooked); |
499 | 0 | } |
500 | ||
501 | ||
502 | /** | |
503 | * Retrieves the <code>Contact</code> value as a <code>Field</code> | |
504 | * from this <code>Supplier</code> <code>Persistent</code>. | |
505 | * | |
506 | * @generator org.melati.poem.prepro.FieldDef#generateFieldCreator | |
507 | * @throws AccessPoemException | |
508 | * if the current <code>AccessToken</code> | |
509 | * does not confer write access rights | |
510 | * @return the String contact | |
511 | */ | |
512 | public Field getContactField() throws AccessPoemException { | |
513 | 0 | Column c = _getSupplierTable().getContactColumn(); |
514 | 0 | return new Field(c.getRaw(this), c); |
515 | } | |
516 | ||
517 | ||
518 | /** | |
519 | * Retrieves the <code>Email</code> value, without locking, | |
520 | * for this <code>Supplier</code> <code>Persistent</code>. | |
521 | * | |
522 | * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods | |
523 | * @return the String email | |
524 | */ | |
525 | public String getEmail_unsafe() { | |
526 | 0 | return email; |
527 | } | |
528 | ||
529 | ||
530 | /** | |
531 | * Sets the <code>Email</code> value directly, without checking, | |
532 | * for this Supplier <code>Persistent</code>. | |
533 | * | |
534 | * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods | |
535 | * @param cooked the pre-validated value to set | |
536 | */ | |
537 | public void setEmail_unsafe(String cooked) { | |
538 | 0 | email = cooked; |
539 | 0 | } |
540 | ||
541 | /** | |
542 | * Retrieves the Email value, with locking, for this | |
543 | * <code>Supplier</code> <code>Persistent</code>. | |
544 | * Field description: | |
545 | * email | |
546 | * | |
547 | * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods | |
548 | * @throws AccessPoemException | |
549 | * if the current <code>AccessToken</code> | |
550 | * does not confer write access rights | |
551 | * @return the value of the field <code>Email</code> for this | |
552 | * <code>Supplier</code> <code>Persistent</code> | |
553 | */ | |
554 | ||
555 | public String getEmail() | |
556 | throws AccessPoemException { | |
557 | 0 | readLock(); |
558 | 0 | return getEmail_unsafe(); |
559 | } | |
560 | ||
561 | ||
562 | /** | |
563 | * Sets the <code>Email</code> value, with checking, for this | |
564 | * <code>Supplier</code> <code>Persistent</code>. | |
565 | * Field description: | |
566 | * email | |
567 | * | |
568 | * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods | |
569 | * @param cooked a validated <code>int</code> | |
570 | * @throws AccessPoemException | |
571 | * if the current <code>AccessToken</code> | |
572 | * does not confer write access rights | |
573 | * @throws ValidationPoemException | |
574 | * if the value is not valid | |
575 | */ | |
576 | public void setEmail(String cooked) | |
577 | throws AccessPoemException, ValidationPoemException { | |
578 | 0 | _getSupplierTable().getEmailColumn(). |
579 | getType().assertValidCooked(cooked); | |
580 | 0 | writeLock(); |
581 | 0 | setEmail_unsafe(cooked); |
582 | 0 | } |
583 | ||
584 | ||
585 | /** | |
586 | * Retrieves the <code>Email</code> value as a <code>Field</code> | |
587 | * from this <code>Supplier</code> <code>Persistent</code>. | |
588 | * | |
589 | * @generator org.melati.poem.prepro.FieldDef#generateFieldCreator | |
590 | * @throws AccessPoemException | |
591 | * if the current <code>AccessToken</code> | |
592 | * does not confer write access rights | |
593 | * @return the String email | |
594 | */ | |
595 | public Field getEmailField() throws AccessPoemException { | |
596 | 0 | Column c = _getSupplierTable().getEmailColumn(); |
597 | 0 | return new Field(c.getRaw(this), c); |
598 | } | |
599 | ||
600 | ||
601 | /** | |
602 | * Retrieves the <code>Website</code> value, without locking, | |
603 | * for this <code>Supplier</code> <code>Persistent</code>. | |
604 | * | |
605 | * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods | |
606 | * @return the String website | |
607 | */ | |
608 | public String getWebsite_unsafe() { | |
609 | 0 | return website; |
610 | } | |
611 | ||
612 | ||
613 | /** | |
614 | * Sets the <code>Website</code> value directly, without checking, | |
615 | * for this Supplier <code>Persistent</code>. | |
616 | * | |
617 | * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods | |
618 | * @param cooked the pre-validated value to set | |
619 | */ | |
620 | public void setWebsite_unsafe(String cooked) { | |
621 | 0 | website = cooked; |
622 | 0 | } |
623 | ||
624 | /** | |
625 | * Retrieves the Website value, with locking, for this | |
626 | * <code>Supplier</code> <code>Persistent</code>. | |
627 | * Field description: | |
628 | * website | |
629 | * | |
630 | * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods | |
631 | * @throws AccessPoemException | |
632 | * if the current <code>AccessToken</code> | |
633 | * does not confer write access rights | |
634 | * @return the value of the field <code>Website</code> for this | |
635 | * <code>Supplier</code> <code>Persistent</code> | |
636 | */ | |
637 | ||
638 | public String getWebsite() | |
639 | throws AccessPoemException { | |
640 | 0 | readLock(); |
641 | 0 | return getWebsite_unsafe(); |
642 | } | |
643 | ||
644 | ||
645 | /** | |
646 | * Sets the <code>Website</code> value, with checking, for this | |
647 | * <code>Supplier</code> <code>Persistent</code>. | |
648 | * Field description: | |
649 | * website | |
650 | * | |
651 | * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods | |
652 | * @param cooked a validated <code>int</code> | |
653 | * @throws AccessPoemException | |
654 | * if the current <code>AccessToken</code> | |
655 | * does not confer write access rights | |
656 | * @throws ValidationPoemException | |
657 | * if the value is not valid | |
658 | */ | |
659 | public void setWebsite(String cooked) | |
660 | throws AccessPoemException, ValidationPoemException { | |
661 | 0 | _getSupplierTable().getWebsiteColumn(). |
662 | getType().assertValidCooked(cooked); | |
663 | 0 | writeLock(); |
664 | 0 | setWebsite_unsafe(cooked); |
665 | 0 | } |
666 | ||
667 | ||
668 | /** | |
669 | * Retrieves the <code>Website</code> value as a <code>Field</code> | |
670 | * from this <code>Supplier</code> <code>Persistent</code>. | |
671 | * | |
672 | * @generator org.melati.poem.prepro.FieldDef#generateFieldCreator | |
673 | * @throws AccessPoemException | |
674 | * if the current <code>AccessToken</code> | |
675 | * does not confer write access rights | |
676 | * @return the String website | |
677 | */ | |
678 | public Field getWebsiteField() throws AccessPoemException { | |
679 | 0 | Column c = _getSupplierTable().getWebsiteColumn(); |
680 | 0 | return new Field(c.getRaw(this), c); |
681 | } | |
682 | ||
683 | ||
684 | /** | |
685 | * Retrieves the <code>Comment</code> value, without locking, | |
686 | * for this <code>Supplier</code> <code>Persistent</code>. | |
687 | * | |
688 | * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods | |
689 | * @return the String comment | |
690 | */ | |
691 | public String getComment_unsafe() { | |
692 | 0 | return comment; |
693 | } | |
694 | ||
695 | ||
696 | /** | |
697 | * Sets the <code>Comment</code> value directly, without checking, | |
698 | * for this Supplier <code>Persistent</code>. | |
699 | * | |
700 | * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods | |
701 | * @param cooked the pre-validated value to set | |
702 | */ | |
703 | public void setComment_unsafe(String cooked) { | |
704 | 0 | comment = cooked; |
705 | 0 | } |
706 | ||
707 | /** | |
708 | * Retrieves the Comment value, with locking, for this | |
709 | * <code>Supplier</code> <code>Persistent</code>. | |
710 | * Field description: | |
711 | * Comments | |
712 | * | |
713 | * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods | |
714 | * @throws AccessPoemException | |
715 | * if the current <code>AccessToken</code> | |
716 | * does not confer write access rights | |
717 | * @return the value of the field <code>Comment</code> for this | |
718 | * <code>Supplier</code> <code>Persistent</code> | |
719 | */ | |
720 | ||
721 | public String getComment() | |
722 | throws AccessPoemException { | |
723 | 0 | readLock(); |
724 | 0 | return getComment_unsafe(); |
725 | } | |
726 | ||
727 | ||
728 | /** | |
729 | * Sets the <code>Comment</code> value, with checking, for this | |
730 | * <code>Supplier</code> <code>Persistent</code>. | |
731 | * Field description: | |
732 | * Comments | |
733 | * | |
734 | * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods | |
735 | * @param cooked a validated <code>int</code> | |
736 | * @throws AccessPoemException | |
737 | * if the current <code>AccessToken</code> | |
738 | * does not confer write access rights | |
739 | * @throws ValidationPoemException | |
740 | * if the value is not valid | |
741 | */ | |
742 | public void setComment(String cooked) | |
743 | throws AccessPoemException, ValidationPoemException { | |
744 | 0 | _getSupplierTable().getCommentColumn(). |
745 | getType().assertValidCooked(cooked); | |
746 | 0 | writeLock(); |
747 | 0 | setComment_unsafe(cooked); |
748 | 0 | } |
749 | ||
750 | ||
751 | /** | |
752 | * Retrieves the <code>Comment</code> value as a <code>Field</code> | |
753 | * from this <code>Supplier</code> <code>Persistent</code>. | |
754 | * | |
755 | * @generator org.melati.poem.prepro.FieldDef#generateFieldCreator | |
756 | * @throws AccessPoemException | |
757 | * if the current <code>AccessToken</code> | |
758 | * does not confer write access rights | |
759 | * @return the String comment | |
760 | */ | |
761 | public Field getCommentField() throws AccessPoemException { | |
762 | 0 | Column c = _getSupplierTable().getCommentColumn(); |
763 | 0 | return new Field(c.getRaw(this), c); |
764 | } | |
765 | ||
766 | ||
767 | /** | |
768 | * Retrieves the <code>Minimumamount</code> value, without locking, | |
769 | * for this <code>Supplier</code> <code>Persistent</code>. | |
770 | * | |
771 | * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods | |
772 | * @return the Double minimumamount | |
773 | */ | |
774 | public Double getMinimumamount_unsafe() { | |
775 | 0 | return minimumamount; |
776 | } | |
777 | ||
778 | ||
779 | /** | |
780 | * Sets the <code>Minimumamount</code> value directly, without checking, | |
781 | * for this Supplier <code>Persistent</code>. | |
782 | * | |
783 | * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods | |
784 | * @param cooked the pre-validated value to set | |
785 | */ | |
786 | public void setMinimumamount_unsafe(Double cooked) { | |
787 | 0 | minimumamount = cooked; |
788 | 0 | } |
789 | ||
790 | /** | |
791 | * Retrieves the Minimumamount value, with locking, for this | |
792 | * <code>Supplier</code> <code>Persistent</code>. | |
793 | * | |
794 | * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods | |
795 | * @throws AccessPoemException | |
796 | * if the current <code>AccessToken</code> | |
797 | * does not confer write access rights | |
798 | * @return the value of the field <code>Minimumamount</code> for this | |
799 | * <code>Supplier</code> <code>Persistent</code> | |
800 | */ | |
801 | ||
802 | public Double getMinimumamount() | |
803 | throws AccessPoemException { | |
804 | 0 | readLock(); |
805 | 0 | return getMinimumamount_unsafe(); |
806 | } | |
807 | ||
808 | ||
809 | /** | |
810 | * Sets the <code>Minimumamount</code> value, with checking, for this | |
811 | * <code>Supplier</code> <code>Persistent</code>. | |
812 | * | |
813 | * @generator org.melati.poem.prepro.AtomFieldDef#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 | public void setMinimumamount(Double cooked) | |
822 | throws AccessPoemException, ValidationPoemException { | |
823 | 0 | _getSupplierTable().getMinimumamountColumn(). |
824 | getType().assertValidCooked(cooked); | |
825 | 0 | writeLock(); |
826 | 0 | setMinimumamount_unsafe(cooked); |
827 | 0 | } |
828 | ||
829 | /** | |
830 | * Sets the <code>Minimumamount</code> value, with checking, for this <code>Supplier</code> <code>Persistent</code>. | |
831 | * | |
832 | * @generator org.melati.poem.prepro.DoubleFieldDef#generateBaseMethods | |
833 | * @param cooked a validated <code>int</code> | |
834 | * @throws AccessPoemException | |
835 | * if the current <code>AccessToken</code> | |
836 | * does not confer write access rights | |
837 | * @throws ValidationPoemException | |
838 | * if the value is not valid | |
839 | */ | |
840 | ||
841 | public final void setMinimumamount(double cooked) | |
842 | throws AccessPoemException, ValidationPoemException { | |
843 | 0 | setMinimumamount(new Double(cooked)); |
844 | 0 | } |
845 | ||
846 | ||
847 | /** | |
848 | * Retrieves the <code>Minimumamount</code> value as a <code>Field</code> | |
849 | * from this <code>Supplier</code> <code>Persistent</code>. | |
850 | * | |
851 | * @generator org.melati.poem.prepro.FieldDef#generateFieldCreator | |
852 | * @throws AccessPoemException | |
853 | * if the current <code>AccessToken</code> | |
854 | * does not confer write access rights | |
855 | * @return the Double minimumamount | |
856 | */ | |
857 | public Field getMinimumamountField() throws AccessPoemException { | |
858 | 0 | Column c = _getSupplierTable().getMinimumamountColumn(); |
859 | 0 | return new Field(c.getRaw(this), c); |
860 | } | |
861 | ||
862 | ||
863 | /** | |
864 | * Retrieves the <code>Tel</code> value, without locking, | |
865 | * for this <code>Supplier</code> <code>Persistent</code>. | |
866 | * | |
867 | * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods | |
868 | * @return the String tel | |
869 | */ | |
870 | public String getTel_unsafe() { | |
871 | 0 | return tel; |
872 | } | |
873 | ||
874 | ||
875 | /** | |
876 | * Sets the <code>Tel</code> value directly, without checking, | |
877 | * for this Supplier <code>Persistent</code>. | |
878 | * | |
879 | * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods | |
880 | * @param cooked the pre-validated value to set | |
881 | */ | |
882 | public void setTel_unsafe(String cooked) { | |
883 | 0 | tel = cooked; |
884 | 0 | } |
885 | ||
886 | /** | |
887 | * Retrieves the Tel value, with locking, for this | |
888 | * <code>Supplier</code> <code>Persistent</code>. | |
889 | * Field description: | |
890 | * Telephone number | |
891 | * | |
892 | * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods | |
893 | * @throws AccessPoemException | |
894 | * if the current <code>AccessToken</code> | |
895 | * does not confer write access rights | |
896 | * @return the value of the field <code>Tel</code> for this | |
897 | * <code>Supplier</code> <code>Persistent</code> | |
898 | */ | |
899 | ||
900 | public String getTel() | |
901 | throws AccessPoemException { | |
902 | 0 | readLock(); |
903 | 0 | return getTel_unsafe(); |
904 | } | |
905 | ||
906 | ||
907 | /** | |
908 | * Sets the <code>Tel</code> value, with checking, for this | |
909 | * <code>Supplier</code> <code>Persistent</code>. | |
910 | * Field description: | |
911 | * Telephone number | |
912 | * | |
913 | * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods | |
914 | * @param cooked a validated <code>int</code> | |
915 | * @throws AccessPoemException | |
916 | * if the current <code>AccessToken</code> | |
917 | * does not confer write access rights | |
918 | * @throws ValidationPoemException | |
919 | * if the value is not valid | |
920 | */ | |
921 | public void setTel(String cooked) | |
922 | throws AccessPoemException, ValidationPoemException { | |
923 | 0 | _getSupplierTable().getTelColumn(). |
924 | getType().assertValidCooked(cooked); | |
925 | 0 | writeLock(); |
926 | 0 | setTel_unsafe(cooked); |
927 | 0 | } |
928 | ||
929 | ||
930 | /** | |
931 | * Retrieves the <code>Tel</code> value as a <code>Field</code> | |
932 | * from this <code>Supplier</code> <code>Persistent</code>. | |
933 | * | |
934 | * @generator org.melati.poem.prepro.FieldDef#generateFieldCreator | |
935 | * @throws AccessPoemException | |
936 | * if the current <code>AccessToken</code> | |
937 | * does not confer write access rights | |
938 | * @return the String tel | |
939 | */ | |
940 | public Field getTelField() throws AccessPoemException { | |
941 | 0 | Column c = _getSupplierTable().getTelColumn(); |
942 | 0 | return new Field(c.getRaw(this), c); |
943 | } | |
944 | ||
945 | ||
946 | /** | |
947 | * Retrieves the <code>Fax</code> value, without locking, | |
948 | * for this <code>Supplier</code> <code>Persistent</code>. | |
949 | * | |
950 | * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods | |
951 | * @return the String fax | |
952 | */ | |
953 | public String getFax_unsafe() { | |
954 | 0 | return fax; |
955 | } | |
956 | ||
957 | ||
958 | /** | |
959 | * Sets the <code>Fax</code> value directly, without checking, | |
960 | * for this Supplier <code>Persistent</code>. | |
961 | * | |
962 | * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods | |
963 | * @param cooked the pre-validated value to set | |
964 | */ | |
965 | public void setFax_unsafe(String cooked) { | |
966 | 0 | fax = cooked; |
967 | 0 | } |
968 | ||
969 | /** | |
970 | * Retrieves the Fax value, with locking, for this | |
971 | * <code>Supplier</code> <code>Persistent</code>. | |
972 | * Field description: | |
973 | * Fax number | |
974 | * | |
975 | * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods | |
976 | * @throws AccessPoemException | |
977 | * if the current <code>AccessToken</code> | |
978 | * does not confer write access rights | |
979 | * @return the value of the field <code>Fax</code> for this | |
980 | * <code>Supplier</code> <code>Persistent</code> | |
981 | */ | |
982 | ||
983 | public String getFax() | |
984 | throws AccessPoemException { | |
985 | 0 | readLock(); |
986 | 0 | return getFax_unsafe(); |
987 | } | |
988 | ||
989 | ||
990 | /** | |
991 | * Sets the <code>Fax</code> value, with checking, for this | |
992 | * <code>Supplier</code> <code>Persistent</code>. | |
993 | * Field description: | |
994 | * Fax number | |
995 | * | |
996 | * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods | |
997 | * @param cooked a validated <code>int</code> | |
998 | * @throws AccessPoemException | |
999 | * if the current <code>AccessToken</code> | |
1000 | * does not confer write access rights | |
1001 | * @throws ValidationPoemException | |
1002 | * if the value is not valid | |
1003 | */ | |
1004 | public void setFax(String cooked) | |
1005 | throws AccessPoemException, ValidationPoemException { | |
1006 | 0 | _getSupplierTable().getFaxColumn(). |
1007 | getType().assertValidCooked(cooked); | |
1008 | 0 | writeLock(); |
1009 | 0 | setFax_unsafe(cooked); |
1010 | 0 | } |
1011 | ||
1012 | ||
1013 | /** | |
1014 | * Retrieves the <code>Fax</code> value as a <code>Field</code> | |
1015 | * from this <code>Supplier</code> <code>Persistent</code>. | |
1016 | * | |
1017 | * @generator org.melati.poem.prepro.FieldDef#generateFieldCreator | |
1018 | * @throws AccessPoemException | |
1019 | * if the current <code>AccessToken</code> | |
1020 | * does not confer write access rights | |
1021 | * @return the String fax | |
1022 | */ | |
1023 | public Field getFaxField() throws AccessPoemException { | |
1024 | 0 | Column c = _getSupplierTable().getFaxColumn(); |
1025 | 0 | return new Field(c.getRaw(this), c); |
1026 | } | |
1027 | ||
1028 | ||
1029 | /** | |
1030 | * Retrieves the <code>Minimumorder</code> value, without locking, | |
1031 | * for this <code>Supplier</code> <code>Persistent</code>. | |
1032 | * | |
1033 | * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods | |
1034 | * @return the Double minimumorder | |
1035 | */ | |
1036 | public Double getMinimumorder_unsafe() { | |
1037 | 0 | return minimumorder; |
1038 | } | |
1039 | ||
1040 | ||
1041 | /** | |
1042 | * Sets the <code>Minimumorder</code> value directly, without checking, | |
1043 | * for this Supplier <code>Persistent</code>. | |
1044 | * | |
1045 | * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods | |
1046 | * @param cooked the pre-validated value to set | |
1047 | */ | |
1048 | public void setMinimumorder_unsafe(Double cooked) { | |
1049 | 0 | minimumorder = cooked; |
1050 | 0 | } |
1051 | ||
1052 | /** | |
1053 | * Retrieves the Minimumorder value, with locking, for this | |
1054 | * <code>Supplier</code> <code>Persistent</code>. | |
1055 | * Field description: | |
1056 | * The minimum value that can be ordered | |
1057 | * | |
1058 | * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods | |
1059 | * @throws AccessPoemException | |
1060 | * if the current <code>AccessToken</code> | |
1061 | * does not confer write access rights | |
1062 | * @return the value of the field <code>Minimumorder</code> for this | |
1063 | * <code>Supplier</code> <code>Persistent</code> | |
1064 | */ | |
1065 | ||
1066 | public Double getMinimumorder() | |
1067 | throws AccessPoemException { | |
1068 | 0 | readLock(); |
1069 | 0 | return getMinimumorder_unsafe(); |
1070 | } | |
1071 | ||
1072 | ||
1073 | /** | |
1074 | * Sets the <code>Minimumorder</code> value, with checking, for this | |
1075 | * <code>Supplier</code> <code>Persistent</code>. | |
1076 | * Field description: | |
1077 | * The minimum value that can be ordered | |
1078 | * | |
1079 | * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods | |
1080 | * @param cooked a validated <code>int</code> | |
1081 | * @throws AccessPoemException | |
1082 | * if the current <code>AccessToken</code> | |
1083 | * does not confer write access rights | |
1084 | * @throws ValidationPoemException | |
1085 | * if the value is not valid | |
1086 | */ | |
1087 | public void setMinimumorder(Double cooked) | |
1088 | throws AccessPoemException, ValidationPoemException { | |
1089 | 0 | _getSupplierTable().getMinimumorderColumn(). |
1090 | getType().assertValidCooked(cooked); | |
1091 | 0 | writeLock(); |
1092 | 0 | setMinimumorder_unsafe(cooked); |
1093 | 0 | } |
1094 | ||
1095 | /** | |
1096 | * Sets the <code>Minimumorder</code> value, with checking, for this <code>Supplier</code> <code>Persistent</code>. | |
1097 | * Field description: | |
1098 | * The minimum value that can be ordered | |
1099 | * | |
1100 | * | |
1101 | * @generator org.melati.poem.prepro.DoubleFieldDef#generateBaseMethods | |
1102 | * @param cooked a validated <code>int</code> | |
1103 | * @throws AccessPoemException | |
1104 | * if the current <code>AccessToken</code> | |
1105 | * does not confer write access rights | |
1106 | * @throws ValidationPoemException | |
1107 | * if the value is not valid | |
1108 | */ | |
1109 | ||
1110 | public final void setMinimumorder(double cooked) | |
1111 | throws AccessPoemException, ValidationPoemException { | |
1112 | 0 | setMinimumorder(new Double(cooked)); |
1113 | 0 | } |
1114 | ||
1115 | ||
1116 | /** | |
1117 | * Retrieves the <code>Minimumorder</code> value as a <code>Field</code> | |
1118 | * from this <code>Supplier</code> <code>Persistent</code>. | |
1119 | * | |
1120 | * @generator org.melati.poem.prepro.FieldDef#generateFieldCreator | |
1121 | * @throws AccessPoemException | |
1122 | * if the current <code>AccessToken</code> | |
1123 | * does not confer write access rights | |
1124 | * @return the Double minimumorder | |
1125 | */ | |
1126 | public Field getMinimumorderField() throws AccessPoemException { | |
1127 | 0 | Column c = _getSupplierTable().getMinimumorderColumn(); |
1128 | 0 | return new Field(c.getRaw(this), c); |
1129 | } | |
1130 | ||
1131 | ||
1132 | /** | |
1133 | * Retrieves the <code>Deleted</code> value, without locking, | |
1134 | * for this <code>Supplier</code> <code>Persistent</code>. | |
1135 | * | |
1136 | * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods | |
1137 | * @return the Boolean deleted | |
1138 | */ | |
1139 | public Boolean getDeleted_unsafe() { | |
1140 | 0 | return deleted; |
1141 | } | |
1142 | ||
1143 | ||
1144 | /** | |
1145 | * Sets the <code>Deleted</code> value directly, without checking, | |
1146 | * for this Supplier <code>Persistent</code>. | |
1147 | * | |
1148 | * @generator org.melati.poem.prepro.FieldDef#generateBaseMethods | |
1149 | * @param cooked the pre-validated value to set | |
1150 | */ | |
1151 | public void setDeleted_unsafe(Boolean cooked) { | |
1152 | 0 | deleted = cooked; |
1153 | 0 | } |
1154 | ||
1155 | /** | |
1156 | * Retrieves the Deleted value, with locking, for this | |
1157 | * <code>Supplier</code> <code>Persistent</code>. | |
1158 | * Field description: | |
1159 | * Check this box if you no longer deal with this supplier | |
1160 | * | |
1161 | * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods | |
1162 | * @throws AccessPoemException | |
1163 | * if the current <code>AccessToken</code> | |
1164 | * does not confer write access rights | |
1165 | * @return the value of the field <code>Deleted</code> for this | |
1166 | * <code>Supplier</code> <code>Persistent</code> | |
1167 | */ | |
1168 | ||
1169 | public Boolean getDeleted() | |
1170 | throws AccessPoemException { | |
1171 | 0 | readLock(); |
1172 | 0 | return getDeleted_unsafe(); |
1173 | } | |
1174 | ||
1175 | ||
1176 | /** | |
1177 | * Sets the <code>Deleted</code> value, with checking, for this | |
1178 | * <code>Supplier</code> <code>Persistent</code>. | |
1179 | * Field description: | |
1180 | * Check this box if you no longer deal with this supplier | |
1181 | * | |
1182 | * @generator org.melati.poem.prepro.AtomFieldDef#generateBaseMethods | |
1183 | * @param cooked a validated <code>int</code> | |
1184 | * @throws AccessPoemException | |
1185 | * if the current <code>AccessToken</code> | |
1186 | * does not confer write access rights | |
1187 | * @throws ValidationPoemException | |
1188 | * if the value is not valid | |
1189 | */ | |
1190 | public void setDeleted(Boolean cooked) | |
1191 | throws AccessPoemException, ValidationPoemException { | |
1192 | 0 | _getSupplierTable().getDeletedColumn(). |
1193 | getType().assertValidCooked(cooked); | |
1194 | 0 | writeLock(); |
1195 | 0 | setDeleted_unsafe(cooked); |
1196 | 0 | } |
1197 | ||
1198 | /** | |
1199 | * Sets the <code>Deleted</code> value, with checking, | |
1200 | * from a <code>boolean</code>, for this | |
1201 | * <code>Supplier</code> <code>Persistent</code>. | |
1202 | * Field description: | |
1203 | * Check this box if you no longer deal with this supplier | |
1204 | * | |
1205 | * | |
1206 | * @generator org.melati.poem.prepro.BooleanFieldDef#generateBaseMethods | |
1207 | * @param cooked a <code>boolean</code> | |
1208 | * @throws AccessPoemException | |
1209 | * if the current <code>AccessToken</code> | |
1210 | * does not confer write access rights | |
1211 | * @throws ValidationPoemException | |
1212 | * if the value is not valid | |
1213 | */ | |
1214 | ||
1215 | public final void setDeleted(boolean cooked) | |
1216 | throws AccessPoemException, ValidationPoemException { | |
1217 | 0 | setDeleted(cooked ? Boolean.TRUE : Boolean.FALSE); |
1218 | 0 | } |
1219 | ||
1220 | ||
1221 | /** | |
1222 | * Retrieves the <code>Deleted</code> value as a <code>Field</code> | |
1223 | * from this <code>Supplier</code> <code>Persistent</code>. | |
1224 | * | |
1225 | * @generator org.melati.poem.prepro.FieldDef#generateFieldCreator | |
1226 | * @throws AccessPoemException | |
1227 | * if the current <code>AccessToken</code> | |
1228 | * does not confer write access rights | |
1229 | * @return the Boolean deleted | |
1230 | */ | |
1231 | public Field getDeletedField() throws AccessPoemException { | |
1232 | 0 | Column c = _getSupplierTable().getDeletedColumn(); |
1233 | 0 | return new Field(c.getRaw(this), c); |
1234 | } | |
1235 | } | |
1236 |