Many-to-Many class relationship in UML diagram -
what relationship of many-to-many in uml? example : if one-to-one relationship call composition one-to-many relationship call aggregation association? or?
no. there (almost) no link between cardinality of association , aggregation kind (none, composite, aggregation).
each association end has lower bound (minimum cardinality) upper bound (maximum cardinality) , aggregation kind. combinations impossible can have "one-to-one" association or without composition.
edit : add examples
all these associations valid. example association between myclass3 , myclass4 one-to-one , composite (end3). while, association between myclass11 , myclass12 ont-to-many , composite (end11). association between myclass , myclass2 *one-to-one" not composite.
you can make copy of model here
Comments
Post a Comment