org.sdmx.resources.sdmxml.schemas.v2_0.genericmetadata
Class ReportedAttributeType

java.lang.Object
  extended by org.sdmx.resources.sdmxml.schemas.v2_0.genericmetadata.ReportedAttributeType

public class ReportedAttributeType
extends Object

Reported attributes hold the values which are to be reported against the target specified in the metadata structure definition, and according to the metadata attributes specified for the target referenced in the TargetRef element. Each reported attribute may have Value sub-elements (one per language) if it takes a text or numeric value. The StartTime element is only used if the attribute being represented is of the Timespan type (as described in the corresponding TextFormat element in the metadata structure definition). In this case, the Value takes a duration. Only one such value is allowed in the ReportedAttribute in this case. The types of these values must conform to the limitations described in the metadata structure definition. Also - if permitted by the metadata structure definition - there may be one or more child ReportedAttribute elements. These must be arranged in the nesting hierarchy given in the metadat structure definition. The conceptID attribute provides the id of the concept given in the metadata structure definition to which the reported attribute corresponds.

Java class for ReportedAttributeType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="ReportedAttributeType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Value" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}TextType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="StartTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="ReportedAttribute" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/genericmetadata}ReportedAttributeType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="Annotations" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}AnnotationsType" minOccurs="0"/>
       </sequence>
       <attribute name="conceptID" use="required" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}IDType" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  AnnotationsType annotations
           
protected  String conceptID
           
protected  List<ReportedAttributeType> reportedAttribute
           
protected  XMLGregorianCalendar startTime
           
protected  List<TextType> value
           
 
Constructor Summary
ReportedAttributeType()
           
 
Method Summary
 AnnotationsType getAnnotations()
          Gets the value of the annotations property.
 String getConceptID()
          Gets the value of the conceptID property.
 List<ReportedAttributeType> getReportedAttribute()
          Gets the value of the reportedAttribute property.
 XMLGregorianCalendar getStartTime()
          Gets the value of the startTime property.
 List<TextType> getValue()
          Gets the value of the value property.
 void setAnnotations(AnnotationsType value)
          Sets the value of the annotations property.
 void setConceptID(String value)
          Sets the value of the conceptID property.
 void setStartTime(XMLGregorianCalendar value)
          Sets the value of the startTime property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

protected List<TextType> value

startTime

protected XMLGregorianCalendar startTime

reportedAttribute

protected List<ReportedAttributeType> reportedAttribute

annotations

protected AnnotationsType annotations

conceptID

protected String conceptID
Constructor Detail

ReportedAttributeType

public ReportedAttributeType()
Method Detail

getValue

public List<TextType> getValue()
Gets the value of the value 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 value property.

For example, to add a new item, do as follows:

    getValue().add(newItem);
 

Objects of the following type(s) are allowed in the list TextType


getStartTime

public XMLGregorianCalendar getStartTime()
Gets the value of the startTime property.

Returns:
possible object is XMLGregorianCalendar

setStartTime

public void setStartTime(XMLGregorianCalendar value)
Sets the value of the startTime property.

Parameters:
value - allowed object is XMLGregorianCalendar

getReportedAttribute

public List<ReportedAttributeType> getReportedAttribute()
Gets the value of the reportedAttribute 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 reportedAttribute property.

For example, to add a new item, do as follows:

    getReportedAttribute().add(newItem);
 

Objects of the following type(s) are allowed in the list ReportedAttributeType


getAnnotations

public AnnotationsType getAnnotations()
Gets the value of the annotations property.

Returns:
possible object is AnnotationsType

setAnnotations

public void setAnnotations(AnnotationsType value)
Sets the value of the annotations property.

Parameters:
value - allowed object is AnnotationsType

getConceptID

public String getConceptID()
Gets the value of the conceptID property.

Returns:
possible object is String

setConceptID

public void setConceptID(String value)
Sets the value of the conceptID property.

Parameters:
value - allowed object is String


Copyright © 2012. All Rights Reserved.