Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.1.0)

E13403-02

oracle.javatools.db
Enum DBUtil.IDQuery

java.lang.Object
  extended by java.lang.Enum<DBUtil.IDQuery>
      extended by oracle.javatools.db.DBUtil.IDQuery
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DBUtil.IDQuery>
Enclosing class:
DBUtil

public static enum DBUtil.IDQuery
extends java.lang.Enum<DBUtil.IDQuery>

When querying for reference IDs of an object this enum is used to define whether to query for different kinds of reference.

Since:
11

Enum Constant Summary
BOTH
          Returns both internal and external references.
EXTERNAL
          Query only external references - i.e.
INTERNAL
          Query only internal references - i.e.
 
Method Summary
static DBUtil.IDQuery valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DBUtil.IDQuery[] 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

INTERNAL

public static final DBUtil.IDQuery INTERNAL
Query only internal references - i.e. ids that reference an object which is under the same parent heiracy as the object holding the reference property. For example columns referenced by a primary key are within the parent Table.


EXTERNAL

public static final DBUtil.IDQuery EXTERNAL
Query only external references - i.e. ids that reference an object which is NOT under the same parent heiracy as the object holding the reference property. For example synonyms reference other schema objects like Tables.


BOTH

public static final DBUtil.IDQuery BOTH
Returns both internal and external references. Equivalent to a null QueryID.

Method Detail

values

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

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

valueOf

public static DBUtil.IDQuery 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

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.1.0)

E13403-02

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