1 22 package org.jboss.test.cmp2.commerce; 23 24 import java.util.Collection ; 25 import javax.ejb.EJBLocalObject ; 26 27 public interface Product extends EJBLocalObject { 28 public Long getId(); 29 public void setId(Long id); 30 31 public String getName(); 32 public void setName(String name); 33 34 public String getType(); 35 public void setType(String type); 36 37 public String getUnit(); 38 public void setUnit(String unit); 39 40 public double getCostPerUnit(); 41 public void setCostPerUnit(double cost); 42 43 public double getWeight(); 44 public void setWeight(double weight); 45 46 public double getLength(); 47 public void setLength(double length); 48 49 public double getGirth(); 50 public void setGirth(double girth); 51 52 public Collection getProductCategories(); 53 public void setProductCategories(Collection productCategories); 54 } 55 | Popular Tags |