|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.elasticpath.domain.impl.AbstractEpDomainImpl com.elasticpath.domain.impl.AbstractPersistenceImpl com.elasticpath.domain.rules.impl.AppliedRuleImpl
public class AppliedRuleImpl
Represents a rule that has been applied to an order.
Field Summary |
---|
Fields inherited from class com.elasticpath.domain.impl.AbstractPersistenceImpl |
---|
serialVersionUID |
Constructor Summary | |
---|---|
AppliedRuleImpl()
|
Method Summary | |
---|---|
java.lang.String |
getRuleCode()
Get the rule engine code for the applied rule. |
java.lang.String |
getRuleName()
Get the name of the applied rule. |
long |
getRuleUid()
Get the UID of the applied rule. |
void |
initialize(Rule rule)
Initialize the AppliedRule from the given Rule . |
void |
setRuleCode(java.lang.String ruleCode)
Set the rule engine code for the applied rule. |
void |
setRuleName(java.lang.String ruleName)
Set the name of the applied rule. |
void |
setRuleUid(long ruleUid)
Set the uid of the applied rule. |
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 |
Constructor Detail |
---|
public AppliedRuleImpl()
Method Detail |
---|
public java.lang.String getRuleCode()
getRuleCode
in interface AppliedRule
public java.lang.String getRuleName()
getRuleName
in interface AppliedRule
public long getRuleUid()
getRuleUid
in interface AppliedRule
public void initialize(Rule rule)
AppliedRule
from the given Rule
.
initialize
in interface AppliedRule
rule
- the Rule
public void setRuleCode(java.lang.String ruleCode)
setRuleCode
in interface AppliedRule
ruleCode
- the rule code.public void setRuleName(java.lang.String ruleName)
setRuleName
in interface AppliedRule
ruleName
- the rule namepublic void setRuleUid(long ruleUid)
setRuleUid
in interface AppliedRule
ruleUid
- the UID
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |