org.apache.camel.language.simple
Enum SimpleLangaugeOperator

java.lang.Object
  extended by java.lang.Enum<SimpleLangaugeOperator>
      extended by org.apache.camel.language.simple.SimpleLangaugeOperator
All Implemented Interfaces:
Serializable, Comparable<SimpleLangaugeOperator>

public enum SimpleLangaugeOperator
extends Enum<SimpleLangaugeOperator>

Operators supported by simple language


Enum Constant Summary
CONTAINS
           
EQ
           
GT
           
GTE
           
IN
           
LT
           
LTE
           
NOT
           
NOT_CONTAINS
           
NOT_IN
           
NOT_REGEX
           
REGEX
           
 
Method Summary
static SimpleLangaugeOperator asOperator(String text)
           
 String getOperatorText(SimpleLangaugeOperator operator)
           
 String toString()
           
static SimpleLangaugeOperator valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SimpleLangaugeOperator[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

EQ

public static final SimpleLangaugeOperator EQ

GT

public static final SimpleLangaugeOperator GT

GTE

public static final SimpleLangaugeOperator GTE

LT

public static final SimpleLangaugeOperator LT

LTE

public static final SimpleLangaugeOperator LTE

NOT

public static final SimpleLangaugeOperator NOT

CONTAINS

public static final SimpleLangaugeOperator CONTAINS

NOT_CONTAINS

public static final SimpleLangaugeOperator NOT_CONTAINS

REGEX

public static final SimpleLangaugeOperator REGEX

NOT_REGEX

public static final SimpleLangaugeOperator NOT_REGEX

IN

public static final SimpleLangaugeOperator IN

NOT_IN

public static final SimpleLangaugeOperator NOT_IN
Method Detail

values

public static final SimpleLangaugeOperator[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(SimpleLangaugeOperator c : SimpleLangaugeOperator.values())
        System.out.println(c);

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

valueOf

public static SimpleLangaugeOperator 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

asOperator

public static SimpleLangaugeOperator asOperator(String text)

getOperatorText

public String getOperatorText(SimpleLangaugeOperator operator)

toString

public String toString()
Overrides:
toString in class Enum<SimpleLangaugeOperator>


Copyright © 2009 Apache Software Foundation. All Rights Reserved.