domke89
domke89

Reputation: 61

What to use in UML when a class does not have inheritance relationship with other classes

If I have a person class that has an array list of documents as a field and document is completely separate class, how would I represent this kind of relationship in UML?

Upvotes: 0

Views: 685

Answers (1)

4.Pi.n
4.Pi.n

Reputation: 1151

Association defines a relationship between classes of objects that allows one object instance to cause another to perform an action on its behalf. Usually used if Object own other Object In your case (association) is good option because person is the owner & person can write document

Upvotes: 1

Related Questions