Class UnsupportedCodeList

java.lang.Object
org.opengis.util.CodeList<UnsupportedCodeList>
org.apache.sis.internal.geoapi.evolution.UnsupportedCodeList
All Implemented Interfaces:
Serializable, Comparable<UnsupportedCodeList>

public final class UnsupportedCodeList extends org.opengis.util.CodeList<UnsupportedCodeList>
Placeholder for code list not yet available in GeoAPI. Currently defines constants mostly for org.opengis.metadata.citation.TelephoneType, but constants for other code list can be constructed like below:
Since:
0.5
Version:
1.0
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.opengis.util.CodeList

    org.opengis.util.CodeList.Filter
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.opengis.util.CodeList<?>
    A frequently used code list element.
    private static final long
    For cross-version compatibility.
    private static final List<UnsupportedCodeList>
    The list of constants defined in this code list.
    static final org.opengis.util.CodeList<?>
    A frequently used code list element.
    static final org.opengis.util.CodeList<?>
    A frequently used code list element.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
    Constructor for new code list element.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the list of codes of the same kind than this code list element.
    Returns the telephone type that matches the given string, or returns a new one if none match it.

    Methods inherited from class org.opengis.util.CodeList

    compareTo, equals, identifier, name, names, ordinal, readResolve, toString, valueOf, valueOf

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      For cross-version compatibility.
      See Also:
    • VALUES

      private static final List<UnsupportedCodeList> VALUES
      The list of constants defined in this code list.
    • VOICE

      @UML(identifier="voice", obligation=CONDITIONAL, specification=ISO_19115) public static final org.opengis.util.CodeList<?> VOICE
      A frequently used code list element.
    • FACSIMILE

      @UML(identifier="facsimile", obligation=CONDITIONAL, specification=ISO_19115) public static final org.opengis.util.CodeList<?> FACSIMILE
      A frequently used code list element.
    • WEB_SERVICES

      @UML(identifier="WebServices", obligation=CONDITIONAL, specification=ISO_19115) public static final org.opengis.util.CodeList<?> WEB_SERVICES
      A frequently used code list element.
  • Constructor Details

    • UnsupportedCodeList

      private UnsupportedCodeList(String name)
      Constructor for new code list element.
      Parameters:
      name - The code list name.
  • Method Details

    • family

      public UnsupportedCodeList[] family()
      Returns the list of codes of the same kind than this code list element.
      Specified by:
      family in class org.opengis.util.CodeList<UnsupportedCodeList>
      Returns:
      All code values for this code list.
    • valueOf

      public static UnsupportedCodeList valueOf(String code)
      Returns the telephone type that matches the given string, or returns a new one if none match it.
      Parameters:
      code - The name of the code to fetch or to create.
      Returns:
      A code matching the given name.