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 propertydouble
Gets the duration propertygetEnd()
Gets the end propertyGets the endPosition propertyGets extra info (name, xlink, etc.) carried by the end propertyGets the timeInterval propertyboolean
Checks if begin is setboolean
Checks if beginPosition is setboolean
Checks if duration is setboolean
isSetEnd()
Checks if end is setboolean
Checks if endPosition is setboolean
Checks if timeInterval is setvoid
setBegin
(TimeInstant begin) Sets the begin propertyvoid
setBeginPosition
(TimePosition beginPosition) Sets the beginPosition propertyvoid
setDuration
(double duration) Sets the duration propertyvoid
setEnd
(TimeInstant end) Sets the end propertyvoid
setEndPosition
(TimePosition endPosition) Sets the endPosition propertyvoid
setTimeInterval
(double seconds) Sets the time interval in secondsvoid
setTimeInterval
(double value, TimeUnit unit) Sets the time interval in the specified unitvoid
setTimeInterval
(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, setUniqueIdentifier
Methods inherited from interface net.opengis.gml.v32.AbstractTimeGeometricPrimitive
getFrame, isSetFrame, setFrame
Methods 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
-
-