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

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

public class ObsValueType
extends Object

ObsValueType describes the information set for an observation value. This is associated with the primary measure concept declared in the key family. The startTime attribute is only used if the textFormat of the observation is of the Timespan type in the key family (in which case the value field takes a duration).

Java class for ObsValueType complex type.

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

 <complexType name="ObsValueType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}double" />
       <attribute name="startTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  XMLGregorianCalendar startTime
           
protected  Double value
           
 
Constructor Summary
ObsValueType()
           
 
Method Summary
 XMLGregorianCalendar getStartTime()
          Gets the value of the startTime property.
 Double getValue()
          Gets the value of the value property.
 void setStartTime(XMLGregorianCalendar value)
          Sets the value of the startTime property.
 void setValue(Double value)
          Sets the value of the value property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

protected Double value

startTime

protected XMLGregorianCalendar startTime
Constructor Detail

ObsValueType

public ObsValueType()
Method Detail

getValue

public Double getValue()
Gets the value of the value property.

Returns:
possible object is Double

setValue

public void setValue(Double value)
Sets the value of the value property.

Parameters:
value - allowed object is Double

getStartTime

public XMLGregorianCalendar getStartTime()
Gets the value of the startTime property.

Returns:
possible object is XMLGregorianCalendar

setStartTime

public void setStartTime(XMLGregorianCalendar value)
Sets the value of the startTime property.

Parameters:
value - allowed object is XMLGregorianCalendar


Copyright © 2012. All Rights Reserved.