Package org.opengis.metadata
Interface ExtendedElementInformation
-
@UML(identifier="MD_ExtendedElementInformation", specification=ISO_19115) public interface ExtendedElementInformation
New metadata element, not found in ISO 19115, which is required to describe geographic data. Metadata elements are contained in a metadata extension information.- Since:
- 2.0
-
-
Method Summary
Modifier and Type Method Description InternationalStringgetCondition()Condition under which the extended element is mandatory.DatatypegetDataType()Code which identifies the kind of value provided in the extended element.InternationalStringgetDefinition()Definition of the extended element.default IntegergetDomainCode()Deprecated.Removed as of ISO 19115:2014.InternationalStringgetDomainValue()Valid values that can be assigned to the extended element.IntegergetMaximumOccurrence()Maximum occurrence of the extended element.StringgetName()Name of the extended metadata element.ObligationgetObligation()Obligation of the extended element.Collection<String>getParentEntity()Name of the metadata entity(s) under which this extended metadata element may appear.default InternationalStringgetRationale()Reason for creating the extended element.default Collection<? extends InternationalString>getRationales()Deprecated.As of ISO 19115:2014, replaced bygetRationale().InternationalStringgetRule()Specifies how the extended element relates to other existing elements and entities.default StringgetShortName()Deprecated.Removed as of ISO 19115:2014.Collection<? extends ResponsibleParty>getSources()Name of the person or organization creating the extended element.
-
-
-
Method Detail
-
getName
@UML(identifier="name", obligation=MANDATORY, specification=ISO_19115) String getName()
Name of the extended metadata element.- Returns:
- name of the extended metadata element.
Departure from OGC/ISO specification:
This property has been kept conform to ISO 19115:2003 for simplicity. The 2014 revision defines two mutually exclusive names depending on the data type:"conceptName"forENUMERATION,CODE_LISTorCODE_LIST_ELEMENT, and"name"for all other data types. GeoAPI keeps the"name"property for all data types and let developers inspect the"dataType"property if needed.
-
getShortName
@Deprecated @UML(identifier="shortName", obligation=CONDITIONAL, specification=ISO_19115, version=2003) default String getShortName()
Deprecated.Removed as of ISO 19115:2014.Short form suitable for use in an implementation method such as XML or SGML. Returnsnullif the data type is code list element, in which casegetDomainCode()may be used instead.- Returns:
- short form suitable for use in an implementation method such as XML or SGML,
or
null. - Condition:
- The data type is not
CODE_LIST_ELEMENT.
-
getDomainCode
@Deprecated @UML(identifier="domainCode", obligation=CONDITIONAL, specification=ISO_19115, version=2003) default Integer getDomainCode()
Deprecated.Removed as of ISO 19115:2014.Three digit code assigned to the extended element. Returns a non-null value only if the data type is code list element, otherwisegetShortName()may be used instead.- Returns:
- three digit code assigned to the extended element, or
null. - Condition:
- The data type is
CODE_LIST_ELEMENT.
-
getDefinition
@UML(identifier="definition", obligation=MANDATORY, specification=ISO_19115) InternationalString getDefinition()
Definition of the extended element.- Returns:
- definition of the extended element.
-
getObligation
@UML(identifier="obligation", obligation=CONDITIONAL, specification=ISO_19115) Obligation getObligation()
Obligation of the extended element.Upcoming API change — type change
According ISO 19115,Obligationshall be an enumeration, not a code list. Such enumeration already exists in theorg.opengis.annotationpackage. Consequently theorg.opengis.metadata.Obligationreturn type may be replaced byorg.opengis.annotation.Obligationin GeoAPI 4.0. See GEO-199 for more information.- Returns:
- obligation of the extended element, or
null. - Condition:
- The data type is not
ENUMERATION,CODE_LISTorCODE_LIST_ELEMENT.
-
getCondition
@UML(identifier="condition", obligation=CONDITIONAL, specification=ISO_19115) InternationalString getCondition()
Condition under which the extended element is mandatory. Returns a non-null value only if the obligation is conditional.- Returns:
- the condition under which the extended element is mandatory, or
null. - Condition:
- The Obligation is
CONDITIONAL.
-
getDataType
@UML(identifier="dataType", obligation=MANDATORY, specification=ISO_19115) Datatype getDataType()
Code which identifies the kind of value provided in the extended element.- Returns:
- the kind of value provided in the extended element.
-
getMaximumOccurrence
@UML(identifier="maximumOccurrence", obligation=CONDITIONAL, specification=ISO_19115) Integer getMaximumOccurrence()
Maximum occurrence of the extended element. Returnsnullif it doesn't apply, for example if the data type is enumeration, code list or code list element.- Returns:
- maximum occurrence of the extended element, or
null. - Condition:
- The data type is not
ENUMERATION,CODE_LISTorCODE_LIST_ELEMENT.
-
getDomainValue
@UML(identifier="domainValue", obligation=CONDITIONAL, specification=ISO_19115) InternationalString getDomainValue()
Valid values that can be assigned to the extended element. Returnsnullif it doesn't apply, for example if the data type is enumeration, code list or code list element.- Returns:
- valid values that can be assigned to the extended element, or
null. - Condition:
- The data type is not
ENUMERATION,CODE_LISTorCODE_LIST_ELEMENT.
-
getParentEntity
@UML(identifier="parentEntity", obligation=MANDATORY, specification=ISO_19115) Collection<String> getParentEntity()
Name of the metadata entity(s) under which this extended metadata element may appear. The name(s) may be standard metadata element(s) or other extended metadata element(s).- Returns:
- name of the metadata entity(s) under which this extended metadata element may appear.
-
getRule
@UML(identifier="rule", obligation=MANDATORY, specification=ISO_19115) InternationalString getRule()
Specifies how the extended element relates to other existing elements and entities.- Returns:
- how the extended element relates to other existing elements and entities.
-
getRationale
@UML(identifier="rationale", obligation=OPTIONAL, specification=ISO_19115) default InternationalString getRationale()
Reason for creating the extended element.- Returns:
- reason for creating the extended element.
- Since:
- 3.1
-
getRationales
@Deprecated default Collection<? extends InternationalString> getRationales()
Deprecated.As of ISO 19115:2014, replaced bygetRationale().- Returns:
- reason for creating the extended element.
-
getSources
@UML(identifier="source", obligation=MANDATORY, specification=ISO_19115, version=2003) Collection<? extends ResponsibleParty> getSources()
Name of the person or organization creating the extended element.Upcoming API change — generalization
As of ISO 19115:2014,ResponsiblePartyis replaced by theResponsibilityparent interface. This change may be applied in GeoAPI 4.0.- Returns:
- name of the person or organization creating the extended element.
-
-