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

E17060-01

oracle.odi.interfaces.interactive.support.actions
Class InterfaceActionSetTargetDataStore

java.lang.Object
  extended by oracle.odi.interfaces.interactive.support.actions.InterfaceActionSetTargetDataStore
All Implemented Interfaces:
IInterfaceAction

public class InterfaceActionSetTargetDataStore
extends java.lang.Object
implements IInterfaceAction

InterfaceActionSetTargetDataStore is an interface action class used to set a target data store.

Since:
11.1.1.3.0
See Also:
InteractiveInterfaceHelperWithActions

Constructor Summary
InterfaceActionSetTargetDataStore(OdiDataStore pTargetDataStore, IMappingMatchPolicy pMappingMatchPolicy, IAutoMappingComputer pAutoMappingComputerForMatchedColumn, IAutoMappingComputer pAutoMappingComputerForUnmatchedColumn, ITargetKeyChooser pTargetKeyChooser)
          Creates an action class instance which will assign a target datastore, when performAction is called.
 
Method Summary
 OdiDataStore getTargetDataStore()
          Gets the target data store.
 void performAction(IInterfaceActionListener pInterfaceActionListener, IInterfaceUndoListener pInterfaceUndoListener, IActionHelper pActionHelper)
          For internal use only.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterfaceActionSetTargetDataStore

public InterfaceActionSetTargetDataStore(OdiDataStore pTargetDataStore,
                                         IMappingMatchPolicy pMappingMatchPolicy,
                                         IAutoMappingComputer pAutoMappingComputerForMatchedColumn,
                                         IAutoMappingComputer pAutoMappingComputerForUnmatchedColumn,
                                         ITargetKeyChooser pTargetKeyChooser)
Creates an action class instance which will assign a target datastore, when performAction is called. This constructor should be called directly to create the action class instance. This instance should then be passed to InteractiveInterfaceHelperWithActions.performAction to assign the target datastore.
Example:
interactiveHelper.performAction(new InterfaceActionSetTargetDataStore(targetDatastore, new MappingMatchPolicyLazy(), new AutoMappingComputerLazy(), new AutoMappingComputerLazy(), new TargetKeyChooserPrimaryKey()));

Parameters:
pTargetDataStore - target data store
pMappingMatchPolicy - policy class which determines which target colums are candidates for auto mapping. If MappingMatchPolicyColumnName is used, all columns are candidates. If MappingMatchPolicyLazy is used, no columns are considered.
pAutoMappingComputerForMatchedColumn - auto mapping computer for target columns that have a data set match. AutoMappingComputerColumnName may be used to auto map by column name. AutoMappingComputerLazy may be used if no auto mapping is desired.
pAutoMappingComputerForUnmatchedColumn - auto mapping computer for target columns that do not have a data set match. AutoMappingComputerColumnName may be used to auto map by column name. AutoMappingComputerLazy may be used if no auto mapping is desired.
pTargetKeyChooser - chooser class which determines the update key assigned for the target data store. If TargetKeyChooserPrimaryKey is used, the primary key will be used. If TargetKeyChooserLazy is used, no key will be assigned.
See Also:
AutoMappingComputerColumnName, AutoMappingComputerLazy, MappingMatchPolicyColumnName, MappingMatchPolicyLazy, TargetKeyChooserFixed, TargetKeyChooserLazy, TargetKeyChooserPrimaryKey
Method Detail

getTargetDataStore

public OdiDataStore getTargetDataStore()
Gets the target data store.

Returns:
target data store

performAction

public void performAction(IInterfaceActionListener pInterfaceActionListener,
                          IInterfaceUndoListener pInterfaceUndoListener,
                          IActionHelper pActionHelper)
For internal use only.

Specified by:
performAction in interface IInterfaceAction
Parameters:
pInterfaceActionListener - the interface action listener instance
pInterfaceUndoListener - the interface undo listener instance
pActionHelper - the action helper instance

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

E17060-01

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