@Entity public class StructuredContentRuleImpl extends Object implements StructuredContentRule, org.broadleafcommerce.common.extensibility.jpa.copy.ProfileEntity
| Modifier and Type | Field and Description |
|---|---|
protected Long |
id |
protected String |
matchRule |
| Constructor and Description |
|---|
StructuredContentRuleImpl() |
| Modifier and Type | Method and Description |
|---|---|
StructuredContentRule |
cloneEntity()
Builds a copy of this content rule.
|
<G extends StructuredContentRule> |
createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) |
boolean |
equals(Object obj) |
Long |
getId()
Gets the primary key.
|
String |
getMatchRule() |
int |
hashCode() |
void |
setId(Long id)
Sets the primary key.
|
void |
setMatchRule(String matchRule) |
public Long getId()
StructuredContentRulegetId in interface StructuredContentRulepublic void setId(Long id)
StructuredContentRulesetId in interface StructuredContentRuleid - the new primary keypublic String getMatchRule()
getMatchRule in interface org.broadleafcommerce.common.rule.SimpleRulepublic void setMatchRule(String matchRule)
setMatchRule in interface org.broadleafcommerce.common.rule.SimpleRulepublic StructuredContentRule cloneEntity()
StructuredContentRulecloneEntity in interface StructuredContentRulepublic <G extends StructuredContentRule> org.broadleafcommerce.common.copy.CreateResponse<G> createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) throws CloneNotSupportedException
createOrRetrieveCopyInstance in interface org.broadleafcommerce.common.copy.MultiTenantCloneable<StructuredContentRule>CloneNotSupportedExceptionCopyright © 2016. All rights reserved.