|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sdmx.resources.sdmxml.schemas.v2_0.genericmetadata.ReportedAttributeType
public class ReportedAttributeType
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 |
|---|
protected List<TextType> value
protected XMLGregorianCalendar startTime
protected List<ReportedAttributeType> reportedAttribute
protected AnnotationsType annotations
protected String conceptID
| Constructor Detail |
|---|
public ReportedAttributeType()
| Method Detail |
|---|
public List<TextType> getValue()
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
public XMLGregorianCalendar getStartTime()
XMLGregorianCalendarpublic void setStartTime(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic List<ReportedAttributeType> getReportedAttribute()
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
public AnnotationsType getAnnotations()
AnnotationsTypepublic void setAnnotations(AnnotationsType value)
value - allowed object is
AnnotationsTypepublic String getConceptID()
Stringpublic void setConceptID(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||