com.softslate.commerce.businessobjects.order
Class OrderItemBean
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.order.OrderItemBean
- All Implemented Interfaces:
- BusinessObject, OrderItem, java.io.Serializable
public class OrderItemBean
- extends BaseBusinessObject
- implements OrderItem, java.io.Serializable
Object representing an order item within the system.
OrderItemBean
is the default implementation of the
OrderItem
interface for the application.
The database stores order items in the sscOrderItem
table, and
this interface can be used to represent a single row of that table. The
Hibernate configuration file OrderItem.hbm.xml
maps that
table's columns to the properties in this object.
- Author:
- David Tobey
- See Also:
OrderItem
,
Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
log
static org.apache.commons.logging.Log log
orderItemID
private int orderItemID
orderDeliveryID
private int orderDeliveryID
orderID
private int orderID
total
private java.lang.Double total
formattedTotal
private java.lang.String formattedTotal
weight
private java.lang.Double weight
costTotal
private java.lang.Double costTotal
quantity
private int quantity
isActive
private boolean isActive
productID
private int productID
manufacturerID
private java.lang.Integer manufacturerID
code
private java.lang.String code
seoCode
private java.lang.String seoCode
name
private java.lang.String name
unitPrice
private java.lang.Double unitPrice
unitCost
private java.lang.Double unitCost
altPrice
private java.lang.Double altPrice
productWeight
private java.lang.Double productWeight
formattedCost
private java.lang.String formattedCost
formattedPrice
private java.lang.String formattedPrice
formattedAltPrice
private java.lang.String formattedAltPrice
isTaxed
private boolean isTaxed
image
private java.lang.String image
shortDescription
private java.lang.String shortDescription
extra1
private java.lang.String extra1
extra2
private java.lang.String extra2
extra3
private java.lang.String extra3
extra4
private java.lang.String extra4
extra5
private java.lang.String extra5
decrementedSKUs
private java.lang.String decrementedSKUs
orderItemAttributes
private java.util.Collection orderItemAttributes
order
private Order order
orderDelivery
private OrderDelivery orderDelivery
product
private Product product
manufacturer
private Manufacturer manufacturer
orderDiscounts
private java.util.Collection orderDiscounts
orderShippingRules
private java.util.Collection orderShippingRules
OrderItemBean
public OrderItemBean()
getOrderItemID
public int getOrderItemID()
- Specified by:
getOrderItemID
in interface OrderItem
setOrderItemID
public void setOrderItemID(int orderItemID)
- Specified by:
setOrderItemID
in interface OrderItem
getOrderDeliveryID
public int getOrderDeliveryID()
- Specified by:
getOrderDeliveryID
in interface OrderItem
setOrderDeliveryID
public void setOrderDeliveryID(int orderDeliveryID)
- Specified by:
setOrderDeliveryID
in interface OrderItem
getOrderID
public int getOrderID()
- Specified by:
getOrderID
in interface OrderItem
setOrderID
public void setOrderID(int orderID)
- Specified by:
setOrderID
in interface OrderItem
getTotal
public java.lang.Double getTotal()
- Specified by:
getTotal
in interface OrderItem
setTotal
public void setTotal(java.lang.Double total)
- Specified by:
setTotal
in interface OrderItem
getFormattedTotal
public java.lang.String getFormattedTotal()
- Specified by:
getFormattedTotal
in interface OrderItem
setFormattedTotal
public void setFormattedTotal(java.lang.String formattedTotal)
- Specified by:
setFormattedTotal
in interface OrderItem
getWeight
public java.lang.Double getWeight()
- Specified by:
getWeight
in interface OrderItem
setWeight
public void setWeight(java.lang.Double weight)
- Specified by:
setWeight
in interface OrderItem
getCostTotal
public java.lang.Double getCostTotal()
- Specified by:
getCostTotal
in interface OrderItem
setCostTotal
public void setCostTotal(java.lang.Double costTotal)
- Specified by:
setCostTotal
in interface OrderItem
getQuantity
public int getQuantity()
- Specified by:
getQuantity
in interface OrderItem
setQuantity
public void setQuantity(int quantity)
- Specified by:
setQuantity
in interface OrderItem
getIsActive
public boolean getIsActive()
- Specified by:
getIsActive
in interface OrderItem
setIsActive
public void setIsActive(boolean isActive)
- Specified by:
setIsActive
in interface OrderItem
getProductID
public int getProductID()
- Specified by:
getProductID
in interface OrderItem
setProductID
public void setProductID(int productID)
- Specified by:
setProductID
in interface OrderItem
getManufacturerID
public java.lang.Integer getManufacturerID()
- Specified by:
getManufacturerID
in interface OrderItem
setManufacturerID
public void setManufacturerID(java.lang.Integer manufacturerID)
- Specified by:
setManufacturerID
in interface OrderItem
getCode
public java.lang.String getCode()
- Specified by:
getCode
in interface OrderItem
setCode
public void setCode(java.lang.String code)
- Specified by:
setCode
in interface OrderItem
getSeoCode
public java.lang.String getSeoCode()
- Specified by:
getSeoCode
in interface OrderItem
setSeoCode
public void setSeoCode(java.lang.String seoCode)
- Specified by:
setSeoCode
in interface OrderItem
getName
public java.lang.String getName()
- Specified by:
getName
in interface OrderItem
setName
public void setName(java.lang.String name)
- Specified by:
setName
in interface OrderItem
getUnitPrice
public java.lang.Double getUnitPrice()
- Specified by:
getUnitPrice
in interface OrderItem
setUnitPrice
public void setUnitPrice(java.lang.Double unitPrice)
- Specified by:
setUnitPrice
in interface OrderItem
getUnitCost
public java.lang.Double getUnitCost()
- Specified by:
getUnitCost
in interface OrderItem
setUnitCost
public void setUnitCost(java.lang.Double unitCost)
- Specified by:
setUnitCost
in interface OrderItem
getAltPrice
public java.lang.Double getAltPrice()
- Specified by:
getAltPrice
in interface OrderItem
setAltPrice
public void setAltPrice(java.lang.Double altPrice)
- Specified by:
setAltPrice
in interface OrderItem
getProductWeight
public java.lang.Double getProductWeight()
- Specified by:
getProductWeight
in interface OrderItem
setProductWeight
public void setProductWeight(java.lang.Double productWeight)
- Specified by:
setProductWeight
in interface OrderItem
getFormattedCost
public java.lang.String getFormattedCost()
- Specified by:
getFormattedCost
in interface OrderItem
setFormattedCost
public void setFormattedCost(java.lang.String formattedCost)
- Specified by:
setFormattedCost
in interface OrderItem
getFormattedPrice
public java.lang.String getFormattedPrice()
- Specified by:
getFormattedPrice
in interface OrderItem
setFormattedPrice
public void setFormattedPrice(java.lang.String formattedPrice)
- Specified by:
setFormattedPrice
in interface OrderItem
getFormattedAltPrice
public java.lang.String getFormattedAltPrice()
- Specified by:
getFormattedAltPrice
in interface OrderItem
setFormattedAltPrice
public void setFormattedAltPrice(java.lang.String formattedAltPrice)
- Specified by:
setFormattedAltPrice
in interface OrderItem
getIsTaxed
public boolean getIsTaxed()
- Specified by:
getIsTaxed
in interface OrderItem
setIsTaxed
public void setIsTaxed(boolean isTaxed)
- Specified by:
setIsTaxed
in interface OrderItem
getImage
public java.lang.String getImage()
- Specified by:
getImage
in interface OrderItem
setImage
public void setImage(java.lang.String image)
- Specified by:
setImage
in interface OrderItem
getExtra1
public java.lang.String getExtra1()
- Specified by:
getExtra1
in interface OrderItem
setExtra1
public void setExtra1(java.lang.String extra1)
- Specified by:
setExtra1
in interface OrderItem
getExtra2
public java.lang.String getExtra2()
- Specified by:
getExtra2
in interface OrderItem
setExtra2
public void setExtra2(java.lang.String extra2)
- Specified by:
setExtra2
in interface OrderItem
getExtra3
public java.lang.String getExtra3()
- Specified by:
getExtra3
in interface OrderItem
setExtra3
public void setExtra3(java.lang.String extra3)
- Specified by:
setExtra3
in interface OrderItem
getExtra4
public java.lang.String getExtra4()
- Specified by:
getExtra4
in interface OrderItem
setExtra4
public void setExtra4(java.lang.String extra4)
- Specified by:
setExtra4
in interface OrderItem
getExtra5
public java.lang.String getExtra5()
- Specified by:
getExtra5
in interface OrderItem
setExtra5
public void setExtra5(java.lang.String extra5)
- Specified by:
setExtra5
in interface OrderItem
getShortDescription
public java.lang.String getShortDescription()
- Specified by:
getShortDescription
in interface OrderItem
setShortDescription
public void setShortDescription(java.lang.String shortDescription)
- Specified by:
setShortDescription
in interface OrderItem
getDecrementedSKUs
public java.lang.String getDecrementedSKUs()
- Specified by:
getDecrementedSKUs
in interface OrderItem
setDecrementedSKUs
public void setDecrementedSKUs(java.lang.String decrementedSKUs)
- Specified by:
setDecrementedSKUs
in interface OrderItem
setActive
public void setActive(boolean isActive)
setTaxed
public void setTaxed(boolean isTaxed)
getOrderItemAttributes
public java.util.Collection getOrderItemAttributes()
- Specified by:
getOrderItemAttributes
in interface OrderItem
setOrderItemAttributes
public void setOrderItemAttributes(java.util.Collection orderAttributes)
- Specified by:
setOrderItemAttributes
in interface OrderItem
getOrder
public Order getOrder()
- Specified by:
getOrder
in interface OrderItem
setOrder
public void setOrder(Order order)
- Specified by:
setOrder
in interface OrderItem
getOrderDelivery
public OrderDelivery getOrderDelivery()
- Specified by:
getOrderDelivery
in interface OrderItem
setOrderDelivery
public void setOrderDelivery(OrderDelivery orderDelivery)
- Specified by:
setOrderDelivery
in interface OrderItem
getProduct
public Product getProduct()
- Specified by:
getProduct
in interface OrderItem
setProduct
public void setProduct(Product product)
- Specified by:
setProduct
in interface OrderItem
getManufacturer
public Manufacturer getManufacturer()
- Specified by:
getManufacturer
in interface OrderItem
setManufacturer
public void setManufacturer(Manufacturer manufacturer)
- Specified by:
setManufacturer
in interface OrderItem
getOrderDiscounts
public java.util.Collection getOrderDiscounts()
- Specified by:
getOrderDiscounts
in interface OrderItem
setOrderDiscounts
public void setOrderDiscounts(java.util.Collection orderDiscounts)
- Specified by:
setOrderDiscounts
in interface OrderItem
getOrderShippingRules
public java.util.Collection getOrderShippingRules()
- Specified by:
getOrderShippingRules
in interface OrderItem
setOrderShippingRules
public void setOrderShippingRules(java.util.Collection orderShippingRules)
- Specified by:
setOrderShippingRules
in interface OrderItem
addFormatting
public void addFormatting(java.util.Locale locale,
java.lang.String currencyCode)
- Specified by:
addFormatting
in interface OrderItem
Copyright © SoftSlate, LLC 20032005