1 package webtest; 2 3 import org.objectstyle.cayenne.CayenneDataObject; 4 5 10 public class _Painting extends CayenneDataObject { 11 12 public void setEstimatedPrice(java.math.BigDecimal estimatedPrice) { 13 writeProperty("estimatedPrice", estimatedPrice); 14 } 15 public java.math.BigDecimal getEstimatedPrice() { 16 return (java.math.BigDecimal )readProperty("estimatedPrice"); 17 } 18 19 20 public void setPaintingTitle(String paintingTitle) { 21 writeProperty("paintingTitle", paintingTitle); 22 } 23 public String getPaintingTitle() { 24 return (String )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 |