com.ibm.commerce.tools.segmentation
Class SegmentStatesDataBean

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

public class SegmentStatesDataBean
extends SmartDataBeanImpl

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

See Also:
Serialized Form

Nested Class Summary
static class SegmentStatesDataBean.State
          This class has properties for the state name and abbreviation.
static class SegmentStatesDataBean.StateQuickSortCompare
          This class will compare State 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
SegmentStatesDataBean()
           
 
Method Summary
  SegmentStatesDataBean.State[] getStates()
          Gets an array of State 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

SegmentStatesDataBean

public SegmentStatesDataBean()
Method Detail

getStates

public SegmentStatesDataBean.State[] getStates()
Gets an array of State objects.
Returns:
An array of State object.

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.