Package net.opengis.swe.v20
Interface TimeOrRange
- All Superinterfaces:
AbstractSWE
,AbstractSWEIdentifiable
,DataComponent
,HasConstraints<AllowedTimes>
,HasCopy
,HasRefFrames
,HasUom
,Serializable
,SimpleComponent
- All Known Implementing Classes:
TimeImpl
,TimeRangeImpl
public interface TimeOrRange
extends SimpleComponent, HasRefFrames, HasUom, HasConstraints<AllowedTimes>
Tagging interface to allow processing of Time and TimeRange components
with common logic
-
Method Summary
Modifier and TypeMethodDescriptionGets the referenceTime propertyboolean
boolean
Checks if referenceTime is setvoid
setReferenceTime
(OffsetDateTime referenceTime) Sets the referenceTime propertyMethods inherited from interface net.opengis.swe.v20.AbstractSWE
addExtension, getExtensionList, getId, getNumExtensions, isSetId, setId
Methods inherited from interface net.opengis.swe.v20.AbstractSWEIdentifiable
getDescription, getIdentifier, getLabel, isSetDescription, isSetIdentifier, isSetLabel, setDescription, setIdentifier, setLabel
Methods inherited from interface net.opengis.swe.v20.DataComponent
accept, addComponent, assignNewDataBlock, clearData, clone, copy, createDataBlock, getComponent, getComponent, getComponentCount, getComponentIndex, getData, getDefinition, getName, getOptional, getParent, getUpdatable, hasConstraints, hasData, isSetDefinition, isSetOptional, isSetUpdatable, removeComponent, removeComponent, renewDataBlock, setData, setDefinition, setName, setOptional, setUpdatable, unSetOptional, unSetUpdatable, validateData
Methods inherited from interface net.opengis.swe.v20.HasConstraints
getConstraint, getConstraintProperty, isSetConstraint, setConstraint
Methods inherited from interface net.opengis.swe.v20.HasRefFrames
getLocalFrame, getReferenceFrame, isSetLocalFrame, isSetReferenceFrame, setLocalFrame, setReferenceFrame
Methods inherited from interface net.opengis.swe.v20.SimpleComponent
addQuality, addQuality, addQuality, addQuality, getAxisID, getDataType, getNilValues, getNilValuesProperty, getNumQualitys, getQualityList, getReferenceFrame, isSetAxisID, isSetNilValues, isSetReferenceFrame, isSetValue, setAxisID, setDataType, setNilValues, setReferenceFrame, unSetValue
-
Method Details
-
getReferenceTime
OffsetDateTime getReferenceTime()Gets the referenceTime property -
isSetReferenceTime
boolean isSetReferenceTime()Checks if referenceTime is set -
setReferenceTime
Sets the referenceTime property -
isIsoTime
boolean isIsoTime()- Returns:
- true if time is encoded as ISO8601 string
-