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

E17060-01

oracle.odi.interfaces.interactive.support.km.optionretainer
Class KMOptionRetainerLazy

java.lang.Object
  extended by oracle.odi.interfaces.interactive.support.km.optionretainer.KMOptionRetainerLazy
All Implemented Interfaces:
IKMOptionRetainer

public class KMOptionRetainerLazy
extends java.lang.Object
implements IKMOptionRetainer

This is a lazy implementation: it doesn't do anything and therefore doesn't preserve option values. By using this retainer, all options will be reset to their default value when a KM is changed on the retainer.


Constructor Summary
KMOptionRetainerLazy()
           
 
Method Summary
 void retainOptions(OdiKM<?> pOldKM, java.util.List<IOptionValue> pOldOptionValues, OdiKM<?> pNewKM, java.util.List<IOptionValue> pNewOptions)
          This is called after the KM was changed on the option retainer.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KMOptionRetainerLazy

public KMOptionRetainerLazy()
Method Detail

retainOptions

public void retainOptions(OdiKM<?> pOldKM,
                          java.util.List<IOptionValue> pOldOptionValues,
                          OdiKM<?> pNewKM,
                          java.util.List<IOptionValue> pNewOptions)
Description copied from interface: IKMOptionRetainer
This is called after the KM was changed on the option retainer. In this method, the retainer has the choice of setting values on the new options according to the values on the old options.

Specified by:
retainOptions in interface IKMOptionRetainer
Parameters:
pOldKM - the original KM before the change
pOldOptionValues - the list of KM values for the original KM
pNewKM - the proposed KM for the change
pNewOptions - the list of KM values for the proposed KM

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.