So I know this diagram is really wrong. But I honestly don't know how to express my ideas using UML notation and it is hard to find resources to this very specific case. basically I have these questions
After the customer entered his or her details, the
Arrangementclass will calculate the cost and the distance based on the info. (Using that information as the input) In this case, is it ok to use
calCostAndDis (Customer) : (int)for the function bit?
When I use an arrow and say "has access to", by that I want the variables in one class to be accessible by the other class, meaning the other class contains the those variables. For example, after a customer makes an order, the info will be saved to the CarsRecord class. So that later we can check the info in the record. How can I express it in UML notation? A class stores the info of another class?
If I want the
SystemRecordto contain both
ChauffeursRecord, (meaning it has access to both of them as they are part of the system record). Does my graph express this idea correctly?
I am really sorry but I am desperate. I have spent days trying to understand class diagrams but I cannot find anything that explains this kind of situation.
Many thanks in advance.