com.simba.dsi.dataengine.utilities
Enum OrderType

java.lang.Object
  extended by java.lang.Enum<OrderType>
      extended by com.simba.dsi.dataengine.utilities.OrderType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<OrderType>

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

Defines the different orders that can be applied to metadata result sets.


Enum Constant Summary
JDBC_4
          Indicates that the order applied is the one defined by JDBC 4.0.
JDBC_41
          Indicates that the order applied is the one defined by JDBC 4.1.
JDBC_42
          Indicates that the order applied is the one defined by JDBC 4.2.
NONE
          Indicates that no order will be applied to the metadata result set.
ODBC
          Indicates that the order applied is the one defined by ODBC.
 
Method Summary
static OrderType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static OrderType[] 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

JDBC_4

public static final OrderType JDBC_4
Indicates that the order applied is the one defined by JDBC 4.0.


JDBC_41

public static final OrderType JDBC_41
Indicates that the order applied is the one defined by JDBC 4.1.


JDBC_42

public static final OrderType JDBC_42
Indicates that the order applied is the one defined by JDBC 4.2.


ODBC

public static final OrderType ODBC
Indicates that the order applied is the one defined by ODBC.


NONE

public static final OrderType NONE
Indicates that no order will be applied to the metadata result set.

Method Detail

values

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

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

valueOf

public static OrderType 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 © 2006-2014 Simba Technologies Incorporated. All Rights Reserved.