|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.crowd.search.query.entity.restriction.TermRestriction<T>
public class TermRestriction<T>
| Constructor Summary | |
|---|---|
TermRestriction(Property<T> property,
MatchMode matchMode,
T value)
Constructs a restriction based on an entity property value and match mode. |
|
TermRestriction(Property<T> property,
T value)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
MatchMode |
getMatchMode()
Returns the mode to match a property. |
Property<T> |
getProperty()
Returns the property to match on. |
T |
getValue()
Returns the value to match against the property. |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TermRestriction(Property<T> property,
MatchMode matchMode,
T value)
UserTermKeys and
GroupTermKeys.
property - the property to matchmatchMode - the method of matching (exact match, prefix, etc.)value - the value to match
public TermRestriction(Property<T> property,
T value)
| Method Detail |
|---|
public final T getValue()
PropertyRestriction
getValue in interface PropertyRestriction<T>public final Property<T> getProperty()
PropertyRestriction
getProperty in interface PropertyRestriction<T>public final MatchMode getMatchMode()
PropertyRestriction
getMatchMode in interface PropertyRestriction<T>public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||