Class WQGroup
java.lang.Object
com.peterphi.std.guice.restclient.jaxb.webquery.WQConstraintLine
com.peterphi.std.guice.restclient.jaxb.webquery.WQGroup
- All Implemented Interfaces:
ConstraintContainer<WQGroup>
Defines a group of constraints to be ANDed or ORred together
-
Field Summary
-
Constructor Summary
ConstructorDescriptionWQGroup()
WQGroup
(WQGroupType operator) WQGroup
(WQGroupType operator, List<WQConstraintLine> constraints) -
Method Summary
Methods inherited from class com.peterphi.std.guice.restclient.jaxb.webquery.WQConstraintLine
not
-
Field Details
-
operator
-
constraints
-
-
Constructor Details
-
WQGroup
public WQGroup() -
WQGroup
-
WQGroup
-
-
Method Details
-
toString
-
add
- Specified by:
add
in interfaceConstraintContainer<WQGroup>
-
newAnd
Construct a new empty AND group- Returns:
-
newOr
Construct a new empty OR group- Returns:
-
newNone
Construct a new empty NONE group- Returns:
-
toQueryFragment
- Specified by:
toQueryFragment
in classWQConstraintLine
-