Skip navigation links
oracle.odi.interfaces.interactive.support.mapping.matchpolicy
Class MappingMatchPolicyLazy
java.lang.Object
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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MappingMatchPolicyLazy
public MappingMatchPolicyLazy()
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
Skip navigation links
Copyright © 2010, 2013, Oracle and/or its affiliates. All rights reserved.