Enum Class ValidationLevel

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

@VoDml(id="VOResource:ValidationLevel", role=enumeration) public enum ValidationLevel extends Enum<ValidationLevel>
The allowed values for describing the resource descriptions and interfaces. See the RM (v1.1, section 4) for more guidance on the use of these values. Enumeration ValidationLevel :
  • 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 compliant : =2 In addition to meeting the level 1 definition, the resource description refers to an existing resource that has demonstrated to be functionally compliant.
    Value described : = 0 The resource has a description that is stored in a registry.
    Value inspected : = 3 In addition to meeting the level 2 definition, the resource description has been inspected by a human and judged to comply semantically to this standard as well as meeting any additional minimum quality criteria (e.g., providing values for important but non-required metadata) set by the human inspector.
    Value interoperable : = 4 In addition to meeting the level 3 definition, the resource description meets additional quality criteria set by the human inspector and is therefore considered an excellent description of the resource.
    Value valid : = 1 In addition to meeting the level 0 definition, the resource description conforms syntactically to this standard and to the encoding scheme used.
  • Method Summary

    Modifier and Type
    Method
    Description
    static final ValidationLevel
    Return the ValidationLevel 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

    • DESCRIBED

      public static final ValidationLevel DESCRIBED
      Value described : = 0 The resource has a description that is stored in a registry. This level does not imply a compliant description.
    • VALID

      public static final ValidationLevel VALID
      Value valid : = 1 In addition to meeting the level 0 definition, the resource description conforms syntactically to this standard and to the encoding scheme used.
    • COMPLIANT

      public static final ValidationLevel COMPLIANT
      Value compliant : =2 In addition to meeting the level 1 definition, the resource description refers to an existing resource that has demonstrated to be functionally compliant. When the resource is a service, it is considered to exist and functionally compliant if use of the service accessURL responds without error when used as intended by the resource. If the service is a standard one, it must also demonstrate the response is syntactically compliant with the service standard in order to be considered functionally compliant. If the resource is not a service, then the ReferenceURL must be shown to return a document without error.
    • INSPECTED

      public static final ValidationLevel INSPECTED
      Value inspected : = 3 In addition to meeting the level 2 definition, the resource description has been inspected by a human and judged to comply semantically to this standard as well as meeting any additional minimum quality criteria (e.g., providing values for important but non-required metadata) set by the human inspector.
    • INTEROPERABLE

      public static final ValidationLevel INTEROPERABLE
      Value interoperable : = 4 In addition to meeting the level 3 definition, the resource description meets additional quality criteria set by the human inspector and is therefore considered an excellent description of the resource. Consequently, the resource is expected to operate well as part of a VO application or research study.
  • Method Details

    • values

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

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