Class OfferRuleImpl
java.lang.Object
org.broadleafcommerce.core.offer.domain.OfferRuleImpl
- All Implemented Interfaces:
Serializable,org.broadleafcommerce.common.copy.MultiTenantCloneable<OfferRule>,org.broadleafcommerce.common.rule.SimpleRule,OfferRule
- Author:
- jfischer
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<G extends OfferRule>
org.broadleafcommerce.common.copy.CreateResponse<G>createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) booleangetId()inthashCode()voidvoidsetMatchRule(String matchRule)
-
Field Details
-
id
-
matchRule
-
-
Constructor Details
-
OfferRuleImpl
public OfferRuleImpl()
-
-
Method Details
-
getId
-
setId
-
getMatchRule
- Specified by:
getMatchRulein interfaceOfferRule- Specified by:
getMatchRulein interfaceorg.broadleafcommerce.common.rule.SimpleRule
-
setMatchRule
- Specified by:
setMatchRulein interfaceOfferRule- Specified by:
setMatchRulein interfaceorg.broadleafcommerce.common.rule.SimpleRule
-
hashCode
public int hashCode() -
equals
-
createOrRetrieveCopyInstance
public <G extends OfferRule> org.broadleafcommerce.common.copy.CreateResponse<G> createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) throws CloneNotSupportedException - Specified by:
createOrRetrieveCopyInstancein interfaceorg.broadleafcommerce.common.copy.MultiTenantCloneable<OfferRule>- Throws:
CloneNotSupportedException
-