com.ibm.commerce.tools.campaigns
Class CampaignInitiativeDetailsDataBean.WhenChoice

java.lang.Object
  |
  +--com.ibm.commerce.tools.campaigns.CampaignInitiativeDetailsDataBean.WhenChoice
Enclosing class:
CampaignInitiativeDetailsDataBean

public static final class CampaignInitiativeDetailsDataBean.WhenChoice
extends java.lang.Object

The WhenChoice inner class defines the WHICH condition of the campaign initiative.


Constructor Summary
CampaignInitiativeDetailsDataBean.WhenChoice(java.util.Hashtable xml)
          Constructs a when choice object using a XML document.
CampaignInitiativeDetailsDataBean.WhenChoice(java.lang.String action, java.lang.String type, java.lang.String value1, java.lang.String value2)
          Constructs a when choice object using separate values for each field.
 
Method Summary
 java.lang.String getAction()
          Gets the WHICH action.
 java.lang.String getType()
          Gets the WHICH type.
 java.lang.String getValue1()
          Gets the WHICH value 1.
 java.lang.String getValue2()
          Gets the WHICH value 2.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CampaignInitiativeDetailsDataBean.WhenChoice

public CampaignInitiativeDetailsDataBean.WhenChoice(java.util.Hashtable xml)
Constructs a when choice object using a XML document.

CampaignInitiativeDetailsDataBean.WhenChoice

public CampaignInitiativeDetailsDataBean.WhenChoice(java.lang.String action,
                                                    java.lang.String type,
                                                    java.lang.String value1,
                                                    java.lang.String value2)
Constructs a when choice object using separate values for each field.
Method Detail

getAction

public java.lang.String getAction()
Gets the WHICH action.
Returns:
The WHICH action.

getType

public java.lang.String getType()
Gets the WHICH type.
Returns:
The WHICH type.

getValue1

public java.lang.String getValue1()
Gets the WHICH value 1.
Returns:
The WHICH value 1.

getValue2

public java.lang.String getValue2()
Gets the WHICH value 2.
Returns:
The WHICH value 2.