Book a Demo

Author Topic: Constraints on relationship stereotype  (Read 1946 times)

makartetsky

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Constraints on relationship stereotype
« on: April 14, 2011, 11:55:59 pm »
Dear all,

i am trying to impose a constraint on relationship based on dependency relation as a meta-class. What I want to do is to permit a relationship to be instantiated only between element of type elementA and elementB. I tried to define a pre-condition of following type:
self.Source =elementA and self.Destination=elementB
but it seems to be not working, since after importing such a profile EA permits to establish this relationship between any elements.
Any ideas?

Best regards.
Denis