com.softslate.commerce.businessobjects.order
Class StateBean
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.order.StateBean
- All Implemented Interfaces:
- BusinessObject, State, java.io.Serializable
public class StateBean
- extends BaseBusinessObject
- implements State, java.io.Serializable
Object representing a state within the system. StateBean
is
the default implementation of the State
interface for the
application.
The database stores states in the sscState
table, and this
interface can be used to represent a single row of that table. The Hibernate
configuration file StateBean.hbm.xml
maps that table's columns
to the properties in this object.
- Author:
- David Tobey
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
stateID
private int stateID
countryID
private int countryID
code
private java.lang.String code
name
private java.lang.String name
stateOrder
private int stateOrder
isActive
private boolean isActive
country
private Country country
StateBean
public StateBean()
getCode
public java.lang.String getCode()
- Specified by:
getCode
in interface State
setCode
public void setCode(java.lang.String code)
- Specified by:
setCode
in interface State
getCountryID
public int getCountryID()
- Specified by:
getCountryID
in interface State
setCountryID
public void setCountryID(int countryID)
- Specified by:
setCountryID
in interface State
getIsActive
public boolean getIsActive()
- Specified by:
getIsActive
in interface State
setIsActive
public void setIsActive(boolean isActive)
- Specified by:
setIsActive
in interface State
getName
public java.lang.String getName()
- Specified by:
getName
in interface State
setName
public void setName(java.lang.String name)
- Specified by:
setName
in interface State
getStateOrder
public int getStateOrder()
- Specified by:
getStateOrder
in interface State
setStateOrder
public void setStateOrder(int stateOrder)
- Specified by:
setStateOrder
in interface State
getStateID
public int getStateID()
- Specified by:
getStateID
in interface State
setStateID
public void setStateID(int stateID)
- Specified by:
setStateID
in interface State
getCountry
public Country getCountry()
- Specified by:
getCountry
in interface State
setCountry
public void setCountry(Country country)
- Specified by:
setCountry
in interface State
Copyright ? SoftSlate, LLC 2003?2005