| Author |
Unidirectional & Bi directional
|
Dilip Gamage
Ranch Hand
Joined: Sep 09, 2004
Posts: 148
|
|
Hey Guy's does any one understand what is the diffrence between Unidirectional and Bidirectional ?? Just say ONE - ONE Bidirectional ? < ------ > ONE - ONE Unidirectional ? ---------> Please help me I wan't to clear my doubts. In My openion I didn't see any diffrence in coding. Is there any meaning. I feel (can see)it will useful for <cascade-delete/> Tell me your Ideas ------------------ :roll:
|
Cheers<br />Dilip <br />SCJP 1.4 ,SCBCD 1.3
|
 |
Dilip Gamage
Ranch Hand
Joined: Sep 09, 2004
Posts: 148
|
|
|
No one ??
|
 |
Nathaniel Stoddard
Ranch Hand
Joined: May 29, 2003
Posts: 1258
|
|
|
Geez ... what's the difference between a bicycle and a unicycle? One has two wheels, one has one wheel. Bi = 2 and Uni = 1. Therefore, a bidirectional relationship must have two directions, easily labeled 'to' and 'from''. A unidirectional relationship likewise has one direction.
|
Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
|
 |
Dilip Gamage
Ranch Hand
Joined: Sep 09, 2004
Posts: 148
|
|
|
You mean it can't call back word ? But there was a question kathy she calls it back
|
 |
X. Li
Ranch Hand
Joined: Jan 31, 2004
Posts: 61
|
|
ONE - ONE Bidirectional ? < ------ > ONE - ONE Unidirectional ? --------->
Here is my understanding: Suppose there are two beans A and B. Bidirectional means: A can get B, and B can get A too; In A: getB(); In B: getA(); Unidirectional means: A can get B, but B can't get A. In A: getB(); In B: no method to get A.
|
 |
Dilip Gamage
Ranch Hand
Joined: Sep 09, 2004
Posts: 148
|
|
|
yeh yeh thats the thing i want to know. But some occation they use it both way Thanks X.LI
|
 |
 |
|
|
subject: Unidirectional & Bi directional
|
|
|