Book a Demo

Author Topic: How do you override some tags of an owned attribute of a class?  (Read 6413 times)

mse

  • EA User
  • **
  • Posts: 308
  • Karma: +1/-0
    • View Profile
How do you override some tags of an owned attribute of a class?
« on: October 14, 2021, 09:14:29 pm »
I have an interface with 1 attribute. I am typing however two ports with the same interface. On one port I would like to modify a tag of that interface to have a certain value, but on the other port I would like to use another value. How can you do this?

If I modify the tag on the interface, then it will apply globally to all classes referencing it, but I need to something like what you see in composite structure diagrams, where each port is a slot and unique to context. The same I need for an attribute of an interface or even a class.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: How do you override some tags of an owned attribute of a class?
« Reply #1 on: October 14, 2021, 10:07:55 pm »
Well, you can't. You need to think of other ways to do that. Probably the property belongs to the port rather than to the interface?

q.