com.softslate.commerce.businessobjects.product
Class AttributeBean
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.product.AttributeBean
- All Implemented Interfaces:
- BusinessObject, Attribute, java.io.Serializable
public class AttributeBean
- extends BaseBusinessObject
- implements Attribute, java.io.Serializable
Object representing a attribute within the system. AttributeBean
is the default implementation of the Attribute
interface for
the application.
The database stores attributes in the sscAttribute
table, and
this interface can be used to represent a single row of that table. The
Hibernate configuration file AttributeBean.hbm.xml
maps that
table's columns to the properties in this object.
- Author:
- David Tobey
- See Also:
- 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
attributeID
private int attributeID
attributeCode
private java.lang.String attributeCode
attributeName
private java.lang.String attributeName
attributeDescription
private java.lang.String attributeDescription
attributeIsActive
private boolean attributeIsActive
attributeType
private java.lang.String attributeType
attributeUnitCost
private java.lang.Double attributeUnitCost
attributeUnitPrice
private java.lang.Double attributeUnitPrice
attributeAltPrice
private java.lang.Double attributeAltPrice
attributeWeight
private java.lang.Double attributeWeight
attributeSmallImage
private java.lang.String attributeSmallImage
attributeLargeImage
private java.lang.String attributeLargeImage
defaultOptionID
private java.lang.Integer defaultOptionID
attributeIsRequired
private boolean attributeIsRequired
attributeOrder
private int attributeOrder
productAttributes
private java.util.Collection productAttributes
attributeOptions
private java.util.Collection attributeOptions
defaultOption
private Option defaultOption
AttributeBean
public AttributeBean()
getAttributeID
public int getAttributeID()
- Specified by:
getAttributeID
in interface Attribute
setAttributeID
public void setAttributeID(int attributeID)
- Specified by:
setAttributeID
in interface Attribute
getAttributeAltPrice
public java.lang.Double getAttributeAltPrice()
- Specified by:
getAttributeAltPrice
in interface Attribute
setAttributeAltPrice
public void setAttributeAltPrice(java.lang.Double attributeAltPrice)
- Specified by:
setAttributeAltPrice
in interface Attribute
getAttributeCode
public java.lang.String getAttributeCode()
- Specified by:
getAttributeCode
in interface Attribute
setAttributeCode
public void setAttributeCode(java.lang.String attributeCode)
- Specified by:
setAttributeCode
in interface Attribute
getAttributeDescription
public java.lang.String getAttributeDescription()
- Specified by:
getAttributeDescription
in interface Attribute
setAttributeDescription
public void setAttributeDescription(java.lang.String attributeDescription)
- Specified by:
setAttributeDescription
in interface Attribute
getAttributeIsActive
public boolean getAttributeIsActive()
- Specified by:
getAttributeIsActive
in interface Attribute
setAttributeIsActive
public void setAttributeIsActive(boolean attributeIsActive)
- Specified by:
setAttributeIsActive
in interface Attribute
getAttributeIsRequired
public boolean getAttributeIsRequired()
- Specified by:
getAttributeIsRequired
in interface Attribute
setAttributeIsRequired
public void setAttributeIsRequired(boolean attributeIsRequired)
- Specified by:
setAttributeIsRequired
in interface Attribute
getAttributeLargeImage
public java.lang.String getAttributeLargeImage()
- Specified by:
getAttributeLargeImage
in interface Attribute
setAttributeLargeImage
public void setAttributeLargeImage(java.lang.String attributeLargeImage)
- Specified by:
setAttributeLargeImage
in interface Attribute
getAttributeName
public java.lang.String getAttributeName()
- Specified by:
getAttributeName
in interface Attribute
setAttributeName
public void setAttributeName(java.lang.String attributeName)
- Specified by:
setAttributeName
in interface Attribute
getAttributeOrder
public int getAttributeOrder()
- Specified by:
getAttributeOrder
in interface Attribute
setAttributeOrder
public void setAttributeOrder(int attributeOrder)
- Specified by:
setAttributeOrder
in interface Attribute
getAttributeSmallImage
public java.lang.String getAttributeSmallImage()
- Specified by:
getAttributeSmallImage
in interface Attribute
setAttributeSmallImage
public void setAttributeSmallImage(java.lang.String attributeSmallImage)
- Specified by:
setAttributeSmallImage
in interface Attribute
getAttributeType
public java.lang.String getAttributeType()
- Specified by:
getAttributeType
in interface Attribute
setAttributeType
public void setAttributeType(java.lang.String attributeType)
- Specified by:
setAttributeType
in interface Attribute
getAttributeUnitCost
public java.lang.Double getAttributeUnitCost()
- Specified by:
getAttributeUnitCost
in interface Attribute
setAttributeUnitCost
public void setAttributeUnitCost(java.lang.Double attributeUnitCost)
- Specified by:
setAttributeUnitCost
in interface Attribute
getAttributeUnitPrice
public java.lang.Double getAttributeUnitPrice()
- Specified by:
getAttributeUnitPrice
in interface Attribute
setAttributeUnitPrice
public void setAttributeUnitPrice(java.lang.Double attributeUnitPrice)
- Specified by:
setAttributeUnitPrice
in interface Attribute
getAttributeWeight
public java.lang.Double getAttributeWeight()
- Specified by:
getAttributeWeight
in interface Attribute
setAttributeWeight
public void setAttributeWeight(java.lang.Double attributeWeight)
- Specified by:
setAttributeWeight
in interface Attribute
getDefaultOptionID
public java.lang.Integer getDefaultOptionID()
- Specified by:
getDefaultOptionID
in interface Attribute
setDefaultOptionID
public void setDefaultOptionID(java.lang.Integer defaultOptionID)
- Specified by:
setDefaultOptionID
in interface Attribute
getProductAttributes
public java.util.Collection getProductAttributes()
- Specified by:
getProductAttributes
in interface Attribute
setProductAttributes
public void setProductAttributes(java.util.Collection productAttributes)
- Specified by:
setProductAttributes
in interface Attribute
getAttributeOptions
public java.util.Collection getAttributeOptions()
- Specified by:
getAttributeOptions
in interface Attribute
setAttributeOptions
public void setAttributeOptions(java.util.Collection attributeOptions)
- Specified by:
setAttributeOptions
in interface Attribute
getDefaultOption
public Option getDefaultOption()
- Specified by:
getDefaultOption
in interface Attribute
setDefaultOption
public void setDefaultOption(Option defaultOption)
- Specified by:
setDefaultOption
in interface Attribute
Copyright ? SoftSlate, LLC 2003?2005