1 22 package org.jboss.test.cmp2.commerce; 23 24 import java.util.Collection ; 25 import javax.ejb.EJBLocalObject ; 26 27 public interface ProductCategory extends EJBLocalObject { 28 public long getId(); 29 public long getSubId(); 30 31 public String getName(); 32 public void setName(String name); 33 34 public Collection getProducts(); 35 public void setProducts(Collection products); 36 37 public ProductCategory getParent(); 38 public void setParent(ProductCategory parent); 39 public Collection getSubcategories(); 40 public void setSubcategories(Collection subcategories); 41 42 public ProductCategoryType getType(); 43 public void setType(ProductCategoryType type); 44 45 public CompositeId getPK(); 46 } 47 | Popular Tags |