public class SerializedObject extends BaseOpenmrsMetadata
Constructor and Description |
---|
SerializedObject()
Default Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getId() |
java.lang.Class<? extends OpenmrsSerializer> |
getSerializationClass() |
java.lang.String |
getSerializedData() |
java.lang.String |
getSubtype() |
java.lang.String |
getType() |
void |
setId(java.lang.Integer id) |
void |
setSerializationClass(java.lang.Class<? extends OpenmrsSerializer> serializationClass) |
void |
setSerializedData(java.lang.String serializedData) |
void |
setSubtype(java.lang.String subtype) |
void |
setType(java.lang.String type) |
java.lang.String |
toString()
Returns a string consisting of the name of the class of which the object is an instance and
the
uuid field surrounded by [ and ] . |
getChangedBy, getCreator, getDateChanged, getDateCreated, getDateRetired, getDescription, getName, getRetired, getRetiredBy, getRetireReason, isRetired, setChangedBy, setCreator, setDateChanged, setDateCreated, setDateRetired, setDescription, setName, setRetired, setRetiredBy, setRetireReason
equals, getUuid, hashCode, setUuid
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getUuid, setUuid
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()
public void setId(java.lang.Integer id)
id
- the id to setpublic java.lang.String getType()
public void setType(java.lang.String type)
type
- the type to setpublic java.lang.String getSubtype()
public void setSubtype(java.lang.String subtype)
subtype
- the subtype to setpublic java.lang.Class<? extends OpenmrsSerializer> getSerializationClass()
public void setSerializationClass(java.lang.Class<? extends OpenmrsSerializer> serializationClass)
serializationClass
- the serializationClass to setpublic java.lang.String getSerializedData()
public void setSerializedData(java.lang.String serializedData)
serializedData
- the serializedData to setCopyright © 2018 OpenMRS Inc.. All Rights Reserved.