org.jboss.test.cmp2.commerce
Interface Product

All Superinterfaces:
EJBLocalObject (src)

public interface Product
extends EJBLocalObject (src)


Method Summary
 double getCostPerUnit()
           
 double getGirth()
           
 java.lang.Long getId()
           
 double getLength()
           
 java.lang.String getName()
           
 java.util.Collection getProductCategories()
           
 java.lang.String getType()
           
 java.lang.String getUnit()
           
 double getWeight()
           
 void setCostPerUnit(double cost)
           
 void setGirth(double girth)
           
 void setId(java.lang.Long id)
           
 void setLength(double length)
           
 void setName(java.lang.String name)
           
 void setProductCategories(java.util.Collection productCategories)
           
 void setType(java.lang.String type)
           
 void setUnit(java.lang.String unit)
           
 void setWeight(double weight)
           
 
Methods inherited from interface javax.ejb.EJBLocalObject (src)
getEJBLocalHome, getPrimaryKey, isIdentical, remove
 

Method Detail

getId

public java.lang.Long getId()

setId

public void setId(java.lang.Long id)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getType

public java.lang.String getType()

setType

public void setType(java.lang.String type)

getUnit

public java.lang.String getUnit()

setUnit

public void setUnit(java.lang.String unit)

getCostPerUnit

public double getCostPerUnit()

setCostPerUnit

public void setCostPerUnit(double cost)

getWeight

public double getWeight()

setWeight

public void setWeight(double weight)

getLength

public double getLength()

setLength

public void setLength(double length)

getGirth

public double getGirth()

setGirth

public void setGirth(double girth)

getProductCategories

public java.util.Collection getProductCategories()

setProductCategories

public void setProductCategories(java.util.Collection productCategories)