com.softslate.commerce.businessobjects.product
Class ProductSettingBean

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

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

Field Summary
private  java.lang.String code
           
private  java.lang.String description
           
private  int integerValue
           
private  java.lang.String mediumValue
           
private  java.lang.String name
           
private  Product product
           
private  int productID
           
private  int productSettingID
           
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
ProductSettingBean()
           
 
Method Summary
 java.lang.String getCode()
           
 java.lang.String getDescription()
           
 int getIntegerValue()
           
 java.lang.String getMediumValue()
           
 java.lang.String getName()
           
 Product getProduct()
           
 int getProductID()
           
 int getProductSettingID()
           
 java.lang.String getSmallValue()
           
 java.lang.String getTextValue()
           
 java.lang.String getType()
           
 java.lang.String getValue()
           
 java.lang.String getValueType()
           
 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 setProduct(Product product)
           
 void setProductID(int productID)
           
 void setProductSettingID(int productSettingID)
           
 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

productSettingID

private int productSettingID

product

private Product product

productID

private int productID

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

ProductSettingBean

public ProductSettingBean()
Method Detail

getProductSettingID

public int getProductSettingID()
Specified by:
getProductSettingID in interface ProductSetting

setProductSettingID

public void setProductSettingID(int productSettingID)
Specified by:
setProductSettingID in interface ProductSetting

getProduct

public Product getProduct()
Specified by:
getProduct in interface ProductSetting

setProduct

public void setProduct(Product product)
Specified by:
setProduct in interface ProductSetting

getCode

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

setCode

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

getDescription

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

setDescription

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

getIntegerValue

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

setIntegerValue

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

getMediumValue

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

setMediumValue

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

getName

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

setName

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

getProductID

public int getProductID()
Specified by:
getProductID in interface ProductSetting

setProductID

public void setProductID(int productID)
Specified by:
setProductID in interface ProductSetting

getSmallValue

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

setSmallValue

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

getTextValue

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

setTextValue

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

getType

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

setType

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

getValueType

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

setValueType

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

getValue

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


Copyright ? SoftSlate, LLC 2003?2005