@Entity public class SerializedObject extends BaseChangeableOpenmrsMetadata
Constructor and Description |
---|
SerializedObject()
Default Constructor
|
Modifier and Type | Method and Description |
---|---|
Integer |
getId() |
Class<? extends OpenmrsSerializer> |
getSerializationClass() |
String |
getSerializedData() |
String |
getSubtype() |
String |
getType() |
void |
setId(Integer id) |
void |
setSerializationClass(Class<? extends OpenmrsSerializer> serializationClass) |
void |
setSerializedData(String serializedData) |
void |
setSubtype(String subtype) |
void |
setType(String type) |
String |
toString()
Returns a string equal to the value of: ClassName{hashCode=...,
uuid=...}
|
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 String toString()
BaseOpenmrsObject
ClassName{hashCode=..., uuid=...}
If the uuid
field is null
, it returns:
ClassName{hashCode=...}Should include hashCode if uuid is null Should include uuid if not null
toString
in class BaseOpenmrsObject
Object.toString()
public Integer getId()
public void setId(Integer id)
id
- the id to setpublic String getType()
public void setType(String type)
type
- the type to setpublic String getSubtype()
public void setSubtype(String subtype)
subtype
- the subtype to setpublic Class<? extends OpenmrsSerializer> getSerializationClass()
public void setSerializationClass(Class<? extends OpenmrsSerializer> serializationClass)
serializationClass
- the serializationClass to setpublic String getSerializedData()
public void setSerializedData(String serializedData)
serializedData
- the serializedData to setCopyright © 2024 OpenMRS Inc.. All rights reserved.