|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.xtools.patterns.framework.PatternParameterMapping
A pattern parameter mapping is used to establish 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 and 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 if achieved upon expansion of the used pattern.
Nested Class Summary | |
static class |
PatternParameterMapping.Filter
A filter interface for processing source values and returning target values. |
static class |
PatternParameterMapping.Map
Another callback that provides a narrow interface for mapping between parameters. |
static class |
PatternParameterMapping.Provider
A mapping provider class used for callback in pattern definition usage definition. |
Constructor Summary | |
PatternParameterMapping(PatternDefinitionUsage usage,
IParameterDescriptor targetParameter)
Constructs a pattern parameteter mapping instance that links the context or using pattern definition and the used pattern definition's parameters. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PatternParameterMapping(PatternDefinitionUsage usage, IParameterDescriptor targetParameter)
usage
- the usage of interesttargetParameter
- the target parameter to be mapped
|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2004. All rights reserved.