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

E17060-01

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

java.lang.Object
  extended by oracle.odi.interfaces.interactive.support.targetkeychoosers.TargetKeyChooserFixed
All Implemented Interfaces:
ITargetKeyChooser

public class TargetKeyChooserFixed
extends java.lang.Object
implements ITargetKeyChooser

The purpose of this target key chooser is to choose the key with a given name on the target datastore.
If the given key name is not found on the datastore's keys, then no update key is selected by this implementation.


Constructor Summary
TargetKeyChooserFixed(java.lang.String pKeyName)
          Creates a target key chooser for this key name.
 
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

TargetKeyChooserFixed

public TargetKeyChooserFixed(java.lang.String pKeyName)
Creates a target key chooser for this key name.

Parameters:
pKeyName - the name of the key to be selected as update key
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)

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.