Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

relations with the same name #60

Open
magwas opened this issue May 5, 2016 · 0 comments
Open

relations with the same name #60

magwas opened this issue May 5, 2016 · 0 comments

Comments

@magwas
Copy link
Owner

magwas commented May 5, 2016

There are metamodels (e.g. Archimate), where are multiple relations in the same name.
Examples:

  • All elements can be associated to each other: "Thing is associated with Thing"
  • Product is associated with Value
  • Business Object is associated with Meaning

Theoretically:

  • These are different things, only the name collides.
  • Sometimes there are more relations with the same name between the same relations.
  • There is a short name for the relation ('associated with'), and a long one, containing the connected metamodel element names ('Product is associated with Value')

Features to be implemented:

  • relation names:
    • in case of dashed relation names (e.g. 'composes/is composed of') short name uses the pre-dash part only (e.g. 'composes')
    • the long relation name
      • uses the pre-dash part for forward relations (Business Interface composes Business Role)
    • uses the passive form for backward relations (Business Role is composed of Business Interface, Business Interface is used by Business Role)
  • In the palette:
    • There is only one entry for the same named relations
    • The short name is used
  • In Magic Connector
    • All relations are listed for the endpoints
    • Long names are used
  • When one relation is used from the palette
    • if there are more possible relations between the two elements with the same name, then a list with the long names are shown, and the user can choose the right one
    • if there is one possibility between the two elements
      • if the corresponding preference have its default value then we have the same menu with one entry.
      • if the preference is set, there is no menu, we just connect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant