Interface Attribute
- All Superinterfaces:
BusinessObject
- All Known Implementing Classes:
AttributeBean
Interface representing an attribute within the system.
When the application needs to create an instance that implements
sscAttribute,
BusinessObjectFactory
finds the name of the Java class to instantiate from the
"attributeImplementer" setting in the appComponents.properties
file.
The default "attributeImplementer" is
AttributeBean.
- Author:
- David Tobey
-
Method Summary
Modifier and TypeMethodDescriptionintbooleanbooleanintvoidsetAttributeAltPrice(Double attributeAltPrice) voidsetAttributeCode(String attributeCode) voidsetAttributeDescription(String attributeDescription) voidsetAttributeID(int attributeID) voidsetAttributeIsActive(boolean attributeIsActive) voidsetAttributeIsRequired(boolean attributeIsRequired) voidsetAttributeLargeImage(String attributeLargeImage) voidsetAttributeName(String attributeName) voidsetAttributeOptions(Collection attributeOptions) voidsetAttributeOrder(int attributeOrder) voidsetAttributeSmallImage(String attributeSmallImage) voidsetAttributeType(String attributeType) voidsetAttributeUnitCost(Double attributeUnitCost) voidsetAttributeUnitPrice(Double attributeUnitPrice) voidsetAttributeWeight(Double attributeWeight) voidsetDefaultOption(Option defaultOption) voidsetDefaultOptionID(Integer defaultOptionID) voidsetProductAttributes(Collection productAttributes) Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
-
Method Details
-
getAttributeID
int getAttributeID() -
setAttributeID
void setAttributeID(int attributeID) -
getAttributeAltPrice
Double getAttributeAltPrice() -
setAttributeAltPrice
-
getAttributeCode
String getAttributeCode() -
setAttributeCode
-
getAttributeDescription
String getAttributeDescription() -
setAttributeDescription
-
getAttributeIsActive
boolean getAttributeIsActive() -
setAttributeIsActive
void setAttributeIsActive(boolean attributeIsActive) -
getAttributeIsRequired
boolean getAttributeIsRequired() -
setAttributeIsRequired
void setAttributeIsRequired(boolean attributeIsRequired) -
getAttributeLargeImage
String getAttributeLargeImage() -
setAttributeLargeImage
-
getAttributeName
String getAttributeName() -
setAttributeName
-
getAttributeOrder
int getAttributeOrder() -
setAttributeOrder
void setAttributeOrder(int attributeOrder) -
getAttributeSmallImage
String getAttributeSmallImage() -
setAttributeSmallImage
-
getAttributeType
String getAttributeType() -
setAttributeType
-
getAttributeUnitCost
Double getAttributeUnitCost() -
setAttributeUnitCost
-
getAttributeUnitPrice
Double getAttributeUnitPrice() -
setAttributeUnitPrice
-
getAttributeWeight
Double getAttributeWeight() -
setAttributeWeight
-
getDefaultOptionID
Integer getDefaultOptionID() -
setDefaultOptionID
-
getProductAttributes
Collection getProductAttributes() -
setProductAttributes
-
getAttributeOptions
Collection getAttributeOptions() -
setAttributeOptions
-
getDefaultOption
Option getDefaultOption() -
setDefaultOption
-