|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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(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()
|
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 matchpublic 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(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |