com.softslate.commerce.businessobjects.order
Interface Country

All Superinterfaces:
BusinessObject
All Known Implementing Classes:
CountryBean

public interface Country
extends BusinessObject

Interface representing a country within the system.

The database stores countries in the npcCountry table, and this interface can be used to represent a single row of that table. Each of the columns in npcCountry map to getters and setters in this interface.

When the application needs to create an instance that implements npcCountry, BusinessObjectFactory finds the name of the Java class to instantiate from the "countryImplementer" setting in the npcSetting database table.

The default "countryImplementer" is CountryBean.

Author:
David Tobey

Method Summary
 boolean getAllowOtherStates()
           
 java.lang.String getCode()
           
 int getCountryID()
           
 int getCountryOrder()
           
 boolean getIsActive()
           
 java.lang.String getName()
           
 void setAllowOtherStates(boolean allowOtherStates)
           
 void setCode(java.lang.String code)
           
 void setCountryID(int countryID)
           
 void setCountryOrder(int countryOrder)
           
 void setIsActive(boolean isActive)
           
 void setName(java.lang.String name)
           
 
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
 

Method Detail

getAllowOtherStates

public boolean getAllowOtherStates()

setAllowOtherStates

public void setAllowOtherStates(boolean allowOtherStates)

getCode

public java.lang.String getCode()

setCode

public void setCode(java.lang.String code)

getCountryOrder

public int getCountryOrder()

setCountryOrder

public void setCountryOrder(int countryOrder)

getIsActive

public boolean getIsActive()

setIsActive

public void setIsActive(boolean isActive)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getCountryID

public int getCountryID()

setCountryID

public void setCountryID(int countryID)


Copyright © SoftSlate, Inc. 2003–2005