public abstract class ExperimentRuleDefinition
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
ExperimentRuleDefinition() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
convertToXml()
Converts a specific rule definition object into an XML document.
|
java.lang.Integer |
getControlElementId()
This method returns the internal ID of the control element defined in this
experiment rule.
|
DynamicKey |
getControlElementKey()
This method returns the key object of the control element defined in this experiment
rule.
|
java.lang.String |
getControlElementName()
This method returns the name of the control element defined in this experiment rule.
|
java.lang.Integer |
getControlElementRatio()
This method returns the ratio of the control element defined in this experiment
rule.
|
java.lang.String |
getControlElementType()
This method returns the type of the control element defined in this experiment
rule.
|
java.lang.String |
getExperimentType()
This method returns the type of this experiment.
|
java.lang.Integer |
getLanguageId()
This method returns the ID of language being set in this object.
|
java.util.Locale |
getLocale()
This method returns the locale to be used in this class.
|
DynamicKey |
getStoreElementKey()
This method returns the key object of the store element defined in this experiment
rule.
|
java.lang.String |
getStoreElementName()
This method returns the name of the store element defined in this experiment rule.
|
java.lang.String |
getStoreElementType()
This method returns the type of the store element defined in this experiment rule.
|
java.util.Vector |
getTestElementId()
This method returns the internal ID of all test elements defined in this experiment
rule.
|
java.lang.Integer |
getTestElementIdCounter()
This method returns the current ID of the last test element in the array defined in
this experiment rule.
|
java.util.Vector |
getTestElementKey()
This method returns the key object of all test elements defined in this experiment
rule.
|
java.util.Vector |
getTestElementName()
This method returns the name of all test elements defined in this experiment rule.
|
java.util.Vector |
getTestElementRatio()
This method returns the ratio of all test elements defined in this experiment rule.
|
java.util.Vector |
getTestElementType()
This method returns the type of all test elements defined in this experiment rule.
|
abstract void |
populateFromRuleHashtable(java.util.Hashtable ruleHashtable)
Populates a specific rule definition object from hashtable representation of the
rule.
|
abstract void |
populateFromRuleXml(java.lang.String ruleXml)
Populates a specific rule definition object from an XML representation of the rule.
|
void |
setControlElementId(java.lang.Integer newControlElementId)
This method sets the internal ID of the control element defined in this experiment
rule.
|
void |
setControlElementKey(DynamicKey newControlElementKey)
This method sets the key object of the control element defined in this experiment
rule.
|
void |
setControlElementName(java.lang.String newControlElementName)
This method sets the name of the control element defined in this experiment rule.
|
void |
setControlElementRatio(java.lang.Integer newControlElementRatio)
This method sets the ratio of the control element defined in this experiment rule.
|
void |
setControlElementType(java.lang.String newControlElementType)
This method sets the type of the control element defined in this experiment rule.
|
void |
setExperimentType(java.lang.String newExperimentType)
This method sets the type of this experiment.
|
void |
setLanguageId(java.lang.Integer newLanguageId)
This method sets the ID of language.
|
void |
setLocale(java.util.Locale newLocale)
This method sets the locale to be used in this class.
|
void |
setStoreElementKey(DynamicKey newStoreElementKey)
This method sets the key object of the store element defined in this experiment
rule.
|
void |
setStoreElementName(java.lang.String newStoreElementName)
This method sets the name of the store element defined in this experiment rule.
|
void |
setStoreElementType(java.lang.String newStoreElementType)
This method sets the type of the store element defined in this experiment rule.
|
void |
setTestElementId(java.util.Vector newTestElementId)
This method sets the internal ID of all test elements defined in this experiment
rule.
|
void |
setTestElementIdCounter(java.lang.Integer newTestElementIdCounter)
This method sets the current ID of the last test element in the array defined in
this experiment rule.
|
void |
setTestElementKey(java.util.Vector newTestElementKey)
This method sets the key object of all test elements defined in this experiment
rule.
|
void |
setTestElementName(java.util.Vector newTestElementName)
This method sets the name of all test elements defined in this experiment rule.
|
void |
setTestElementRatio(java.util.Vector newTestElementRatio)
This method sets the ratio of all test elements defined in this experiment rule.
|
void |
setTestElementType(java.util.Vector newTestElementType)
This method sets the type of all test elements defined in this experiment rule.
|
public static final java.lang.String COPYRIGHT
public abstract java.lang.String convertToXml()
public abstract void populateFromRuleHashtable(java.util.Hashtable ruleHashtable)
ruleHashtable
- The hashtable representation of the rule.public abstract void populateFromRuleXml(java.lang.String ruleXml)
ruleXml
- The XML representation of the rule.public java.lang.Integer getControlElementId()
public DynamicKey getControlElementKey()
public java.lang.String getControlElementName()
public java.lang.Integer getControlElementRatio()
public java.lang.String getControlElementType()
public java.lang.String getExperimentType()
public java.lang.Integer getLanguageId()
public java.util.Locale getLocale()
public DynamicKey getStoreElementKey()
public java.lang.String getStoreElementName()
public java.lang.String getStoreElementType()
public java.lang.Integer getTestElementIdCounter()
public java.util.Vector getTestElementId()
public java.util.Vector getTestElementKey()
public java.util.Vector getTestElementName()
public java.util.Vector getTestElementRatio()
public java.util.Vector getTestElementType()
public void setControlElementId(java.lang.Integer newControlElementId)
newControlElementId
- The internal ID of the control element.public void setControlElementKey(DynamicKey newControlElementKey)
newControlElementKey
- The internal Key object of the control element.public void setControlElementName(java.lang.String newControlElementName)
newControlElementName
- The name of the control element.public void setControlElementRatio(java.lang.Integer newControlElementRatio)
newControlElementRatio
- The ratio of the control element.public void setControlElementType(java.lang.String newControlElementType)
newControlElementType
- The type of the control element.public void setExperimentType(java.lang.String newExperimentType)
newExperimentType
- The type of the experiment.public void setLanguageId(java.lang.Integer newLanguageId)
newLanguageId
- The language ID.public void setLocale(java.util.Locale newLocale)
newLocale
- The locale object.public void setStoreElementKey(DynamicKey newStoreElementKey)
newStoreElementKey
- The internal Key object of the store element.public void setStoreElementName(java.lang.String newStoreElementName)
newStoreElementName
- The name of the store element.public void setStoreElementType(java.lang.String newStoreElementType)
newStoreElementType
- The type of the store element.public void setTestElementIdCounter(java.lang.Integer newTestElementIdCounter)
newTestElementIdCounter
- The current ID of the last test element in the array.public void setTestElementId(java.util.Vector newTestElementId)
newTestElementId
- The internal IDs of all test elements.public void setTestElementKey(java.util.Vector newTestElementKey)
newTestElementKey
- The internal Key objects of all test elements.public void setTestElementName(java.util.Vector newTestElementName)
newTestElementName
- The names of all test elements.public void setTestElementRatio(java.util.Vector newTestElementRatio)
newTestElementRatio
- The ratios of all test elements.public void setTestElementType(java.util.Vector newTestElementType)
newTestElementType
- The types of all test elements.