Package net.opengis.gml.v32
Interface TimePeriod
- All Superinterfaces:
AbstractGML,AbstractTimeGeometricPrimitive,AbstractTimePrimitive,Serializable
- All Known Implementing Classes:
TimePeriodImpl
POJO class for XML type TimePeriodType(@http://www.opengis.net/gml/3.2).
This is a complex type.
-
Method Summary
Modifier and TypeMethodDescriptiongetBegin()Gets the begin propertyGets the beginPosition propertyGets extra info (name, xlink, etc.) carried by the begin propertydoubleGets the duration propertygetEnd()Gets the end propertyGets the endPosition propertyGets extra info (name, xlink, etc.) carried by the end propertyGets the timeInterval propertybooleanChecks if begin is setbooleanChecks if beginPosition is setbooleanChecks if duration is setbooleanisSetEnd()Checks if end is setbooleanChecks if endPosition is setbooleanChecks if timeInterval is setvoidsetBegin(TimeInstant begin) Sets the begin propertyvoidsetBeginPosition(TimePosition beginPosition) Sets the beginPosition propertyvoidsetDuration(double duration) Sets the duration propertyvoidsetEnd(TimeInstant end) Sets the end propertyvoidsetEndPosition(TimePosition endPosition) Sets the endPosition propertyvoidsetTimeInterval(double seconds) Sets the time interval in secondsvoidsetTimeInterval(double value, TimeUnit unit) Sets the time interval in the specified unitvoidsetTimeInterval(TimeIntervalLength timeInterval) Sets the timeInterval propertyMethods 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, setUniqueIdentifierMethods inherited from interface net.opengis.gml.v32.AbstractTimeGeometricPrimitive
getFrame, isSetFrame, setFrameMethods inherited from interface net.opengis.gml.v32.AbstractTimePrimitive
addRelatedTime, getNumRelatedTimes, getRelatedTimeList
-
Method Details
-
getBeginPosition
TimePosition getBeginPosition()Gets the beginPosition property -
isSetBeginPosition
boolean isSetBeginPosition()Checks if beginPosition is set -
setBeginPosition
Sets the beginPosition property -
getBegin
TimeInstant getBegin()Gets the begin property -
getBeginProperty
OgcProperty<TimeInstant> getBeginProperty()Gets extra info (name, xlink, etc.) carried by the begin property -
isSetBegin
boolean isSetBegin()Checks if begin is set -
setBegin
Sets the begin property -
getEndPosition
TimePosition getEndPosition()Gets the endPosition property -
isSetEndPosition
boolean isSetEndPosition()Checks if endPosition is set -
setEndPosition
Sets the endPosition property -
getEnd
TimeInstant getEnd()Gets the end property -
getEndProperty
OgcProperty<TimeInstant> getEndProperty()Gets extra info (name, xlink, etc.) carried by the end property -
isSetEnd
boolean isSetEnd()Checks if end is set -
setEnd
Sets the end property -
getDuration
double getDuration()Gets the duration property -
isSetDuration
boolean isSetDuration()Checks if duration is set -
setDuration
void setDuration(double duration) Sets the duration property -
getTimeInterval
TimeIntervalLength getTimeInterval()Gets the timeInterval property -
isSetTimeInterval
boolean isSetTimeInterval()Checks if timeInterval is set -
setTimeInterval
Sets the timeInterval property -
setTimeInterval
void setTimeInterval(double seconds) Sets the time interval in seconds -
setTimeInterval
Sets the time interval in the specified unit- Parameters:
value-unit-
-