|Validate against model structure [message #1008176]
||Mon, 11 February 2013 09:32
| Mr Manner
Registered: January 2013
Say I have a model with a supertype rule:|
A | B | C | D | E | F;
A | B | C;
I want to write a validation method for "Options" where I check if the "members" feature has a entry for each of the RequiredMembers.
The example above is just pseudo code, the real live code is a bit mode complicated, I can't put the required members in "Options" and chain them with the & operator without forcing an order in the required members.
How can I get get the members in RequiredMembers from emf so I can use this info in my validator.
[Updated on: Mon, 11 February 2013 09:58]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.16896 seconds