Module org.opengis.geoapi
Package org.opengis.metadata.content
Interface FeatureCatalogueDescription
- All Superinterfaces:
ContentInformation
@UML(identifier="MD_FeatureCatalogueDescription",
specification=ISO_19115)
public interface FeatureCatalogueDescription
extends ContentInformation
Information identifying the feature catalogue or the conceptual schema.
- Since:
- 2.0
-
Method Summary
Modifier and TypeMethodDescriptionCollection
<? extends Citation> Complete bibliographic reference to one or more external feature catalogues.default Collection
<? extends FeatureTypeInfo> Subset of feature types from cited feature catalogue occurring in resource and count of feature instances.default Collection
<? extends GenericName> Deprecated.default Collection
<Locale> Deprecated.Replaced bygetLocalesAndCharsets().keySet()
.Language(s) and character set(s) used within the catalogue.default Boolean
Indication of whether or not the cited feature catalogue complies with ISO 19110.default boolean
Indication of whether or not the feature catalogue is included with the resource.
-
Method Details
-
isCompliant
@UML(identifier="complianceCode", obligation=OPTIONAL, specification=ISO_19115) default Boolean isCompliant()Indication of whether or not the cited feature catalogue complies with ISO 19110. This value is optional, and therefore may be null.- Returns:
- whether or not the cited feature catalogue complies with ISO 19110, or
null
.
-
getLocalesAndCharsets
@UML(identifier="locale", obligation=OPTIONAL, specification=ISO_19115) default Map<Locale,Charset> getLocalesAndCharsets()Language(s) and character set(s) used within the catalogue. Note that contrarily to thePT_Locale
object defined by ISO 19115:2014, thejava.util.Locale
object does not contain character encoding information. The character set information is stored in separated objects, associated to locales through entries in the map.XML representation
XML documents shall format languages using the ISO 639-2 language code as returned byLocale.getISO3Language()
. Character sets shall be referenced by name from the IANA Character Set register.- Returns:
- language(s) and character set(s) used within the catalogue.
- Since:
- 3.1
- See Also:
Departure from OGC/ISO standard for closer integration with the Java environment
GeoAPI replaces ISO 19115:2014LanguageCode
,CountryCode
andMD_CharacterSetCode
code lists by equivalent objects from the standard Java library. Seeorg.opengis.metadata.Metadata#getLocalesAndCharsets()
for more information. -
getLanguages
@Deprecated(since="3.1") @UML(identifier="language", obligation=OPTIONAL, specification=ISO_19115, version=2003) default Collection<Locale> getLanguages()Deprecated.Replaced bygetLocalesAndCharsets().keySet()
.Language(s) used within the catalogue.- Returns:
- language(s) used within the catalogue.
-
isIncludedWithDataset
@UML(identifier="includedWithDataset", obligation=OPTIONAL, specification=ISO_19115) default boolean isIncludedWithDataset()Indication of whether or not the feature catalogue is included with the resource.- Returns:
- whether or not the feature catalogue is included with the resource.
-
getFeatureTypeInfo
@UML(identifier="featureTypes", obligation=OPTIONAL, specification=ISO_19115) default Collection<? extends FeatureTypeInfo> getFeatureTypeInfo()Subset of feature types from cited feature catalogue occurring in resource and count of feature instances.- Returns:
- subset of feature types occurring in resource.
- Since:
- 3.1
- Avoid name collision with the ISO 19115:2003 definition of "
featureTypes
". - Avoid confusion between
FeatureTypeInfo
andorg.opengis.feature.FeatureType
. AgetFeatureTypes()
method name would suggest that the collection contains the latter.
Departure from OGC/ISO standard in the name
Renamed from "featureTypes
" to "featureTypeInfo
" for the following reasons: -
getFeatureTypes
Deprecated.As of ISO 19115:2014, replaced bygetFeatureTypeInfo()
.Names of the feature types.- Returns:
- names of the feature types.
-
getFeatureCatalogueCitations
@UML(identifier="featureCatalogueCitation", obligation=CONDITIONAL, specification=ISO_19115) Collection<? extends Citation> getFeatureCatalogueCitations()Complete bibliographic reference to one or more external feature catalogues.- Returns:
- bibliographic reference to one or more external feature catalogues.
- Condition:
- Mandatory if the feature catalogue is not included with resource
and
FeatureCatalogue
is not provided.
-
getFeatureTypeInfo()
.