Skip navigation links

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

E17060-02


oracle.odi.interfaces.interactive.support.targetkeychoosers
Class TargetKeyChooserComposer

java.lang.Object
  extended by oracle.odi.interfaces.interactive.support.targetkeychoosers.TargetKeyChooserComposer

All Implemented Interfaces:
ITargetKeyChooser

public class TargetKeyChooserComposer
extends java.lang.Object
implements ITargetKeyChooser

This implementation composes on other target key choosers and selects the first update key found by the choosers.


Constructor Summary
TargetKeyChooserComposer(ITargetKeyChooser[] pUnderlyingChoosers)
          Creates a chooser from other choosers.
To choose the key, all choosers are called in the order in which they appear in the array, and the first non null key is returned.

 

Method Summary
 IKey<?> chooseNewTargetKey(OdiInterface pOdiInterface, IKey<?> pOldKey)
          Chooses a new update key for the target datastore of interface pOdiInterface.
If null is returned, then no update key will be selected for this interface.

 

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

 

Constructor Detail

TargetKeyChooserComposer

public TargetKeyChooserComposer(ITargetKeyChooser[] pUnderlyingChoosers)
Creates a chooser from other choosers.
To choose the key, all choosers are called in the order in which they appear in the array, and the first non null key is returned.
Parameters:
pUnderlyingChoosers - all underlying choosers, must not be null

Method Detail

chooseNewTargetKey

public IKey<?> chooseNewTargetKey(OdiInterface pOdiInterface,
                                  IKey<?> pOldKey)
Chooses a new update key for the target datastore of interface pOdiInterface.
If null is returned, then no update key will be selected for this interface.
Specified by:
chooseNewTargetKey in interface ITargetKeyChooser
Parameters:
pOdiInterface - the target datastore's interface
pOldKey - the old key of the target datastore
Returns:
the new key for the target datastore
See Also:
ITargetKeyChooser.chooseNewTargetKey(oracle.odi.domain.project.OdiInterface, oracle.odi.domain.relational.IKey)

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.