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

E17060-01

oracle.odi.interfaces.interactive.support.mapping.choosers
Class MappingChooserFirst

java.lang.Object
  extended by 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.


Constructor Summary
MappingChooserFirst()
           
 
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
 

Constructor Detail

MappingChooserFirst

public MappingChooserFirst()
Method Detail

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

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.