@Deprecated public class AbstractReportObject extends BaseOpenmrsObject implements ReportObject
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
Returns a string consisting of the name of the class of which the object is an instance and
the
uuid field surrounded by [ and ] . |
equals, getUuid, hashCode, setUuid
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getUuid, setUuid
public 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)
public java.lang.Integer getReportObjectId()
getReportObjectId
in interface ReportObject
public void setReportObjectId(java.lang.Integer reportObjectId)
setReportObjectId
in interface ReportObject
reportObjectId
- The reportObjectId to set.public java.lang.String getName()
getName
in interface ReportObject
public void setName(java.lang.String name)
setName
in interface ReportObject
name
- The name to set.public java.lang.String getDescription()
getDescription
in interface ReportObject
public void setDescription(java.lang.String description)
setDescription
in interface ReportObject
description
- The description to set.public java.lang.String getSubType()
public void setSubType(java.lang.String subType)
public java.lang.String getType()
public void setType(java.lang.String type)
public static boolean equals(java.lang.Object o1, java.lang.Object o2)
public java.lang.String toString()
BaseOpenmrsObject
uuid
field surrounded by [
and ]
. In other words,
this method returns a string equal to the value of: getClass().getName() + '[' + uuid + ']'
If the uuid
field is null
, it delegates to
Object.toString()
toString
in class BaseOpenmrsObject
Object.toString()
public java.lang.Integer getId()
getId
in interface OpenmrsObject
OpenmrsObject.getId()
public void setId(java.lang.Integer id)
setId
in interface OpenmrsObject
id
- - The unique Identifier for the objectOpenmrsObject.setId(java.lang.Integer)
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.