Package org.vast.ogc.om
Class ObservationRef
- All Implemented Interfaces:
IFeature
,IObservation
,IXlinkReference<IObservation>
,IResource
Wrapper class for use when an IObservation object is or can be included by reference. This enables fetching and instantiating the target object lazily.
- Since:
- Sep 28, 2012
-
Field Summary
Fields inherited from class org.vast.ogc.xlink.CachedReference
resolver, value
Fields inherited from class org.vast.ogc.xlink.SimpleLink
arcRole, href, role, title
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
Methods inherited from class org.vast.ogc.gml.FeatureRef
getDescription, getGeometry, getId, getName, getProperties, getUniqueIdentifier
Methods inherited from class org.vast.ogc.xlink.CachedReference
equals, fetchTarget, getArcRole, getTargetUID, hashCode, refresh, setResolver, setTargetUID
Methods inherited from class org.vast.ogc.xlink.SimpleLink
getHref, getMediaType, getRole, getTargetInterface, getTitle, setArcRole, setHref, setMediaType, setRole, setTargetInterface, setTitle
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.vast.ogc.gml.IFeature
getGeometry, getId, getProperties, getQName, getUniqueIdentifier, hasCustomGeomProperty, hasCustomTimeProperty
Methods inherited from interface org.vast.util.IResource
getDescription, getName
Methods inherited from interface org.vast.ogc.xlink.IXlinkReference
getHref, getMediaType, getRole, getTargetInterface, getTitle, setArcRole, setHref, setMediaType, setRole, setTargetInterface, setTitle
-
Constructor Details
-
ObservationRef
public ObservationRef() -
ObservationRef
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceIFeature
- Specified by:
getType
in interfaceIObservation
- Returns:
- the feature type URI
-
getRelatedObservations
- Specified by:
getRelatedObservations
in interfaceIObservation
-
addRelatedObservation
- Specified by:
addRelatedObservation
in interfaceIObservation
-
getPhenomenonTime
- Specified by:
getPhenomenonTime
in interfaceIObservation
-
getResultTime
- Specified by:
getResultTime
in interfaceIObservation
-
getValidTime
- Specified by:
getValidTime
in interfaceIFeature
- Overrides:
getValidTime
in classFeatureRef<IObservation>
- Returns:
- feature validity period (or null if always valid)
-
getObservedProperty
- Specified by:
getObservedProperty
in interfaceIObservation
-
getFeatureOfInterest
- Specified by:
getFeatureOfInterest
in interfaceIObservation
-
getProcedure
- Specified by:
getProcedure
in interfaceIObservation
-
getParameters
- Specified by:
getParameters
in interfaceIObservation
-
getResultQuality
- Specified by:
getResultQuality
in interfaceIObservation
-
getResult
- Specified by:
getResult
in interfaceIObservation
-
getTarget
- Specified by:
getTarget
in interfaceIXlinkReference<IObservation>
- Overrides:
getTarget
in classCachedReference<IObservation>
-