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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
getCode()
int
getName()
getType()
getValue()
void
setCategory
(Category category) void
setCategoryID
(int categoryID) void
setCategorySettingID
(int categorySettingID) void
void
setDescription
(String description) void
setIntegerValue
(int integerValue) void
setMediumValue
(String mediumValue) void
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:
-
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:
getCategorySettingID
in interfaceCategorySetting
-
setCategorySettingID
public void setCategorySettingID(int categorySettingID) - Specified by:
setCategorySettingID
in interfaceCategorySetting
-
getCategory
- Specified by:
getCategory
in interfaceCategorySetting
-
setCategory
- Specified by:
setCategory
in interfaceCategorySetting
-
getCode
- Specified by:
getCode
in interfaceCategorySetting
-
setCode
- Specified by:
setCode
in interfaceCategorySetting
-
getDescription
- Specified by:
getDescription
in interfaceCategorySetting
-
setDescription
- Specified by:
setDescription
in interfaceCategorySetting
-
getIntegerValue
public int getIntegerValue()- Specified by:
getIntegerValue
in interfaceCategorySetting
-
setIntegerValue
public void setIntegerValue(int integerValue) - Specified by:
setIntegerValue
in interfaceCategorySetting
-
getMediumValue
- Specified by:
getMediumValue
in interfaceCategorySetting
-
setMediumValue
- Specified by:
setMediumValue
in interfaceCategorySetting
-
getName
- Specified by:
getName
in interfaceCategorySetting
-
setName
- Specified by:
setName
in interfaceCategorySetting
-
getCategoryID
public int getCategoryID()- Specified by:
getCategoryID
in interfaceCategorySetting
-
setCategoryID
public void setCategoryID(int categoryID) - Specified by:
setCategoryID
in interfaceCategorySetting
-
getSmallValue
- Specified by:
getSmallValue
in interfaceCategorySetting
-
setSmallValue
- Specified by:
setSmallValue
in interfaceCategorySetting
-
getTextValue
- Specified by:
getTextValue
in interfaceCategorySetting
-
setTextValue
- Specified by:
setTextValue
in interfaceCategorySetting
-
getType
- Specified by:
getType
in interfaceCategorySetting
-
setType
- Specified by:
setType
in interfaceCategorySetting
-
getValueType
- Specified by:
getValueType
in interfaceCategorySetting
-
setValueType
- Specified by:
setValueType
in interfaceCategorySetting
-
getValue
- Specified by:
getValue
in interfaceCategorySetting
-