public interface TimePeriod extends AbstractTimeGeometricPrimitive
Modifier and Type | Method and Description |
---|---|
TimeInstant |
getBegin()
Gets the begin property
|
TimePosition |
getBeginPosition()
Gets the beginPosition property
|
OgcProperty<TimeInstant> |
getBeginProperty()
Gets extra info (name, xlink, etc.) carried by the begin property
|
double |
getDuration()
Gets the duration property
|
TimeInstant |
getEnd()
Gets the end property
|
TimePosition |
getEndPosition()
Gets the endPosition property
|
OgcProperty<TimeInstant> |
getEndProperty()
Gets extra info (name, xlink, etc.) carried by the end property
|
TimeIntervalLength |
getTimeInterval()
Gets the timeInterval property
|
boolean |
isSetBegin()
Checks if begin is set
|
boolean |
isSetBeginPosition()
Checks if beginPosition is set
|
boolean |
isSetDuration()
Checks if duration is set
|
boolean |
isSetEnd()
Checks if end is set
|
boolean |
isSetEndPosition()
Checks if endPosition is set
|
boolean |
isSetTimeInterval()
Checks if timeInterval is set
|
void |
setBegin(TimeInstant begin)
Sets the begin property
|
void |
setBeginPosition(TimePosition beginPosition)
Sets the beginPosition property
|
void |
setDuration(double duration)
Sets the duration property
|
void |
setEnd(TimeInstant end)
Sets the end property
|
void |
setEndPosition(TimePosition endPosition)
Sets the endPosition property
|
void |
setTimeInterval(double seconds)
Sets the time interval in seconds
|
void |
setTimeInterval(double value,
TimeUnit unit)
Sets the time interval in the specified unit
|
void |
setTimeInterval(TimeIntervalLength timeInterval)
Sets the timeInterval property
|
getFrame, isSetFrame, setFrame
addRelatedTime, getNumRelatedTimes, getRelatedTimeList
addName, getDescription, getDescriptionReference, getId, getIdentifier, getMetaDataPropertyList, getName, getNameList, getNumNames, getUniqueIdentifier, isSetDescription, isSetDescriptionReference, isSetIdentifier, setDescription, setDescriptionReference, setId, setIdentifier, setName, setUniqueIdentifier
TimePosition getBeginPosition()
boolean isSetBeginPosition()
void setBeginPosition(TimePosition beginPosition)
TimeInstant getBegin()
OgcProperty<TimeInstant> getBeginProperty()
boolean isSetBegin()
void setBegin(TimeInstant begin)
TimePosition getEndPosition()
boolean isSetEndPosition()
void setEndPosition(TimePosition endPosition)
TimeInstant getEnd()
OgcProperty<TimeInstant> getEndProperty()
boolean isSetEnd()
void setEnd(TimeInstant end)
double getDuration()
boolean isSetDuration()
void setDuration(double duration)
TimeIntervalLength getTimeInterval()
boolean isSetTimeInterval()
void setTimeInterval(TimeIntervalLength timeInterval)
void setTimeInterval(double seconds)
void setTimeInterval(double value, TimeUnit unit)
value
- unit
- Copyright © 2016 Sensia Software LLC. All rights reserved.