org.plasma.query.model
Enum FunctionValues

java.lang.Object
  extended by java.lang.Enum<FunctionValues>
      extended by org.plasma.query.model.FunctionValues
All Implemented Interfaces:
Serializable, Comparable<FunctionValues>

public enum FunctionValues
extends Enum<FunctionValues>

Java class for FunctionValues.


Enum Constant Summary
ABS
           
AVG
           
CEILING
           
DAY_FROM_DATE
           
FLOOR
           
LOWER_CASE
           
MAX
           
MIN
           
MONTH_FROM_DATE
           
NORMALIZE_SPACE
           
ROUND
           
SUBSTRING_AFTER
           
SUBSTRING_BEFORE
           
SUM
           
UPPER_CASE
           
YEAR_FROM_DATE
           
 
Method Summary
static FunctionValues fromValue(String v)
           
 String value()
           
static FunctionValues valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FunctionValues[] 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

MIN

public static final FunctionValues MIN

MAX

public static final FunctionValues MAX

AVG

public static final FunctionValues AVG

SUM

public static final FunctionValues SUM

ABS

public static final FunctionValues ABS

CEILING

public static final FunctionValues CEILING

FLOOR

public static final FunctionValues FLOOR

ROUND

public static final FunctionValues ROUND

SUBSTRING_BEFORE

public static final FunctionValues SUBSTRING_BEFORE

SUBSTRING_AFTER

public static final FunctionValues SUBSTRING_AFTER

NORMALIZE_SPACE

public static final FunctionValues NORMALIZE_SPACE

UPPER_CASE

public static final FunctionValues UPPER_CASE

LOWER_CASE

public static final FunctionValues LOWER_CASE

YEAR_FROM_DATE

public static final FunctionValues YEAR_FROM_DATE

MONTH_FROM_DATE

public static final FunctionValues MONTH_FROM_DATE

DAY_FROM_DATE

public static final FunctionValues DAY_FROM_DATE
Method Detail

values

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

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

valueOf

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

value

public String value()

fromValue

public static FunctionValues fromValue(String v)


Copyright © 2014. All rights reserved.