Java API ReferenceClass Hierarchy | All Classes | All Fields and Methods

com.ibm.xtools.patterns.framework

Class PatternParameterMapping.Map

+-- Object
      +-- PatternParameterMapping.Map

abstract static public Class PatternParameterMapping.Map
extends Object

Represents a callback that provides a narrow interface for mapping between parameters.

Enclosing Class:


Constructor summary
PatternParameterMapping.Map()

Method summary
voidmap(boolean literalValue, String targetParameterName)

Maps the literal value given with the target parameter with the specified name.

voidmap(int literalValue, String targetParameterName)

Maps the literal value given with the target parameter with the specified name.

voidmap(IParameterDescriptor sourceParameter, String targetParameterName, PatternParameterMapping.Filter valueFilter)

Maps the source parameter with a target parameter with the given name.

voidmap(String literalValue, String targetParameterName)

Maps the literal value given with the target parameter with the specified name.

Constructor detail

PatternParameterMapping.Map

public PatternParameterMapping.Map()

This class contains no constructor declarations, then a default constructor that takes no parameters is automatically provided by the compiler.

Method detail

map

abstract public void map(boolean literalValue, String targetParameterName)

Maps the literal value given with the target parameter with the specified name.

Parameters:

literalValue
- The literal value to be used for the implied target parameter's values.
targetParameterName
- The name of the target parameter.

map

abstract public void map(int literalValue, String targetParameterName)

Maps the literal value given with the target parameter with the specified name.

Parameters:

literalValue
- The literal value to be used for the implied target parameter's values.
targetParameterName
- The name of the target parameter.

map

abstract public void map(IParameterDescriptor sourceParameter, String targetParameterName, PatternParameterMapping.Filter valueFilter)

Maps the source parameter with a target parameter with the given name.

At run-time the process uses the filter supplied as the filter for each value that flows from the source to the target parameter. Without a filter, the default behavior is to filter the input source values as return and target values.

Parameters:

sourceParameter
- The source parameter for mapping.
targetParameterName
- The target parameter name to be mapped.
valueFilter
- The filter operating on the source value before this mapping.

map

abstract public void map(String literalValue, String targetParameterName)

Maps the literal value given with the target parameter with the specified name.

Parameters:

literalValue
- The literal value to be used for the implied target parameter's values.
targetParameterName
- The name of the target parameter.


Feedback