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

E13403-07

oracle.jdeveloper.offlinedb
Class OfflineDBObjectID

java.lang.Object
  extended by oracle.javatools.db.AbstractDBObjectID
      extended by oracle.javatools.db.BaseObjectID
          extended by oracle.javatools.db.IdentifierBasedID
              extended by oracle.jdeveloper.offlinedb.OfflineDBObjectID
All Implemented Interfaces:
DBObjectID, Copyable

Deprecated. use IdentifierBasedID if a subclass of DBObjectID is *really* needed.

@Deprecated
public class OfflineDBObjectID
extends IdentifierBasedID

Implmentation of DBObjectID for the offline database objects. Uses a UID system (see oracle.ide.util.GuidGen) to ensure uniqueness between all ids.

Since:
9.0.5

Field Summary
 
Fields inherited from class oracle.javatools.db.BaseObjectID
SEP, UNSPECIFIED_TYPE
 
Constructor Summary
OfflineDBObjectID()
          Deprecated. INTERNAL USE ONLY.
OfflineDBObjectID(java.lang.String type, IdentifierBasedID parent, OfflineDBObjectProvider pro)
          Deprecated. INTERNAL USE ONLY.
OfflineDBObjectID(java.lang.String type, OfflineDBObjectProvider pro)
          Deprecated. INTERNAL USE ONLY.
OfflineDBObjectID(java.lang.String type, java.lang.String uid)
          Deprecated. INTERNAL USE ONLY.
 
Method Summary
 void ensureProvider(OfflineDBObjectProvider pro)
          Deprecated. use setProvider - note that now IDs are copyable rather than being able to do getID().ensureProvider(), the ID returned by getID() that has a provider ensured must be set back on the original object if the change is to be kept.
static java.lang.String generateID()
          Deprecated. Generates a new, unique ID.
 java.lang.String getID()
          Deprecated. use setIdentifer
 void setID(java.lang.String id)
          Deprecated. use setIdentifer
 
Methods inherited from class oracle.javatools.db.IdentifierBasedID
construct, copyTo, copyToImpl, equalsImpl, getIdentifier, setIdentifier, toStringImpl
 
Methods inherited from class oracle.javatools.db.BaseObjectID
clearToString, copyToImpl, copyWithNewProvider, createFromString, equalsImpl, getName, getProvider, getSchemaName, hasSameObjectName, hasSameProvider, isRecognizedType, resolveID, setName, setParent, setProvider, setProviderImpl, setSchema, setSchemaName, toString
 
Methods inherited from class oracle.javatools.db.AbstractDBObjectID
copyToImpl, equals, equals, equalsImpl, getParent, getType, hashCode, hasSameParent, resolveFromParent, resolveInParentObject, setType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OfflineDBObjectID

public OfflineDBObjectID()
Deprecated. 
INTERNAL USE ONLY. Use OfflineDBObjectFactory to create IDs.

For internal use only. Application developers should not use this

OfflineDBObjectID

public OfflineDBObjectID(java.lang.String type,
                         OfflineDBObjectProvider pro)
Deprecated. 
INTERNAL USE ONLY. Use OfflineDBObjectFactory to create IDs.
Default constructor - creates a new object ID for the given object type. A unique ID is automatically generated.

For internal use only. Application developers should not use this

OfflineDBObjectID

public OfflineDBObjectID(java.lang.String type,
                         IdentifierBasedID parent,
                         OfflineDBObjectProvider pro)
Deprecated. 
INTERNAL USE ONLY. Use OfflineDBObjectFactory to create IDs.
Creates an object id using the given type and parent. Used for sub objects such as Columns.

For internal use only. Application developers should not use this

OfflineDBObjectID

public OfflineDBObjectID(java.lang.String type,
                         java.lang.String uid)
Deprecated. 
INTERNAL USE ONLY. Use OfflineDBObjectFactory to create IDs.
Creates an object id using the given type and uid. Use to recreate the uid of a persisted object. API users should not need to use this constructor.
Note - without a provider this ID cannot resolve itself. This constructor should only be used by the marshalling framework.

For internal use only. Application developers should not use this
Method Detail

ensureProvider

@Deprecated
public void ensureProvider(OfflineDBObjectProvider pro)
Deprecated. use setProvider - note that now IDs are copyable rather than being able to do getID().ensureProvider(), the ID returned by getID() that has a provider ensured must be set back on the original object if the change is to be kept.

INTERNAL USE ONLY.
Sets this ID's provider.

For internal use only. Application developers should not use this

generateID

public static java.lang.String generateID()
Deprecated. 
Generates a new, unique ID.

For internal use only. Application developers should not use this

getID

@Deprecated
public final java.lang.String getID()
Deprecated. use setIdentifer


setID

@Deprecated
public final void setID(java.lang.String id)
Deprecated. use setIdentifer


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

E13403-07

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