A class diagram describes the structure of a system by showing the system's classes, their attributes, operations (or methods), and the relationships among the classes.
1
vote
1answer
76 views
UML Class diagram confusion
I am learning how to draw a UML class diagram and after reading a few tutorials, I am still confused about the appropriate usages of Association type (The clear diamond and black diamond). I ...
1
vote
1answer
93 views
Should dependency relationships always be shown on class diagrams
I recently started using the Object aid UML generator plugin for Eclipse and noticed that by default adding of dependency relationships is switched off.
This made me wonder if in most cases they ...
3
votes
5answers
279 views
What classes to put exactly in a class diagram?
What classes must I put in a class diagram? Only classes used in Business Layer and associations between them? Or also other classes in the Data Access Layer, Service Layer, etc.?
0
votes
3answers
297 views
UML - Class Diagrams Order -> Products
I have a class diagram that is like this:
< Order > (1) CAN HAVE (M) < products >
But therefore Order has the following:
Order_Id
Customer_Id
Order_date_day
Order_date_month
...
0
votes
1answer
234 views
Class Design and Structure Online Web Store
I hope I have asked this in the right forum.
Basically, we're designing an Online Store and I am designing the class structure for ordering a product and want some clarification on what I have so ...
0
votes
1answer
174 views
How can I use UML to model a relationship between two classes, where one has functions exposed as friend to the other?
I have a two classes:
------------ ---------------
X Y
------------ ---------------
...
1
vote
2answers
2k views
What does the arrow mean in a Class Diagram?
I need help trying to understand what the meaning of the arrow in a UML Class Diagram is, more specifically in this Composite Diagram. What's the difference between the simple line (from a class to ...
1
vote
2answers
86 views
How show Attributes which appear In Many To Many association
As we know a many to many association are shown by two asterisks in both end of association. Now I have a association between two entities "Good" and "Invoice" so Good and Invoice have a many to many ...
3
votes
1answer
154 views
Graph/diagram editor that works with pseudographics
Is there a graph/diagram editing tool that can output (or even better also parse) pseudographics, that can be easily inserted into source code comments? Like this:
+---------------+
| ...
1
vote
1answer
481 views
UML representation of specific factory pattern
I have to create an UML class diagram from the following example code (Perl). I don't think that the standard factory pattern match in my case or I don't understand it correctly. I don't have ...
4
votes
5answers
1k views
How to Model a simple file-system by UML class diagram
I want to model a file system which contains both files and directories, and directories can contain either files or other directories.
This is what I have reached so far:
In OOSE book, however, a ...
1
vote
4answers
834 views
best way to handle a many to many relationship?
I am drawing a class diagram and I want to know what's the proper notation for many to many relationship between supplier and product?
Should I show the table created supplier_product or leave it out ...
-1
votes
0answers
47 views
Best way to handle product and supplier relationship [duplicate]
Possible Duplicate:
best way to handle a many to many relationship?
The relationship between product and supplier is many to many with a new class to be created? Or is it many to 1?
0
votes
3answers
312 views
Review my class hierarchy [closed]
I have created a class hierarchy for an inventory system for a book/magazine. Here's the picture:
Will it do? I know there's no magazine class yet but I was wondering if anyone could suggest a ...
4
votes
2answers
825 views
Java code generation from class diagram
I'm on the way developing a Java application where user can provide a class diagram and get the corresponding Java code.
I don't know how can I let the user interactively draw a class diagram in ...