|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.site.content.Localized
org.torweg.pulse.site.content.filter.FilterRuleProperty
@Entity public class FilterRuleProperty
a FilterRuleProperty is part of a FilterRule.
FilterRuleProperty objects are associated with Contents by a
Filter.
| Constructor Summary | |
|---|---|
protected |
FilterRuleProperty()
Deprecated. |
|
FilterRuleProperty(java.lang.String n)
creates a new FilterRuleProperty with the given name. |
| Method Summary | |
|---|---|
int |
compareTo(FilterRuleProperty p)
returns the result of the comparison. |
FilterRuleProperty |
createCopy()
creates a copy of the current FilterRuleProperty. |
org.jdom.Element |
deserializeToJDOM()
returns a JDOM representation of the FilterRuleProperty. |
boolean |
equals(java.lang.Object o)
returns whether the given Object is equal to the FilterRuleProperty. |
int |
hashCode()
returns the int value of the id or super.hashCode(), if the id is
still null. |
| Methods inherited from class org.torweg.pulse.site.content.Localized |
|---|
getId, getLocalization, getLocalization, getLocalizations, getName, putLocalization, removeLocalization, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated protected FilterRuleProperty()
public FilterRuleProperty(java.lang.String n)
FilterRuleProperty with the given name.
n - the name| Method Detail |
|---|
public final int hashCode()
super.hashCode(), if the id is
still null.
hashCode in class java.lang.Objectsuper.hashCode(), if the id is
still nullObject.hashCode()public final boolean equals(java.lang.Object o)
Object is equal to the FilterRuleProperty.
equals in class java.lang.Objecto - the object to compare with
true, if the given object is a FilterRuleProperty
and the result of
compareTo(FilterRuleProperty) is
0public final int compareTo(FilterRuleProperty p)
If both rules have been persisted, the rule's ids are compared. Otherwise the hash codes are compared.
compareTo in interface java.lang.Comparable<FilterRuleProperty>p - the property to compare to
Comparable.compareTo(Object)public org.jdom.Element deserializeToJDOM()
FilterRuleProperty.
FilterRulePropertypublic final FilterRuleProperty createCopy()
FilterRuleProperty.
FilterRuleProperty
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||