Enum Class ComplianceLevel

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

@VoDml(id="SSA:ComplianceLevel", role=enumeration) public enum ComplianceLevel extends Enum<ComplianceLevel>
The allowed values for indicating the level at which a service instance complies with the SSA 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 all of the capabilities and features of the SSA protocol identified as 'must' or 'should' in the specification.
    Value minimal : The service supports all of the capabilities and features of the SSA protocol identified as 'must' in the specification.
    Value query : The service supports all of the capabilities and features of the SSA protocol identified as 'must' in the specification, except that it does not support returning data in at least one SSA-compliant format.
  • 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

    • QUERY

      public static final ComplianceLevel QUERY
      Value query : The service supports all of the capabilities and features of the SSA protocol identified as 'must' in the specification, except that it does not support returning data in at least one SSA-compliant format. This level represents the lowest level of compliance.
    • MINIMAL

      public static final ComplianceLevel MINIMAL
      Value minimal : The service supports all of the capabilities and features of the SSA protocol identified as 'must' in the specification. In brief, this includes: implementing the GET interface, support the parameters POS, SIZE, TOME, BAND, and FORMAT includes all mandatory metadata fields in query response supports getData method retrieval in at least one SSA-compliant format supports the 'FORMAT=METADATA' metadata query. This level represents the middle level of compliance.
    • FULL

      public static final ComplianceLevel FULL
      Value full : The service supports all of the capabilities and features of the SSA protocol identified as 'must' or 'should' in the specification. This level represents the highest level of compliance.
  • 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