net.sourceforge.squirrel_sql.plugins.hibernate
Enum HqlResultPanel.UseConnectionOf
java.lang.Object
java.lang.Enum<HqlResultPanel.UseConnectionOf>
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>
OF_SESSION
public static final HqlResultPanel.UseConnectionOf OF_SESSION
OF_HIBBERNAT_CONFIG
public static final HqlResultPanel.UseConnectionOf OF_HIBBERNAT_CONFIG
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.