org.openmrs.reporting
Class AbstractReportObject

java.lang.Object
  extended by org.openmrs.BaseOpenmrsObject
      extended by org.openmrs.reporting.AbstractReportObject
All Implemented Interfaces:
OpenmrsObject, ReportObject
Direct Known Subclasses:
AbstractPatientDataProducer, AbstractPatientFilter, CohortDefinition, CohortSearchHistory, DataExportReportObject, DatasetDefinition, EmptyReportObject, PatientSearchReportObject, ReportDefinition, ReportElementDefinition

Deprecated. see reportingcompatibility module

@Deprecated
public class AbstractReportObject
extends BaseOpenmrsObject
implements ReportObject


Constructor Summary
AbstractReportObject()
          Deprecated.  
AbstractReportObject(java.lang.Integer reportObjectId, java.lang.String name, java.lang.String description, java.lang.String type, java.lang.String subType, User creator, java.util.Date dateCreated, User changedBy, java.util.Date dateChanged, java.lang.Boolean voided, User voidedBy, java.util.Date dateVoided, java.lang.String voidReason)
          Deprecated.  
 
Method Summary
static boolean equals(java.lang.Object o1, java.lang.Object o2)
          Deprecated. Helper function that does a null-safe test for equality between two objects.
 java.lang.String getDescription()
          Deprecated.  
 java.lang.Integer getId()
          Deprecated.  
 java.lang.String getName()
          Deprecated.  
 java.lang.Integer getReportObjectId()
          Deprecated.  
 java.lang.String getSubType()
          Deprecated.  
 java.lang.String getType()
          Deprecated.  
 void setDescription(java.lang.String description)
          Deprecated.  
 void setId(java.lang.Integer id)
          Deprecated.  
 void setName(java.lang.String name)
          Deprecated.  
 void setReportObjectId(java.lang.Integer reportObjectId)
          Deprecated.  
 void setSubType(java.lang.String subType)
          Deprecated.  
 void setType(java.lang.String type)
          Deprecated.  
 java.lang.String toString()
          Deprecated.  
 
Methods inherited from class org.openmrs.BaseOpenmrsObject
getUuid, setUuid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.openmrs.OpenmrsObject
getUuid, setUuid
 

Constructor Detail

AbstractReportObject

public AbstractReportObject()
Deprecated. 

AbstractReportObject

public AbstractReportObject(java.lang.Integer reportObjectId,
                            java.lang.String name,
                            java.lang.String description,
                            java.lang.String type,
                            java.lang.String subType,
                            User creator,
                            java.util.Date dateCreated,
                            User changedBy,
                            java.util.Date dateChanged,
                            java.lang.Boolean voided,
                            User voidedBy,
                            java.util.Date dateVoided,
                            java.lang.String voidReason)
Deprecated. 
Method Detail

getReportObjectId

public java.lang.Integer getReportObjectId()
Deprecated. 
Specified by:
getReportObjectId in interface ReportObject
Returns:
Returns the reportObjectId.

setReportObjectId

public void setReportObjectId(java.lang.Integer reportObjectId)
Deprecated. 
Specified by:
setReportObjectId in interface ReportObject
Parameters:
reportObjectId - The reportObjectId to set.

getName

public java.lang.String getName()
Deprecated. 
Specified by:
getName in interface ReportObject
Returns:
Returns the name;

setName

public void setName(java.lang.String name)
Deprecated. 
Specified by:
setName in interface ReportObject
Parameters:
name - The name to set.

getDescription

public java.lang.String getDescription()
Deprecated. 
Specified by:
getDescription in interface ReportObject
Returns:
Returns the description

setDescription

public void setDescription(java.lang.String description)
Deprecated. 
Specified by:
setDescription in interface ReportObject
Parameters:
description - The description to set.

getSubType

public java.lang.String getSubType()
Deprecated. 

setSubType

public void setSubType(java.lang.String subType)
Deprecated. 

getType

public java.lang.String getType()
Deprecated. 

setType

public void setType(java.lang.String type)
Deprecated. 

equals

public static boolean equals(java.lang.Object o1,
                             java.lang.Object o2)
Deprecated. 
Helper function that does a null-safe test for equality between two objects. Does not check for type-safety.

Returns:
Whether or not two objects (of the same class) are equal.

toString

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

getId

public java.lang.Integer getId()
Deprecated. 
Specified by:
getId in interface OpenmrsObject
Returns:
id - The unique Identifier for the object
Since:
1.5
See Also:
OpenmrsObject.getId()

setId

public void setId(java.lang.Integer id)
Deprecated. 
Specified by:
setId in interface OpenmrsObject
Parameters:
id - - The unique Identifier for the object
Since:
1.5
See Also:
OpenmrsObject.setId(java.lang.Integer)

OpenMRS-1.7.x

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