net.sf.oness.inventory.model.warehouse.bo
Class Stock
java.lang.Object
net.sf.oness.common.all.BaseObject
net.sf.oness.common.model.auditing.AbstractAuditableObject
net.sf.oness.common.model.bo.AbstractBusinessObject
net.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
Fields inherited from class net.sf.oness.common.all.BaseObject |
log |
Constructor Summary |
Stock()
|
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 |
Stock
public Stock()
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.