org.openmrs.report
Interface DataSetDefinition

All Superinterfaces:
Parameterizable, java.io.Serializable
All Known Implementing Classes:
CohortDataSetDefinition, RowPerObsDataSetDefinition, RowPerProgramEnrollmentDataSetDefinition

Deprecated. see reportingcompatibility module

@Deprecated
public interface DataSetDefinition
extends Parameterizable

Implementations of this interface describe the metadata that can be evaluated to produce a DataSet. This is one of three interfaces that work together to define and evaluate an OpenMRS DataSet. You need to implement all three of DataSetProvider, DataSetDefinition, and DataSet in order to get useful behavior. For example: RowPerObsDataSetProvider, RowPerObsDataSetDefinition, and RowPerObsDataSet The metadata that describes what data will be produced is defined in this interface The logic that evaluates that metadata goes in an implementation of DataSetProvider. After evaluation, the data is represented by a DataSet.

See Also:
DataSetProvider, DataSet

Method Summary
 java.util.List<java.lang.Class> getColumnDatatypes()
          Deprecated. Gets a list of the datatype of the columns
 java.util.List<java.lang.String> getColumnKeys()
          Deprecated. Gets a list of column keys.
 java.lang.String getName()
          Deprecated. Gets the name
 void setName(java.lang.String name)
          Deprecated. Sets the name of this data set definition
 
Methods inherited from interface org.openmrs.report.Parameterizable
getParameters
 

Method Detail

getName

java.lang.String getName()
Deprecated. 
Gets the name

Returns:
String name of the DataSetDefinition

setName

void setName(java.lang.String name)
Deprecated. 
Sets the name of this data set definition

Parameters:
name - the descriptive name of this definition

getColumnKeys

java.util.List<java.lang.String> getColumnKeys()
Deprecated. 
Gets a list of column keys.

Returns:
List of the column keys

getColumnDatatypes

java.util.List<java.lang.Class> getColumnDatatypes()
Deprecated. 
Gets a list of the datatype of the columns

Returns:
List of the column datatypes

OpenMRS-1.7.x

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