com.softslate.commerce.businessobjects.order
Class StatesAndCountriesBean

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

public class StatesAndCountriesBean
extends BaseBusinessObject
implements StatesAndCountries

Object holding collections of the states and countries active in the store.

StatesAndCountriesBean is the default implementation of the StatesAndCountries interface for the application.

Version:
$Id: StatesAndCountriesBean.java,v 1.2 2004/10/14 16:05:30 dtobey Exp $
Author:
David Tobey
See Also:
StatesAndCountries

Field Summary
private  java.util.Collection countries
          This property is implemented as a Collection of Maps.
(package private) static org.apache.commons.logging.Log log
           
private  java.util.Collection states
           
 
Constructor Summary
StatesAndCountriesBean()
           
 
Method Summary
 java.util.Collection getCountries()
           
 java.util.Collection getStates()
           
 void setCountries(java.util.Collection countries)
           
 void setStates(java.util.Collection states)
           
 
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

log

static org.apache.commons.logging.Log log

countries

private java.util.Collection countries
This property is implemented as a Collection of Maps. Useful for generic iterators such as the Struts logic:iterator tag.


states

private java.util.Collection states
Constructor Detail

StatesAndCountriesBean

public StatesAndCountriesBean()
Method Detail

getCountries

public java.util.Collection getCountries()
Specified by:
getCountries in interface StatesAndCountries

setCountries

public void setCountries(java.util.Collection countries)
Specified by:
setCountries in interface StatesAndCountries

getStates

public java.util.Collection getStates()
Specified by:
getStates in interface StatesAndCountries

setStates

public void setStates(java.util.Collection states)
Specified by:
setStates in interface StatesAndCountries


Copyright © SoftSlate, Inc. 2003–2005