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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCode()intgetName()intintgetType()getValue()voidvoidsetDescription(String description) voidsetIntegerValue(int integerValue) voidsetMediumValue(String mediumValue) voidvoidsetProduct(Product product) voidsetProductID(int productID) voidsetProductSettingID(int productSettingID) voidsetSmallValue(String smallValue) voidsetTextValue(String textValue) voidvoidsetValueType(String valueType) Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessObject
initializeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getProductSettingIDin interfaceProductSetting
-
setProductSettingID
public void setProductSettingID(int productSettingID) - Specified by:
setProductSettingIDin interfaceProductSetting
-
getProduct
- Specified by:
getProductin interfaceProductSetting
-
setProduct
- Specified by:
setProductin interfaceProductSetting
-
getCode
- Specified by:
getCodein interfaceProductSetting
-
setCode
- Specified by:
setCodein interfaceProductSetting
-
getDescription
- Specified by:
getDescriptionin interfaceProductSetting
-
setDescription
- Specified by:
setDescriptionin interfaceProductSetting
-
getIntegerValue
public int getIntegerValue()- Specified by:
getIntegerValuein interfaceProductSetting
-
setIntegerValue
public void setIntegerValue(int integerValue) - Specified by:
setIntegerValuein interfaceProductSetting
-
getMediumValue
- Specified by:
getMediumValuein interfaceProductSetting
-
setMediumValue
- Specified by:
setMediumValuein interfaceProductSetting
-
getName
- Specified by:
getNamein interfaceProductSetting
-
setName
- Specified by:
setNamein interfaceProductSetting
-
getProductID
public int getProductID()- Specified by:
getProductIDin interfaceProductSetting
-
setProductID
public void setProductID(int productID) - Specified by:
setProductIDin interfaceProductSetting
-
getSmallValue
- Specified by:
getSmallValuein interfaceProductSetting
-
setSmallValue
- Specified by:
setSmallValuein interfaceProductSetting
-
getTextValue
- Specified by:
getTextValuein interfaceProductSetting
-
setTextValue
- Specified by:
setTextValuein interfaceProductSetting
-
getType
- Specified by:
getTypein interfaceProductSetting
-
setType
- Specified by:
setTypein interfaceProductSetting
-
getValueType
- Specified by:
getValueTypein interfaceProductSetting
-
setValueType
- Specified by:
setValueTypein interfaceProductSetting
-
getValue
- Specified by:
getValuein interfaceProductSetting
-