org.openmrs.logic.op
Class AsOf

java.lang.Object
  extended by org.openmrs.logic.op.AsOf
All Implemented Interfaces:
Operator

public class AsOf
extends java.lang.Object
implements Operator

The AsOf operator works with a date object to test whether an expression will yield result after a certain date position

Example:
- logicService.parse("'CD4 COUNT'").asOf(Context.getDateformat().parse("2009/12/04");
The above will give us a criteria to check if there's "CD4 COUNT" observations as of 12/04/2009


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

AsOf

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