org.ofbiz.entity.condition
Enum EntityFunction.SQLFunction

java.lang.Object
  extended by java.lang.Enum<EntityFunction.SQLFunction>
      extended by org.ofbiz.entity.condition.EntityFunction.SQLFunction
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EntityFunction.SQLFunction>
Enclosing class:
EntityFunction<T extends java.lang.Comparable>

public static enum EntityFunction.SQLFunction
extends java.lang.Enum<EntityFunction.SQLFunction>


Enum Constant Summary
LENGTH
           
LOWER
           
TRIM
           
UPPER
           
 
Method Summary
abstract
<T extends java.lang.Comparable>
EntityFunction<T>
createFunction(EntityConditionValue nested)
           
abstract
<T extends java.lang.Comparable>
EntityFunction<T>
createFunction(java.lang.Object value)
           
static EntityFunction.SQLFunction valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EntityFunction.SQLFunction[] 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

LENGTH

public static final EntityFunction.SQLFunction LENGTH

TRIM

public static final EntityFunction.SQLFunction TRIM

UPPER

public static final EntityFunction.SQLFunction UPPER

LOWER

public static final EntityFunction.SQLFunction LOWER
Method Detail

values

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

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

valueOf

public static EntityFunction.SQLFunction valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

createFunction

public abstract <T extends java.lang.Comparable> EntityFunction<T> createFunction(EntityConditionValue nested)

createFunction

public abstract <T extends java.lang.Comparable> EntityFunction<T> createFunction(java.lang.Object value)