org.openmrs.api.db
Class SerializedObject

java.lang.Object
  extended by org.openmrs.BaseOpenmrsObject
      extended by org.openmrs.BaseOpenmrsMetadata
          extended by org.openmrs.api.db.SerializedObject
All Implemented Interfaces:
Auditable, OpenmrsMetadata, OpenmrsObject, Retireable

public class SerializedObject
extends BaseOpenmrsMetadata

Object representation of a Serialized Object as stored in the database.


Constructor Summary
SerializedObject()
          Default Constructor
 
Method Summary
 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()
           
 
Methods inherited from class org.openmrs.BaseOpenmrsMetadata
getChangedBy, getCreator, getDateChanged, getDateCreated, getDateRetired, getDescription, getName, getRetired, getRetiredBy, getRetireReason, isRetired, setChangedBy, setCreator, setDateChanged, setDateCreated, setDateRetired, setDescription, setName, setRetired, setRetiredBy, setRetireReason
 
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

SerializedObject

public SerializedObject()
Default Constructor

Method Detail

toString

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

getId

public java.lang.Integer getId()
Returns:
the id

setId

public void setId(java.lang.Integer id)
Parameters:
id - the id to set

getType

public java.lang.String getType()
Returns:
the type

setType

public void setType(java.lang.String type)
Parameters:
type - the type to set

getSubtype

public java.lang.String getSubtype()
Returns:
the subtype

setSubtype

public void setSubtype(java.lang.String subtype)
Parameters:
subtype - the subtype to set

getSerializationClass

public java.lang.Class<? extends OpenmrsSerializer> getSerializationClass()
Returns:
the serializationClass

setSerializationClass

public void setSerializationClass(java.lang.Class<? extends OpenmrsSerializer> serializationClass)
Parameters:
serializationClass - the serializationClass to set

getSerializedData

public java.lang.String getSerializedData()
Returns:
the serializedData

setSerializedData

public void setSerializedData(java.lang.String serializedData)
Parameters:
serializedData - the serializedData to set

OpenMRS-1.7.x

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