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

com.ibm.xtools.patterns.framework

Class PatternParameterMapping

+-- Object
      +-- PatternParameterMapping

abstract public Class PatternParameterMapping
extends Object

Determines how parameters of one pattern are linked to parameters of another pattern.

Once parameters are mapped at the definition-level, pattern parameter values can be transferred from the context of one pattern into the context of another.

Each source pattern parameter can be mapped to one or more used target pattern parameters. The source pattern parameter is found within the source pattern definition. The source pattern definition is defined as the pattern definition that contains the pattern definition usage that owns this pattern parameter mapping. A target pattern parameter is found within the target pattern definition, and the target pattern definition is defined as the pattern definition referenced by the pattern definition usage.

Typically, a mapping would be specified for at least each target parameter or enough of the target parameters, so a desirable expansion result is achieved upon expansion of the used pattern.

Nested Class Summary:


Constructor summary
PatternParameterMapping(PatternDefinitionUsage usage, IParameterDescriptor targetParameter)

Constructs a pattern parameter mapping instance.

Constructor detail

PatternParameterMapping

public PatternParameterMapping(PatternDefinitionUsage usage, IParameterDescriptor targetParameter)

Constructs a pattern parameter mapping instance.

Parameters:

usage
- The usage of interest.
targetParameter
- The target parameter to be mapped.


Feedback