wood burning stoves 2.0*
The moose likes OO, Patterns, UML and Refactoring and the fly likes some simple Q's Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "some simple Q Watch "some simple Q New topic
Author

some simple Q's

basha khan
Ranch Hand

Joined: Jan 26, 2002
Posts: 516
Hi object ranchers,
what 's multiple and dynamic classifications?.
what 's the difference between specification and implementation diagrams?.
can implementation diagrams can contain aggregation/compostion symbols?
can navigabilty and aggregation/compostion drawn together?.
anyone plz
basha
yi zhu
Ranch Hand

Joined: Sep 10, 2002
Posts: 41
what 's multiple and dynamic classifications?.
These are used for better reflecting the real world when you do conceptual modeling.
For an of example of multiple classification, a person having cleared SCJP and SCEA is a SCJP and a SCEA. This person has two titles. But there is not a title equivalent to the sum of SCJP and SCEA.
For an example of dynamic classifiation, when a SCJP clears SCEA two years after his obtainment of SCJP, he becomes a SCEA but he is no longer a SCJP.
How to implement this is another story...
With JAVA, I see no way to do multiple classification. But dynamic classification can be mimicked by the design pattern STATE

what 's the difference between specification and implementation diagrams?.
Specification is WHAT and implementation is HOW.
can implementation diagrams can contain aggregation/compostion symbols?
I see no reason stoping you from doing that. It can only make your diagrams easier to understand.
can navigabilty and aggregation/compostion drawn together?.
For composition, there is no need to do that because you alway gain access of a part via the whole
As said in Fowler's book, the difference between aggregation and association is hard to explain. So I suggest you consider using association instead of aggregation if you need to have navigability.
 
 
subject: some simple Q's
 
Similar Threads
Compostion,Association and aggregation in java
Aggregation and Compostion!!
subclass vs compostion
aggregation vs composition
Compostion and abstract class