|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sdmx.resources.sdmxml.schemas.v2_1.common.AnnotableType
org.sdmx.resources.sdmxml.schemas.v2_1.data.generic.SeriesType
public class SeriesType
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 |
|---|
protected ValuesType seriesKey
protected ValuesType attributes
protected List<ObsType> obs
| Constructor Detail |
|---|
public SeriesType()
| Method Detail |
|---|
public ValuesType getSeriesKey()
ValuesTypepublic void setSeriesKey(ValuesType value)
value - allowed object is
ValuesTypepublic ValuesType getAttributes()
ValuesTypepublic void setAttributes(ValuesType value)
value - allowed object is
ValuesTypepublic List<ObsType> getObs()
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||