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

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.ObsType
Direct Known Subclasses:
TimeSeriesObsType

public class ObsType
extends AnnotableType

ObsType defines the structure of a grouped observation. The observation must be provided a value for the dimension which is declared to be at the observation level for this data set. This dimension value should disambiguate the observation within the series in which it is defined (i.e. there should not be another observation with the same dimension value). The observation can contain an observed value and/or attribute values.

Java class for ObsType complex type.

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

 <complexType name="ObsType">
   <complexContent>
     <extension base="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}AnnotableType">
       <sequence>
         <element name="ObsDimension" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/data/generic}BaseValueType"/>
         <element name="ObsValue" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/data/generic}ObsValueType" minOccurs="0"/>
         <element name="Attributes" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/data/generic}ValuesType" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  ValuesType attributes
           
protected  BaseValueType obsDimension
           
protected  ObsValueType obsValue
           
 
Fields inherited from class org.sdmx.resources.sdmxml.schemas.v2_1.common.AnnotableType
annotations
 
Constructor Summary
ObsType()
           
 
Method Summary
 ValuesType getAttributes()
          Gets the value of the attributes property.
 BaseValueType getObsDimension()
          Gets the value of the obsDimension property.
 ObsValueType getObsValue()
          Gets the value of the obsValue property.
 void setAttributes(ValuesType value)
          Sets the value of the attributes property.
 void setObsDimension(BaseValueType value)
          Sets the value of the obsDimension property.
 void setObsValue(ObsValueType value)
          Sets the value of the obsValue 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

obsDimension

protected BaseValueType obsDimension

obsValue

protected ObsValueType obsValue

attributes

protected ValuesType attributes
Constructor Detail

ObsType

public ObsType()
Method Detail

getObsDimension

public BaseValueType getObsDimension()
Gets the value of the obsDimension property.

Returns:
possible object is BaseValueType

setObsDimension

public void setObsDimension(BaseValueType value)
Sets the value of the obsDimension property.

Parameters:
value - allowed object is BaseValueType

getObsValue

public ObsValueType getObsValue()
Gets the value of the obsValue property.

Returns:
possible object is ObsValueType

setObsValue

public void setObsValue(ObsValueType value)
Sets the value of the obsValue property.

Parameters:
value - allowed object is ObsValueType

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


Copyright © 2012. All Rights Reserved.