Package org.ivoa.dm.registry.voresource
Enum Class 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 ConstantsEnum ConstantDescriptionValue 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 TypeMethodDescriptionstatic final ValidationLevelReturn the ValidationLevel enum constant corresponding to the given string representation (value)final StringtoString()Return the string representation of this enum constant (value)final Stringvalue()Return the string representation of this enum constant (value)static ValidationLevelReturns the enum constant of this class with the specified name.static ValidationLevel[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DESCRIBED
Value described : = 0 The resource has a description that is stored in a registry. This level does not imply a compliant description. -
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
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
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
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
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
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 nameNullPointerException- if the argument is null
-
value
Return the string representation of this enum constant (value)- Returns:
- string representation of this enum constant (value)
-
toString
Return the string representation of this enum constant (value)- Overrides:
toStringin classEnum<ValidationLevel>- Returns:
- string representation of this enum constant (value)
- See Also:
-
fromValue
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
-