Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.5.0)

E17060-02


oracle.odi.interfaces.interactive.support.sourceset.creators
Class SourceSetCreatorNew

java.lang.Object
  extended by oracle.odi.interfaces.interactive.support.sourceset.creators.SourceSetCreatorNew

All Implemented Interfaces:
ISourceSetCreator, ISourceSetListener

public class SourceSetCreatorNew
extends java.lang.Object
implements ISourceSetCreator

This implementation systematically create new source sets and can automatically choose LKMs if needed.
It doesn't cache deleted source sets.

See Also:
SourceSet, OdiLKM

Constructor Summary
SourceSetCreatorNew()
          Convenience constructor, equal to SourceSetCreatorNew(true).
SourceSetCreatorNew(boolean pAutoChooseLKM)
          Create a new SourceSet creator, which will automatically choose LKMs when available if needed.

 

Method Summary
 SourceSet createSourceSetFor(SourceDataStore[] pSourceDataStores, ISourceSetNameProvider pSourceSetNameProvider)
          Creates a SourceSet for the corresponding source datastores.
 void sourceSetAdded(SourceSet pSourceSet)
          A new source set has been added.
 void sourceSetRemoved(SourceSet pSourceSet)
          A source set has been removed.
 void sourceSetRenamed(SourceSet pSourceSet, java.lang.String pOldName, java.lang.String pNewName)
          A source set has been renamed.

 

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

 

Constructor Detail

SourceSetCreatorNew

public SourceSetCreatorNew(boolean pAutoChooseLKM)
Create a new SourceSet creator, which will automatically choose LKMs when available if needed.
Parameters:
pAutoChooseLKM - if true then the creator will automatically assign a default LKM to the newly created SourceSet. If false the source set will have a null LKM.

SourceSetCreatorNew

public SourceSetCreatorNew()
Convenience constructor, equal to SourceSetCreatorNew(true).

Method Detail

createSourceSetFor

public SourceSet createSourceSetFor(SourceDataStore[] pSourceDataStores,
                                    ISourceSetNameProvider pSourceSetNameProvider)
                             throws InexistentMappingException
Description copied from interface: ISourceSetCreator
Creates a SourceSet for the corresponding source datastores.
Specified by:
createSourceSetFor in interface ISourceSetCreator
Parameters:
pSourceDataStores - the source datastores for which a new source set should be created
pSourceSetNameProvider - a name provider that will give the new source set a name
Returns:
the new source set
Throws:
InexistentMappingException - if one or more datastores have a broken OdiLogicalSchema - OdiContext mapping that doesn't point to any OdiPhysicalSchema

sourceSetAdded

public void sourceSetAdded(SourceSet pSourceSet)
Description copied from interface: ISourceSetListener
A new source set has been added.
Specified by:
sourceSetAdded in interface ISourceSetListener
Parameters:
pSourceSet - the source set that has been added

sourceSetRemoved

public void sourceSetRemoved(SourceSet pSourceSet)
Description copied from interface: ISourceSetListener
A source set has been removed.
Specified by:
sourceSetRemoved in interface ISourceSetListener
Parameters:
pSourceSet - the source set that has been removed

sourceSetRenamed

public void sourceSetRenamed(SourceSet pSourceSet,
                             java.lang.String pOldName,
                             java.lang.String pNewName)
Description copied from interface: ISourceSetListener
A source set has been renamed.
Specified by:
sourceSetRenamed in interface ISourceSetListener
Parameters:
pSourceSet - the source set that has been renamed
pOldName - the source set's old name
pNewName - the source set's new name

Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.5.0)

E17060-02


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.