net.sf.oness.order.model.bo
Class OrderItem

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.order.model.bo.Item
                  extended bynet.sf.oness.order.model.bo.OrderItem
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 OrderItem
extends Item

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

Field Summary
 
Fields inherited from class net.sf.oness.common.all.BaseObject
log
 
Constructor Summary
OrderItem()
           
 
Method Summary
 java.util.Collection getDeliveryDocketItems()
           
 Order getOrder()
           
 java.util.Collection getOrders()
           
 java.math.BigDecimal getPrice()
           
 void setDeliveryDocketItems(java.util.Collection deliveryDocketItems)
           
 void setOrders(java.util.Collection orders)
           
 void setPrice(java.math.BigDecimal price)
           
 
Methods inherited from class net.sf.oness.order.model.bo.Item
getProductId, getQuantity, setProductId, setQuantity
 
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

OrderItem

public OrderItem()
Method Detail

setPrice

public void setPrice(java.math.BigDecimal price)
Parameters:
price - The price to set.

getPrice

public java.math.BigDecimal getPrice()
Returns:
Returns the price.

setOrders

public void setOrders(java.util.Collection orders)
Parameters:
orders - The orders to set.

getOrders

public java.util.Collection getOrders()
Returns:
Returns the orders.

getOrder

public Order getOrder()
Returns:
Returns the the latest version of the order.

setDeliveryDocketItems

public void setDeliveryDocketItems(java.util.Collection deliveryDocketItems)
Parameters:
deliveryDocketItems - The deliveryDocketItems to set.

getDeliveryDocketItems

public java.util.Collection getDeliveryDocketItems()
Returns:
Returns the deliveryDocketItems.


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