com.softslate.commerce.businessobjects.product
Interface Attribute
- All Superinterfaces:
- BusinessObject
- All Known Implementing Classes:
- AttributeBean
- public interface Attribute
- extends BusinessObject
Interface representing a attribute within the system.
The database stores attributes in the npcAttribute
table, and
this interface can be used to represent a single row of that table. Each of
the columns in npcAttribute
map to getters and setters in this
interface.
When the application needs to create an instance that implements
npcAttribute
,
BusinessObjectFactory
finds the name of the Java class to instantiate from the
"attributeImplementer" setting in the npcSetting
database
table.
The default "attributeImplementer" is
AttributeBean
.
- Author:
- David Tobey
getAttributeID
public int getAttributeID()
setAttributeID
public void setAttributeID(int attributeID)
getAttributeAltPrice
public double getAttributeAltPrice()
setAttributeAltPrice
public void setAttributeAltPrice(double attributeAltPrice)
getAttributeCode
public java.lang.String getAttributeCode()
setAttributeCode
public void setAttributeCode(java.lang.String attributeCode)
getAttributeDescription
public java.lang.String getAttributeDescription()
setAttributeDescription
public void setAttributeDescription(java.lang.String attributeDescription)
getAttributeIsActive
public boolean getAttributeIsActive()
setAttributeIsActive
public void setAttributeIsActive(boolean attributeIsActive)
getAttributeIsRequired
public boolean getAttributeIsRequired()
setAttributeIsRequired
public void setAttributeIsRequired(boolean attributeIsRequired)
getAttributeLargeImage
public java.lang.String getAttributeLargeImage()
setAttributeLargeImage
public void setAttributeLargeImage(java.lang.String attributeLargeImage)
getAttributeName
public java.lang.String getAttributeName()
setAttributeName
public void setAttributeName(java.lang.String attributeName)
getAttributeOrder
public java.lang.String getAttributeOrder()
setAttributeOrder
public void setAttributeOrder(java.lang.String attributeOrder)
getAttributeSmallImage
public java.lang.String getAttributeSmallImage()
setAttributeSmallImage
public void setAttributeSmallImage(java.lang.String attributeSmallImage)
getAttributeType
public java.lang.String getAttributeType()
setAttributeType
public void setAttributeType(java.lang.String attributeType)
getAttributeUnitCost
public double getAttributeUnitCost()
setAttributeUnitCost
public void setAttributeUnitCost(double attributeUnitCost)
getAttributeUnitPrice
public double getAttributeUnitPrice()
setAttributeUnitPrice
public void setAttributeUnitPrice(double attributeUnitPrice)
getAttributeWeight
public double getAttributeWeight()
setAttributeWeight
public void setAttributeWeight(double attributeWeight)
getDefaultOptionID
public int getDefaultOptionID()
setDefaultOptionID
public void setDefaultOptionID(int defaultOptionID)
Copyright © SoftSlate, Inc. 20032005