public class ObservationRef extends FeatureRef implements IObservation
Wrapper class for use when an IObservation object is or can be included by reference. This enables fetching and instantiating the target object lazily.
OBS_TYPE_ARRAY, OBS_TYPE_CATEGORY, OBS_TYPE_COUNT, OBS_TYPE_GENERIC, OBS_TYPE_MEAS, OBS_TYPE_RECORD, OBS_TYPE_SCALAR
Constructor and Description |
---|
ObservationRef() |
ObservationRef(String href) |
Modifier and Type | Method and Description |
---|---|
void |
addParameter(String name,
Object value) |
void |
addRelatedObservation(IXlinkReference<IObservation> obsUri) |
void |
addResultQuality(Object qualityInfo) |
protected IObservation |
fetchTarget(String href) |
AbstractFeature |
getFeatureOfInterest() |
IXlinkReference<IDefinition> |
getObservedProperty() |
Map<String,Object> |
getParameters() |
TimeExtent |
getPhenomenonTime() |
IProcedure |
getProcedure() |
List<IXlinkReference<IObservation>> |
getRelatedObservations() |
DataComponent |
getResult() |
List<Object> |
getResultQuality() |
TimeExtent |
getResultTime() |
IObservation |
getTarget() |
TimeExtent |
getValidTime() |
void |
setFeatureOfInterest(AbstractFeature foi) |
void |
setObservedProperty(IXlinkReference<IDefinition> propRef) |
void |
setPhenomenonTime(TimeExtent time) |
void |
setProcedure(IProcedure procedure) |
void |
setResult(DataComponent result) |
void |
setResultTime(TimeExtent time) |
void |
setValidTime(TimeExtent time) |
addName, getBoundedBy, getDescription, getDescriptionReference, getId, getIdentifier, getLocation, getLocationProperty, getMetaDataPropertyList, getName, getNameList, getNumNames, getProperties, getProperty, getProperty, getQName, getType, getUniqueIdentifier, isSetBoundedBy, isSetDescription, isSetDescriptionReference, isSetIdentifier, isSetLocation, setBoundedByAsEnvelope, setDescription, setDescriptionReference, setId, setIdentifier, setLocation, setName, setProperty, setProperty, setType, setUniqueIdentifier
getArcRole, getHref, getRole, refresh, setArcRole, setHref, setResolver, setRole
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getProperties, getProperty, getProperty, getQName, getType, setProperty, setProperty, setType
getBoundedBy, getLocation, getLocationProperty, isSetBoundedBy, isSetLocation, setBoundedByAsEnvelope, setLocation
addName, getDescription, getDescriptionReference, getId, getIdentifier, getMetaDataPropertyList, getName, getNameList, getNumNames, getUniqueIdentifier, isSetDescription, isSetDescriptionReference, isSetIdentifier, setDescription, setDescriptionReference, setId, setIdentifier, setName, setUniqueIdentifier
public ObservationRef()
public ObservationRef(String href)
protected IObservation fetchTarget(String href)
fetchTarget
in class FeatureRef
public List<IXlinkReference<IObservation>> getRelatedObservations()
getRelatedObservations
in interface IObservation
public void addRelatedObservation(IXlinkReference<IObservation> obsUri)
addRelatedObservation
in interface IObservation
public TimeExtent getPhenomenonTime()
getPhenomenonTime
in interface IObservation
public void setPhenomenonTime(TimeExtent time)
setPhenomenonTime
in interface IObservation
public TimeExtent getResultTime()
getResultTime
in interface IObservation
public void setResultTime(TimeExtent time)
setResultTime
in interface IObservation
public TimeExtent getValidTime()
getValidTime
in interface IObservation
public void setValidTime(TimeExtent time)
setValidTime
in interface IObservation
public IXlinkReference<IDefinition> getObservedProperty()
getObservedProperty
in interface IObservation
public void setObservedProperty(IXlinkReference<IDefinition> propRef)
setObservedProperty
in interface IObservation
public AbstractFeature getFeatureOfInterest()
getFeatureOfInterest
in interface IObservation
public void setFeatureOfInterest(AbstractFeature foi)
setFeatureOfInterest
in interface IObservation
public IProcedure getProcedure()
getProcedure
in interface IObservation
public void setProcedure(IProcedure procedure)
setProcedure
in interface IObservation
public Map<String,Object> getParameters()
getParameters
in interface IObservation
public void addParameter(String name, Object value)
addParameter
in interface IObservation
public List<Object> getResultQuality()
getResultQuality
in interface IObservation
public void addResultQuality(Object qualityInfo)
addResultQuality
in interface IObservation
public DataComponent getResult()
getResult
in interface IObservation
public void setResult(DataComponent result)
setResult
in interface IObservation
public IObservation getTarget()
getTarget
in interface IXlinkReference<GenericFeature>
getTarget
in class CachedReference<GenericFeature>
Copyright © 2016 Sensia Software LLC. All rights reserved.