Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


oracle.jdeveloper.db
Enum DatabaseConnectionEditorLauncher.StoreChoice

java.lang.Object
  extended by java.lang.Enum<DatabaseConnectionEditorLauncher.StoreChoice>
      extended by oracle.jdeveloper.db.DatabaseConnectionEditorLauncher.StoreChoice

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DatabaseConnectionEditorLauncher.StoreChoice>
Enclosing class:
DatabaseConnectionEditorLauncher

public static enum DatabaseConnectionEditorLauncher.StoreChoice
extends java.lang.Enum<DatabaseConnectionEditorLauncher.StoreChoice>

This governs what choice the user has over where new connections are created from the create connection dialog.

See Also:
DatabaseConnectionEditorLauncher.setStoreChoice(oracle.jdeveloper.db.DatabaseConnectionEditorLauncher.StoreChoice)

Enum Constant Summary
ALL
          User can choose from all available stores (can potentially include multiple applications)
CONTEXT
          Allow choice from context of current app (if available) or central store.
NONE
          Force user to create connection in curent store.

 

Method Summary
static DatabaseConnectionEditorLauncher.StoreChoice valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DatabaseConnectionEditorLauncher.StoreChoice[] 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

NONE

public static final DatabaseConnectionEditorLauncher.StoreChoice NONE
Force user to create connection in curent store.

CONTEXT

public static final DatabaseConnectionEditorLauncher.StoreChoice CONTEXT
Allow choice from context of current app (if available) or central store.

ALL

public static final DatabaseConnectionEditorLauncher.StoreChoice ALL
User can choose from all available stores (can potentially include multiple applications)

Method Detail

values

public static DatabaseConnectionEditorLauncher.StoreChoice[] 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 (DatabaseConnectionEditorLauncher.StoreChoice c : DatabaseConnectionEditorLauncher.StoreChoice.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static DatabaseConnectionEditorLauncher.StoreChoice 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

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


Copyright © 1997, 2012, Oracle. All rights reserved.