net.sourceforge.squirrel_sql.plugins.hibernate
Enum HqlResultPanel.UseConnectionOf

java.lang.Object
  extended by java.lang.Enum<HqlResultPanel.UseConnectionOf>
      extended by net.sourceforge.squirrel_sql.plugins.hibernate.HqlResultPanel.UseConnectionOf
All Implemented Interfaces:
Serializable, Comparable<HqlResultPanel.UseConnectionOf>
Enclosing class:
HqlResultPanel

public static enum HqlResultPanel.UseConnectionOf
extends Enum<HqlResultPanel.UseConnectionOf>


Enum Constant Summary
OF_HIBBERNAT_CONFIG
           
OF_SESSION
           
 
Method Summary
static HqlResultPanel.UseConnectionOf getByOrdinal(int ordinal)
           
 String toString()
           
static HqlResultPanel.UseConnectionOf valueOf(String name)
          Returns the enum constant of this type with the specified name.
static HqlResultPanel.UseConnectionOf[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

OF_SESSION

public static final HqlResultPanel.UseConnectionOf OF_SESSION

OF_HIBBERNAT_CONFIG

public static final HqlResultPanel.UseConnectionOf OF_HIBBERNAT_CONFIG
Method Detail

values

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

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

valueOf

public static HqlResultPanel.UseConnectionOf 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

toString

public String toString()
Overrides:
toString in class Enum<HqlResultPanel.UseConnectionOf>

getByOrdinal

public static HqlResultPanel.UseConnectionOf getByOrdinal(int ordinal)


Copyright © 2001-2012. All Rights Reserved.