org.sdmx.resources.sdmxml.schemas.v2_1.data.generic
Class SeriesType

java.lang.Object
  extended by org.sdmx.resources.sdmxml.schemas.v2_1.common.AnnotableType
      extended by org.sdmx.resources.sdmxml.schemas.v2_1.data.generic.SeriesType
Direct Known Subclasses:
TimeSeriesType

public class SeriesType
extends AnnotableType

SeriesType defines a structure which is used to group a collection of observations which have a key in common. The key for a series is every dimension defined in the data structure definition, save the dimension declared to be at the observation level for this data set. In addition to observations, values can be provided for attributes which are associated with the dimensions which make up this series key (so long as the attributes do not specify a group attachment or also have an relationship with the observation dimension). It is possible for the series to contain only observations or only attribute values, or both.

Java class for SeriesType complex type.

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

 <complexType name="SeriesType">
   <complexContent>
     <extension base="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}AnnotableType">
       <sequence>
         <element name="SeriesKey" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/data/generic}ValuesType"/>
         <element name="Attributes" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/data/generic}ValuesType" minOccurs="0"/>
         <element name="Obs" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/data/generic}ObsType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  ValuesType attributes
           
protected  List<ObsType> obs
           
protected  ValuesType seriesKey
           
 
Fields inherited from class org.sdmx.resources.sdmxml.schemas.v2_1.common.AnnotableType
annotations
 
Constructor Summary
SeriesType()
           
 
Method Summary
 ValuesType getAttributes()
          Gets the value of the attributes property.
 List<ObsType> getObs()
          Gets the value of the obs property.
 ValuesType getSeriesKey()
          Gets the value of the seriesKey property.
 void setAttributes(ValuesType value)
          Sets the value of the attributes property.
 void setSeriesKey(ValuesType value)
          Sets the value of the seriesKey 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

seriesKey

protected ValuesType seriesKey

attributes

protected ValuesType attributes

obs

protected List<ObsType> obs
Constructor Detail

SeriesType

public SeriesType()
Method Detail

getSeriesKey

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

Returns:
possible object is ValuesType

setSeriesKey

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

Parameters:
value - allowed object is ValuesType

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



Copyright © 2012. All Rights Reserved.