KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > webtest > _Painting


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

10 public class _Painting extends CayenneDataObject {
11
12     public void setEstimatedPrice(java.math.BigDecimal JavaDoc estimatedPrice) {
13         writeProperty("estimatedPrice", estimatedPrice);
14     }
15     public java.math.BigDecimal JavaDoc getEstimatedPrice() {
16         return (java.math.BigDecimal JavaDoc)readProperty("estimatedPrice");
17     }
18     
19     
20     public void setPaintingTitle(String JavaDoc paintingTitle) {
21         writeProperty("paintingTitle", paintingTitle);
22     }
23     public String JavaDoc getPaintingTitle() {
24         return (String JavaDoc)readProperty("paintingTitle");
25     }
26     
27     
28     public void setToArtist(Artist toArtist) {
29         setToOneTarget("toArtist", toArtist, true);
30     }
31     
32     public Artist getToArtist() {
33         return (Artist)readProperty("toArtist");
34     }
35     
36     
37     public void setToGallery(Gallery toGallery) {
38         setToOneTarget("toGallery", toGallery, true);
39     }
40     
41     public Gallery getToGallery() {
42         return (Gallery)readProperty("toGallery");
43     }
44     
45     
46 }
47
Popular Tags