Hi , first I attached a picture of my metamodel to explain what I need help with
From the picture you can see that a navigational class has attributes and operations.So I don't know how to make or the syntax to create a constraint that checks all the navigational attributes associated with a specific navigational class. Like check for each navigational class all of navigational attributes associated with it.
not really,I want to do something like this (i know the sintax and the code its not right)
context NAVIGATIONALCLASS {
constraint SomeConstraint {
check: self.name = "something" and self.NavigationalClassNavigationalAttribute.name="anotherthing";
}
}
Something like that so i can check all the navigational attributes associated with a navigational class in specific and check the value name in both the class and the attribute.
it worked perfect
I got a last question, its there a place where i can check all the things i can use with evl like the .eContainer()? , because i never knew that existed.