[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.mdt.uml2] Re: Find stereotypes applicable to instances of EClass?

Hey,

what about:

Element element = (Element)UMLFactory.create(eclass);
final boolean isApplicable = element.isStereotypeApplicable(stereo);

Timothy

Joel Greenyer schrieb:
Hi,
given an EClass, corresponding to an UML meta-class, and a stereotype, I wonder what is the most elegant way to find out whether the stereotype is applicable to an instances of this EClass?
Any ideas?


Thanks for helping

Joel