Package com.luciad.ogc.wcs.common.model
Class TLcdWCSTimeSequence
java.lang.Object
com.luciad.ogc.wcs.common.model.TLcdWCSTimeSequence
An ordered sequence of time positions or intervals.
The time positions and periods shall be ordered from the oldest to the newest.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addTimePeriod
(TLcdWCSTimePeriod aTimePeriod) Adds a time period.void
addTimePosition
(ILcdGML3TimePosition aTimePosition) Adds a time position.getTimePeriod
(int aIndex) Gets the time period at a given position.int
Gets the number of time periods.getTimePosition
(int aIndex) Gets the time position at a given position.int
Gets the number of time positions.void
removeTimePeriod
(int aIndex) Removes the time period at a given position.void
removeTimePosition
(int aIndex) Removes the time position at a given position.
-
Constructor Details
-
TLcdWCSTimeSequence
public TLcdWCSTimeSequence()
-
-
Method Details
-
addTimePosition
Adds a time position.Direct representation of a temporal position.
- Parameters:
aTimePosition
- the time position to be added.
-
getTimePositionCount
public int getTimePositionCount()Gets the number of time positions.- Returns:
- the number of time positions.
-
removeTimePosition
public void removeTimePosition(int aIndex) Removes the time position at a given position.- Parameters:
aIndex
- the index of the given position.
-
getTimePosition
Gets the time position at a given position.Direct representation of a temporal position.
- Parameters:
aIndex
- the index of the given position.- Returns:
- the time position at the given position.
-
addTimePeriod
Adds a time period.- Parameters:
aTimePeriod
- the time period to be added.
-
getTimePeriodCount
public int getTimePeriodCount()Gets the number of time periods.- Returns:
- the number of time periods.
-
removeTimePeriod
public void removeTimePeriod(int aIndex) Removes the time period at a given position.- Parameters:
aIndex
- the index of the given position.
-
getTimePeriod
Gets the time period at a given position.- Parameters:
aIndex
- the index of the given position.- Returns:
- the time period at the given position.
-