org.openmrs.logic.op
Class Or

java.lang.Object
  extended by org.openmrs.logic.op.Or
All Implemented Interfaces:
LogicalOperator, Operator

public class Or
extends java.lang.Object
implements LogicalOperator

The Or operator is a disjunction operator to combine two or more LogicCriteria objects.

Example:
- logicService.parse("'CD4 COUNT'").or(logicService.parse("'WEIGHT (KG)'"));
The above will give us a criteria to check if there's "CD4 COUNT" or "WEIGHT (KG)" observations


Field Summary
 
Fields inherited from interface org.openmrs.logic.op.LogicalOperator
AND, NOT, OR
 
Fields inherited from interface org.openmrs.logic.op.Operator
AFTER, ASOF, AVERAGE, BEFORE, CONTAINS, COUNT, DISTINCT, EQUALS, EXISTS, FIRST, GT, GTE, IN, LAST, LT, LTE, NOT_EXISTS, WITHIN
 
Constructor Summary
Or()
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Or

public Or()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

OpenMRS-1.7.x

Generated Apr 27 2012 10:06 PM. NOTE - these libraries are in active development and subject to change