Interface ControlledVocabulary

    • Method Detail

      • name

        String name()
        Returns the name of this enumeration constant or code list value.
        Returns:
        the name of this enumeration constant or code list value.
      • names

        String[] names()
        Returns all the names of this constant. The returned array contains the following elements, with duplicated values and null values removed:
        Returns:
        all names of this constant. This array is never null and never empty.
      • identifier

        String identifier()
        Returns the identifier declared in the UML annotation, or null if none. The UML identifier shall be the ISO or OGC name for this enumeration or code list constant.
        Returns:
        the ISO/OGC identifier for this constant, or null if none.
      • ordinal

        int ordinal()
        Returns the ordinal of this constant. This is its position in its elements declaration, where the initial constant is assigned an ordinal of zero.
        Returns:
        the position of this constants in elements declaration.
      • family

        ControlledVocabulary[] family()
        Returns the enumeration or list of codes of the same kind than this item. Invoking this method gives identical results than invoking the static values() methods provided in Enum and CodeList subclasses, except that family() does not require the class to be known at compile-time — provided that at leat one instance of the family is available.
        Returns:
        the enumeration or list of codes of the same kind than this item.