Package org.vast.ogc.om
Class ObservationImpl
java.lang.Object
net.opengis.gml.v32.impl.AbstractGMLImpl
net.opengis.gml.v32.impl.AbstractFeatureImpl
org.vast.ogc.gml.GenericFeatureImpl
org.vast.ogc.om.ObservationImpl
- All Implemented Interfaces:
Serializable
,AbstractFeature
,AbstractGML
,GenericFeature
,IFeature
,IObservation
,IResource
Implementation of a single observation
- Since:
- Feb 20, 2007
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IFeature
protected DefinitionRef
protected TimeExtent
protected IProcedure
static final QName
protected ArrayList<IXlinkReference<IObservation>>
protected DataComponent
protected Instant
protected TimeExtent
Fields inherited from class org.vast.ogc.gml.GenericFeatureImpl
properties, type
Fields inherited from class net.opengis.gml.v32.impl.AbstractFeatureImpl
boundedBy, location
Fields inherited from class net.opengis.gml.v32.impl.AbstractGMLImpl
description, descriptionReference, id, identifier, metaDataPropertyList, nameList, UUID_CODE
Fields inherited from interface org.vast.ogc.gml.IFeature
DEFAULT_QNAME
Fields inherited from interface org.vast.ogc.om.IObservation
OBS_TYPE_ARRAY, OBS_TYPE_CATEGORY, OBS_TYPE_COUNT, OBS_TYPE_GENERIC, OBS_TYPE_MEAS, OBS_TYPE_RECORD, OBS_TYPE_SCALAR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addParameter
(String name, Object value) void
addRelatedObservation
(IXlinkReference<IObservation> relatedObservation) void
addResultQuality
(Object resultQuality) getProperty
(String name) getQName()
void
setFeatureOfInterest
(IFeature featureOfInterest) void
setObservedProperty
(DefinitionRef observedProperty) void
setPhenomenonTime
(TimeExtent phenomenonTime) void
setProcedure
(IProcedure procedure) void
setResult
(DataComponent result) void
setResultTime
(Instant resultTime) void
setValidTime
(TimeExtent validTime) Methods inherited from class org.vast.ogc.gml.GenericFeatureImpl
getProperties, getProperty, getType, setProperty, setProperty, setType
Methods inherited from class net.opengis.gml.v32.impl.AbstractFeatureImpl
equals, getBoundedBy, getGeometry, getGeometryProperty, hashCode, isSetBoundedBy, isSetGeometry, setBoundedByAsEnvelope, setGeometry
Methods inherited from class net.opengis.gml.v32.impl.AbstractGMLImpl
addName, getDescription, getDescriptionReference, getId, getIdentifier, getMetaDataPropertyList, getName, getNameList, getNumNames, getUniqueIdentifier, isSetDescription, isSetDescriptionReference, isSetIdentifier, setDescription, setDescriptionReference, setId, setIdentifier, setName, setUniqueIdentifier
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.opengis.gml.v32.AbstractFeature
getBoundedBy, getGeometryProperty, isSetBoundedBy, isSetGeometry, setBoundedByAsEnvelope, setGeometry
Methods inherited from interface net.opengis.gml.v32.AbstractGML
addName, getDescription, getDescriptionReference, getId, getIdentifier, getMetaDataPropertyList, getName, getNameList, getNumNames, getUniqueIdentifier, isSetDescription, isSetDescriptionReference, isSetIdentifier, setDescription, setDescriptionReference, setId, setIdentifier, setName, setUniqueIdentifier
Methods inherited from interface org.vast.ogc.gml.IFeature
getGeometry, getId, getUniqueIdentifier, hasCustomGeomProperty, hasCustomTimeProperty
Methods inherited from interface org.vast.ogc.om.IObservation
getType
Methods inherited from interface org.vast.util.IResource
getDescription, getName
-
Field Details
-
QNAME
-
phenomenonTime
-
validTime
-
resultTime
-
procedure
-
parameters
-
observedProperty
-
featureOfInterest
-
resultQuality
-
result
-
-
Constructor Details
-
ObservationImpl
public ObservationImpl()
-
-
Method Details
-
getQName
-
getRelatedObservations
- Specified by:
getRelatedObservations
in interfaceIObservation
-
addRelatedObservation
- Specified by:
addRelatedObservation
in interfaceIObservation
-
getPhenomenonTime
- Specified by:
getPhenomenonTime
in interfaceIObservation
-
setPhenomenonTime
-
getResultTime
- Specified by:
getResultTime
in interfaceIObservation
-
setResultTime
-
getValidTime
- Specified by:
getValidTime
in interfaceIFeature
- Returns:
- feature validity period (or null if always valid)
-
setValidTime
-
getProcedure
- Specified by:
getProcedure
in interfaceIObservation
-
setProcedure
-
getParameters
- Specified by:
getParameters
in interfaceIObservation
-
addParameter
-
getObservedProperty
- Specified by:
getObservedProperty
in interfaceIObservation
-
setObservedProperty
-
getFeatureOfInterest
- Specified by:
getFeatureOfInterest
in interfaceIObservation
-
setFeatureOfInterest
-
getResultQuality
- Specified by:
getResultQuality
in interfaceIObservation
-
addResultQuality
-
getResult
- Specified by:
getResult
in interfaceIObservation
-
setResult
-
getProperty
- Specified by:
getProperty
in interfaceGenericFeature
- Overrides:
getProperty
in classGenericFeatureImpl
-