com.softslate.commerce.businessobjects.order
Interface State
- All Superinterfaces:
- BusinessObject
- All Known Implementing Classes:
- StateBean
- public interface State
- extends BusinessObject
Interface representing a state within the system.
The database stores states in the npcState
table, and this
interface can be used to represent a single row of that table. Each of the
columns in npcState
map to getters and setters in this
interface.
When the application needs to create an instance that implements
npcState
,
BusinessObjectFactory
finds the name of the Java class to instantiate from the "stateImplementer"
setting in the npcSetting
database table.
The default "stateImplementer" is
StateBean
.
- Author:
- David Tobey
getCode
public java.lang.String getCode()
setCode
public void setCode(java.lang.String code)
getCountryID
public int getCountryID()
setCountryID
public void setCountryID(int countryID)
getIsActive
public boolean getIsActive()
setIsActive
public void setIsActive(boolean isActive)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getStateOrder
public int getStateOrder()
setStateOrder
public void setStateOrder(int stateOrder)
getStateID
public int getStateID()
setStateID
public void setStateID(int stateID)
Copyright © SoftSlate, Inc. 20032005