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 TypeMethodDescriptionint
boolean
boolean
int
void
setAttributeAltPrice
(Double attributeAltPrice) void
setAttributeCode
(String attributeCode) void
setAttributeDescription
(String attributeDescription) void
setAttributeID
(int attributeID) void
setAttributeIsActive
(boolean attributeIsActive) void
setAttributeIsRequired
(boolean attributeIsRequired) void
setAttributeLargeImage
(String attributeLargeImage) void
setAttributeName
(String attributeName) void
setAttributeOptions
(Collection attributeOptions) void
setAttributeOrder
(int attributeOrder) void
setAttributeSmallImage
(String attributeSmallImage) void
setAttributeType
(String attributeType) void
setAttributeUnitCost
(Double attributeUnitCost) void
setAttributeUnitPrice
(Double attributeUnitPrice) void
setAttributeWeight
(Double attributeWeight) void
setDefaultOption
(Option defaultOption) void
setDefaultOptionID
(Integer defaultOptionID) void
setProductAttributes
(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
-