net.sf.oness.inventory.model.product.bo
Class Product

java.lang.Object
  extended bynet.sf.oness.common.all.BaseObject
      extended bynet.sf.oness.common.model.auditing.AbstractAuditableObject
          extended bynet.sf.oness.common.model.bo.AbstractBusinessObject
              extended bynet.sf.oness.inventory.model.product.bo.Product
All Implemented Interfaces:
Auditable, AuditableBusinessObject, Cloneable, Serializable

public class Product
extends AbstractBusinessObject

Version:
$Revision: 1.7 $
Author:
Carlos Sanchez
See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.sf.oness.common.all.BaseObject
log
 
Constructor Summary
Product()
           
 
Method Summary
 Collection getBarCodes()
           
 Color getColor()
           
 Model getModel()
           
 Collection getModels()
           
 Collection getPrices()
           
 Size getSize()
           
 String getStockKeepingUnit()
           
 Collection getStocks()
           
 void setBarCodes(Collection barCodes)
           
 void setColor(Color color)
           
 void setModels(Collection models)
           
 void setPrices(Collection prices)
           
 void setSize(Size size)
           
 void setStockKeepingUnit(String stockKeepingUnit)
           
 void setStocks(Collection stocks)
           
 
Methods inherited from class net.sf.oness.common.model.bo.AbstractBusinessObject
clone, equals, getCode, getComments, getCreatedBy, getDeletedBy, getId, getTransactionTime, hashCode, setComments, toString
 
Methods inherited from class net.sf.oness.common.model.auditing.AbstractAuditableObject
setCode, setCreatedBy, setDeletedBy, setId, setTransactionTime
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.sf.oness.common.model.auditing.Auditable
setCode, setCreatedBy, setDeletedBy, setId, setTransactionTime
 

Constructor Detail

Product

public Product()
Method Detail

setModels

public void setModels(Collection models)
Parameters:
models - The models to set.

getModels

public Collection getModels()
Returns:
Returns the models.

getModel

public Model getModel()
Returns:
Returns the the latest version of model.

setStockKeepingUnit

public void setStockKeepingUnit(String stockKeepingUnit)
Parameters:
stockKeepingUnit - The stockKeepingUnit to set.

getStockKeepingUnit

public String getStockKeepingUnit()
Returns:
Returns the stockKeepingUnit.

setBarCodes

public void setBarCodes(Collection barCodes)
Parameters:
barCodes - The barCodes to set.

getBarCodes

public Collection getBarCodes()
Returns:
Collection of BarCode objects

setSize

public void setSize(Size size)
Parameters:
size - The size to set.

getSize

public Size getSize()
Returns:
Returns the size.

setColor

public void setColor(Color color)
Parameters:
color - The color to set.

getColor

public Color getColor()
Returns:
Returns the color.

setPrices

public void setPrices(Collection prices)
Parameters:
prices - The prices to set.

getPrices

public Collection getPrices()
Returns:
Returns the prices.

setStocks

public void setStocks(Collection stocks)
Parameters:
stocks - The stocks to set.

getStocks

public Collection getStocks()
Returns:
Returns the stocks.


Copyright © 2003-2004 ONess Project. All Rights Reserved.