com.softslate.commerce.businessobjects.order
Class CountryBean
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.order.CountryBean
- All Implemented Interfaces:
- BusinessObject, Country, java.io.Serializable
public class CountryBean
- extends BaseBusinessObject
- implements Country, java.io.Serializable
Object representing a country within the system. CountryBean
is the default implementation of the Country interface for the
application.
The database stores countries in the sscCountry table, and
this interface can be used to represent a single row of that table. The
Hibernate configuration file CountryBean.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
countryID
private int countryID
code
private java.lang.String code
name
private java.lang.String name
countryOrder
private int countryOrder
allowOtherStates
private boolean allowOtherStates
isActive
private boolean isActive
states
private java.util.Collection states
CountryBean
public CountryBean()
getAllowOtherStates
public boolean getAllowOtherStates()
- Specified by:
getAllowOtherStates in interface Country
setAllowOtherStates
public void setAllowOtherStates(boolean allowOtherStates)
- Specified by:
setAllowOtherStates in interface Country
getCode
public java.lang.String getCode()
- Specified by:
getCode in interface Country
setCode
public void setCode(java.lang.String code)
- Specified by:
setCode in interface Country
getCountryOrder
public int getCountryOrder()
- Specified by:
getCountryOrder in interface Country
setCountryOrder
public void setCountryOrder(int countryOrder)
- Specified by:
setCountryOrder in interface Country
getIsActive
public boolean getIsActive()
- Specified by:
getIsActive in interface Country
setIsActive
public void setIsActive(boolean isActive)
- Specified by:
setIsActive in interface Country
getName
public java.lang.String getName()
- Specified by:
getName in interface Country
setName
public void setName(java.lang.String name)
- Specified by:
setName in interface Country
getCountryID
public int getCountryID()
- Specified by:
getCountryID in interface Country
setCountryID
public void setCountryID(int countryID)
- Specified by:
setCountryID in interface Country
getStates
public java.util.Collection getStates()
- Specified by:
getStates in interface Country
setStates
public void setStates(java.util.Collection states)
- Specified by:
setStates in interface Country
Copyright © SoftSlate, LLC 20032010