Enum Class EndorsedVersion_use

java.lang.Object
java.lang.Enum<EndorsedVersion_use>
org.ivoa.dm.registry.standard.EndorsedVersion_use
All Implemented Interfaces:
Serializable, Comparable<EndorsedVersion_use>, Constable

@VoDml(id="StandardsRegExt:EndorsedVersion_use", role=enumeration) public enum EndorsedVersion_use extends Enum<EndorsedVersion_use>
. Enumeration EndorsedVersion_use :
  • Enum Constant Details

    • PREFERRED

      public static final EndorsedVersion_use PREFERRED
      Value preferred : the most preferred version. Only one version should have this designation.
    • DEPRECATED

      public static final EndorsedVersion_use DEPRECATED
      Value deprecated : a version whose use is now discouraged because a newer version is preferred.
  • Method Details

    • values

      public static EndorsedVersion_use[] 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 EndorsedVersion_use 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
    • value

      public final String value()
      Return the string representation of this enum constant (value)
      Returns:
      string representation of this enum constant (value)
    • toString

      public final String toString()
      Return the string representation of this enum constant (value)
      Overrides:
      toString in class Enum<EndorsedVersion_use>
      Returns:
      string representation of this enum constant (value)
      See Also:
    • fromValue

      public static final EndorsedVersion_use fromValue(String v)
      Return the EndorsedVersion_use enum constant corresponding to the given string representation (value)
      Parameters:
      v - string representation (value)
      Returns:
      EndorsedVersion_use enum constant
      Throws:
      IllegalArgumentException - if there is no matching enum constant