org.broadleafcommerce.cms.structure.domain
Class StructuredContentRuleImpl
java.lang.Object
org.broadleafcommerce.cms.structure.domain.StructuredContentRuleImpl
- All Implemented Interfaces:
- java.io.Serializable, StructuredContentRule
@Entity
public class StructuredContentRuleImpl
- extends java.lang.Object
- implements StructuredContentRule
- Author:
- jfischer
- See Also:
- Serialized Form
|
Field Summary |
protected java.lang.Long |
id
|
protected java.lang.String |
matchRule
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
id
protected java.lang.Long id
matchRule
protected java.lang.String matchRule
StructuredContentRuleImpl
public StructuredContentRuleImpl()
getId
public java.lang.Long getId()
- Description copied from interface:
StructuredContentRule
- Gets the primary key.
- Specified by:
getId in interface StructuredContentRule
- Returns:
- the primary key
setId
public void setId(java.lang.Long id)
- Description copied from interface:
StructuredContentRule
- Sets the primary key.
- Specified by:
setId in interface StructuredContentRule
- Parameters:
id - the new primary key
getMatchRule
public java.lang.String getMatchRule()
- Specified by:
getMatchRule in interface StructuredContentRule
- Returns:
- the rule as an MVEL string
setMatchRule
public void setMatchRule(java.lang.String matchRule)
- Description copied from interface:
StructuredContentRule
- Sets the match rule used to test this item.
- Specified by:
setMatchRule in interface StructuredContentRule
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
cloneEntity
public StructuredContentRule cloneEntity()
- Description copied from interface:
StructuredContentRule
- Builds a copy of this content rule. Used by the content management system when an
item is edited.
- Specified by:
cloneEntity in interface StructuredContentRule
- Returns:
- a copy of this rule
Copyright © 2011. All Rights Reserved.