@Entity public class PageRuleImpl extends Object implements PageRule, org.broadleafcommerce.common.extensibility.jpa.copy.ProfileEntity
| Modifier and Type | Field and Description |
|---|---|
protected Long |
id |
protected String |
matchRule |
| Constructor and Description |
|---|
PageRuleImpl() |
| Modifier and Type | Method and Description |
|---|---|
PageRule |
cloneEntity()
Builds a copy of this content rule.
|
<G extends PageRule> |
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 String getMatchRule()
getMatchRule in interface org.broadleafcommerce.common.rule.SimpleRulepublic void setMatchRule(String matchRule)
setMatchRule in interface org.broadleafcommerce.common.rule.SimpleRulepublic PageRule cloneEntity()
PageRulecloneEntity in interface PageRulepublic <G extends PageRule> org.broadleafcommerce.common.copy.CreateResponse<G> createOrRetrieveCopyInstance(org.broadleafcommerce.common.copy.MultiTenantCopyContext context) throws CloneNotSupportedException
createOrRetrieveCopyInstance in interface org.broadleafcommerce.common.copy.MultiTenantCloneable<PageRule>CloneNotSupportedExceptionCopyright © 2017. All rights reserved.