Package org.ivoa.dm.caom2
Enum Class CalibrationLevel
- All Implemented Interfaces:
Serializable,Comparable<CalibrationLevel>,Constable
@VoDml(id="caom2:CalibrationLevel",
role=enumeration)
public enum CalibrationLevel
extends Enum<CalibrationLevel>
This enumeration describes the degree to which data has been calibrated to remove
instrumental effects. odo{This is intended to be consistent with ObsCore but there is no way to
convey the integer value associated with each symbol}.
Enumeration CalibrationLevel :
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionValue ANALYSIS_PRODUCT : (4) A data product output from scientific analysis.Value CALIBRATED : (2) Standard calibration steps have been applied.Value PLANNED : (-1) A planned data product that does not yet exist.Value PRODUCT : (3) Additional non-standard calibration steps have been applied.Value RAW_INSTRUMENTAL : (0) Raw data in some opaque instrument-specific format.Value RAW_STANDARD : (1) Raw data in a standard format. -
Method Summary
Modifier and TypeMethodDescriptionstatic final CalibrationLevelReturn the CalibrationLevel 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 CalibrationLevelReturns the enum constant of this class with the specified name.static CalibrationLevel[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PLANNED
Value PLANNED : (-1) A planned data product that does not yet exist. -
RAW_INSTRUMENTAL
Value RAW_INSTRUMENTAL : (0) Raw data in some opaque instrument-specific format. -
RAW_STANDARD
Value RAW_STANDARD : (1) Raw data in a standard format. -
CALIBRATED
Value CALIBRATED : (2) Standard calibration steps have been applied. -
PRODUCT
Value PRODUCT : (3) Additional non-standard calibration steps have been applied. -
ANALYSIS_PRODUCT
Value ANALYSIS_PRODUCT : (4) A data product output from scientific analysis.
-
-
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<CalibrationLevel>- Returns:
- string representation of this enum constant (value)
- See Also:
-
fromValue
Return the CalibrationLevel enum constant corresponding to the given string representation (value)- Parameters:
v- string representation (value)- Returns:
- CalibrationLevel enum constant
- Throws:
IllegalArgumentException- if there is no matching enum constant
-