Class FeatureModelMetadata

java.lang.Object
com.luciad.models.features.FeatureModelMetadata
All Implemented Interfaces:
AutoCloseable

public final class FeatureModelMetadata extends Object implements AutoCloseable
This class exposes feature-specific metadata.

Among others, it describes

  • The preferred reference used to interact with the model
  • The structure of the features in this model
  • Method Details

    • finalize

      protected void finalize()
      Overrides:
      finalize in class Object
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • newBuilder

      @NotNull public static FeatureModelMetadata.Builder newBuilder()
      Returns the builder instance for the creation of the FeatureModelMetadata.
      Returns:
      the builder instance for the creation of the FeatureModelMetadata.
    • getReference

      @Nullable public CoordinateReference getReference()
      Returns the preferred reference of this model, if available.

      For example, when performing a query with a bbox expression, performance will be best when this reference is used. Note that this doesn't mean that the reference of all features needs to be the same reference as this one. The returned value can be null.

      Returns:
      the preferred reference of this model, if available.
    • getDataModel

      @NotNull public DataModel getDataModel()
      Returns the data model that describes how the Feature instances, returned by the IFeatureModel#query method, are structured.
      Returns:
      the data model that describes how the Feature instances, returned by the IFeatureModel#query method, are structured.
    • getFeatureTypes

      @NotNull public List<@NotNull DataType> getFeatureTypes()
      Returns the data type types that are used for the actual Features of an IFeatureModel.

      This is a subset of the set of DataTypes available in getDataModel(). If the feature types are not known, no value can be returned.

      Returns:
      the data types that are used for the actual Features of an IFeatureModel.
      See Also: