On 28/10/2010 11:08, Mostafa ElShafei wrote:
> Dear Experts,
> I am curious to know the OCL best practice to check if two diagram
> elements have the same name.
> Thx, for any reply :)
A very vague question.
Your meta-model can sometimes specify uniqueness directly, or you could
specify a validation constraint involving ->isUnique(name).