org.openmrs.reporting.report
Class ReportDefinition

java.lang.Object
  extended by org.openmrs.BaseOpenmrsObject
      extended by org.openmrs.reporting.AbstractReportObject
          extended by org.openmrs.reporting.report.ReportDefinition
All Implemented Interfaces:
java.io.Serializable, OpenmrsObject, ReportObject

Deprecated. see reportingcompatibility module

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

See Also:
Serialized Form

Field Summary
static java.lang.String SUB_TYPE_NAME
          Deprecated.  
static java.lang.String TYPE_NAME
          Deprecated.  
 
Constructor Summary
ReportDefinition()
          Deprecated. Default public constructor
 
Method Summary
 void addReportElement(ReportElementDefinition reportElement)
          Deprecated.  
 boolean equals(java.lang.Object obj)
          Deprecated. Compares the object IDs and indicates whether the given object is equal to this object.
 CohortDefinition getCohortDefinition()
          Deprecated. Gets the default cohort definition.
 DataExportReportObject getDataExport()
          Deprecated. Gets the default data export object.
 DatasetDefinition getDatasetDefinition()
          Deprecated. Gets the default dataset definition.
 Cohort getPatientSet()
          Deprecated. Gets the default patient set.
 java.util.Set<ReportElementDefinition> getReportElements()
          Deprecated. Gets the report elements.
 int hashCode()
          Deprecated. Returns hash code representation of object.
 void setCohortDefinition(CohortDefinition cohortDefinition)
          Deprecated. Sets the default cohort definition.
 void setDataExport(DataExportReportObject dataExport)
          Deprecated. Sets the default data export object.
 void setDatasetDefinition(DatasetDefinition datasetDefinition)
          Deprecated. Sets the default dataset definition.
 void setPatientSet(Cohort patientSet)
          Deprecated. Sets the default patient set.
 void setReportElements(java.util.Set<ReportElementDefinition> reportElements)
          Deprecated. Sets the report elements.
 java.lang.String toString()
          Deprecated. Converts object to string
 
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

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
Constructor Detail

ReportDefinition

public ReportDefinition()
Deprecated. 
Default public constructor

Method Detail

getReportElements

public java.util.Set<ReportElementDefinition> getReportElements()
Deprecated. 
Gets the report elements.

Returns:
Set all Report Elements in the system

setReportElements

public void setReportElements(java.util.Set<ReportElementDefinition> reportElements)
Deprecated. 
Sets the report elements.

Parameters:
reportElements -

getCohortDefinition

public CohortDefinition getCohortDefinition()
Deprecated. 
Gets the default cohort definition.


setCohortDefinition

public void setCohortDefinition(CohortDefinition cohortDefinition)
Deprecated. 
Sets the default cohort definition.

Parameters:
cohortDefinition -

getDatasetDefinition

public DatasetDefinition getDatasetDefinition()
Deprecated. 
Gets the default dataset definition.


setDatasetDefinition

public void setDatasetDefinition(DatasetDefinition datasetDefinition)
Deprecated. 
Sets the default dataset definition.

Parameters:
datasetDefinition -

addReportElement

public void addReportElement(ReportElementDefinition reportElement)
Deprecated. 
Parameters:
reportElement -

getDataExport

public DataExportReportObject getDataExport()
Deprecated. 
Gets the default data export object.


setDataExport

public void setDataExport(DataExportReportObject dataExport)
Deprecated. 
Sets the default data export object.

Parameters:
dataExport -

getPatientSet

public Cohort getPatientSet()
Deprecated. 
Gets the default patient set.

Returns:
the default patient set for this report

setPatientSet

public void setPatientSet(Cohort patientSet)
Deprecated. 
Sets the default patient set.

Parameters:
patientSet -

equals

public boolean equals(java.lang.Object obj)
Deprecated. 
Compares the object IDs and indicates whether the given object is equal to this object.

Overrides:
equals in class java.lang.Object
Parameters:
obj - object to compare
Returns:
true if object id's are equals, false otherwise

hashCode

public int hashCode()
Deprecated. 
Returns hash code representation of object.

Overrides:
hashCode in class java.lang.Object
Returns:
an integer hash code that represents the identity of the object

toString

public java.lang.String toString()
Deprecated. 
Converts object to string

Overrides:
toString in class AbstractReportObject

OpenMRS-1.7.x

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