@Entity public class PageRuleImpl extends Object implements PageRule
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.
|
boolean |
equals(Object obj) |
Long |
getId()
Gets the primary key.
|
String |
getMatchRule()
The rule in the form of an MVEL expression
|
int |
hashCode() |
void |
setId(Long id)
Sets the primary key.
|
void |
setMatchRule(String matchRule)
Sets the match rule used to test this item.
|
public String getMatchRule()
SimpleRule
getMatchRule
in interface SimpleRule
public void setMatchRule(String matchRule)
SimpleRule
setMatchRule
in interface SimpleRule
matchRule
- the rule as an MVEL stringpublic PageRule cloneEntity()
PageRule
cloneEntity
in interface PageRule
Copyright © 2014. All rights reserved.