Skip navigation links

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

E17060-04


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

java.lang.Object
  extended by oracle.odi.interfaces.interactive.support.mapping.choosers.MappingChooserConstant

All Implemented Interfaces:
IMappingChooser

public class MappingChooserConstant
extends java.lang.Object
implements IMappingChooser

This implementation always returns a constant, whatever the column.


Constructor Summary
MappingChooserConstant(java.lang.String pConstant)
          Creates a mapping chooser with a single response for all mappings.

 

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

MappingChooserConstant

public MappingChooserConstant(java.lang.String pConstant)
Creates a mapping chooser with a single response for all mappings.
Parameters:
pConstant - the constant expression to be returned

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

Skip navigation links

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

E17060-04


Copyright © 2010, 2013, Oracle and/or its affiliates. All rights reserved.