Represents a single filtering rule which can be applied by the client to fetch only records matching the given restriction.
SimpleCondition is not expected to be created directly by the client. It's only consumed by the ConditionVisitor.visitSimpleCondition(..) method where BOP author is expected to interpret incoming Conditions and transform them into proper URL query or generally process them any way (s)he need.
- Version:
- 17.1.1
- Source:
- See:
-
- Property
- Operator
- CompositeCondition
- Conditions.SIMPLE(..) to create instances of SimpleCondition
- ConditionVisitor.visitSimpleCondition(..) to process instances of SimpleCondition
Methods
getAdditionalInfo() → {Object}
stable API
Gets the custom information defined for the parameter descriptor assigned to this SimpleCondition.
- Version:
- 17.1.1
- Source:
- See:
-
- OperationInput.parameter(..) to understand where is additional info defined.
Returns:
- Type
- Object
getOperator() → {module:operation/js/api/Operator}
stable API
Gets the Operator assigned to this SimpleCondition.
- Version:
- 17.1.1
- Source:
Returns:
getProperty() → {entity/js/api/Property}
stable API
Gets the Property assigned to this SimpleCondition.
- Version:
- 17.1.1
- Source: