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

E17060-01

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)
          Returns the new column in the new target data store that can be matched to the original target column.
 
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)
Description copied from interface: IMappingMatchPolicy
Returns the new column in the new target data store that can be matched to the original target column. This is performed when the target data store has been changed.

Specified by:
getNewColumnForTargetColumn in interface IMappingMatchPolicy
Parameters:
pTargetColumn - the original target column
pNewTargetDataStore - the new target data store
Returns:
the IColumn object which is the new matched column

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.