org.openmrs.reporting.export
Class DataExportReportObject

java.lang.Object
  extended by org.openmrs.BaseOpenmrsObject
      extended by org.openmrs.reporting.AbstractReportObject
          extended by org.openmrs.reporting.export.DataExportReportObject
All Implemented Interfaces:
java.io.Serializable, OpenmrsObject, ReportObject
Direct Known Subclasses:
RowPerObsDataExportReportObject

Deprecated. see reportingcompatibility module

@Deprecated
public class DataExportReportObject
extends AbstractReportObject
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
static java.lang.String MODIFIER_ANY
          Deprecated.  
static java.lang.String MODIFIER_FIRST
          Deprecated.  
static java.lang.String MODIFIER_FIRST_NUM
          Deprecated.  
static java.lang.String MODIFIER_LAST
          Deprecated.  
static java.lang.String MODIFIER_LAST_NUM
          Deprecated.  
static long serialVersionUID
          Deprecated.  
static java.lang.String SUB_TYPE_NAME
          Deprecated.  
static java.lang.String TYPE_NAME
          Deprecated.  
 
Constructor Summary
DataExportReportObject()
          Deprecated. Default Constructor
 
Method Summary
 void addCalculatedColumn(java.lang.String columnName, java.lang.String columnValue)
          Deprecated. Append a calculated column
 void addCohortColumn(java.lang.String columnName, java.lang.Integer cohortId, java.lang.Integer filterId, java.lang.Integer patientSearchId, java.lang.String valueIfTrue, java.lang.String valueIfFalse)
          Deprecated. Append a cohort column
 void addConceptColumn(java.lang.String columnName, java.lang.String modifier, java.lang.Integer modifierNum, java.lang.String conceptId, java.lang.String[] extras)
          Deprecated. Append a concept based column
 void addPatientId(java.lang.Integer p)
          Deprecated. Add a patient to the list to be run on
 void addSimpleColumn(java.lang.String columnName, java.lang.String columnValue)
          Deprecated. Append a simple column
 boolean equals(java.lang.Object obj)
          Deprecated.  
 Cohort generatePatientSet(EvaluationContext context)
          Deprecated. Generate the patientSet according to this report's characteristics
 java.lang.String generateTemplate()
          Deprecated. Generate a template according to this reports columns Assumes there is a patientSet object available
 boolean getAllPatients()
          Deprecated.  
 java.lang.Integer getCohortDefinitionId()
          Deprecated.  
 java.lang.Integer getCohortId()
          Deprecated.  
 java.util.List<ExportColumn> getColumns()
          Deprecated.  
 Location getLocation()
          Deprecated.  
 java.util.List<java.lang.Integer> getPatientIds()
          Deprecated.  
 java.lang.Integer getPatientSearchId()
          Deprecated.  
 int hashCode()
          Deprecated.  
 boolean isAllPatients()
          Deprecated.  
 void setAllPatients(boolean allPatients)
          Deprecated.  
 void setCohortDefinitionId(java.lang.Integer cohortDefinitionId)
          Deprecated.  
 void setCohortId(java.lang.Integer cohortId)
          Deprecated.  
 void setColumns(java.util.List<ExportColumn> columns)
          Deprecated.  
 void setLocation(Location location)
          Deprecated.  
 void setPatientIds(java.util.List<java.lang.Integer> patientIds)
          Deprecated.  
 void setPatientSearchId(java.lang.Integer patientSearchId)
          Deprecated.  
 java.lang.String toString()
          Deprecated.  
 
Methods inherited from class org.openmrs.reporting.AbstractReportObject
equals, getDescription, getId, getName, getReportObjectId, getSubType, getType, setDescription, setId, setName, setReportObjectId, setSubType, setType
 
Methods inherited from class org.openmrs.BaseOpenmrsObject
getUuid, setUuid
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.openmrs.OpenmrsObject
getUuid, setUuid
 

Field Detail

serialVersionUID

public static final long serialVersionUID
Deprecated. 
See Also:
Constant Field Values

TYPE_NAME

public static final java.lang.String TYPE_NAME
Deprecated. 
See Also:
Constant Field Values

SUB_TYPE_NAME

public static final java.lang.String SUB_TYPE_NAME
Deprecated. 
See Also:
Constant Field Values

MODIFIER_ANY

public static final java.lang.String MODIFIER_ANY
Deprecated. 
See Also:
Constant Field Values

MODIFIER_FIRST

public static final java.lang.String MODIFIER_FIRST
Deprecated. 
See Also:
Constant Field Values

MODIFIER_FIRST_NUM

public static final java.lang.String MODIFIER_FIRST_NUM
Deprecated. 
See Also:
Constant Field Values

MODIFIER_LAST

public static final java.lang.String MODIFIER_LAST
Deprecated. 
See Also:
Constant Field Values

MODIFIER_LAST_NUM

public static final java.lang.String MODIFIER_LAST_NUM
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

DataExportReportObject

public DataExportReportObject()
Deprecated. 
Default Constructor

Method Detail

equals

public boolean equals(java.lang.Object obj)
Deprecated. 
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Deprecated. 
Overrides:
hashCode in class java.lang.Object

addSimpleColumn

public void addSimpleColumn(java.lang.String columnName,
                            java.lang.String columnValue)
Deprecated. 
Append a simple column

Parameters:
columnName -
columnValue -

addConceptColumn

public void addConceptColumn(java.lang.String columnName,
                             java.lang.String modifier,
                             java.lang.Integer modifierNum,
                             java.lang.String conceptId,
                             java.lang.String[] extras)
Deprecated. 
Append a concept based column

Parameters:
columnName -
modifier -
modifierNum -
conceptId -
extras - String[]

addCalculatedColumn

public void addCalculatedColumn(java.lang.String columnName,
                                java.lang.String columnValue)
Deprecated. 
Append a calculated column

Parameters:
columnName -
columnValue -

addCohortColumn

public void addCohortColumn(java.lang.String columnName,
                            java.lang.Integer cohortId,
                            java.lang.Integer filterId,
                            java.lang.Integer patientSearchId,
                            java.lang.String valueIfTrue,
                            java.lang.String valueIfFalse)
Deprecated. 
Append a cohort column

Parameters:
columnName -
cohortId - only one of this or filterId should be non-null
filterId - only one of this or cohortId should be non-null

addPatientId

public void addPatientId(java.lang.Integer p)
Deprecated. 
Add a patient to the list to be run on

Parameters:
p -

generateTemplate

public java.lang.String generateTemplate()
Deprecated. 
Generate a template according to this reports columns Assumes there is a patientSet object available

Returns:
template string to be evaluated

generatePatientSet

public Cohort generatePatientSet(EvaluationContext context)
Deprecated. 
Generate the patientSet according to this report's characteristics

Returns:
patientSet to be used with report template

toString

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

getColumns

public java.util.List<ExportColumn> getColumns()
Deprecated. 

setColumns

public void setColumns(java.util.List<ExportColumn> columns)
Deprecated. 

getLocation

public Location getLocation()
Deprecated. 

setLocation

public void setLocation(Location location)
Deprecated. 

getPatientIds

public java.util.List<java.lang.Integer> getPatientIds()
Deprecated. 

setPatientIds

public void setPatientIds(java.util.List<java.lang.Integer> patientIds)
Deprecated. 

getCohortDefinitionId

public java.lang.Integer getCohortDefinitionId()
Deprecated. 

setCohortDefinitionId

public void setCohortDefinitionId(java.lang.Integer cohortDefinitionId)
Deprecated. 

getCohortId

public java.lang.Integer getCohortId()
Deprecated. 

setCohortId

public void setCohortId(java.lang.Integer cohortId)
Deprecated. 

getPatientSearchId

public java.lang.Integer getPatientSearchId()
Deprecated. 

setPatientSearchId

public void setPatientSearchId(java.lang.Integer patientSearchId)
Deprecated. 

isAllPatients

public boolean isAllPatients()
Deprecated. 

getAllPatients

public boolean getAllPatients()
Deprecated. 

setAllPatients

public void setAllPatients(boolean allPatients)
Deprecated. 

OpenMRS-1.7.x

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