org.jembi.sdmxhd.primitives
Class Code
java.lang.Object
org.jembi.sdmxhd.primitives.Code
- All Implemented Interfaces:
- XMLWritable
public class Code
- extends java.lang.Object
- implements XMLWritable
This object represents an coded answer for a codelist
Constructor Summary |
Code()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Code
public Code()
toXML
public void toXML(javax.xml.stream.XMLStreamWriter xmlWriter)
throws java.lang.Exception
- Description copied from interface:
XMLWritable
- Writes this object to the xmlStream writer in SDMX-HD XML representation
- Specified by:
toXML
in interface XMLWritable
- Throws:
java.lang.Exception
getValue
public java.lang.String getValue()
setValue
public void setValue(java.lang.String value)
getDescription
public LocalizedString getDescription()
setDescription
public void setDescription(LocalizedString description)
getUrn
public java.lang.String getUrn()
setUrn
public void setUrn(java.lang.String urn)
getParentCode
public java.lang.String getParentCode()
setParentCode
public void setParentCode(java.lang.String parentCode)