Enum Class Stereotype

Object
Enum<Stereotype>
Stereotype
All Implemented Interfaces:
Serializable, Comparable<Stereotype>, Constable

public enum Stereotype extends Enum<Stereotype>
Type of modeling element as declared in the OGC/ISO UML diagram. Values of this enumeration are associated to GeoAPI interfaces by the Classifier annotation.

This enumeration is closely related to the ISO 19115 Datatype code list, but not identical since ISO 19115 specifies datatype and stereotype as two distinct information. Furthermore, Stereotype needs to be defined as an Enum for allowing usages in Java annotations

This enumeration does not include the code list and enumeration stereotypes, because instances of those types are identified by the CodeList and Enum base classes respectively.

Since:
3.1
See Also:
  • Enum Constant Details

    • TYPE

      public static final Stereotype TYPE
      Class that specifies a domain of objects together with the operations applicable to the objects, without defining the physical implementation of those objects.

      This is the default value for interfaces without Classifier annotation.

      See Also:
    • DATATYPE

      public static final Stereotype DATATYPE
      Encapsulation of data, as opposed to taxonomic or behavioural descriptions. Data types may not have an identity of their own and are usually aggregated into some sort of container such as being an attribute in another class.
      See Also:
    • ABSTRACT

      public static final Stereotype ABSTRACT
      Root class for a structural polymorphism. Abstract types are not directly instantiable.
      See Also:
    • UNION

      public static final Stereotype UNION
      Type consisting of one and only one of several alternatives (listed as member attributes).
      See Also:
    • METACLASS

      public static final Stereotype METACLASS
      Class whose instances are classes.
      See Also:
  • Method Details

    • values

      public static Stereotype[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Stereotype valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null