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

E17060-01

oracle.odi.interfaces.interactive.support.mapping.matchpolicy
Class MappingMatchPolicyLazy

java.lang.Object
  extended by oracle.odi.interfaces.interactive.support.mapping.matchpolicy.MappingMatchPolicyLazy
All Implemented Interfaces:
IMappingMatchPolicy

public class MappingMatchPolicyLazy
extends java.lang.Object
implements IMappingMatchPolicy

MappingMatchPolicyLazy is a lazy implementation of the IMappingMatchPolicy interface. The getNewColumnForTargetColumn method always returns null, effectively disabling column matching. MappingMatchPolicyColumnName is another implementation of the IMappingMatchPolicy interface which matches columns by name. MappingMatchPolicyLazy is typically used by interface action classes as a construction parameter to control the column matching behavior for creating mappings.
Example:
interactiveHelper.performAction(new InterfaceActionSetTargetDataStore(targetDatastore, new MappingMatchPolicyLazy(), new AutoMappingComputerLazy(), new AutoMappingComputerLazy(), new TargetKeyChooserPrimaryKey()));

See Also:
MappingMatchPolicyColumnName

Constructor Summary
MappingMatchPolicyLazy()
           
 
Method Summary
 IColumn getNewColumnForTargetColumn(TargetColumn pTargetColumn, IDataStore pNewTargetDataStore)
          Returns null, disabling column matching.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MappingMatchPolicyLazy

public MappingMatchPolicyLazy()
Method Detail

getNewColumnForTargetColumn

public IColumn getNewColumnForTargetColumn(TargetColumn pTargetColumn,
                                           IDataStore pNewTargetDataStore)
Returns null, disabling column matching. This method is called internally by the interface action class.

Specified by:
getNewColumnForTargetColumn in interface IMappingMatchPolicy
Parameters:
pTargetColumn - column to match by name
pNewTargetDataStore - datastore to find the column match
Returns:
null is always returned

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.