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
University of La Plata
Bidirectional relations
Message Boards Home
Recent Posts
Statistics
Answer
(
Unmark
)
Mark as an Answer
« Back
Bidirectional relations
Threads [
Previous
|
Next
]
Karen Poch
Rank:
New Member
Posts:
3
Join Date:
12/31/13
Recent Posts
Bidirectional relations
community
relation
documentation
Answer
3/27/14 12:10 PM
Is there any way to define bidirectional relations between two classes? Or the way is to define two different relations between both classes?
Sign in to vote.
Top
Sabin Popescu
Rank:
Junior Member
Posts:
77
Join Date:
3/18/13
Recent Posts
RE: Bidirectional relations
connector
relation
bidirectional
Answer
1/8/14 7:29 AM as a reply to Karen Poch.
All relations in ADOxx are unidirectional as behaviour. Of course, you can draw a bidirectional arrow if you want or even define an attribute for the relation, whose values are "unidirectional" and "bidirectional", but when you define the relation class, you must choose a
FROM
class and a
TO
class. By implication, every connector has a
FROM
object and a
TO
object. If you want to be able to draw a connector from
A
to
B
and a connector (of the same relation class) from
B
to
A
, you can define an abstract class
_AB_
, derive classes
A
and
B
from class
_AB_
and then define your relation class "abRab" from
_AB_
to
_AB_
.
Sign in to vote.
Top