public class ExperimentCache
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
ExperimentCache(java.lang.Integer newExperimentId, java.lang.String newExperimentName, java.lang.String newDescription, java.lang.Integer newStoreId, java.lang.Integer newStoreElementTypeId, java.lang.Short newPriority, java.lang.Integer newExpireCount, java.sql.Timestamp newStartDate, java.sql.Timestamp newEndDate, java.lang.Short newPreferredElement, java.lang.String newResultScope, java.lang.String newStatus, ExperimentRuleDefinition newRuleDefinition)
This constructor takes the content of a cached experiment.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String | getDescription()
This method returns the description of the experiment.
|
java.sql.Timestamp | getEndDate()
This method returns the end date of the experiment.
|
java.lang.Integer | getExperimentId()
This method returns the ID of the experiment.
|
java.lang.String | getExperimentName()
This method returns the name of the experiment.
|
java.lang.Integer | getExpireCount()
This method returns the expire count of the experiment, which is used to determine when the experiment is expired.
|
java.lang.Short | getPreferredElement()
This method returns the preferred element of the experiment.
|
java.lang.Short | getPriority()
This method returns the priority of the experiment.
|
java.lang.String | getResultScope()
This method returns the result scope of the experiment.
|
ExperimentRuleDefinition | getRuleDefinition()
This method returns the rule of the experiment represented by com.ibm.commerce.tools.experimentation.ExperimentRuleDefinition class.
|
java.sql.Timestamp | getStartDate()
This method returns the start date of the experiment.
|
java.lang.String | getStatus()
This method returns the status of the experiment.
|
java.lang.Integer | getStoreElementTypeId()
This method returns the ID of the type that the store element selected in the experiment is assigned to.
|
java.lang.Integer | getStoreId()
This method returns the ID of the store to which this experiment belongs.
|
void | setDescription(java.lang.String newDescription)
This method sets the description of the experiment.
|
void | setEndDate(java.sql.Timestamp newEndDate)
This method sets the end date of the experiment.
|
void | setExperimentId(java.lang.Integer newExperimentId)
This method sets the ID of the experiment.
|
void | setExperimentName(java.lang.String newExperimentName)
This method sets the name of the experiment.
|
void | setExpireCount(java.lang.Integer newExpireCount)
This method sets the expire count of the experiment, which is used to determine when the experiment would be expired.
|
void | setPreferredElement(java.lang.Short newPreferredElement)
This method sets the preferred element of the experiment.
|
void | setPriority(java.lang.Short newPriority)
This method sets the priority of the experiment.
|
void | setResultScope(java.lang.String newResultScope)
This method sets the result scope of the experiment.
|
void | setRuleDefinition(ExperimentRuleDefinition newRuleDefinition)
This method sets the rule of the experiment represented by com.ibm.commerce.tools.experimentation.ExperimentRuleDefinition class.
|
void | setStartDate(java.sql.Timestamp newStartDate)
This method sets the start date of the experiment.
|
void | setStatus(java.lang.String newStatus)
This method sets the status of the experiment.
|
void | setStoreElementTypeId(java.lang.Integer newStoreElementTypeId)
This method sets the ID of the type to which the store element selected in the experiment is assigned.
|
void | setStoreId(java.lang.Integer newStoreId)
This method sets the ID of the store to which this experiment belongs.
|
public static final java.lang.String COPYRIGHT
public ExperimentCache(java.lang.Integer newExperimentId, java.lang.String newExperimentName, java.lang.String newDescription, java.lang.Integer newStoreId, java.lang.Integer newStoreElementTypeId, java.lang.Short newPriority, java.lang.Integer newExpireCount, java.sql.Timestamp newStartDate, java.sql.Timestamp newEndDate, java.lang.Short newPreferredElement, java.lang.String newResultScope, java.lang.String newStatus, ExperimentRuleDefinition newRuleDefinition)
public java.lang.String getDescription()
public java.sql.Timestamp getEndDate()
public java.lang.Integer getExperimentId()
public java.lang.String getExperimentName()
public java.lang.Integer getExpireCount()
public java.lang.Short getPreferredElement()
public java.lang.Short getPriority()
public java.lang.String getResultScope()
public ExperimentRuleDefinition getRuleDefinition()
public java.sql.Timestamp getStartDate()
public java.lang.String getStatus()
public java.lang.Integer getStoreElementTypeId()
public java.lang.Integer getStoreId()
public void setDescription(java.lang.String newDescription)
public void setEndDate(java.sql.Timestamp newEndDate)
public void setExperimentId(java.lang.Integer newExperimentId)
public void setExperimentName(java.lang.String newExperimentName)
public void setExpireCount(java.lang.Integer newExpireCount)
public void setPreferredElement(java.lang.Short newPreferredElement)
public void setPriority(java.lang.Short newPriority)
public void setResultScope(java.lang.String newResultScope)
public void setRuleDefinition(ExperimentRuleDefinition newRuleDefinition)
public void setStartDate(java.sql.Timestamp newStartDate)
public void setStatus(java.lang.String newStatus)
public void setStoreElementTypeId(java.lang.Integer newStoreElementTypeId)
public void setStoreId(java.lang.Integer newStoreId)