public class GroupQueryCondition extends QueryCondition
Modifier and Type | Field and Description |
---|---|
protected List<QueryCondition> |
conditions |
Constructor and Description |
---|
GroupQueryCondition(boolean or,
boolean reversed,
QueryCondition... conditions) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<QueryCondition> |
getConditions() |
int |
hashCode() |
boolean |
isOr() |
String |
toString() |
isReversed
protected final List<QueryCondition> conditions
public GroupQueryCondition(boolean or, boolean reversed, QueryCondition... conditions)
or
- true if one of the conditions is enough, if false all conditions must matchreversed
- true if the condition should be reversedconditions
- the condition to start withpublic boolean isOr()
public List<QueryCondition> getConditions()
public int hashCode()
hashCode
in class QueryCondition
public boolean equals(Object obj)
equals
in class QueryCondition
public String toString()
toString
in class QueryCondition
Copyright © 2004–2021 XWiki. All rights reserved.