1 27 33 package olstore.entity; 34 35 import javax.ejb.EntityBean; 36 37 import olstore.entity.TypeLocal; 38 39 import java.util.Collection; 40 import java.math.BigDecimal; 41 42 130 131 public abstract class ItemBean implements EntityBean { 132 133 138 public java.lang.Integer ejbCreate(String name, BigDecimal price) throws javax.ejb.CreateException { 139 setName(name); 140 setPrice(price); 141 return null; 142 } 143 144 148 public void ejbPostCreate(String name, BigDecimal price) throws javax.ejb.CreateException { 149 } 150 151 164 public abstract java.lang.String getName(); 165 166 173 public abstract void setName(java.lang.String name); 174 175 187 public abstract java.lang.String getShortDesc(); 188 189 196 public abstract void setShortDesc(java.lang.String shortDesc); 197 198 210 public abstract java.lang.String getLongDesc(); 211 212 219 public abstract void setLongDesc(java.lang.String longDesc); 220 221 233 public abstract java.lang.Boolean getMainPage(); 234 235 242 public abstract void setMainPage(java.lang.Boolean mainPage); 243 244 256 public abstract java.lang.Boolean getSpecialOffer(); 257 258 265 public abstract void setSpecialOffer(java.lang.Boolean specialOffer); 266 267 279 public abstract java.lang.Integer getItemId(); 280 281 288 public abstract void setItemId(java.lang.Integer itemId); 289 290 302 public abstract BigDecimal getPrice(); 303 304 311 public abstract void setPrice(BigDecimal price); 312 313 327 328 public abstract TypeLocal getTypeId (); 329 330 337 338 public abstract void setTypeId (TypeLocal type); 339 340 353 354 public abstract Collection getProperties (); 355 356 363 364 public abstract void setProperties (Collection properties); 365 366 379 380 public abstract Collection getPictures (); 381 382 389 390 public abstract void setPictures (Collection pictures); 391 392 } 393 | Popular Tags |