- All Superinterfaces:
Identification
@UML(identifier="MD_DataIdentification",
specification=ISO_19115)
public interface DataIdentification
extends Identification
Information required to identify a resource.
- Since:
- 2.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault Collection<CharacterSet>
Deprecated.default InternationalString
Description of the resource in the producer's processing environment, including items such as the software, the computer operating system, file name, and the dataset size.default Collection<Locale>
Deprecated.Replaced bygetLocalesAndCharsets().keySet()
.Language(s) and character set(s) used within the resource.default InternationalString
Any other descriptive information about the resource.Methods inherited from interface Identification
getAbstract, getAdditionalDocumentations, getAggregationInfo, getAssociatedResources, getCitation, getCredits, getDescriptiveKeywords, getExtents, getGraphicOverviews, getPointOfContacts, getProcessingLevel, getPurpose, getResourceConstraints, getResourceFormats, getResourceMaintenances, getResourceSpecificUsages, getSpatialRepresentationTypes, getSpatialResolutions, getStatus, getTemporalResolutions, getTopicCategories
-
Method Details
-
getLocalesAndCharsets
@Profile(level=CORE) @UML(identifier="defaultLocale+otherLocale", obligation=CONDITIONAL, specification=ISO_19115) default Map<Locale,Charset> getLocalesAndCharsets()Language(s) and character set(s) used within the resource. The first element in iteration order shall be the default language. All other elements, if any, are alternate language(s) used within the resource. 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 resource.
- Since:
- 3.1
- See Also:
- Departure from OGC/ISO abstract specification:
Departure 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.- Condition:
- Mandatory if language used in resource.
-
getLanguages
@Deprecated @UML(identifier="language", obligation=MANDATORY, specification=ISO_19115, version=2003) default Collection<Locale> getLanguages()Deprecated.Replaced bygetLocalesAndCharsets().keySet()
.Language(s) used within the resource.- Returns:
- language(s) used.
-
getCharacterSets
@Deprecated @UML(identifier="characterSet", obligation=CONDITIONAL, specification=ISO_19115, version=2003) default Collection<CharacterSet> getCharacterSets()Deprecated.Replaced bygetLocalesAndCharsets().values()
.The character coding standard(s) used for the dataset.Upcoming API change — JDK integration
As of ISO 19115:2014,CharacterSet
is replaced by a reference to the IANA Character Set register, which is represented in Java byCharset
. This change may be applied in GeoAPI 4.0.- Returns:
- the character coding standard(s) used.
-
getEnvironmentDescription
@UML(identifier="environmentDescription", obligation=OPTIONAL, specification=ISO_19115) default InternationalString getEnvironmentDescription()Description of the resource in the producer's processing environment, including items such as the software, the computer operating system, file name, and the dataset size.- Returns:
- description of the resource in the producer's processing environment, or
null
.
-
getSupplementalInformation
@UML(identifier="supplementalInformation", obligation=OPTIONAL, specification=ISO_19115) default InternationalString getSupplementalInformation()Any other descriptive information about the resource.- Returns:
- other descriptive information, or
null
.
-
getLocalesAndCharsets().values()
.