Package es.bsc.dataclay.util.filtering
Enum Condition.ConditionValueType
- java.lang.Object
-
- java.lang.Enum<Condition.ConditionValueType>
-
- es.bsc.dataclay.util.filtering.Condition.ConditionValueType
-
- All Implemented Interfaces:
Serializable
,Comparable<Condition.ConditionValueType>
- Enclosing class:
- Condition
public static enum Condition.ConditionValueType extends Enum<Condition.ConditionValueType>
Accepted types for condition attributes.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOLEAN
BOOLEANCLASS
DATE
DOUBLE
DOUBLECLASS
FLOAT
FLOATCLASS
ID
INT
INTCLASS
LONG
LONGCLASS
SHORT
SHORTCLASS
STRING
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Condition.ConditionValueType
fromClass(Class checktype)
Method that returns the enum value corresponding to given type.static Condition.ConditionValueType
valueOf(String name)
Returns the enum constant of this type with the specified name.static Condition.ConditionValueType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INT
public static final Condition.ConditionValueType INT
-
SHORT
public static final Condition.ConditionValueType SHORT
-
LONG
public static final Condition.ConditionValueType LONG
-
FLOAT
public static final Condition.ConditionValueType FLOAT
-
DOUBLE
public static final Condition.ConditionValueType DOUBLE
-
BOOLEAN
public static final Condition.ConditionValueType BOOLEAN
-
INTCLASS
public static final Condition.ConditionValueType INTCLASS
-
LONGCLASS
public static final Condition.ConditionValueType LONGCLASS
-
SHORTCLASS
public static final Condition.ConditionValueType SHORTCLASS
-
FLOATCLASS
public static final Condition.ConditionValueType FLOATCLASS
-
DOUBLECLASS
public static final Condition.ConditionValueType DOUBLECLASS
-
BOOLEANCLASS
public static final Condition.ConditionValueType BOOLEANCLASS
-
STRING
public static final Condition.ConditionValueType STRING
-
DATE
public static final Condition.ConditionValueType DATE
-
ID
public static final Condition.ConditionValueType ID
-
-
Method Detail
-
values
public static Condition.ConditionValueType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Condition.ConditionValueType c : Condition.ConditionValueType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Condition.ConditionValueType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
fromClass
public static Condition.ConditionValueType fromClass(Class checktype)
Method that returns the enum value corresponding to given type.- Parameters:
checktype
- type to be considered.- Returns:
- enum value corresponding to given type.
- Throws:
DataClayException
- if the class is not supported.
-
-