org.openmrs.reporting
Class PersonAttributeFilter
java.lang.Object
org.openmrs.BaseOpenmrsObject
org.openmrs.reporting.AbstractReportObject
org.openmrs.reporting.AbstractPatientFilter
org.openmrs.reporting.CachingPatientFilter
org.openmrs.reporting.PersonAttributeFilter
- All Implemented Interfaces:
- OpenmrsObject, PatientFilter, ReportObject
Deprecated. see reportingcompatibility module
@Deprecated
public class PersonAttributeFilter
- extends CachingPatientFilter
Constructor Summary |
PersonAttributeFilter()
Deprecated. This currently only returns patients, although it's named for persons. |
Methods inherited from class org.openmrs.reporting.AbstractReportObject |
equals, getId, getName, getReportObjectId, getSubType, getType, setDescription, setId, setName, setReportObjectId, setSubType, setType, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PersonAttributeFilter
public PersonAttributeFilter()
- Deprecated.
- This currently only returns patients, although it's named for persons.
getCacheKey
public java.lang.String getCacheKey()
- Deprecated.
- Specified by:
getCacheKey
in class CachingPatientFilter
- Returns:
- The key under which this object, with its current parameter values, will store
results in a cache. Changing properties of this object will typically change the
cache key returned.
getDescription
public java.lang.String getDescription()
- Deprecated.
- Specified by:
getDescription
in interface ReportObject
- Overrides:
getDescription
in class AbstractReportObject
- Returns:
- Returns the description
filterImpl
public Cohort filterImpl(EvaluationContext context)
- Deprecated.
- Description copied from class:
CachingPatientFilter
- Subclasses should implement PatientFilter.filter("all patients", evalContext) in this method
- Specified by:
filterImpl
in class CachingPatientFilter
- Returns:
- TODO
isReadyToRun
public boolean isReadyToRun()
- Deprecated.
- Description copied from interface:
PatientFilter
- Check whether this filter has had enough parameters set to be run properly
- Specified by:
isReadyToRun
in interface PatientFilter
- Specified by:
isReadyToRun
in class CachingPatientFilter
- Returns:
- true if the filter has enough parameters set, false otherwise
- See Also:
PatientFilter.isReadyToRun()
getAttribute
public PersonAttributeType getAttribute()
- Deprecated.
setAttribute
public void setAttribute(PersonAttributeType attribute)
- Deprecated.
getValue
public java.lang.String getValue()
- Deprecated.
setValue
public void setValue(java.lang.String value)
- Deprecated.
Generated Apr 27 2012 10:06 PM. NOTE - these libraries are in active development and subject to change