Skip navigation links
oracle.odi.interfaces.interactive.support.mapping.choosers
Class MappingChooserFirst
java.lang.Object
oracle.odi.interfaces.interactive.support.mapping.choosers.MappingChooserFirst
- All Implemented Interfaces:
- IMappingChooser
-
public class MappingChooserFirst
- extends java.lang.Object
- implements IMappingChooser
This implementation grabs the first mapping it finds, in a random dataset.
It is ok to use this implementation when there is only one dataset in the interface.
Method Summary |
java.lang.String |
chooseMapping(OdiInterface pInterface, java.lang.String pColumnName)
Choose a mapping SQL text for the given pColumnName in the given interface. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MappingChooserFirst
public MappingChooserFirst()
chooseMapping
public java.lang.String chooseMapping(OdiInterface pInterface,
java.lang.String pColumnName)
- Description copied from interface:
IMappingChooser
- Choose a mapping SQL text for the given
pColumnName
in the given interface.
-
- Specified by:
chooseMapping
in interface IMappingChooser
-
- Parameters:
pInterface
- the interface in which we need to choose a mapping text
pColumnName
- the column name for the mapping
- Returns:
- the mapping SQL text that was chosen for this column
Skip navigation links
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.