com.satline.expr
Enum ExpressionType

java.lang.Object
  extended by java.lang.Enum<ExpressionType>
      extended by com.satline.expr.ExpressionType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ExpressionType>

public enum ExpressionType
extends java.lang.Enum<ExpressionType>

Constants for data types.

Author:
Teubner

Enum Constant Summary
BOOLEAN
           
DATE
           
DATETIME
           
DECIMAL
           
ID
           
INTEGER
           
STRING
           
TIME
           
 
Method Summary
static ExpressionType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ExpressionType[] 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

INTEGER

public static final ExpressionType INTEGER

STRING

public static final ExpressionType STRING

DECIMAL

public static final ExpressionType DECIMAL

DATE

public static final ExpressionType DATE

TIME

public static final ExpressionType TIME

DATETIME

public static final ExpressionType DATETIME

ID

public static final ExpressionType ID

BOOLEAN

public static final ExpressionType BOOLEAN
Method Detail

values

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

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

valueOf

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


Copyright © 2007 null. All Rights Reserved.