UML diagram

Hi guys.
Even though I work in Java, I think you can help me. I have some questions about very long diagram that I have to make. In short lines the task is this:
airplanes and airports.
The airports have these characteristics:
One runway and multiple hangars.
Some of the airports are only military.
The airplanes have these characteristics:
Capacity.
Speed.
Max time for departure.
Time for maintenance in hangars.
Name.

The plains are divided to military and civil planes. The military and civil are divided to cargo and passenger planes.
Passenger planes nave number of seats and the cargo have max capacity.

So far I have this:
http://img39.imageshack.us/i/umlair.jpg/

About the military and civil plane, I think that a flag will do the trick like this:
1
2
3
4
5
6
if (FLAG==1){
plane=military;
else
plane=civil;
}
etc...

Can you gyus help me with the relationships and dependencies and with the operations?
Thanks!
Last edited on
Well, we could help you figure out the relationships, but as exactly that is the task here... I don't think we should go farther than giving advice, anything else would sort of diminish the learning value here.

Whether you can use a flag here or not pretty much depends on how different military and civil planes here are.
Thank you, but I finished it. Either way thank you for your reply.
Topic archived. No new replies allowed.