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.Term
public boolean hasAttribute(String attribute)
Query.Term
hasAttribute
in interface Query.Term
public Boolean match(Query.AmbigousTermMatcher m)
Query.Term
match
in interface Query.Term
public String toString(Query.QueryFormatter f)
Query.Term
toString
in interface Query.Term