Sign In
www.adoxx.org
Welcome
Download
Tutorial
Olive Webinar
Introduction Webinar
Interaction with external API webinar
ADOxx Training Registration
ADOxx Training Overview
Frequently Asked Questions
Developer Community
Realization Cases
Falcon
Building Blocks_
Documentation
Introduction to ADOxx
Modelling Language Implementation
Mechanisms and Algorithms Implementation on ADOxx
ADOxx Development Tools And Services
ADOxx Development Languages
ADOxx Development Languages: Syntax Support in Notepad++
ADOxx Development Languages: Syntax Support in Microsoft Visual Studio Code
AdoScript Documentation
CoChaCo4ADOxx
Contact
ADOxx.org
Frequently Asked Questions
Message Boards Home
Recent Posts
Statistics
Answer
(
Unmark
)
Mark as an Answer
« Back
Self-Relation
Threads [
Previous
|
Next
]
Christos trikalis
Rank:
New Member
Posts:
1
Join Date:
3/29/19
Recent Posts
Self-Relation
Answer
3/29/19 9:25 AM
Hello all,
How can i define the source and destination of a relation class to point to the same entity?
for example __________
| Entity |
|___________|
/|\ |
|_____|
Thank you in advance
Sign in to vote.
Top
Thomas Off
Rank:
New Member
Posts:
2
Join Date:
3/13/18
Recent Posts
RE: Self-Relation
Answer
4/30/19 11:06 AM as a reply to Christos trikalis.
Hi,
in my experience it is not directly possible to create a relationship from one object (entity) to itself. You need to introduce an additional node to which you reference from the entity and reference back to the entity.
__________
| Entity |
|___________|
/|\ |
| \|/
|_____O New Node
Have a look at the UML example there you find a class called associationnode in the class diagram that is what you need to implement in your scenario.
Best wishes, Thomas
Sign in to vote.
Top