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

Hi,

I am new to OCL, I am using OCL interpreter to find classes in a model (EMF XMI model) at M2 layer, using following query.
Class.allInstances()

when I execute this query I found Classes like Statemachine, Usecase, Node and so on. basically I want to find only classes in a model without classes like statemachine, usease or any other modeling element. Can any body help me in this regard?


Thanks,
pkojo