Class ContainerQueryPredicate
java.lang.Object
com.commercetools.api.predicates.query.ContainerQueryPredicate
- All Implemented Interfaces:
ContainerPredicate<QueryPredicate>
,Predicate
,QueryPredicate
public class ContainerQueryPredicate
extends Object
implements ContainerPredicate<QueryPredicate>, QueryPredicate
-
Constructor Summary
ConstructorDescriptionContainerQueryPredicate
(QueryPredicate parent, QueryPredicate inner) ContainerQueryPredicate
(QueryPredicate parent, QueryPredicate inner, boolean renderInnerWithoutParentheses) -
Method Summary
Modifier and TypeMethodDescriptioninner()
inner
(QueryPredicate inner) static ContainerQueryPredicate
of()
parent()
parent
(QueryPredicate parent) render()
Remove Parentheses from Inner if RenderInnerWithOutParentheses is trueboolean
renderInnerWithOutParentheses
(boolean renderInnerWithoutParentheses)
-
Constructor Details
-
ContainerQueryPredicate
public ContainerQueryPredicate() -
ContainerQueryPredicate
-
ContainerQueryPredicate
public ContainerQueryPredicate(QueryPredicate parent, QueryPredicate inner, boolean renderInnerWithoutParentheses)
-
-
Method Details
-
parent
- Specified by:
parent
in interfaceContainerPredicate<QueryPredicate>
-
inner
- Specified by:
inner
in interfaceContainerPredicate<QueryPredicate>
-
renderInnerWithOutParentheses
public boolean renderInnerWithOutParentheses()- Specified by:
renderInnerWithOutParentheses
in interfaceContainerPredicate<QueryPredicate>
-
parent
-
inner
-
renderInnerWithOutParentheses
-
render
Remove Parentheses from Inner if RenderInnerWithOutParentheses is true -
of
-