public class OfflineDBObjectFactory extends DBObjectFactory
Individual methods, rather than a generic newDBObject() method that uses reflection, are given to give type safety to API user code, and to make it a bit quicker as well.
| Constructor and Description | 
|---|
| OfflineDBObjectFactory(OfflineDBObjectProvider pro)Constructor has package level access as API users should retrieve a
 factory from the provider, and not instantiate their own. | 
| Modifier and Type | Method and Description | 
|---|---|
| DBObjectID | ensureID(DBObject obj)Checks that the given object has an ID. | 
| DBObjectID | ensureID(DBObject obj,
        boolean deep)Checks that the given object has an ID. | 
| FKConstraint | newFKConstraint(java.lang.String name,
               Relation parent)Deprecated. 
 as of 11.1.1 call
  newObject(FKConstraint.class, parent, name)instead | 
| BaseObjectID | newID(DBObject obj)Creates a new ID for the given object and sets it too. | 
| BaseObjectID | newID(DBObject obj,
     DBObjectID parent)Creates a new ID for the given object and sets it too. | 
| PKConstraint | newPKConstraint(java.lang.String name,
               Relation parent)Deprecated. 
 as of 11.1.1 call
  newObject(PKConstraint.class, parent, name)instead | 
| UniqueConstraint | newUniqueConstraint(java.lang.String name,
                   Relation parent)Deprecated. 
 as of 11.1.1 call
  newObject(UniqueConstraint.class, parent, name)instead | 
| protected boolean | useIdentifierBasedIDs(DBObject obj)Returns true if the given object should be given an IdentifierBasedID
 rather than a NameBasedID by the default  DBObjectFactory.createID(oracle.javatools.db.DBObject)implementation. | 
createID, createID, ensureBaseInfo, ensureDerivedPropertyBuilder, ensureDerivedPropertyBuilder, ensureID, ensureIDs, ensureProvider, ensureSchema, getExternalDefaultValue, getInitialValue, getLogger, getName, getObjectID, getProvider, getReferenceIDs, isValidID, newObject, newObject, newObject, newObject, newObject, newObject, newObject, setDerivedPropertyBuilderpublic OfflineDBObjectFactory(OfflineDBObjectProvider pro)
public BaseObjectID newID(DBObject obj)
public BaseObjectID newID(DBObject obj, DBObjectID parent)
protected boolean useIdentifierBasedIDs(DBObject obj)
DBObjectFactoryDBObjectFactory.createID(oracle.javatools.db.DBObject)
 implementation.useIdentifierBasedIDs in class DBObjectFactoryobj - the object that needs a new id@Deprecated public UniqueConstraint newUniqueConstraint(java.lang.String name, Relation parent)
newObject(UniqueConstraint.class, parent, name) instead@Deprecated public FKConstraint newFKConstraint(java.lang.String name, Relation parent)
newObject(FKConstraint.class, parent, name) instead@Deprecated public PKConstraint newPKConstraint(java.lang.String name, Relation parent)
newObject(PKConstraint.class, parent, name) insteadpublic DBObjectID ensureID(DBObject obj)
public DBObjectID ensureID(DBObject obj, boolean deep)