org.sdmx.resources.sdmxml.schemas.v2_1.metadata.generic
Class ReportedAttributeType

java.lang.Object
  extended by org.sdmx.resources.sdmxml.schemas.v2_1.common.AnnotableType
      extended by org.sdmx.resources.sdmxml.schemas.v2_1.metadata.generic.ReportedAttributeType

public class ReportedAttributeType
extends AnnotableType

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

text

protected List<TextType> text

structuredText

protected List<XHTMLType> structuredText

attributeSet

protected AttributeSetType attributeSet

id

protected String id

value

protected String value
Constructor Detail

ReportedAttributeType

public ReportedAttributeType()
Method Detail

getText

public List<TextType> getText()
Text is used to supply parallel multi-lingual textual values for the reported metadata attribute. This will be used if the text format of the metadata attribute has a type of string and the multi-lingual value is set to true.Gets the value of the text property.

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


getStructuredText

public List<XHTMLType> getStructuredText()
StructuredText is used to supply parallel multi-lingual structured (as XHTML) textual values for the reported metadata attribute. This will be used if the text format of the metadata attribute has a type of XHTML and the multi-lingual value is set to true.Gets the value of the structuredText property.

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


getAttributeSet

public AttributeSetType getAttributeSet()
Gets the value of the attributeSet property.

Returns:
possible object is AttributeSetType

setAttributeSet

public void setAttributeSet(AttributeSetType value)
Sets the value of the attributeSet property.

Parameters:
value - allowed object is AttributeSetType

getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

getValue

public String getValue()
Gets the value of the value property.

Returns:
possible object is String

setValue

public void setValue(String value)
Sets the value of the value property.

Parameters:
value - allowed object is String


Copyright © 2012. All Rights Reserved.