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)
newExperimentId
- The ID of the cached experiment.newExperimentName
- The name of the cached experiment.newDescription
- The description of the cached experiment.newStoreId
- The store ID of the cached experiment.newStoreElementTypeId
- The store element type ID of the cached experiment.newPriority
- The priority of the cached experiment.newExpireCount
- The expire count of the cached experiment.newStartDate
- The start date of the cached experiment.newEndDate
- The end date of the cached experiment.newPreferredElement
- The preferred element of the cached experiment.newResultScope
- The result scope of the cached experiment.newStatus
- The status of the cached experiment.newRuleDefinition
- The rule definition instance of the cached experiment.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()
com.ibm.commerce.tools.experimentation.ExperimentRuleDefinition
class.com.ibm.commerce.tools.experimentation.ExperimentRuleDefinition
class.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)
newDescription
- The description of the experiment.public void setEndDate(java.sql.Timestamp newEndDate)
newEndDate
- The end date of the experiment.public void setExperimentId(java.lang.Integer newExperimentId)
newExperimentId
- The ID of the experiment.public void setExperimentName(java.lang.String newExperimentName)
newExperimentName
- The name of the experiment.public void setExpireCount(java.lang.Integer newExpireCount)
newExpireCount
- The expire count of the experiment.public void setPreferredElement(java.lang.Short newPreferredElement)
newPreferredElement
- The preferred element of the experiment.public void setPriority(java.lang.Short newPriority)
newPriority
- The priority of the experiment.public void setResultScope(java.lang.String newResultScope)
newResultScope
- The result scope of the experiment.public void setRuleDefinition(ExperimentRuleDefinition newRuleDefinition)
com.ibm.commerce.tools.experimentation.ExperimentRuleDefinition
class.newRuleDefinition
- The rule of the experiment represented by
com.ibm.commerce.tools.experimentation.ExperimentRuleDefinition
class.public void setStartDate(java.sql.Timestamp newStartDate)
newStartDate
- The start date of the experiment.public void setStatus(java.lang.String newStatus)
newStatus
- The status of the experiment.public void setStoreElementTypeId(java.lang.Integer newStoreElementTypeId)
newStoreElementTypeId
- The ID of the type to which the store element selected
in the experiment is assigned.public void setStoreId(java.lang.Integer newStoreId)
newStoreId
- The ID of the store to which this experiment belongs.