Class OrderItemAttributeBean
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.order.OrderItemAttributeBean
- All Implemented Interfaces:
BusinessObject
,OrderItemAttribute
,Serializable
public class OrderItemAttributeBean
extends BaseBusinessObject
implements OrderItemAttribute, Serializable
Object representing a order item attribute within the system.
OrderItemAttributeBean
is the default implementation of the
OrderItemAttribute
interface for the application.
The database stores order item attributes in the
sscOrderItemAttribute
table, and this interface can be used to
represent a single row of that table. The Hibernate configuration file
OrderItemAttribute.hbm.xml
maps that table's columns to the
properties in this object.
- Author:
- David Tobey
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprivate Attribute
private Double
private String
private int
private String
private String
private Double
private Double
private String
private Double
private Double
private Option
private Double
private String
private int
private String
private String
private Double
private Double
private Double
private OrderItem
private int
private int
private static final long
private Double
private Double
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
getTotal()
void
setAttribute
(Attribute attribute) void
setAttributeAltPrice
(Double attributeAltPrice) void
setAttributeCode
(String attributeCode) void
setAttributeID
(int attributeID) void
setAttributeImage
(String attributeImage) void
setAttributeName
(String attributeName) void
setAttributeUnitCost
(Double attributeUnitCost) void
setAttributeUnitPrice
(Double attributeUnitPrice) void
setAttributeValue
(String attributeValue) void
setAttributeWeight
(Double attributeWeight) void
setCostTotal
(Double costTotal) void
void
setOptionAltPrice
(Double optionAltPrice) void
setOptionCode
(String optionCode) void
setOptionID
(int optionID) void
setOptionImage
(String optionImage) void
setOptionName
(String optionName) void
setOptionUnitCost
(Double optionUnitCost) void
setOptionUnitPrice
(Double optionUnitPrice) void
setOptionWeight
(Double optionWeight) void
setOrderItem
(OrderItem orderItem) void
setOrderItemAttributeID
(int orderItemAttributeID) void
setOrderItemID
(int orderItemID) void
void
Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessObject
initialize
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
orderItemAttributeID
private int orderItemAttributeID -
orderItemID
private int orderItemID -
total
-
weight
-
costTotal
-
attributeValue
-
attributeID
private int attributeID -
attributeCode
-
attributeName
-
attributeUnitCost
-
attributeUnitPrice
-
attributeAltPrice
-
attributeWeight
-
attributeImage
-
optionID
private int optionID -
optionCode
-
optionName
-
optionUnitCost
-
optionUnitPrice
-
optionAltPrice
-
optionWeight
-
optionImage
-
orderItem
-
attribute
-
option
-
-
Constructor Details
-
OrderItemAttributeBean
public OrderItemAttributeBean()
-
-
Method Details
-
getCostTotal
- Specified by:
getCostTotal
in interfaceOrderItemAttribute
-
setCostTotal
- Specified by:
setCostTotal
in interfaceOrderItemAttribute
-
getOrderItem
- Specified by:
getOrderItem
in interfaceOrderItemAttribute
-
setOrderItem
- Specified by:
setOrderItem
in interfaceOrderItemAttribute
-
getAttribute
- Specified by:
getAttribute
in interfaceOrderItemAttribute
-
setAttribute
- Specified by:
setAttribute
in interfaceOrderItemAttribute
-
getOption
- Specified by:
getOption
in interfaceOrderItemAttribute
-
setOption
- Specified by:
setOption
in interfaceOrderItemAttribute
-
getOrderItemAttributeID
public int getOrderItemAttributeID()- Specified by:
getOrderItemAttributeID
in interfaceOrderItemAttribute
-
setOrderItemAttributeID
public void setOrderItemAttributeID(int orderItemAttributeID) - Specified by:
setOrderItemAttributeID
in interfaceOrderItemAttribute
-
getAttributeAltPrice
- Specified by:
getAttributeAltPrice
in interfaceOrderItemAttribute
-
setAttributeAltPrice
- Specified by:
setAttributeAltPrice
in interfaceOrderItemAttribute
-
getAttributeCode
- Specified by:
getAttributeCode
in interfaceOrderItemAttribute
-
setAttributeCode
- Specified by:
setAttributeCode
in interfaceOrderItemAttribute
-
getAttributeID
public int getAttributeID()- Specified by:
getAttributeID
in interfaceOrderItemAttribute
-
setAttributeID
public void setAttributeID(int attributeID) - Specified by:
setAttributeID
in interfaceOrderItemAttribute
-
getAttributeName
- Specified by:
getAttributeName
in interfaceOrderItemAttribute
-
setAttributeName
- Specified by:
setAttributeName
in interfaceOrderItemAttribute
-
getAttributeUnitCost
- Specified by:
getAttributeUnitCost
in interfaceOrderItemAttribute
-
setAttributeUnitCost
- Specified by:
setAttributeUnitCost
in interfaceOrderItemAttribute
-
getAttributeUnitPrice
- Specified by:
getAttributeUnitPrice
in interfaceOrderItemAttribute
-
setAttributeUnitPrice
- Specified by:
setAttributeUnitPrice
in interfaceOrderItemAttribute
-
getAttributeValue
- Specified by:
getAttributeValue
in interfaceOrderItemAttribute
-
setAttributeValue
- Specified by:
setAttributeValue
in interfaceOrderItemAttribute
-
getAttributeWeight
- Specified by:
getAttributeWeight
in interfaceOrderItemAttribute
-
setAttributeWeight
- Specified by:
setAttributeWeight
in interfaceOrderItemAttribute
-
getOptionAltPrice
- Specified by:
getOptionAltPrice
in interfaceOrderItemAttribute
-
setOptionAltPrice
- Specified by:
setOptionAltPrice
in interfaceOrderItemAttribute
-
getOptionCode
- Specified by:
getOptionCode
in interfaceOrderItemAttribute
-
setOptionCode
- Specified by:
setOptionCode
in interfaceOrderItemAttribute
-
getOptionID
public int getOptionID()- Specified by:
getOptionID
in interfaceOrderItemAttribute
-
setOptionID
public void setOptionID(int optionID) - Specified by:
setOptionID
in interfaceOrderItemAttribute
-
getOptionName
- Specified by:
getOptionName
in interfaceOrderItemAttribute
-
setOptionName
- Specified by:
setOptionName
in interfaceOrderItemAttribute
-
getOptionUnitCost
- Specified by:
getOptionUnitCost
in interfaceOrderItemAttribute
-
setOptionUnitCost
- Specified by:
setOptionUnitCost
in interfaceOrderItemAttribute
-
getOptionUnitPrice
- Specified by:
getOptionUnitPrice
in interfaceOrderItemAttribute
-
setOptionUnitPrice
- Specified by:
setOptionUnitPrice
in interfaceOrderItemAttribute
-
getOptionWeight
- Specified by:
getOptionWeight
in interfaceOrderItemAttribute
-
setOptionWeight
- Specified by:
setOptionWeight
in interfaceOrderItemAttribute
-
getOrderItemID
public int getOrderItemID()- Specified by:
getOrderItemID
in interfaceOrderItemAttribute
-
setOrderItemID
public void setOrderItemID(int orderItemID) - Specified by:
setOrderItemID
in interfaceOrderItemAttribute
-
getTotal
- Specified by:
getTotal
in interfaceOrderItemAttribute
-
setTotal
- Specified by:
setTotal
in interfaceOrderItemAttribute
-
getWeight
- Specified by:
getWeight
in interfaceOrderItemAttribute
-
setWeight
- Specified by:
setWeight
in interfaceOrderItemAttribute
-
getAttributeImage
- Specified by:
getAttributeImage
in interfaceOrderItemAttribute
-
setAttributeImage
- Specified by:
setAttributeImage
in interfaceOrderItemAttribute
-
getOptionImage
- Specified by:
getOptionImage
in interfaceOrderItemAttribute
-
setOptionImage
- Specified by:
setOptionImage
in interfaceOrderItemAttribute
-