public interface IFeatureCollectionMetadata extends IFeatureMetadata
| Modifier and Type | Method and Description |
|---|---|
long |
getCount()
Returns the number of IFeatures contained in the IFeatureCollection
this metadata describes.
|
Envelope |
getDefaultView(String geometryAttributeName)
Indicates the default view for the specified geometry attribute.
|
String |
getDescription()
Contains a textual description of the IGenericFeature associated with this metadata.
|
Envelope |
getEnvelope(String geometryAttributeName)
For the specified geometry attribute, this method returns the Envelope of all feature geometry values in the
collection.
|
Metadata |
getMetadata()
Returns a Metadata object that can be used to associate additional,
arbitrary metadata with the feature collection.
|
Collection |
getNames()
A collection of names used to identify the feature.
|
GeometryType |
getPredominantGeometryType(String geometryAttributeName)
Returns the
GeometryType that is most predominant in the
feature collection, if known. |
MVL |
hasAreaGeometries(String geometryAttributeName)
Indicates if the feature collection contains any features with geometry values
for the specified attribute that are MultiPolygon, Rectangle, or other
region type geometries.
|
MVL |
hasLineGeometries(String geometryAttributeName)
Indicates if the feature collection contains any features with geometry values
for the specified attribute that are MultiCurve geometries.
|
MVL |
hasPointGeometries(String geometryAttributeName)
Indicates if the feature collection contains any features with geometry values
for the specified attribute that are Point or MultiPoint geometries.
|
MVL |
hasTextGeometries(String geometryAttributeName)
Indicates if the feature collection contains any features with geometry values
for the specified attribute that are LegacyText geometries.
|
boolean |
isCountKnown()
Indicates if the IFeatureCollection this metadata describes is able to determine
the number of IFeatures it contains.
|
boolean |
isPredominantGeometryTypeKnown(String geometryAttributeName)
Indicates if the specified geometry attribute has a known
predominant geometry type.
|
boolean |
supportsAdd()
Indicates if the feature collection supports the addition of new feature
instances.
|
boolean |
supportsRemove()
Indicates if the feature collection supports the removal of feature
instances.
|
getAttributeDefinitions, getPrimaryKeyMetadataCollection getNames()
Strings containing the names. The value may be
null or may be an empty collection if no names are defined.String getDescription()
boolean isCountKnown()
getCount method.true if the number of IFeatures contained by the
IFeatureCollection this metadata describes is known, false if not.IFeatureCollectionMetadata.getCount()long getCount()
UnsupportedOperationException - if the count is not known (check hasCount
before calling this method).Envelope getEnvelope(String geometryAttributeName)
geometryAttributeName - The attribute to calculate the envelope of.AttributeNotFoundException - if an attribute with the specified name is not found.IllegalArgumentException - if the attribute is not a geometry attribute.Envelope getDefaultView(String geometryAttributeName)
null or an
empty Envelope.geometryAttributeName - is the name of the geometry attribute for which
the default view will be obtained.Envelope which may be empty, or null.AttributeNotFoundException - if an attribute with the specified name is not found.IllegalArgumentException - if the attribute is not a geometry attribute.boolean isPredominantGeometryTypeKnown(String geometryAttributeName)
IFeatureCollectionMetadata.getPredominantGeometryType(java.lang.String) method.geometryAttributeName - is the name of the geometry attribute for which
the predominant geometry type is desired.true if the feature collection has a known
predominant geometry type, false otherwise.GeometryType getPredominantGeometryType(String geometryAttributeName)
GeometryType that is most predominant in the
feature collection, if known. If there is no predominant type, or if
the feature collection implementation does not support this determination,
the IFeatureCollectionMetadata.isPredominantGeometryTypeKnown(java.lang.String) method would return false.geometryAttributeName - is the name of the geometry attribute for which
the predominant geometry type will be determined.null if there is no predominant type
or the value is not known.MVL hasPointGeometries(String geometryAttributeName)
geometryAttributeName - is the name of the geometry attribute of interest.MVL hasLineGeometries(String geometryAttributeName)
geometryAttributeName - is the name of the geometry attribute of interest.MVL hasAreaGeometries(String geometryAttributeName)
geometryAttributeName - is the name of the geometry attribute of interest.MVL hasTextGeometries(String geometryAttributeName)
geometryAttributeName - is the name of the geometry attribute of interest.boolean supportsAdd()
true if the feature collection supports addition of
new feature instances; false otherwise.boolean supportsRemove()
true if the feature collection supports removal of
feature instances; false otherwise.Metadata getMetadata()
© 2007, 2022 Precisely. All rights reserved.