Skip navigation links

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

E13403-06


oracle.ide.db.transfer
Class TransferDescriptor

java.lang.Object
  extended by oracle.javatools.data.HashStructureAdapter
      extended by oracle.ide.db.transfer.TransferDescriptor

All Implemented Interfaces:
PropertyStorage

public final class TransferDescriptor
extends HashStructureAdapter
implements PropertyStorage

Bean to encapsulte generation options to be used as the model for a deployment descriptor.


Field Summary
static java.lang.String KEY
           

 

Fields inherited from class oracle.javatools.data.HashStructureAdapter
_hash

 

Fields inherited from interface oracle.javatools.data.PropertyStorage
DATA_KEY

 

Constructor Summary
TransferDescriptor()
          Construct a new TransferDescriptor with default option values.
TransferDescriptor(HashStructure hash)
           

 

Method Summary
 TransferDescriptor copyTo(java.lang.Object target)
          Returns a copy of this settings object.
 int getDependencyDepth()
           
 java.lang.String getImportGenerateConn()
           
 java.lang.String getImportGenerateKey()
           
 boolean getIncludeAllDependencies()
           
 boolean getIncludeDependencies()
           
 java.lang.String getName()
           
 DBObjectID[] getObjectIDs()
           
<T extends TransferTarget>
T
getOrCreateTransferTarget(java.lang.Class<T> targetClass)
           
 java.lang.Class getPolicy()
           
 HashStructure getProperties()
           
 Step[] getReconcilePanels()
           
 SchemaObjectDescriptor[] getSchemaObjectDescriptors()
           
 SchemaObject[] getSchemaObjects()
          convenience method to return the source objects.
 SchemaObject[] getSchemaObjects(boolean ignorErrors)
           
 SchemaObject[] getSchemaObjectsAndDependencies()
          Convenience method to return the source objects and dependencies.
 SchemaObject[] getSchemaObjectsAndDependencies(boolean ignorErrors)
           
 Step[] getScriptPanels()
           
 java.lang.Object getSource()
          Get the source of the objects to transfer.
 java.lang.String getSourceApplicationName()
          Get the source application name.
 java.lang.String getSourceConnectionStore()
          Get the source connection store name of the objects to transfer.
 java.lang.String getSourceProjectName()
          Get the source project name.
 DBObjectProvider getSourceProvider()
           
 SystemObject[] getSystemObjects()
          convenience method to return the source objects.
 SystemObject[] getSystemObjects(boolean ignorErrors)
           
 SystemObject[] getSystemObjectsAndDependencies()
          Convenience method to return the source objects and dependencies.
 SystemObject[] getSystemObjectsAndDependencies(boolean ignorErrors)
           
 java.lang.Object getTarget()
           
 java.lang.String getTargetConnectionStore()
          Get the target connection store name of the objects to transfer.
 DBObjectProvider getTargetProvider()
           
 java.lang.String getTargetSchemaName()
           
 java.lang.String getTargetTableSpace()
           
 TransferManager getTransferManager()
           
 TransferState getTransferState()
           
<T extends TransferTarget>
T
getTransferTarget(java.lang.Class<T> targetClass)
           
 TransferTarget[] getTransferTargets()
           
 TransferState initialiseTransferState()
           
 boolean isCascadeDelete()
           
 boolean isManualReconcile()
           
 boolean isPlusSqlScript()
           
 boolean isReconcile()
           
 boolean isReplace()
           
<T extends TransferTarget>
T
removeTransferTarget(java.lang.Class<T> targetClass)
           
 void setCascadeDelete(boolean cascadeDelete)
           
 void setDependencyDepth(int dependencyDepth)
           
 void setImportGenerateConn(java.lang.String importGenerateConn)
           
 void setImportGenerateKey(java.lang.String importGenerateKey)
           
 void setIncludeAllDependencies(boolean includeAllDependencies)
           
 void setIncludeDependencies(boolean includeDependencies)
           
 void setManualReconcile(boolean manualReconcile)
           
 void setObjectIDs(DBObjectID[] ids)
           
 void setPlusSqlScrip(boolean plusSqlScrip)
           
 void setPolicy(java.lang.Class policy)
           
 void setReconcile(boolean reconcile)
           
 void setReconcilePanels(Step[] reconcilePanels)
           
 void setReplace(boolean replace)
           
 void setSchemaObjectDescriptors(SchemaObjectDescriptor[] sos)
           
 void setScriptPanels(Step[] scriptPanels)
           
 void setSource(java.lang.Object source)
          Set the source of the objects to transfer.
 void setSourceApplicationName(java.lang.String source)
          Set the source application name.
 void setSourceConnectionStore(java.lang.String source)
          Set the source connection store of the objects to transfer.
 void setSourceProjectName(java.lang.String source)
          Set the source project name.
 void setTarget(java.lang.Object obj)
           
 void setTargetConnectionStore(java.lang.String target)
          Set the target connection store of the objects to transfer.
 void setTargetSchemaName(java.lang.String schemaName)
           
 void setTargetTableSpace(java.lang.String schemaName)
           

 

Methods inherited from class oracle.javatools.data.HashStructureAdapter
addStructureChangeListener, containsKey, copyToImpl, equals, equalsImpl, findOrCreate, forcedCopyTo, getHashStructure, removeStructureChangeListener, useObjectEquals

 

Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

KEY

public static final java.lang.String KEY
See Also:
Constant Field Values

Constructor Detail

TransferDescriptor

public TransferDescriptor()
Construct a new TransferDescriptor with default option values.

TransferDescriptor

public TransferDescriptor(HashStructure hash)

Method Detail

copyTo

public TransferDescriptor copyTo(java.lang.Object target)
Returns a copy of this settings object.
Overrides:
copyTo in class HashStructureAdapter

getName

public java.lang.String getName()

getTransferManager

public TransferManager getTransferManager()

initialiseTransferState

public TransferState initialiseTransferState()
For internal use only. Application developers should not use this

getTransferState

public TransferState getTransferState()
For internal use only. Application developers should not use this

getObjectIDs

public DBObjectID[] getObjectIDs()

setObjectIDs

public void setObjectIDs(DBObjectID[] ids)

isReplace

public boolean isReplace()

setReplace

public void setReplace(boolean replace)

isCascadeDelete

public boolean isCascadeDelete()

setCascadeDelete

public void setCascadeDelete(boolean cascadeDelete)

isReconcile

public boolean isReconcile()

setReconcile

public void setReconcile(boolean reconcile)

isManualReconcile

public boolean isManualReconcile()

setManualReconcile

public void setManualReconcile(boolean manualReconcile)

getTargetSchemaName

public java.lang.String getTargetSchemaName()

setTargetSchemaName

public void setTargetSchemaName(java.lang.String schemaName)

getTargetTableSpace

public java.lang.String getTargetTableSpace()

setTargetTableSpace

public void setTargetTableSpace(java.lang.String schemaName)

setTargetConnectionStore

public void setTargetConnectionStore(java.lang.String target)
Set the target connection store of the objects to transfer. This is only used when the target is a database. It may be null if the target database is an application connection.

getTargetConnectionStore

public java.lang.String getTargetConnectionStore()
Get the target connection store name of the objects to transfer. This may be null is the target is an offline database or the target is an application connection.

setTarget

public void setTarget(java.lang.Object obj)

getTarget

public java.lang.Object getTarget()

getTargetProvider

public DBObjectProvider getTargetProvider()
                                   throws DBException
Throws:
DBException

setReconcilePanels

public void setReconcilePanels(Step[] reconcilePanels)

getReconcilePanels

public Step[] getReconcilePanels()

setScriptPanels

public void setScriptPanels(Step[] scriptPanels)

getScriptPanels

public Step[] getScriptPanels()

setSchemaObjectDescriptors

public void setSchemaObjectDescriptors(SchemaObjectDescriptor[] sos)

getSchemaObjectDescriptors

public SchemaObjectDescriptor[] getSchemaObjectDescriptors()

getIncludeDependencies

public boolean getIncludeDependencies()

setIncludeDependencies

public void setIncludeDependencies(boolean includeDependencies)

getIncludeAllDependencies

public boolean getIncludeAllDependencies()

setIncludeAllDependencies

public void setIncludeAllDependencies(boolean includeAllDependencies)

getDependencyDepth

public int getDependencyDepth()

setDependencyDepth

public void setDependencyDepth(int dependencyDepth)

isPlusSqlScript

public boolean isPlusSqlScript()

setPlusSqlScrip

public void setPlusSqlScrip(boolean plusSqlScrip)

setSourceApplicationName

public void setSourceApplicationName(java.lang.String source)
Set the source application name.

getSourceApplicationName

public java.lang.String getSourceApplicationName()
Get the source application name. This will be null if the source is a database

setSourceProjectName

public void setSourceProjectName(java.lang.String source)
Set the source project name.

getSourceProjectName

public java.lang.String getSourceProjectName()
Get the source project name. This will be null if the source is a database

setSourceConnectionStore

public void setSourceConnectionStore(java.lang.String source)
Set the source connection store of the objects to transfer. This is only used when the source is a database. It may be null if the source database is an application connection.

getSourceConnectionStore

public java.lang.String getSourceConnectionStore()
Get the source connection store name of the objects to transfer. This may be null is the source is an offline database or the source is an application connection.

setSource

public void setSource(java.lang.Object source)
Set the source of the objects to transfer. This is either the Database connection string
or
the Offline database URL

getSource

public java.lang.Object getSource()
Get the source of the objects to transfer. This is either the Database connection string
or
the Offline database URL

getSourceProvider

public DBObjectProvider getSourceProvider()
                                   throws DBException
Throws:
DBException

setPolicy

public void setPolicy(java.lang.Class policy)

getPolicy

public java.lang.Class getPolicy()

setImportGenerateKey

public void setImportGenerateKey(java.lang.String importGenerateKey)

getImportGenerateKey

public java.lang.String getImportGenerateKey()

setImportGenerateConn

public void setImportGenerateConn(java.lang.String importGenerateConn)

getImportGenerateConn

public java.lang.String getImportGenerateConn()

getTransferTargets

public TransferTarget[] getTransferTargets()

getTransferTarget

public <T extends TransferTarget> T getTransferTarget(java.lang.Class<T> targetClass)

getOrCreateTransferTarget

public <T extends TransferTarget> T getOrCreateTransferTarget(java.lang.Class<T> targetClass)

removeTransferTarget

public <T extends TransferTarget> T removeTransferTarget(java.lang.Class<T> targetClass)

getSchemaObjects

public SchemaObject[] getSchemaObjects()
convenience method to return the source objects. Any DBExceptions are ignored.
Returns:

getSchemaObjects

public SchemaObject[] getSchemaObjects(boolean ignorErrors)
                                throws DBException
Throws:
DBException

getSystemObjects

public SystemObject[] getSystemObjects()
convenience method to return the source objects. Any DBExceptions are ignored.
Returns:

getSystemObjects

public SystemObject[] getSystemObjects(boolean ignorErrors)
                                throws DBException
Throws:
DBException

getSchemaObjectsAndDependencies

public SchemaObject[] getSchemaObjectsAndDependencies()
Convenience method to return the source objects and dependencies. The dependency depth is limited by the descriptor
Returns:

getSchemaObjectsAndDependencies

public SchemaObject[] getSchemaObjectsAndDependencies(boolean ignorErrors)
                                               throws DBException
Throws:
DBException

getSystemObjectsAndDependencies

public SystemObject[] getSystemObjectsAndDependencies()
Convenience method to return the source objects and dependencies. The dependency depth is limited by the descriptor
Returns:

getSystemObjectsAndDependencies

public SystemObject[] getSystemObjectsAndDependencies(boolean ignorErrors)
                                               throws DBException
Throws:
DBException

getProperties

public HashStructure getProperties()
Specified by:
getProperties in interface PropertyStorage
Returns:
The HashStructure wrapped by this PropertyStorage.

Skip navigation links

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

E13403-06


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