|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sdmx.resources.sdmxml.schemas.v2_0.generic.ObsType
public class ObsType
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 |
|---|
protected String time
protected ObsValueType obsValue
protected ValuesType attributes
protected AnnotationsType annotations
| Constructor Detail |
|---|
public ObsType()
| Method Detail |
|---|
public String getTime()
Stringpublic void setTime(String value)
value - allowed object is
Stringpublic ObsValueType getObsValue()
ObsValueTypepublic void setObsValue(ObsValueType value)
value - allowed object is
ObsValueTypepublic ValuesType getAttributes()
ValuesTypepublic void setAttributes(ValuesType value)
value - allowed object is
ValuesTypepublic AnnotationsType getAnnotations()
AnnotationsTypepublic void setAnnotations(AnnotationsType value)
value - allowed object is
AnnotationsType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||