Enum Class ComplianceLevel

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

@VoDml(id="SLAP:ComplianceLevel", role=enumeration) public enum ComplianceLevel extends Enum<ComplianceLevel>
The allowed values for indicating the level at which a service instance complies with the SLAP standard. Enumeration ComplianceLevel :
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Value full : The service supports, at a minimum, all of the capabilities and features of the SLAP protocol identified as 'must' or 'should' in the specification.
    Value minimal : The service supports all of the capabilities and features of the SLAP protocol identified as 'must' in the specification.
  • Method Summary

    Modifier and Type
    Method
    Description
    static final ComplianceLevel
    Return the ComplianceLevel enum constant corresponding to the given string representation (value)
    final String
    Return the string representation of this enum constant (value)
    final String
    Return the string representation of this enum constant (value)
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • MINIMAL

      public static final ComplianceLevel MINIMAL
      Value minimal : The service supports all of the capabilities and features of the SLAP protocol identified as 'must' in the specification. In brief, this includes: implementing the GET interface, WAVELENGTH, REQUEST for input query, ssldm:Line.wavelength.value and ssldm:Line.title for output fields supports the 'FORMAT=METADATA' metadata query.
    • FULL

      public static final ComplianceLevel FULL
      Value full : The service supports, at a minimum, all of the capabilities and features of the SLAP protocol identified as 'must' or 'should' in the specification.
  • Method Details

    • values

      public static ComplianceLevel[] 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 ComplianceLevel 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<ComplianceLevel>
      Returns:
      string representation of this enum constant (value)
      See Also:
    • fromValue

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