Hi guys.
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:
if (FLAG==1){
plane=military;
else
plane=civil;
}
etc...
Can you gyus help me with the relationships and dependencies and with the operations?
Thanks :)