|Retrieving a stereotype'S property with a static profile [message #627660]
||Wed, 03 June 2009 11:36
| Timothy Marc
Registered: July 2009
what is the common way to retrieve a property value of a stereotype from
a staric profile?
I assumed, because of the additional code generation step, it had to be
something like this:
Weight w = (Weight)element.getAppliedStereotype(Misc::Weight);
But that causes a ClassCastException. I searched in the newsgroup, but i
didn't found the solution yet.
Powered by FUDForum
. Page generated in 0.03456 seconds