Class TLfnTileStoreDataSource

java.lang.Object
com.luciad.fusion.tilestore.model.TLfnTileStoreDataSource
All Implemented Interfaces:
ILcdDataSource

public class TLfnTileStoreDataSource extends Object implements ILcdDataSource
A description of a LuciadFusion data source. The data source is described by a Tile Store and one or more of its coverages.
Since:
11.0
  • Constructor Details

    • TLfnTileStoreDataSource

      public TLfnTileStoreDataSource(ALfnTileStore aTileStore, ALfnCoverageMetadata aCoverageMetadata)
      Creates a Tile Store data source.
      Parameters:
      aTileStore - a Tile Store (required, must not be null)
      aCoverageMetadata - the coverage metadata (optional, may be null)
    • TLfnTileStoreDataSource

      public TLfnTileStoreDataSource(ALfnTileStore aTileStore, ALfnCoverageMetadata... aCoverageMetadata)
      This constructor will use the first of the given coverage metadata, if any, and ignore all others.
      Parameters:
      aTileStore - A Tile Store (required, must not be null).
      aCoverageMetadata - The coverage metadata (required, may be empty but must not be null).
    • TLfnTileStoreDataSource

      public TLfnTileStoreDataSource(ALfnTileStore aTileStore, List<ALfnCoverageMetadata> aCoverageMetadata)
      This constructor will use the first of the given coverage metadata, if any, and ignore all others.
      Parameters:
      aTileStore - A Tile Store (required, must not be null).
      aCoverageMetadata - The coverage metadata (required, may be empty but must not be null).
  • Method Details

    • getTileStore

      public ALfnTileStore getTileStore()
      Gets the Tile Store of this data source.
      Returns:
      the Tile Store
    • getCoverageMetadatas

      @Deprecated public final List<ALfnCoverageMetadata> getCoverageMetadatas()
      Deprecated.
      Gets the coverage metadata of this data source as a list. A data source can contain at most one coverage metadata, so the list can contain at most one element.
      Returns:
      list of metadata objects, possibly empty but never null
    • getCoverageMetadata

      public ALfnCoverageMetadata getCoverageMetadata()
      Gets the coverage metadata of this data source.
      Returns:
      the coverage metadata, possibly null
      Since:
      2015.1
    • getDescription

      public String getDescription()
      Description copied from interface: ILcdDataSource
      Returns a string description of the data source. This will typically be used in a GUI, or in error and warning messages.
      Specified by:
      getDescription in interface ILcdDataSource
      Returns:
      a String describing the data source.