public static class Query.NotTerm extends Object implements Query.Term
| Constructor and Description |
|---|
NotTerm(Query.Term t) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasAttribute(String attribute)
Check if this term (or its sub-terms) contain a given attribute
|
Boolean |
match(Query.AmbigousTermMatcher m)
Does the term matches the provided object, returning null if does not apply (e.g., the object does not have the provided attribute)
|
boolean |
match(Query.TermMatcher m)
A term matches, when sub-term does not match
|
String |
toString() |
String |
toString(Query.QueryFormatter f)
Print the term/sub-query
|
public NotTerm(Query.Term t)
public boolean match(Query.TermMatcher m)
match in interface Query.Termpublic boolean hasAttribute(String attribute)
Query.TermhasAttribute in interface Query.Termpublic Boolean match(Query.AmbigousTermMatcher m)
Query.Termmatch in interface Query.Termpublic String toString(Query.QueryFormatter f)
Query.TermtoString in interface Query.Term