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

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

public class ObsType
extends Object

ObsType defines the structure of an observation. This includes a time and observation value, as well as values for each of the attributes assigned at the observation level by the key family. In a delete message, only the time need be given, indicating that the observation identified by the key and time should be deleted. For an update message, both time and observation value are required. If any attributes appear in a delete message, any valid value supplied for an attribute indicates that the current value should be deleted.

Java class for ObsType complex type.

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

 <complexType name="ObsType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Time" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}TimePeriodType"/>
         <element name="ObsValue" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/generic}ObsValueType" minOccurs="0"/>
         <element name="Attributes" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/generic}ValuesType" 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  ObsValueType obsValue
           
protected  String time
           
 
Constructor Summary
ObsType()
           
 
Method Summary
 AnnotationsType getAnnotations()
          Gets the value of the annotations property.
 ValuesType getAttributes()
          Gets the value of the attributes property.
 ObsValueType getObsValue()
          Gets the value of the obsValue property.
 String getTime()
          Gets the value of the time property.
 void setAnnotations(AnnotationsType value)
          Sets the value of the annotations property.
 void setAttributes(ValuesType value)
          Sets the value of the attributes property.
 void setObsValue(ObsValueType value)
          Sets the value of the obsValue property.
 void setTime(String value)
          Sets the value of the time property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

time

protected String time

obsValue

protected ObsValueType obsValue

attributes

protected ValuesType attributes

annotations

protected AnnotationsType annotations
Constructor Detail

ObsType

public ObsType()
Method Detail

getTime

public String getTime()
Gets the value of the time property.

Returns:
possible object is String

setTime

public void setTime(String value)
Sets the value of the time property.

Parameters:
value - allowed object is String

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

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.