|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.elasticpath.domain.impl.AbstractEpDomainImpl
com.elasticpath.domain.impl.AbstractPersistenceImpl
com.elasticpath.domain.impl.AbstractValueObjectImpl
com.elasticpath.domain.rules.impl.RuleParameterImpl
public class RuleParameterImpl
Represents a parameter of a rule condition, such as the category that a product must belong to to qualify for a promotion.
| Field Summary | |
|---|---|
static long |
serialVersionUID
Serial version id. |
| Fields inherited from interface com.elasticpath.domain.rules.RuleParameter |
|---|
BOOLEAN_KEY, BRAND_CODE_KEY, CATEGORY_ID_KEY, CURRENCY_KEY, CUSTOMERGROUP_ID_KEY, DISCOUNT_AMOUNT_KEY, DISCOUNT_PERCENT_KEY, NUM_ITEMS_KEY, PRODUCT_ID_KEY, SHIPPING_SERVICE_LEVEL_ID_KEY, SKU_CODE_KEY, SUBTOTAL_AMOUNT_KEY |
| Constructor Summary | |
|---|---|
RuleParameterImpl()
No argument constructor. |
|
RuleParameterImpl(java.lang.String key,
java.lang.String value)
Constructor to create an initialized Rule Parameter. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDisplayText()
Get the display text for this parameter. |
java.lang.String |
getKey()
Get the parameter key. |
java.lang.String |
getValue()
Get the parameter value. |
void |
setDisplayText(java.lang.String displayText)
Set the text to be displayed for this parameter. |
void |
setKey(java.lang.String key)
Set the parameter key. |
void |
setValue(java.lang.String value)
Set the parameter value. |
| Methods inherited from class com.elasticpath.domain.impl.AbstractPersistenceImpl |
|---|
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk |
| Methods inherited from class com.elasticpath.domain.impl.AbstractEpDomainImpl |
|---|
getElasticPath, setElasticPath |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.elasticpath.domain.Persistence |
|---|
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk |
| Methods inherited from interface com.elasticpath.domain.EpDomain |
|---|
getElasticPath, setElasticPath |
| Field Detail |
|---|
public static final long serialVersionUID
| Constructor Detail |
|---|
public RuleParameterImpl()
public RuleParameterImpl(java.lang.String key,
java.lang.String value)
key - the parameter keyvalue - the parameter value| Method Detail |
|---|
public java.lang.String getDisplayText()
getDisplayText in interface RuleParameterpublic java.lang.String getKey()
getKey in interface RuleParameterpublic java.lang.String getValue()
getValue in interface RuleParameterpublic void setDisplayText(java.lang.String displayText)
setDisplayText in interface RuleParameterdisplayText - the text to displaypublic void setKey(java.lang.String key)
setKey in interface RuleParameterkey - the parameter keypublic void setValue(java.lang.String value)
setValue in interface RuleParametervalue - the parameter value
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||