public class TimePeriodImpl extends AbstractTimeGeometricPrimitiveImpl implements TimePeriod
Modifier and Type | Field and Description |
---|---|
protected OgcProperty<TimeInstant> |
begin |
protected TimePosition |
beginPosition |
protected Double |
duration |
protected OgcProperty<TimeInstant> |
end |
protected TimePosition |
endPosition |
protected TimeIntervalLength |
timeInterval |
frame
relatedTimeList
description, descriptionReference, id, identifier, metaDataPropertyList, nameList, UUID_CODE
Constructor and Description |
---|
TimePeriodImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
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
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
protected TimePosition beginPosition
protected OgcProperty<TimeInstant> begin
protected TimePosition endPosition
protected OgcProperty<TimeInstant> end
protected Double duration
protected TimeIntervalLength timeInterval
public TimePosition getBeginPosition()
getBeginPosition
in interface TimePeriod
public boolean isSetBeginPosition()
isSetBeginPosition
in interface TimePeriod
public void setBeginPosition(TimePosition beginPosition)
setBeginPosition
in interface TimePeriod
public TimeInstant getBegin()
getBegin
in interface TimePeriod
public OgcProperty<TimeInstant> getBeginProperty()
getBeginProperty
in interface TimePeriod
public boolean isSetBegin()
isSetBegin
in interface TimePeriod
public void setBegin(TimeInstant begin)
setBegin
in interface TimePeriod
public TimePosition getEndPosition()
getEndPosition
in interface TimePeriod
public boolean isSetEndPosition()
isSetEndPosition
in interface TimePeriod
public void setEndPosition(TimePosition endPosition)
setEndPosition
in interface TimePeriod
public TimeInstant getEnd()
getEnd
in interface TimePeriod
public OgcProperty<TimeInstant> getEndProperty()
getEndProperty
in interface TimePeriod
public boolean isSetEnd()
isSetEnd
in interface TimePeriod
public void setEnd(TimeInstant end)
setEnd
in interface TimePeriod
public double getDuration()
getDuration
in interface TimePeriod
public boolean isSetDuration()
isSetDuration
in interface TimePeriod
public void setDuration(double duration)
setDuration
in interface TimePeriod
public TimeIntervalLength getTimeInterval()
getTimeInterval
in interface TimePeriod
public boolean isSetTimeInterval()
isSetTimeInterval
in interface TimePeriod
public void setTimeInterval(TimeIntervalLength timeInterval)
setTimeInterval
in interface TimePeriod
public void setTimeInterval(double seconds)
TimePeriod
setTimeInterval
in interface TimePeriod
public void setTimeInterval(double value, TimeUnit unit)
TimePeriod
setTimeInterval
in interface TimePeriod
Copyright © 2016 Sensia Software LLC. All rights reserved.