public class InterfaceActionOnTargetMappingSetLocation extends InterfaceActionOnTargetMappingAbstract
InteractiveInterfaceHelperWithActions| Constructor and Description |
|---|
InterfaceActionOnTargetMappingSetLocation(java.lang.String pColumnName,
IMappingChooser pMappingChooser)
Deprecated.
Creates an action class instance which will set the location on a target mapping to ExecutionLocation.TARGET, when
performAction is called. |
InterfaceActionOnTargetMappingSetLocation(java.lang.String pColumnName,
OdiInterface.ExecutionLocation pExecutionLocation,
DataSet pDataSet)
Deprecated.
Creates an action class instance which will set the location on a target mapping, when
performAction is called. |
| Modifier and Type | Method and Description |
|---|---|
void |
performAction(IInterfaceActionListener pInterfaceActionListener,
IInterfaceUndoListener pInterfaceUndoListener,
IActionHelper pActionHelper)
Deprecated.
For internal use only.
|
getDataSetgetColumnNamepublic InterfaceActionOnTargetMappingSetLocation(java.lang.String pColumnName,
IMappingChooser pMappingChooser)
performAction is called.
This constructor should be called directly to create the action class instance.
This instance should then be passed to InteractiveInterfaceHelperWithActions.performAction
to set the location.interactiveHelper.performAction(new InterfaceActionOnTargetMappingSetLocation(definition.getColumnName(), new MappingChooserFirst()));pColumnName - name of the target columnpMappingChooser - Mapping chooser class instance used to determine the mapping expressionMappingChooserDataSet,
MappingChooserFirstpublic InterfaceActionOnTargetMappingSetLocation(java.lang.String pColumnName,
OdiInterface.ExecutionLocation pExecutionLocation,
DataSet pDataSet)
performAction is called.
This constructor should be called directly to create the action class instance.
This instance should then be passed to InteractiveInterfaceHelperWithActions.performAction
to set the location.
Example: interactiveHelper.performAction(new InterfaceActionOnTargetMappingSetLocation(definition.getColumnName(), definition.getExecutionLocation(), dataSet));pColumnName - name of the target columnpExecutionLocation - location to assign to the target mapping, one of ExecutionLocation.SOURCE, ExecutionLocation.WORK, or ExecutionLocation.TARGETpDataSet - data set of the target mappingpublic void performAction(IInterfaceActionListener pInterfaceActionListener, IInterfaceUndoListener pInterfaceUndoListener, IActionHelper pActionHelper)
pInterfaceActionListener - the interface action listener instancepInterfaceUndoListener - the interface undo listener instancepActionHelper - the action helper instance