This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes OO, Patterns, UML and Refactoring and the fly likes Doubt about diagram class (realization) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Doubt about diagram class (realization)" Watch "Doubt about diagram class (realization)" New topic
Author

Doubt about diagram class (realization)

Fernanda Silva
Greenhorn

Joined: Aug 15, 2003
Posts: 23
The Relationships is of Realization (with arrow closed).
My doubt is. I say:
The class B is a realization of Class A
OR
The class A is a realization of Class B

[edited by Ilja Preuss to add code tags to the diagram]
[ August 21, 2003: Message edited by: Ilja Preuss ]
Fernanda Silva
Greenhorn

Joined: Aug 15, 2003
Posts: 23
My diagram was not good Idea. :
The diagram represents:
Class B is the interface.
Class A implements the interface.
than,
Class A - - - - - - |> Class B.
I say :
The class B is a realization of Class A
OR
The class A is a realization of Class B
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
It's the latter.


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Fernanda Silva
Greenhorn

Joined: Aug 15, 2003
Posts: 23
I didnt undertand. ???
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
The class A is a realization of Class B.
 
jQuery in Action, 3rd edition
 
subject: Doubt about diagram class (realization)
 
It's not a secret anymore!