The below example shows an arrowhead relationship between the container and the contained. An arrow indicates the direction of navigation. The relationship between two classifiers could be described by naming any association. The navigability is specified by one of the association ends. This is a one-directional relationship in a class diagram that ensures the flow of control from one to another classifier. Thus near the account class, a star sign is present. For example, a bank would have many accounts registered to it. It is one of the most misunderstood relationships which describes the number of instances allowed for a particular element by providing an inclusive non-negative integers interval. The number of elements or cardinality could be defined by multiplicity. The below diagram shows an association between bank and account. Various operations, attributes, etc., are present in the association class. Additional information about the relationship could be obtained by attaching the association relationship with the association class. Between two other classes in an association relationship, an association class forms a part of it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |