@Entity public class StructuredContentRuleImpl extends Object implements StructuredContentRule
| 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.
|
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 Long getId()
StructuredContentRulegetId in interface StructuredContentRulepublic void setId(Long id)
StructuredContentRulesetId in interface StructuredContentRuleid - the new primary keypublic String getMatchRule()
SimpleRulegetMatchRule in interface SimpleRulepublic void setMatchRule(String matchRule)
SimpleRulesetMatchRule in interface SimpleRulematchRule - the rule as an MVEL stringpublic StructuredContentRule cloneEntity()
StructuredContentRulecloneEntity in interface StructuredContentRuleCopyright © 2014. All rights reserved.