Package io.jmix.core.querycondition
Class LogicalCondition
java.lang.Object
io.jmix.core.querycondition.LogicalCondition
- All Implemented Interfaces:
Condition,Serializable
Logical condition (AND, OR) which contains other conditions.
getParameters() returns parameters of nested conditions.
Use and(Condition...) and or(Condition...) static methods to create logical conditions.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the condition if the argument contains all parameters specified in the condition.static LogicalConditionand()Creates empty AND condition.static LogicalConditionCreates AND condition with the given nested conditions.copy()Returns a deep copy of this condition.getExcludedParameters(Set<String> actualParameters) Returns parameters specified in the condition.getType()static LogicalConditionor()Creates empty OR condition.static LogicalConditionCreates OR condition with the given nested conditions.voidsetConditions(List<Condition> conditions) voidsetType(LogicalCondition.Type type) toString()
-
Constructor Details
-
LogicalCondition
-
-
Method Details
-
and
Creates empty AND condition. Useadd(Condition)method to add nested conditions. -
and
Creates AND condition with the given nested conditions. -
or
Creates empty OR condition. Useadd(Condition)method to add nested conditions. -
or
Creates OR condition with the given nested conditions. -
getType
-
setType
-
getConditions
-
setConditions
-
add
-
getParameters
Description copied from interface:ConditionReturns parameters specified in the condition.- Specified by:
getParametersin interfaceCondition
-
actualize
Description copied from interface:ConditionReturns the condition if the argument contains all parameters specified in the condition. -
copy
Description copied from interface:ConditionReturns a deep copy of this condition. -
getExcludedParameters
- Specified by:
getExcludedParametersin interfaceCondition
-
toString
-