@Deprecated public class ReportSchemaXml extends BaseOpenmrsObject
| Constructor and Description |
|---|
ReportSchemaXml()
Deprecated.
Default constructor
|
ReportSchemaXml(Integer reportschemaId)
Deprecated.
Convenience constructor taking in a primary key report schema id
|
ReportSchemaXml(ReportSchema schema)
Deprecated.
Convenience constructor to allow a user to create this shlub of a class from a full
ReportSchema object
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Deprecated.
|
Integer |
getId()
Deprecated.
|
String |
getName()
Deprecated.
|
Integer |
getReportSchemaId()
Deprecated.
Returns the ReportSchema Id
|
String |
getXml()
Deprecated.
Returns the xml of the ReportSchemaXml
|
void |
populateFromReportSchema(ReportSchema reportSchema)
Deprecated.
Convenience helper method to set the attributes on this ReportSchemaXML object with what is
in the report schema object
|
void |
setDescription(String description)
Deprecated.
|
void |
setId(Integer id)
Deprecated.
|
void |
setName(String name)
Deprecated.
|
void |
setReportSchemaId(Integer reportSchemaId)
Deprecated.
Set the Report Schema Id
|
void |
setXml(String xml)
Deprecated.
Set the xml content for the ReportSchemaXml
|
void |
updateXmlFromAttributes()
Deprecated.
Convenience helper method that will deserialize the "xml" string to a ReportSchema, update
that report schema with the id/name/desc attributes that are on this ReportSchemaXml object,
and then re serialize that ReportSchema object into the "xml" string
|
getUuid, setUuidpublic ReportSchemaXml()
public ReportSchemaXml(Integer reportschemaId)
reportschemaId - public ReportSchemaXml(ReportSchema schema) throws Exception
schema - the ReportSchema to serialize and store with this tiny classException - if serialization failspublic void setReportSchemaId(Integer reportSchemaId)
reportSchemaId - public Integer getReportSchemaId()
public String getName()
public void setName(String name)
name - the name to setpublic String getDescription()
public void setDescription(String description)
description - the description to setpublic void setXml(String xml)
xml - serialized contentpublic String getXml()
public void populateFromReportSchema(ReportSchema reportSchema)
reportSchema - ReportSchema from which to pull valuespublic void updateXmlFromAttributes()
throws Exception
Exceptionpublic Integer getId()
OpenmrsObject.getId()public void setId(Integer id)
id - - The unique Identifier for the objectOpenmrsObject.setId(java.lang.Integer)Copyright © 2018 OpenMRS LLC.. All Rights Reserved.