com.softslate.commerce.businessobjects.order
Class StateBean

java.lang.Object
  extended bycom.softslate.commerce.businessobjects.core.BaseBusinessObject
      extended bycom.softslate.commerce.businessobjects.order.StateBean
All Implemented Interfaces:
BusinessObject, State

public class StateBean
extends BaseBusinessObject
implements State

Object representing a state within the system.

StateBean is the default implementation of the State interface for the application.

Author:
David Tobey

Field Summary
private  java.lang.String code
           
private  int countryID
           
private  boolean isActive
           
private  java.lang.String name
           
private  int stateID
           
private  int stateOrder
           
 
Fields inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessObject
 
Constructor Summary
StateBean()
           
 
Method Summary
 java.lang.String getCode()
           
 int getCountryID()
           
 boolean getIsActive()
           
 java.lang.String getName()
           
 int getStateID()
           
 int getStateOrder()
           
 void setCode(java.lang.String code)
           
 void setCountryID(int countryID)
           
 void setIsActive(boolean isActive)
           
 void setName(java.lang.String name)
           
 void setStateID(int stateID)
           
 void setStateOrder(int stateOrder)
           
 
Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessObject
formatDateTime, initialize, parseDateTime, prepareRequestData, sendHTTPPost
 
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

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
Constructor Detail

StateBean

public StateBean()
Method Detail

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


Copyright © SoftSlate, Inc. 2003–2005