java.lang.Object | +--com.ibm.commerce.beans.InputDataBeanImpl | +--com.ibm.commerce.beans.SmartDataBeanImpl | +--com.ibm.commerce.tools.segmentation.SegmentCountriesDataBean
This class extends the SmartDataBeanImpl class to create the countries data bean for a customer segment.
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
Constructor Detail |
---|
public SegmentCountriesDataBean()
Method Detail |
---|
public SegmentCountriesDataBean.Country[] getCountries()
public void populate() throws java.lang.Exception
populate
in interface
SmartDataBean
populate
in class
SmartDataBeanImpl
java.lang.Exception
- should not happen since there is no data
retrieved to populate the databean.