
Name: Multivalued Associative (Also known as Many-to-Many-to-Many association )
Intent: To allow multiple occurrences of the same association link to be modeled.
This model is applicable when we require the details of multiple occurrences of a link between two instances. Except for reflexive association, UML states that two classes may not be linked more than once via then same association.
Structure: To capture the extra information of multiple occurrences of an association we provide an extra class which is an abstraction of an occurrence of the association.
E.g If PreviousCaptains is the association link between the captain and aircraft class then we add associate the PreviousCaptains association class to another class called Captaincy occurrence which would capture the previous captaincy details of other captains/same captain using the same aircraft at different points in time.
Intent: To allow multiple occurrences of the same association link to be modeled.
This model is applicable when we require the details of multiple occurrences of a link between two instances. Except for reflexive association, UML states that two classes may not be linked more than once via then same association.
Structure: To capture the extra information of multiple occurrences of an association we provide an extra class which is an abstraction of an occurrence of the association.
E.g If PreviousCaptains is the association link between the captain and aircraft class then we add associate the PreviousCaptains association class to another class called Captaincy occurrence which would capture the previous captaincy details of other captains/same captain using the same aircraft at different points in time.
No comments:
Post a Comment