com.softslate.commerce.businessobjects.product
Class CategorySettingBean

java.lang.Object
  extended by com.softslate.commerce.businessobjects.core.BaseBusinessObject
      extended by com.softslate.commerce.businessobjects.product.CategorySettingBean
All Implemented Interfaces:
BusinessObject, CategorySetting, java.io.Serializable

public class CategorySettingBean
extends BaseBusinessObject
implements CategorySetting, java.io.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:
Serialized Form

Field Summary
private  Category category
           
private  int categoryID
           
private  int categorySettingID
           
private  java.lang.String code
           
private  java.lang.String description
           
private  int integerValue
           
private  java.lang.String mediumValue
           
private  java.lang.String name
           
private static long serialVersionUID
           
private  java.lang.String smallValue
           
private  java.lang.String textValue
           
private  java.lang.String type
           
private  java.lang.String valueType
           
 
Constructor Summary
CategorySettingBean()
           
 
Method Summary
 Category getCategory()
           
 int getCategoryID()
           
 int getCategorySettingID()
           
 java.lang.String getCode()
           
 java.lang.String getDescription()
           
 int getIntegerValue()
           
 java.lang.String getMediumValue()
           
 java.lang.String getName()
           
 java.lang.String getSmallValue()
           
 java.lang.String getTextValue()
           
 java.lang.String getType()
           
 java.lang.String getValue()
           
 java.lang.String getValueType()
           
 void setCategory(Category category)
           
 void setCategoryID(int categoryID)
           
 void setCategorySettingID(int categorySettingID)
           
 void setCode(java.lang.String code)
           
 void setDescription(java.lang.String description)
           
 void setIntegerValue(int integerValue)
           
 void setMediumValue(java.lang.String mediumValue)
           
 void setName(java.lang.String name)
           
 void setSmallValue(java.lang.String smallValue)
           
 void setTextValue(java.lang.String textValue)
           
 void setType(java.lang.String type)
           
 void setValueType(java.lang.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 Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

categorySettingID

private int categorySettingID

categoryID

private int categoryID

category

private Category category

code

private java.lang.String code

name

private java.lang.String name

description

private java.lang.String description

type

private java.lang.String type

valueType

private java.lang.String valueType

integerValue

private int integerValue

smallValue

private java.lang.String smallValue

mediumValue

private java.lang.String mediumValue

textValue

private java.lang.String textValue
Constructor Detail

CategorySettingBean

public CategorySettingBean()
Method Detail

getCategorySettingID

public int getCategorySettingID()
Specified by:
getCategorySettingID in interface CategorySetting

setCategorySettingID

public void setCategorySettingID(int categorySettingID)
Specified by:
setCategorySettingID in interface CategorySetting

getCategory

public Category getCategory()
Specified by:
getCategory in interface CategorySetting

setCategory

public void setCategory(Category category)
Specified by:
setCategory in interface CategorySetting

getCode

public java.lang.String getCode()
Specified by:
getCode in interface CategorySetting

setCode

public void setCode(java.lang.String code)
Specified by:
setCode in interface CategorySetting

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface CategorySetting

setDescription

public void setDescription(java.lang.String description)
Specified by:
setDescription in interface CategorySetting

getIntegerValue

public int getIntegerValue()
Specified by:
getIntegerValue in interface CategorySetting

setIntegerValue

public void setIntegerValue(int integerValue)
Specified by:
setIntegerValue in interface CategorySetting

getMediumValue

public java.lang.String getMediumValue()
Specified by:
getMediumValue in interface CategorySetting

setMediumValue

public void setMediumValue(java.lang.String mediumValue)
Specified by:
setMediumValue in interface CategorySetting

getName

public java.lang.String getName()
Specified by:
getName in interface CategorySetting

setName

public void setName(java.lang.String name)
Specified by:
setName in interface CategorySetting

getCategoryID

public int getCategoryID()
Specified by:
getCategoryID in interface CategorySetting

setCategoryID

public void setCategoryID(int categoryID)
Specified by:
setCategoryID in interface CategorySetting

getSmallValue

public java.lang.String getSmallValue()
Specified by:
getSmallValue in interface CategorySetting

setSmallValue

public void setSmallValue(java.lang.String smallValue)
Specified by:
setSmallValue in interface CategorySetting

getTextValue

public java.lang.String getTextValue()
Specified by:
getTextValue in interface CategorySetting

setTextValue

public void setTextValue(java.lang.String textValue)
Specified by:
setTextValue in interface CategorySetting

getType

public java.lang.String getType()
Specified by:
getType in interface CategorySetting

setType

public void setType(java.lang.String type)
Specified by:
setType in interface CategorySetting

getValueType

public java.lang.String getValueType()
Specified by:
getValueType in interface CategorySetting

setValueType

public void setValueType(java.lang.String valueType)
Specified by:
setValueType in interface CategorySetting

getValue

public java.lang.String getValue()
Specified by:
getValue in interface CategorySetting


Copyright © SoftSlate, LLC 2003–2005