Package com.luciad.models.features
Class FeatureModelMetadata
java.lang.Object
com.luciad.models.features.FeatureModelMetadata
- All Implemented Interfaces:
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
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
The builder for creatingFeatureModelMetadata
classes. -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
protected void
finalize()
Returns the data model that describes how theFeature
instances, returned by theIFeatureModel#query
method, are structured.Returns the data type types that are used for the actual Features of anIFeatureModel
.Returns the preferred reference of this model, if available.static FeatureModelMetadata.Builder
Returns the builder instance for the creation of theFeatureModelMetadata
.
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
newBuilder
Returns the builder instance for the creation of theFeatureModelMetadata
.- Returns:
- the builder instance for the creation of the
FeatureModelMetadata
.
-
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
Returns the data model that describes how theFeature
instances, returned by theIFeatureModel#query
method, are structured.- Returns:
- the data model that describes how the
Feature
instances, returned by theIFeatureModel#query
method, are structured.
-
getFeatureTypes
Returns the data type types that are used for the actual Features of anIFeatureModel
.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:
-