com.ibm.commerce.tools.segmentation
Class SegmentCountriesDataBean

java.lang.Object
  |
  +--com.ibm.commerce.beans.InputDataBeanImpl
        |
        +--com.ibm.commerce.beans.SmartDataBeanImpl
              |
              +--com.ibm.commerce.tools.segmentation.SegmentCountriesDataBean
All Implemented Interfaces:
DataBean, InputDataBean, java.io.Serializable, SmartDataBean

public class SegmentCountriesDataBean
extends SmartDataBeanImpl

This class extends the SmartDataBeanImpl class to create the countries data bean for a customer segment.

See Also:
Serialized Form

Nested Class Summary
static class SegmentCountriesDataBean.Country
          This class contains the name and abbreviation for a country.
static class SegmentCountriesDataBean.CountryQuickSortCompare
          This class will compare Country objects during a quick sort.
 
Field Summary
static java.lang.String COPYRIGHT
          Copyright.
 
Fields inherited from class com.ibm.commerce.beans. SmartDataBeanImpl
commandContext
 
Fields inherited from class com.ibm.commerce.beans. InputDataBeanImpl
requestProperties
 
Fields inherited from interface com.ibm.commerce.beans. DataBean
emptyString
 
Constructor Summary
SegmentCountriesDataBean()
           
 
Method Summary
  SegmentCountriesDataBean.Country[] getCountries()
          Gets an array of Country objects.
 void populate()
          Populates the data bean.
 
Methods inherited from class com.ibm.commerce.beans. SmartDataBeanImpl
fulfills, getCommandContext, getResources, setCommandContext
 
Methods inherited from class com.ibm.commerce.beans. InputDataBeanImpl
getRequestProperties, setRequestProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.commerce.beans. InputDataBean
getRequestProperties, setRequestProperties
 

Field Detail
public static final java.lang.String COPYRIGHT
Copyright.
See Also:
Constant Field Values
Constructor Detail

SegmentCountriesDataBean

public SegmentCountriesDataBean()
Method Detail

getCountries

public SegmentCountriesDataBean.Country[] getCountries()
Gets an array of Country objects.
Returns:
An array of Country objects.

populate

public void populate()
              throws java.lang.Exception
Populates the data bean.
Specified by:
populate in interface SmartDataBean
Overrides:
populate in class SmartDataBeanImpl
Throws:
java.lang.Exception - should not happen since there is no data retrieved to populate the databean.