net.sf.oness.inventory.model.warehouse.bo
Class Stock

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.warehouse.bo.Stock
All Implemented Interfaces:
net.sf.oness.common.model.auditing.Auditable, net.sf.oness.common.model.bo.AuditableBusinessObject, java.lang.Cloneable, java.io.Serializable

public class Stock
extends net.sf.oness.common.model.bo.AbstractBusinessObject

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

Field Summary
 
Fields inherited from class net.sf.oness.common.all.BaseObject
log
 
Constructor Summary
Stock()
           
 
Method Summary
 Product getProduct()
           
 java.util.Collection getProducts()
           
 java.math.BigDecimal getQuantity()
           
 Warehouse getWarehouse()
           
 java.util.Collection getWarehouses()
           
 void setProducts(java.util.Collection products)
           
 void setQuantity(java.math.BigDecimal quantity)
           
 void setWarehouses(java.util.Collection warehouses)
           
 
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

Stock

public Stock()
Method Detail

setQuantity

public void setQuantity(java.math.BigDecimal quantity)
Parameters:
quantity - The quantity to set.

getQuantity

public java.math.BigDecimal getQuantity()
Returns:
Returns the quantity.

getWarehouse

public Warehouse getWarehouse()
Returns:
Returns the the latest version of warehouse.

setWarehouses

public void setWarehouses(java.util.Collection warehouses)
Parameters:
warehouses - The warehouses to set.

getWarehouses

public java.util.Collection getWarehouses()
Returns:
Returns the warehouses.

getProduct

public Product getProduct()
Returns:
Returns the the latest version of product.

setProducts

public void setProducts(java.util.Collection products)
Parameters:
products - The products to set.

getProducts

public java.util.Collection getProducts()
Returns:
Returns the products.


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