org.sqlproc.engine.impl
Enum SqlInputValue.Case

java.lang.Object
  extended by java.lang.Enum<SqlInputValue.Case>
      extended by org.sqlproc.engine.impl.SqlInputValue.Case
All Implemented Interfaces:
Serializable, Comparable<SqlInputValue.Case>
Enclosing class:
SqlInputValue

static enum SqlInputValue.Case
extends Enum<SqlInputValue.Case>

Enumeration for no/upper/lower case conversion. This is done on dynamic/static input values.


Enum Constant Summary
LOWER
          Lower case conversion.
NONE
          No case conversion.
UPPER
          Upper case conversion.
 
Method Summary
static SqlInputValue.Case valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SqlInputValue.Case[] 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

NONE

public static final SqlInputValue.Case NONE
No case conversion.


UPPER

public static final SqlInputValue.Case UPPER
Upper case conversion.


LOWER

public static final SqlInputValue.Case LOWER
Lower case conversion.

Method Detail

values

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

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

valueOf

public static SqlInputValue.Case 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


Copyright © 2011. All Rights Reserved.