org.sdmx.resources.sdmxml.schemas.v2_1.metadata.structurespecific
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.structurespecific.ReportedAttributeType

public abstract class ReportedAttributeType
extends AnnotableType

ReportedAttributeType is an abstract base type that forms the basis for a metadata structure specific 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. The metadata structure definition specific schema will refine this type for each metadata attribute such that the content can be validation against what is defined in the metadata structure definition.

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.w3.org/2001/XMLSchema}anyType" minOccurs="0" form="unqualified"/>
       </sequence>
       <attribute name="id" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}IDType" />
       <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
       <attribute name="isMetadataAttribute" type="{http://www.w3.org/2001/XMLSchema}boolean" fixed="true" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  Object attributeSet
           
protected  String id
           
protected  Boolean isMetadataAttribute
           
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
 Object 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.
 boolean isIsMetadataAttribute()
          Gets the value of the isMetadataAttribute property.
 void setAttributeSet(Object value)
          Sets the value of the attributeSet property.
 void setId(String value)
          Sets the value of the id property.
 void setIsMetadataAttribute(Boolean value)
          Sets the value of the isMetadataAttribute 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 Object attributeSet

id

protected String id

value

protected String value

isMetadataAttribute

protected Boolean isMetadataAttribute
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. If the multi-lingual flag is not set to true, it is expected that the maximum occurrence of this will be refined to be 1 in the metadata structure definition specific schema.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 Object getAttributeSet()
Gets the value of the attributeSet property.

Returns:
possible object is Object

setAttributeSet

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

Parameters:
value - allowed object is Object

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

isIsMetadataAttribute

public boolean isIsMetadataAttribute()
Gets the value of the isMetadataAttribute property.

Returns:
possible object is Boolean

setIsMetadataAttribute

public void setIsMetadataAttribute(Boolean value)
Sets the value of the isMetadataAttribute property.

Parameters:
value - allowed object is Boolean


Copyright © 2012. All Rights Reserved.