Class TLcdWCSTimeSequence

java.lang.Object
com.luciad.ogc.wcs.common.model.TLcdWCSTimeSequence

public class TLcdWCSTimeSequence extends Object
An ordered sequence of time positions or intervals. The time positions and periods shall be ordered from the oldest to the newest.
  • Constructor Details

    • TLcdWCSTimeSequence

      public TLcdWCSTimeSequence()
  • Method Details

    • addTimePosition

      public void addTimePosition(ILcdGML3TimePosition aTimePosition)
      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

      public ILcdGML3TimePosition getTimePosition(int aIndex)
      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

      public void addTimePeriod(TLcdWCSTimePeriod aTimePeriod)
      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

      public TLcdWCSTimePeriod getTimePeriod(int aIndex)
      Gets the time period at a given position.
      Parameters:
      aIndex - the index of the given position.
      Returns:
      the time period at the given position.