| Java API Reference | Class Hierarchy | All Classes | All Fields and Methods |
com.ibm.xtools.patterns.framework
+-- Object +-- PatternParameterMapping.Map
abstract static public Class PatternParameterMapping.Map
extends Object
Represents a callback that provides a narrow interface for mapping between parameters.
| Constructor summary |
|---|
| PatternParameterMapping.Map() |
| Method summary | |
|---|---|
| void | map(boolean literalValue, String targetParameterName) Maps the literal value given with the target parameter with the specified name. |
| void | map(int literalValue, String targetParameterName) Maps the literal value given with the target parameter with the specified name. |
| void | map(IParameterDescriptor sourceParameter, String targetParameterName, PatternParameterMapping.Filter valueFilter) Maps the source parameter with a target parameter with the given name. |
| void | map(String literalValue, String targetParameterName) Maps the literal value given with the target parameter with the specified name. |
Constructor detail
public PatternParameterMapping.Map()
Method detail
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. |
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. |
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. |
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. |