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 propertybooleanbooleanChecks if referenceTime is setvoidsetReferenceTime(OffsetDateTime referenceTime) Sets the referenceTime propertyMethods inherited from interface net.opengis.swe.v20.AbstractSWE
addExtension, getExtensionList, getId, getNumExtensions, isSetId, setIdMethods inherited from interface net.opengis.swe.v20.AbstractSWEIdentifiable
getDescription, getIdentifier, getLabel, isSetDescription, isSetIdentifier, isSetLabel, setDescription, setIdentifier, setLabelMethods 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, validateDataMethods inherited from interface net.opengis.swe.v20.HasConstraints
getConstraint, getConstraintProperty, isSetConstraint, setConstraintMethods inherited from interface net.opengis.swe.v20.HasRefFrames
getLocalFrame, getReferenceFrame, isSetLocalFrame, isSetReferenceFrame, setLocalFrame, setReferenceFrameMethods 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
 
 
 -