KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > webtest > _Gallery


1 package webtest;
2
3 import java.util.List JavaDoc;
4
5 import org.objectstyle.cayenne.CayenneDataObject;
6
7 /** Class _Gallery 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 _Gallery extends CayenneDataObject {
13
14     public void setGalleryName(String JavaDoc galleryName) {
15         writeProperty("galleryName", galleryName);
16     }
17     public String JavaDoc getGalleryName() {
18         return (String JavaDoc)readProperty("galleryName");
19     }
20     
21     
22     public void addToPaintingArray(Painting obj) {
23         addToManyTarget("paintingArray", obj, true);
24     }
25     public void removeFromPaintingArray(Painting obj) {
26         removeToManyTarget("paintingArray", obj, true);
27     }
28     public List JavaDoc getPaintingArray() {
29         return (List JavaDoc)readProperty("paintingArray");
30     }
31     
32     
33 }
34
Popular Tags