Click here to Skip to main content
15,888,461 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am designing a UML for my JAVA program class. It has 50+ attributes and 50+ properties. I have to include the UML in my report in word document. Is there any problem if the diagram gets split into multiple pages?

20+ properties have getters and setters, so it is necessary to include them?

And there are few other classes with which I have to show the relationship, the relationship diagram will be on another page, so on relationship UML do I have to list all the attributes again ? or I can just include the class name in the rectangle?

What I have tried:

I tried creating the UML will all the entities, but it went upto 3 pages. Reducing font size is also not helping.I tried creating the UML will all the entities, but it went upto 3 pages. Reducing font size is also not helping.
Posted
Updated 12-Apr-18 22:53pm
Comments
Ziee-M 13-Apr-18 11:06am    
First of all, when you talk about UML, you need to precise witch diagram you are using. i guess you are talking about Class diagram here.
Getters and setters are technicaly methods, you dont want to put them but instead you put only your attributes.
Don't forget that the main objective of UML is readabilty, we need to understand your application classes with minimum effort just by reading your diagrams.
In general, you need to create many diagrams to explain your application functionality.
You would probably need to at least design your class diagram, Use Case Diagram and sequence and/or activity diagrams.
UML is not to be taken lightly, it reflect your design/conecption skills. In general, your application should have a few dozens of entity (in an end of study project). so KarstenK answer is very probably correct since you have a 100+ entity.
You should reconsider your hole conception for the project.
For the relationship part, you use the associations, so there is no class that can be created twice in the diagram.
You have to read a lot more about UML before you start.

1 solution

This sounds not well. You should break down this amount of a more realistic size. Think about your task again and imagine the data as real objects, so you can better separate the attribute. Ask a teacher or a mate because it is obvious that your solution is poor, bad and maybe wrong!!!

If your solution stays as great I would make a small overview page and a full plan with some papers attached with glue or tape. Some work - but needed ;-)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900