org.sdmx.resources.sdmxml.schemas.v2_0.generic
Class SeriesType

java.lang.Object
  extended by org.sdmx.resources.sdmxml.schemas.v2_0.generic.SeriesType

public class SeriesType
extends Object

SeriesType specifies the structure of a series. This includes all of the key values, values for all the attributes, and the set of observations making up the series content. Messages may transmit only attributes, only data, or both. Regardless, the series key is always required. Key values appear at the Series level in an ordered sequence which corresponds to the key sequence in the key family. A series in a delete message need not supply more than the key, indicating that the entire series identified by that key should be deleted. If series attributes are sent in a delete message, any valid value specified for an attribute indicates that the attribute should be deleted.

Java class for SeriesType complex type.

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

 <complexType name="SeriesType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="SeriesKey" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/generic}SeriesKeyType"/>
         <element name="Attributes" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/generic}ValuesType" minOccurs="0"/>
         <element name="Obs" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/generic}ObsType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="Annotations" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}AnnotationsType" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  AnnotationsType annotations
           
protected  ValuesType attributes
           
protected  List<ObsType> obs
           
protected  SeriesKeyType seriesKey
           
 
Constructor Summary
SeriesType()
           
 
Method Summary
 AnnotationsType getAnnotations()
          Gets the value of the annotations property.
 ValuesType getAttributes()
          Gets the value of the attributes property.
 List<ObsType> getObs()
          Gets the value of the obs property.
 SeriesKeyType getSeriesKey()
          Gets the value of the seriesKey property.
 void setAnnotations(AnnotationsType value)
          Sets the value of the annotations property.
 void setAttributes(ValuesType value)
          Sets the value of the attributes property.
 void setSeriesKey(SeriesKeyType value)
          Sets the value of the seriesKey property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

seriesKey

protected SeriesKeyType seriesKey

attributes

protected ValuesType attributes

obs

protected List<ObsType> obs

annotations

protected AnnotationsType annotations
Constructor Detail

SeriesType

public SeriesType()
Method Detail

getSeriesKey

public SeriesKeyType getSeriesKey()
Gets the value of the seriesKey property.

Returns:
possible object is SeriesKeyType

setSeriesKey

public void setSeriesKey(SeriesKeyType value)
Sets the value of the seriesKey property.

Parameters:
value - allowed object is SeriesKeyType

getAttributes

public ValuesType getAttributes()
Gets the value of the attributes property.

Returns:
possible object is ValuesType

setAttributes

public void setAttributes(ValuesType value)
Sets the value of the attributes property.

Parameters:
value - allowed object is ValuesType

getObs

public List<ObsType> getObs()
Gets the value of the obs 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 obs property.

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

    getObs().add(newItem);
 

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


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


Copyright © 2012. All Rights Reserved.