public static final class SearchQuery.ConjunctionCriterion extends SearchQuery.Criterion
getType()
indicates how the conjoined criteria should be related.Constructor and Description |
---|
SearchQuery.ConjunctionCriterion(SearchQuery.Conjunction type,
List<SearchQuery.Criterion> criteria) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<SearchQuery.Criterion> |
getCriteria()
Gets the criteria related through this conjunction.
|
SearchQuery.Conjunction |
getType()
Gets the type of conjunction.
|
int |
hashCode() |
String |
toString()
Constructs a
String with all attributes in name = value
format. |
public SearchQuery.ConjunctionCriterion(SearchQuery.Conjunction type, List<SearchQuery.Criterion> criteria)
public List<SearchQuery.Criterion> getCriteria()
List
of SearchQuery.Criterion
public SearchQuery.Conjunction getType()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.