Class ProductSettingBean
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.product.ProductSettingBean
- All Implemented Interfaces:
BusinessObject
,ProductSetting
,Serializable
Object representing a product setting within the system.
ProductSettingBean
is the default implementation of the
ProductSetting
interface for the application.
The database stores product settings in the sscProductSetting
table, and this interface can be used to represent a single row of that
table. The Hibernate configuration file
ProductSettingBean.hbm.xml
maps that table's columns to the
properties in this object.
- Author:
- David Tobey
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCode()
int
getName()
int
int
getType()
getValue()
void
void
setDescription
(String description) void
setIntegerValue
(int integerValue) void
setMediumValue
(String mediumValue) void
void
setProduct
(Product product) void
setProductID
(int productID) void
setProductSettingID
(int productSettingID) void
setSmallValue
(String smallValue) void
setTextValue
(String textValue) void
void
setValueType
(String valueType) 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:
-
productSettingID
private int productSettingID -
product
-
productID
private int productID -
code
-
name
-
description
-
type
-
valueType
-
integerValue
private int integerValue -
smallValue
-
mediumValue
-
textValue
-
-
Constructor Details
-
ProductSettingBean
public ProductSettingBean()
-
-
Method Details
-
getProductSettingID
public int getProductSettingID()- Specified by:
getProductSettingID
in interfaceProductSetting
-
setProductSettingID
public void setProductSettingID(int productSettingID) - Specified by:
setProductSettingID
in interfaceProductSetting
-
getProduct
- Specified by:
getProduct
in interfaceProductSetting
-
setProduct
- Specified by:
setProduct
in interfaceProductSetting
-
getCode
- Specified by:
getCode
in interfaceProductSetting
-
setCode
- Specified by:
setCode
in interfaceProductSetting
-
getDescription
- Specified by:
getDescription
in interfaceProductSetting
-
setDescription
- Specified by:
setDescription
in interfaceProductSetting
-
getIntegerValue
public int getIntegerValue()- Specified by:
getIntegerValue
in interfaceProductSetting
-
setIntegerValue
public void setIntegerValue(int integerValue) - Specified by:
setIntegerValue
in interfaceProductSetting
-
getMediumValue
- Specified by:
getMediumValue
in interfaceProductSetting
-
setMediumValue
- Specified by:
setMediumValue
in interfaceProductSetting
-
getName
- Specified by:
getName
in interfaceProductSetting
-
setName
- Specified by:
setName
in interfaceProductSetting
-
getProductID
public int getProductID()- Specified by:
getProductID
in interfaceProductSetting
-
setProductID
public void setProductID(int productID) - Specified by:
setProductID
in interfaceProductSetting
-
getSmallValue
- Specified by:
getSmallValue
in interfaceProductSetting
-
setSmallValue
- Specified by:
setSmallValue
in interfaceProductSetting
-
getTextValue
- Specified by:
getTextValue
in interfaceProductSetting
-
setTextValue
- Specified by:
setTextValue
in interfaceProductSetting
-
getType
- Specified by:
getType
in interfaceProductSetting
-
setType
- Specified by:
setType
in interfaceProductSetting
-
getValueType
- Specified by:
getValueType
in interfaceProductSetting
-
setValueType
- Specified by:
setValueType
in interfaceProductSetting
-
getValue
- Specified by:
getValue
in interfaceProductSetting
-