|
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.uml2.adapters.AbstractElement
com.ibm.xtools.patterns.framework.uml2.adapters.Operation
This UML2 adapter class for UML2 operation. Contains many helper methods that together form a new interface for pattern instances to use (instead of the normal UML2 operation methods that are exposed). Some of the same type of helper methods that are found in a model facade would be found here but distributed amongst the responsible metaclasses. For example, Operation will wrap UML2 operation.
Method Summary | |
Parameter |
ensureParameter(String name,
Type type,
ParameterDirectionKind directionKind)
Ensure a parameters exists on tihs operation. |
Parameter |
ensureParameter(Type type,
ParameterDirectionKind directionKind)
Ensure a parameter exists on this operation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public Parameter ensureParameter(Type type, ParameterDirectionKind directionKind)
type
- the type of the parameter, a UML2 model element is used as the
typedirectionKind
- the direction of the parameter, an in parameter, out parameter,
etc
public Parameter ensureParameter(String name, Type type, ParameterDirectionKind directionKind)
name
- the name of the parametertype
- the type of the parameter, a UML2 model element is used as the
typedirectionKind
- the direction of the parameter, an in parameter, out parameter,
etc
|
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.