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

E13403-05

oracle.javatools.db
Interface DBReferenceID

All Superinterfaces:
Copyable, DBObjectID
All Known Subinterfaces:
ColumnConstraintReferenceID
All Known Implementing Classes:
NameBasedRefID, ReferenceID

Deprecated.

@Deprecated
public interface DBReferenceID
extends DBObjectID

Extension of DBObjectID that is used to refer back to an object in a Database. This reference is persistable and can be saved to file by the IDConverter but allows us to refer back to the actual object in the database as well.


Method Summary
 java.lang.String getName()
          Deprecated. Get the name that was last known for the referenced object
 DBObjectID getNewID()
          Deprecated. This ID is used to reference an object in the database.
 java.lang.String getSchemaName()
          Deprecated. Get the name of the Schema that was last known for the referenced object
 java.lang.String getSubType()
          Deprecated. Retrieves the sub-type of object referenced by this id.
 DBObject resolveID()
          Deprecated. This ID is used to reference an object in the database.
 DBObject resolveReference(Database db)
          Deprecated. Use DBUtil.resolveInOtherProvider(oracle.javatools.db.BaseObjectID, oracle.javatools.db.DBObjectProvider)
 
Methods inherited from interface oracle.javatools.db.DBObjectID
equals, getParent, getType
 
Methods inherited from interface oracle.javatools.util.Copyable
copyTo
 

Method Detail

resolveReference

@Deprecated
DBObject resolveReference(Database db)
                          throws DBException
Deprecated. Use DBUtil.resolveInOtherProvider(oracle.javatools.db.BaseObjectID, oracle.javatools.db.DBObjectProvider)

Throws:
DBException

resolveID

DBObject resolveID()
                   throws DBException
Deprecated. 
This ID is used to reference an object in the database. If it is used by an object that is now in another provider then this this will attempt to resolve itself within that new provider by searching for an object that's been holds a reference to the referenced database object.

Specified by:
resolveID in interface DBObjectID
Returns:
the DBObject referenced by this DBObjectID
Throws:
DBException
See Also:
getNewID()

getNewID

DBObjectID getNewID()
Deprecated. 
This ID is used to reference an object in the database. If it is used by an object that is now in another provider then this method will return the ID of the object in that new provider.

See Also:
resolveID()

getName

java.lang.String getName()
Deprecated. 
Get the name that was last known for the referenced object


getSubType

java.lang.String getSubType()
Deprecated. 
Retrieves the sub-type of object referenced by this id. For exmaple, the collection type for User Defined types, or the constraint type of Constraints.

Returns:
the sub-type of object

getSchemaName

java.lang.String getSchemaName()
Deprecated. 
Get the name of the Schema that was last known for the referenced object


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

E13403-05

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