Enum CsdlLogicalOrComparisonExpression.LogicalOrComparisonExpressionType
java.lang.Object
java.lang.Enum<CsdlLogicalOrComparisonExpression.LogicalOrComparisonExpressionType>
org.apache.olingo.commons.api.edm.provider.annotation.CsdlLogicalOrComparisonExpression.LogicalOrComparisonExpressionType
- All Implemented Interfaces:
Serializable
,Comparable<CsdlLogicalOrComparisonExpression.LogicalOrComparisonExpressionType>
,java.lang.constant.Constable
- Enclosing class:
- CsdlLogicalOrComparisonExpression
public static enum CsdlLogicalOrComparisonExpression.LogicalOrComparisonExpressionType
extends Enum<CsdlLogicalOrComparisonExpression.LogicalOrComparisonExpressionType>
Type of the constant expression
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionType Edm.And must have two operands which must evaluate to a boolean valueType Edm.Eq must have two operands which must evaluate to a boolean valueType Edm.Ge must have two operands which must evaluate to a boolean valueType Edm.Gt must have two operands which must evaluate to a boolean valueType Edm.Le must have two operands which must evaluate to a boolean valueType Edm.Lt must have two operands which must evaluate to a boolean valueType Edm.Ne must have two operands which must evaluate to a boolean valueType Edm.Or must have one operandType Edm.Or must have two operands which must evaluate to a boolean value -
Method Summary
Modifier and TypeMethodDescriptionfromString
(String value) Creates a new type by a given string e.g.Returns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
And
Type Edm.And must have two operands which must evaluate to a boolean value -
Or
Type Edm.Or must have two operands which must evaluate to a boolean value -
Not
Type Edm.Or must have one operand -
Eq
Type Edm.Eq must have two operands which must evaluate to a boolean value -
Ne
Type Edm.Ne must have two operands which must evaluate to a boolean value -
Gt
Type Edm.Gt must have two operands which must evaluate to a boolean value -
Ge
Type Edm.Ge must have two operands which must evaluate to a boolean value -
Lt
Type Edm.Lt must have two operands which must evaluate to a boolean value -
Le
Type Edm.Le must have two operands which must evaluate to a boolean value
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CsdlLogicalOrComparisonExpression.LogicalOrComparisonExpressionType 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
-
fromString
public static CsdlLogicalOrComparisonExpression.LogicalOrComparisonExpressionType fromString(String value) Creates a new type by a given string e.g. "And". Will NOT throw an IlligalArgumentException for invalid types. If needed use the valueOf method.- Parameters:
value
- Type as string- Returns:
- Type type
-