org.apache.camel.language.simple.types
Enum BinaryOperatorType.ParameterType

java.lang.Object
  extended by java.lang.Enum<BinaryOperatorType.ParameterType>
      extended by org.apache.camel.language.simple.types.BinaryOperatorType.ParameterType
All Implemented Interfaces:
Serializable, Comparable<BinaryOperatorType.ParameterType>
Enclosing class:
BinaryOperatorType

public static enum BinaryOperatorType.ParameterType
extends Enum<BinaryOperatorType.ParameterType>

Parameter types a binary operator supports on the right hand side.


Enum Constant Summary
BooleanValue
           
Function
           
Literal
           
LiteralWithFunction
           
NullValue
           
NumericValue
           
 
Method Summary
 boolean isBooleanValueSupported()
           
 boolean isFunctionSupport()
           
 boolean isLiteralSupported()
           
 boolean isLiteralWithFunctionSupport()
           
 boolean isNullValueSupported()
           
 boolean isNumericValueSupported()
           
static BinaryOperatorType.ParameterType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static BinaryOperatorType.ParameterType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Literal

public static final BinaryOperatorType.ParameterType Literal

LiteralWithFunction

public static final BinaryOperatorType.ParameterType LiteralWithFunction

Function

public static final BinaryOperatorType.ParameterType Function

NumericValue

public static final BinaryOperatorType.ParameterType NumericValue

BooleanValue

public static final BinaryOperatorType.ParameterType BooleanValue

NullValue

public static final BinaryOperatorType.ParameterType NullValue
Method Detail

values

public static BinaryOperatorType.ParameterType[] 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 (BinaryOperatorType.ParameterType c : BinaryOperatorType.ParameterType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static BinaryOperatorType.ParameterType 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 name
NullPointerException - if the argument is null

isLiteralSupported

public boolean isLiteralSupported()

isLiteralWithFunctionSupport

public boolean isLiteralWithFunctionSupport()

isFunctionSupport

public boolean isFunctionSupport()

isNumericValueSupported

public boolean isNumericValueSupported()

isBooleanValueSupported

public boolean isBooleanValueSupported()

isNullValueSupported

public boolean isNullValueSupported()


Apache Camel