Package org.opengis.annotation


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:
@UML(identifier = "SC_ProjectedCRS",
     specification = ISO_19111)
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.
Since:
2.0
  • Class
    Description
    An annotation specifying the stereotype (abstract, datatype, union, etc.) of an interface.
    Deprecated.
    has never been used outside a few metadata classes, and core profile is not defined anymore in latest ISO 19115.
    Whether an element is mandatory, optional or have other obligation.
    Deprecated.
    has never been used outside a few metadata classes, and core profile is not defined anymore in latest ISO 19115.
    ISO/OGC specifications from which an interface, method, enumeration or code list was derived.
    Type of modeling element as declared in the OGC/ISO UML diagram.
    An annotation mapping each interface, methods or fields to the UML identifier where they come from.