org.openmrs.logic.op
Interface Operand
- All Known Subinterfaces:
- LogicExpression
- All Known Implementing Classes:
- Duration
public interface Operand
This is a marker interface for things that can be operated on by an Operator
in a
LogicExpression
supports
boolean supports(ComparisonOperator operator)
- Sanity check for this Operand vs a given operator.
Would return true for
OperandDate
.supports("BEFORE")
but OperandConcept
.supports("BEFORE") returns false
- Parameters:
operator
- The operator to test against this Operand
- Returns:
- true/false about whether this Operand supports this
ComparisonOperator
Generated Apr 27 2012 10:06 PM. NOTE - these libraries are in active development and subject to change