Package org.opengis.annotation
Set of annotations mapping GeoAPI
interfaces to Open Geospatial UML or XML schemas.
The most frequently used annotation is
UML
, which documents
the standard in which are defined the type or method, the original name of the element and
the obligation level of the type if other than the default mandatory level of obligation.
As an example, the annotation for the ProjectedCRS
interface appears in the source code as:
These annotations are available at runtime by Java introspection. This is useful, for example, when code needs to marshall data using the name defined by the ISO standard rather than the GeoAPI name.@UML(identifier = "SC_ProjectedCRS", specification = ISO_19111)
- Since:
- 2.0
-
Enum Summary Enum Description ComplianceLevel Deprecated. has never been used outside a few metadata classes, and core profile is not defined anymore in latest ISO 19115.Obligation Whether an element is mandatory, optional or have other obligation.Specification ISO/OGC specifications from which an interface, method, enumeration or code list was derived.Stereotype Type of modeling element as declared in the OGC/ISO UML diagram. -
Annotation Types Summary Annotation Type Description Classifier An annotation specifying the stereotype (abstract, datatype, union, etc.) of an interface.Profile Deprecated. has never been used outside a few metadata classes, and core profile is not defined anymore in latest ISO 19115.UML An annotation mapping each interface, methods or fields to the UML identifier where they come from.