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
ConstructorsConstructorDescriptionContainerQueryPredicate(QueryPredicate parent, QueryPredicate inner) ContainerQueryPredicate(QueryPredicate parent, QueryPredicate inner, boolean renderInnerWithoutParentheses) -
Method Summary
Modifier and TypeMethodDescriptioninner()inner(QueryPredicate inner) static ContainerQueryPredicateof()parent()parent(QueryPredicate parent) render()Remove Parentheses from Inner if RenderInnerWithOutParentheses is truebooleanrenderInnerWithOutParentheses(boolean renderInnerWithoutParentheses)
-
Constructor Details
-
ContainerQueryPredicate
public ContainerQueryPredicate() -
ContainerQueryPredicate
-
ContainerQueryPredicate
public ContainerQueryPredicate(QueryPredicate parent, QueryPredicate inner, boolean renderInnerWithoutParentheses)
-
-
Method Details
-
parent
- Specified by:
parentin interfaceContainerPredicate<QueryPredicate>
-
inner
- Specified by:
innerin interfaceContainerPredicate<QueryPredicate>
-
renderInnerWithOutParentheses
public boolean renderInnerWithOutParentheses()- Specified by:
renderInnerWithOutParenthesesin interfaceContainerPredicate<QueryPredicate>
-
parent
-
inner
-
renderInnerWithOutParentheses
-
render
Remove Parentheses from Inner if RenderInnerWithOutParentheses is true -
of
-