public final class FeatureModelMetadata extends Object implements AutoCloseable
Among others, it describes
Modifier and Type | Class and Description |
---|---|
static class |
FeatureModelMetadata.Builder
The builder for creating
FeatureModelMetadata classes. |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
finalize() |
DataModel |
getDataModel()
Returns the data model that describes how the
Feature instances, returned by the IFeatureModel#query method, are structured. |
List<DataType> |
getFeatureTypes()
Returns the data type types that are used for the actual Features of an
IFeatureModel . |
CoordinateReference |
getReference()
Returns the preferred reference of this model, if available.
|
static FeatureModelMetadata.Builder |
newBuilder()
Returns the builder instance for the creation of the
FeatureModelMetadata . |
public void close()
close
in interface AutoCloseable
@NotNull public static FeatureModelMetadata.Builder newBuilder()
FeatureModelMetadata
.FeatureModelMetadata
.@Nullable public CoordinateReference getReference()
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
.
@NotNull public DataModel getDataModel()
Feature
instances, returned by the IFeatureModel#query
method, are structured.Feature
instances, returned by the IFeatureModel#query
method, are structured.@NotNull public List<DataType> getFeatureTypes()
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.
IFeatureModel
.DataType