Enum Class ConditionalOperator
java.lang.Object
java.lang.Enum<ConditionalOperator>
com.samupert.univpm.eurostat.filtering.operator.ConditionalOperator
- All Implemented Interfaces:
Operator
,Serializable
,Comparable<ConditionalOperator>
,Constable
Represents the conditional operators that can be used in the filtering process.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionConditional operator enum for the $cn operator.Conditional operator enum for the $ncn operator.Conditional operator enum for the $eq operator.Conditional operator enum for the $gt operator.Conditional operator enum for the $gte operator.Conditional operator enum for the $in operator.Conditional operator enum for the $lt operator.Conditional operator enum for the $lte operator.Conditional operator enum for the $neq operator.Conditional operator enum for the $nin operator. -
Method Summary
Modifier and TypeMethodDescriptionGets the operator type.toString()
static ConditionalOperator
Returns the enum constant of this class with the specified name.static ConditionalOperator[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IN_ARRAY
Conditional operator enum for the $in operator. -
NOT_IN_ARRAY
Conditional operator enum for the $nin operator. -
CONTAINS
Conditional operator enum for the $cn operator. -
DOES_NOT_CONTAIN
Conditional operator enum for the $ncn operator. -
EQUAL
Conditional operator enum for the $eq operator. -
NOT_EQUAL
Conditional operator enum for the $neq operator. -
GREATER_THAN
Conditional operator enum for the $gt operator. -
GREATER_THAN_EQUAL
Conditional operator enum for the $gte operator. -
LESS_THAN
Conditional operator enum for the $lt operator. -
LESS_THAN_EQUAL
Conditional operator enum for the $lte operator.
-
-
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
-
toString
- Overrides:
toString
in classEnum<ConditionalOperator>
-
getOperatorType
Description copied from interface:Operator
Gets the operator type. SeeOperatorType
.- Specified by:
getOperatorType
in interfaceOperator
- Returns:
- The operator type.
-