|Middleweight UML extension: creating specific Operations [message #627333]
||Mon, 19 January 2009 08:44
Registered: July 2009
I am doing UML middleweight extension and I want to create a specific
UML operation for one of my classes.
That specific operation should have one Boolean parameter as input.
So I created within the UML editor a <<metaclass>> <Class> TestClass
which is a subclass of uml:Class.
I created a nested classifier <<metaclass>> <Class> testOp which is a
sublcass of uml:Operation.
Finally I added a nested classifier <<metaclass>> <Class> testParameter
which is a subclass of uml:Parameter.
But I can't set the direction and the type of testParameter. So how can
I set the set the constraint (the input parameter must be Boolean) for
the parameter ?
If I create a model instance of my metamodel, the "testOp" operation
won't show any braces in the generated editor. How can I add braces so
that one can distinguish between extended classes and extended
operations more easily.
Powered by FUDForum
. Page generated in 0.01282 seconds