Alain Utrillo

Greenhorn
+ Follow
since Mar 12, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Alain Utrillo

Thank you Matthew and Mohamed for your explanations.
I am sorry for the delay.

I have some questions : (just to be more precise i suppose that we think at the Class level, not at the object level, we could make an instance of this Class Diagram to create a Collaboration Diagram to think with objects but what to do with the 2 Interfaces)
So how an interface could request a service from another interface. As far as i know, An interface could not implements the code in one of its methods, because it's an interface, is it right?
How an interface could create an instance of the other interface, what constructor does it use for that?
Supposing the reference is created in on interface, what can we do with it, we could not invoke any methods from the other interface because the code for this method is not exiting in the interface.
Am i right?


The link (without qualified it as <association> <realization> <agregation> etc) between those two interfaces is a medium to communicate a message (synchon|asynchron), is it right? but i could not understand which information is passing through this link.
I need it to implement the code.

I am sorry it could be borrowing here.
Thank you for reading me.
Alain
Hi

I have some difficulties to read Class Diagrams given with the Pattern of the GOF.
Most with the meaning of relation that link Classes or Interfaces.

Somebody could explain me the meaning of the links (association, realization ...) in a Class Diagram of the Observer Pattern (see attached to this post).
I could not figure out what does the link between the two interfaces means.
What i want is a sentence in English language that explain me precisely with no ambigous terms.

Thank you for your help