public class LogicalCriterion extends java.lang.Object implements Criterion
Constructor and Description |
---|
LogicalCriterion(Criterion[] criteria) Calls LogicalCriterion(OperatorBase, Criterion...) constructor, passing DefaultOperators.And as operatorId. |
LogicalCriterion(java.util.List criteria) Calls LogicalCriterion(OperatorBase, List) constructor, passing DefaultOperators.And as operatorId. |
LogicalCriterion(OperatorBase operatorId, Criterion[] criteria) Construct LogicalCriterion using parameters: |
LogicalCriterion(OperatorBase operatorId, java.util.List criteria) Construct LogicalCriterion using parameters: |
LogicalCriterion(java.lang.String operatorId, Criterion[] criteria) Construct LogicalCriterion using parameters: |
LogicalCriterion(java.lang.String operatorId, java.util.List criteria) Construct LogicalCriterion using parameters: |
Modifier and Type | Method and Description |
---|---|
java.util.List | getCriteria() Gets list of subcriteria. |
void | setCriteria(java.util.List criteria) Sets list of subcriteria. |
getFieldName, getOperatorId, getValue, setFieldName, setOperatorId, setValue
public LogicalCriterion(java.lang.String operatorId, java.util.List criteria)
operatorId
- operator id.criteria
- list of subcriteria.public LogicalCriterion(java.lang.String operatorId, Criterion[] criteria)
operatorId
- operator id.criteria
- subcriteria.public LogicalCriterion(java.util.List criteria)
LogicalCriterion(OperatorBase, List)
constructor, passing DefaultOperators.And
as operatorId.criteria
- list of subcriteria.public LogicalCriterion(OperatorBase operatorId, java.util.List criteria)
operatorId
- operator that determines checking logic. This is likely to be a member of the DefaultOperators
class, such as And
, Or
or Not
.criteria
- list of subcriteria.public LogicalCriterion(Criterion[] criteria)
LogicalCriterion(OperatorBase, Criterion...)
constructor, passing DefaultOperators.And
as operatorId.criteria
- subcriteria.public LogicalCriterion(OperatorBase operatorId, Criterion[] criteria)
operatorId
- operator that determines checking logic. This is likely to be a member of the DefaultOperators
class, such as IContains or GreaterThan.criteria
- subcriteria.