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
Nested ClassesModifier and TypeClassDescriptionstatic final classThe builder for creatingFeatureModelMetadataclasses. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()booleanprotected voidfinalize()Returns the data model that describes how theFeatureinstances, returned by theIFeatureModel#querymethod, 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.inthashCode()static FeatureModelMetadata.BuilderReturns the builder instance for the creation of theFeatureModelMetadata.
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
closein 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 theFeatureinstances, returned by theIFeatureModel#querymethod, are structured.- Returns:
- the data model that describes how the
Featureinstances, returned by theIFeatureModel#querymethod, 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:
-
hashCode
public int hashCode() -
equals
-