org.openmrs.logic.op
Class And

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

public class And
extends java.lang.Object
implements LogicalOperator

The And operator is a conjunction operator to combine two or more LogicCriteria objects.

Example:
- logicService.parse("'CD4 COUNT'").and(logicService.parse("'WEIGHT (KG)'"));
The above will give us a criteria to check if there's "CD4 COUNT" and "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
And()
           
 
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

And

public And()
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