IBM Rational Software Modeler
Release 6.0

com.ibm.xtools.patterns.framework
Class PatternParameterMapping.Map

java.lang.Object
  extended bycom.ibm.xtools.patterns.framework.PatternParameterMapping.Map
Enclosing class:
PatternParameterMapping

public abstract static class PatternParameterMapping.Map
extends Object

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


Constructor Summary
PatternParameterMapping.Map()
           
 
Method Summary
abstract  void map(boolean literalValue, String targetParameterName)
          Maps the literal value given with the target parameter with the specified name.
abstract  void map(int literalValue, String targetParameterName)
          Maps the literal value given with the target parameter with the specified name.
abstract  void map(IParameterDescriptor sourceParameter, String targetParameterName)
          Maps the source parameter with a target parameter with the given name.
abstract  void map(IParameterDescriptor sourceParameter, String targetParameterName, PatternParameterMapping.Filter valueFilter)
          Maps the source parameter with a target parameter with the given name.
abstract  void map(String literalValue, String targetParameterName)
          Maps the literal value given with the target parameter with the specified name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PatternParameterMapping.Map

public PatternParameterMapping.Map()
Method Detail

map

public abstract void map(IParameterDescriptor sourceParameter,
                         String targetParameterName)
Maps the source parameter with a target parameter with the given name.

Parameters:
sourceParameter - the source parameter for mapping
targetParameterName - the target parameter name to be mapped

map

public abstract void map(IParameterDescriptor sourceParameter,
                         String targetParameterName,
                         PatternParameterMapping.Filter valueFilter)
Maps the source parameter with a target parameter with the given name. At run-time it uses the filter supplied as the filter for each value that flows from the source to the target parameter. This filter provides the ability to have computed or derived values, target values that are based on the source parameter value but not necessarily identical. Without a filter, the default behavior is just like having a pass-through filter that simply passes the input source value as the return value and target value.

Parameters:
sourceParameter - the source parameter for mapping
targetParameterName - the target parameter name to be mapped
valueFilter - the filter operating on the source value before

map

public abstract 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

public abstract 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

public abstract 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

IBM Rational Software Modeler
Release 6.0


Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2004. All rights reserved.