org.eigenbase.sql.validate
Enum SqlMonikerType

java.lang.Object
  extended by java.lang.Enum<SqlMonikerType>
      extended by org.eigenbase.sql.validate.SqlMonikerType
All Implemented Interfaces:
Serializable, Comparable<SqlMonikerType>

public enum SqlMonikerType
extends Enum<SqlMonikerType>

An enumeration of moniker types.

Used in SqlMoniker.

Since:
May 24, 2005
Version:
$Id: //open/dev/farrago/src/org/eigenbase/sql/validate/SqlMonikerType.java#9 $
Author:
tleung

Enum Constant Summary
Column
           
Function
           
Keyword
           
Repository
           
Schema
           
Table
           
View
           
 
Method Summary
static SqlMonikerType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SqlMonikerType[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Column

public static final SqlMonikerType Column

Table

public static final SqlMonikerType Table

View

public static final SqlMonikerType View

Schema

public static final SqlMonikerType Schema

Repository

public static final SqlMonikerType Repository

Function

public static final SqlMonikerType Function

Keyword

public static final SqlMonikerType Keyword
Method Detail

values

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

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

valueOf

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