Class CategorySettingBean
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.product.CategorySettingBean
- All Implemented Interfaces:
BusinessObject,CategorySetting,Serializable
public class CategorySettingBean
extends BaseBusinessObject
implements CategorySetting, Serializable
Object representing a category setting within the system.
CategorySettingBean is the default implementation of the
CategorySetting interface for the application.
The database stores category settings in the sscCategorySetting
table, and this interface can be used to represent a single row of that
table. The Hibernate configuration file
CategorySettingBean.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 TypeMethodDescriptionintintgetCode()intgetName()getType()getValue()voidsetCategory(Category category) voidsetCategoryID(int categoryID) voidsetCategorySettingID(int categorySettingID) voidvoidsetDescription(String description) voidsetIntegerValue(int integerValue) voidsetMediumValue(String mediumValue) voidvoidsetSmallValue(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:
-
categorySettingID
private int categorySettingID -
categoryID
private int categoryID -
category
-
code
-
name
-
description
-
type
-
valueType
-
integerValue
private int integerValue -
smallValue
-
mediumValue
-
textValue
-
-
Constructor Details
-
CategorySettingBean
public CategorySettingBean()
-
-
Method Details
-
getCategorySettingID
public int getCategorySettingID()- Specified by:
getCategorySettingIDin interfaceCategorySetting
-
setCategorySettingID
public void setCategorySettingID(int categorySettingID) - Specified by:
setCategorySettingIDin interfaceCategorySetting
-
getCategory
- Specified by:
getCategoryin interfaceCategorySetting
-
setCategory
- Specified by:
setCategoryin interfaceCategorySetting
-
getCode
- Specified by:
getCodein interfaceCategorySetting
-
setCode
- Specified by:
setCodein interfaceCategorySetting
-
getDescription
- Specified by:
getDescriptionin interfaceCategorySetting
-
setDescription
- Specified by:
setDescriptionin interfaceCategorySetting
-
getIntegerValue
public int getIntegerValue()- Specified by:
getIntegerValuein interfaceCategorySetting
-
setIntegerValue
public void setIntegerValue(int integerValue) - Specified by:
setIntegerValuein interfaceCategorySetting
-
getMediumValue
- Specified by:
getMediumValuein interfaceCategorySetting
-
setMediumValue
- Specified by:
setMediumValuein interfaceCategorySetting
-
getName
- Specified by:
getNamein interfaceCategorySetting
-
setName
- Specified by:
setNamein interfaceCategorySetting
-
getCategoryID
public int getCategoryID()- Specified by:
getCategoryIDin interfaceCategorySetting
-
setCategoryID
public void setCategoryID(int categoryID) - Specified by:
setCategoryIDin interfaceCategorySetting
-
getSmallValue
- Specified by:
getSmallValuein interfaceCategorySetting
-
setSmallValue
- Specified by:
setSmallValuein interfaceCategorySetting
-
getTextValue
- Specified by:
getTextValuein interfaceCategorySetting
-
setTextValue
- Specified by:
setTextValuein interfaceCategorySetting
-
getType
- Specified by:
getTypein interfaceCategorySetting
-
setType
- Specified by:
setTypein interfaceCategorySetting
-
getValueType
- Specified by:
getValueTypein interfaceCategorySetting
-
setValueType
- Specified by:
setValueTypein interfaceCategorySetting
-
getValue
- Specified by:
getValuein interfaceCategorySetting
-