|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.core.BaseBusinessProcessor
com.softslate.commerce.businessobjects.core.SettingBean
public class SettingBean
Represents a single setting used by the application. SettingBean
is the default implementation of the Setting interface for the
application.
The various settings represent everything from the default colors and fonts used by the display templates, to logical settings defining the behavior of various parts of the application.
The database stores settings in the sscSetting table, and this
class can be used to represent a single row of that table. The Hibernate
configuration file SettingBean.hbm.xml maps that table's
columns to the properties in this object.
| Field Summary | |
|---|---|
private java.lang.String |
code
The code for this SettingBean, when used as an interface
to the sscSetting database table. |
private java.lang.String |
description
The description for this SettingBean, when used as an
interface to the sscSetting database table. |
private java.lang.Integer |
integerValue
The integerValue for this SettingBean, when used as an
interface to the sscSetting database table. |
(package private) static org.apache.commons.logging.Log |
log
|
private java.lang.String |
mediumValue
The mediumValue for this SettingBean, when used as an
interface to the sscSetting database table. |
private java.lang.String |
name
The name for this SettingBean, when used as an interface
to the sscSetting database table. |
private static long |
serialVersionUID
|
private int |
settingID
The settingID for this SettingBean, when used as an
interface to the sscSetting database table. |
private java.lang.String |
smallValue
The smallValue for this SettingBean, when used as an
interface to the sscSetting database table. |
private java.lang.String |
textValue
The textValue for this SettingBean, when used as an
interface to the sscSetting database table. |
private java.lang.String |
type
The type for this SettingBean, when used as an interface
to the sscSetting database table. |
private java.lang.String |
valueType
The value type for this SettingBean, when used as an
interface to the sscSetting database table. |
| Constructor Summary | |
|---|---|
SettingBean()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getCode()
|
java.lang.String |
getDescription()
|
java.lang.Integer |
getIntegerValue()
|
java.lang.String |
getMediumValue()
|
java.lang.String |
getName()
|
int |
getSettingID()
|
java.lang.String |
getSmallValue()
|
java.lang.String |
getTextValue()
|
java.lang.String |
getType()
|
java.lang.String |
getValueType()
|
void |
setCode(java.lang.String code)
|
void |
setDescription(java.lang.String description)
|
void |
setIntegerValue(java.lang.Integer integerValue)
|
void |
setMediumValue(java.lang.String mediumValue)
|
void |
setName(java.lang.String name)
|
void |
setSettingID(int settingID)
|
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.BaseBusinessProcessor |
|---|
formatDateTime, formatPrice, getAppComponents, getAppSettings, getAttributeIDs, getBusinessObjectFactory, getDaoFactory, getProductIDs, getSettings, getUser, initialize, loadMatchingSkus, parseDateTime, parseResponseData, prepareRequestData, sendHTTPPost, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setSettings, setUser, utils |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
static org.apache.commons.logging.Log log
private int settingID
SettingBean, when used as an
interface to the sscSetting database table. Corresponds to
sscSetting.settingID.
private java.lang.String code
SettingBean, when used as an interface
to the sscSetting database table. Corresponds to
sscSetting.code.
private java.lang.String name
SettingBean, when used as an interface
to the sscSetting database table. Corresponds to
sscSetting.name.
private java.lang.String description
SettingBean, when used as an
interface to the sscSetting database table. Corresponds to
sscSetting.description.
private java.lang.String type
SettingBean, when used as an interface
to the sscSetting database table. Corresponds to
sscSetting.type.
private java.lang.String valueType
SettingBean, when used as an
interface to the sscSetting database table. Corresponds to
sscSetting.valueType.
private java.lang.Integer integerValue
SettingBean, when used as an
interface to the sscSetting database table. Corresponds to
sscSetting.integerValue.
private java.lang.String smallValue
SettingBean, when used as an
interface to the sscSetting database table. Corresponds to
sscSetting.smallValue.
private java.lang.String mediumValue
SettingBean, when used as an
interface to the sscSetting database table. Corresponds to
sscSetting.mediumValue.
private java.lang.String textValue
SettingBean, when used as an
interface to the sscSetting database table. Corresponds to
sscSetting.textValue.
| Constructor Detail |
|---|
public SettingBean()
| Method Detail |
|---|
public int getSettingID()
getSettingID in interface Settingpublic void setSettingID(int settingID)
setSettingID in interface Settingpublic java.lang.String getCode()
getCode in interface Settingpublic void setCode(java.lang.String code)
setCode in interface Settingpublic java.lang.String getName()
getName in interface Settingpublic void setName(java.lang.String name)
setName in interface Settingpublic java.lang.String getDescription()
getDescription in interface Settingpublic void setDescription(java.lang.String description)
setDescription in interface Settingpublic java.lang.String getType()
getType in interface Settingpublic void setType(java.lang.String type)
setType in interface Settingpublic java.lang.String getValueType()
getValueType in interface Settingpublic void setValueType(java.lang.String valueType)
setValueType in interface Settingpublic java.lang.Integer getIntegerValue()
getIntegerValue in interface Settingpublic void setIntegerValue(java.lang.Integer integerValue)
setIntegerValue in interface Settingpublic java.lang.String getSmallValue()
getSmallValue in interface Settingpublic void setSmallValue(java.lang.String smallValue)
setSmallValue in interface Settingpublic java.lang.String getMediumValue()
getMediumValue in interface Settingpublic void setMediumValue(java.lang.String mediumValue)
setMediumValue in interface Settingpublic java.lang.String getTextValue()
getTextValue in interface Settingpublic void setTextValue(java.lang.String textValue)
setTextValue in interface Setting
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||