Skip navigation links

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

E17060-03


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

java.lang.Object
  extended by oracle.odi.interfaces.interactive.support.km.optionretainer.KMOptionRetainerHomonymy
      extended by oracle.odi.interfaces.interactive.support.km.optionretainer.KMOptionRetainerCopy

All Implemented Interfaces:
IKMOptionRetainer

public class KMOptionRetainerCopy
extends KMOptionRetainerHomonymy

This option retainer overrides the new option values with forced values passed in the constructor.


Constructor Summary
KMOptionRetainerCopy(java.util.List<IOptionValue> pOptionValues)
          Builds a new retainer that will always force the new option values to the values in pOptionValues.

 

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

KMOptionRetainerCopy

public KMOptionRetainerCopy(java.util.List<IOptionValue> pOptionValues)
Builds a new retainer that will always force the new option values to the values in pOptionValues.
Parameters:
pOptionValues - the new forced option values

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
Overrides:
retainOptions in class KMOptionRetainerHomonymy
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
See Also:
KMOptionRetainerHomonymy.retainOptions(oracle.odi.domain.project.OdiKM, java.util.List, oracle.odi.domain.project.OdiKM, java.util.List)

Skip navigation links

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

E17060-03


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