KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > webtest > _Artist


1 package webtest;
2
3 import java.util.List JavaDoc;
4
5 import org.objectstyle.cayenne.CayenneDataObject;
6
7 /** Class _Artist was generated by Cayenne.
8   * It is probably a good idea to avoid changing this class manually,
9   * since it may be overwritten next time code is regenerated.
10   * If you need to make any customizations, please use subclass.
11   */

12 public class _Artist extends CayenneDataObject {
13
14     public void setArtistName(String JavaDoc artistName) {
15         writeProperty("artistName", artistName);
16     }
17     public String JavaDoc getArtistName() {
18         return (String JavaDoc)readProperty("artistName");
19     }
20     
21     
22     public void setDateOfBirth(java.sql.Date JavaDoc dateOfBirth) {
23         writeProperty("dateOfBirth", dateOfBirth);
24     }
25     public java.sql.Date JavaDoc getDateOfBirth() {
26         return (java.sql.Date JavaDoc)readProperty("dateOfBirth");
27     }
28     
29     
30     public void addToPaintingArray(Painting obj) {
31         addToManyTarget("paintingArray", obj, true);
32     }
33     public void removeFromPaintingArray(Painting obj) {
34         removeToManyTarget("paintingArray", obj, true);
35     }
36     public List JavaDoc getPaintingArray() {
37         return (List JavaDoc)readProperty("paintingArray");
38     }
39     
40     
41 }
42
Popular Tags