Package cern.nxcals.api.domain
Enum Class VariableDeclaredType
- All Implemented Interfaces:
Serializable,Comparable<VariableDeclaredType>,Constable
This enum represents a declared type on a variable which is desired by the user.
It is used for searching for variables that have that type set.
It is not used for any validation if the actual configuration on the variable (like mapping to entity, fields or schema types) match the declared type.
We can consider it more like an additional naming label (together with Unit and Description).
It was introduced to allow more backwards compatibility with the old CALS API.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic VariableDeclaredTypeReturns the enum constant of this class with the specified name.static VariableDeclaredType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NUMERIC
-
NUMERIC_STATUS
-
TEXT
-
VECTOR_NUMERIC
-
FUNDAMENTAL
-
VECTOR_STRING
-
MATRIX_NUMERIC
-
-
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
-