Class TLfnTileStoreMetadata

java.lang.Object
com.luciad.fusion.tilestore.TLfnTileStoreMetadata

public class TLfnTileStoreMetadata extends Object
Represents the metadata of a LuciadFusion Tile Store. It contains the following parameters:
  • ID: a unique identifier for a service, it must be specified and must not be null
  • name: a name for a resource, defaults to null if unspecified
  • abstract: an abstract (short description) of a service, defaults to null if unspecified
  • keywords: a collection of keywords for a service, defaults to the empty collection if unspecified, can never be null
  • replication settings: in case this Tile Store is a slave of another Tile Store in a master-slave configuration, this object contains the configuration settings of this master-slave configuration. Must not be null.

Instances of this class are immutable and thus thread-safe.

This class implements a Builder design pattern: the resource metadata is immutable and cannot be instantiated directly. Instantiation and modification should go via a corresponding builder. Also a builder cannot be instantiated directly, it must be created via one of the static factory methods.

Since:
10.0
See Also:
  • Method Details

    • getId

      public String getId()
      Gets the service ID.
      Returns:
      the service ID, never null
    • getName

      public String getName()
      Gets the service name.
      Returns:
      the service name, or null if unspecified
    • getAbstract

      public String getAbstract()
      Gets the abstract (short description) of the service.
      Returns:
      the abstract (short description) of the service, or null if unspecified
    • getKeywords

      public Collection<String> getKeywords()
      Gets the keywords for this service as an unmodifiable collection.
      Returns:
      the keywords for this service, or an empty collection if unspecified, never null
    • toString

      public String toString()
      Returns the service ID as string representation.
      Overrides:
      toString in class Object
      Returns:
      the service ID as string representation, never null
    • equals

      public boolean equals(Object aObject)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • newBuilder

      public static TLfnTileStoreMetadata.Builder newBuilder()
      Creates a new, empty builder.
      Returns:
      a new builder.
      See Also:
    • newBuilder

      public static TLfnTileStoreMetadata.Builder newBuilder(TLfnTileStoreMetadata aTemplate)
      Creates a new builder starting from a template.
      Parameters:
      aTemplate - the template to start from, must not be null
      Returns:
      a new builder
      See Also: