[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.mdt.ocl] Re: OCL query to find classes

Hello Chirstian & Timothy,

I tried to run queries as you mentioned in your previous replies but that query does not give me result, but it helps me to look into ownedElement, now I am able to find all classes in a UML models. Here is the query:

ownedElement.allOwnedElements()->select(e|e.oclIsTypeOf(Class))

regards,
pokojo