|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sdmx.resources.sdmxml.schemas.v2_1.common.AnnotableType
org.sdmx.resources.sdmxml.schemas.v2_1.metadata.generic.ReportedAttributeType
public class ReportedAttributeType
ReportedAttributeType defines the structure for a reported metadata attribute. A value for the attribute can be supplied as either a single value, or multi-lingual text values (either structured or unstructured). An optional set of child metadata attributes is also available if the metadata attribute definition defines nested metadata attributes.
Java class for ReportedAttributeType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ReportedAttributeType">
<complexContent>
<extension base="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}AnnotableType">
<sequence>
<choice minOccurs="0">
<element ref="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}Text" maxOccurs="unbounded"/>
<element ref="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}StructuredText" maxOccurs="unbounded"/>
</choice>
<element name="AttributeSet" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/metadata/generic}AttributeSetType" minOccurs="0"/>
</sequence>
<attribute name="id" use="required" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}IDType" />
<attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" />
</extension>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected AttributeSetType |
attributeSet
|
protected String |
id
|
protected List<XHTMLType> |
structuredText
|
protected List<TextType> |
text
|
protected String |
value
|
| Fields inherited from class org.sdmx.resources.sdmxml.schemas.v2_1.common.AnnotableType |
|---|
annotations |
| Constructor Summary | |
|---|---|
ReportedAttributeType()
|
|
| Method Summary | |
|---|---|
AttributeSetType |
getAttributeSet()
Gets the value of the attributeSet property. |
String |
getId()
Gets the value of the id property. |
List<XHTMLType> |
getStructuredText()
StructuredText is used to supply parallel multi-lingual structured (as XHTML) textual values for the reported metadata attribute. |
List<TextType> |
getText()
Text is used to supply parallel multi-lingual textual values for the reported metadata attribute. |
String |
getValue()
Gets the value of the value property. |
void |
setAttributeSet(AttributeSetType value)
Sets the value of the attributeSet property. |
void |
setId(String value)
Sets the value of the id property. |
void |
setValue(String value)
Sets the value of the value property. |
| Methods inherited from class org.sdmx.resources.sdmxml.schemas.v2_1.common.AnnotableType |
|---|
getAnnotations, setAnnotations |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<TextType> text
protected List<XHTMLType> structuredText
protected AttributeSetType attributeSet
protected String id
protected String value
| Constructor Detail |
|---|
public ReportedAttributeType()
| Method Detail |
|---|
public List<TextType> getText()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the text property.
For example, to add a new item, do as follows:
getText().add(newItem);
Objects of the following type(s) are allowed in the list
TextType
public List<XHTMLType> getStructuredText()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the structuredText property.
For example, to add a new item, do as follows:
getStructuredText().add(newItem);
Objects of the following type(s) are allowed in the list
XHTMLType
public AttributeSetType getAttributeSet()
AttributeSetTypepublic void setAttributeSet(AttributeSetType value)
value - allowed object is
AttributeSetTypepublic String getId()
Stringpublic void setId(String value)
value - allowed object is
Stringpublic String getValue()
Stringpublic void setValue(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||