views:

258

answers:

2

Hi, guys!

I'm in a big trouble with uml profile implementation. The problem is I can't get how can I extend uml Operation class from Infrastructure::Core::Constructs using Profile?

The Extension association from Profiles package allow metaclass only to be of type Core::Constructs::Class according to uml metamodel.

Is Operation a metaclass? If it is how can I put it as a Core::Consructs::Class? As far as I see non of the uml metamodel Operation does specialize or implement Core::Constructs::Class.

Please help me.

I'm trying to make my uml profile implementation in C# using third party uml 2.* metamodel implementation in C#.

+1  A: 
Ted Johnson
Thanx, Ted. But i was talking about metamodel implementation in object-oriented languages.
A: 

Already found the answer. The thing can be achieved by combining Profiles::Class and Kernel::Operation via generalization.