Skip navigation links

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

E17060-02


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

java.lang.Object
  extended by oracle.odi.interfaces.interactive.support.mapping.matchpolicy.MappingMatchPolicyColumnName

All Implemented Interfaces:
IMappingMatchPolicy

public class MappingMatchPolicyColumnName
extends java.lang.Object
implements IMappingMatchPolicy

MappingMatchPolicyColumnName is an implementation of the IMappingMatchPolicy interface which matches columns by name. This class 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(targetOdiDatastore, new MappingMatchPolicyColumnName(), new AutoMappingComputerLazy(), new AutoMappingComputerLazy(), new TargetKeyChooserLazy()));

See Also:
MappingMatchPolicyLazy

Constructor Summary
MappingMatchPolicyColumnName()
           

 

Method Summary
 IColumn getNewColumnForTargetColumn(TargetColumn pTargetColumn, IDataStore pNewTargetDataStore)
          Gets the new target datastore column matching the given column by name.

 

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

 

Constructor Detail

MappingMatchPolicyColumnName

public MappingMatchPolicyColumnName()

Method Detail

getNewColumnForTargetColumn

public IColumn getNewColumnForTargetColumn(TargetColumn pTargetColumn,
                                           IDataStore pNewTargetDataStore)
Gets the new target datastore column matching the given column by name. 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:
matched column of pNewTargetDataStore

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.