org.openmrs.logic.op
Class Exists

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

public class Exists
extends java.lang.Object
implements TransformOperator

The Exists operator test whether a criteria will exist for person or not.

Example:
- logicService.parse("EncounterDataSource.ENCOUNTER_KEY").equals("ADULTRETURN").exists();
The above will give us a criteria to test whether ADULTRETURN encounter exists or not


Field Summary
 
Fields inherited from interface org.openmrs.logic.op.TransformOperator
AVERAGE, COUNT, DISTINCT, EXISTS, FIRST, LAST, NOT_EXISTS
 
Fields inherited from interface org.openmrs.logic.op.Operator
AFTER, AND, ASOF, BEFORE, CONTAINS, EQUALS, GT, GTE, IN, LT, LTE, NOT, OR, WITHIN
 
Constructor Summary
Exists()
           
 
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

Exists

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