Object Oriented Software Engineering   View all facts   Glossary   Help
subject > representation > abstraction > data abstraction > association > aggregation > composition
Upaggregation

composition comparison table
Subject have be add to is a kind of is a subtopic of have example group describe hide have default name exist if implement using correspond to has part implement in help represent draw as show
one-to-one compositionsufficient names to make the association clear and unambiguouslegitimate only if its links will survive beyond the execution of any particular operationa model unless it is relevant to the application - it will be needed to implement some requirementcomposition5.6 - More Advanced Features of Class DiagramsThe rooms of a building cannot exist without the buildingthe pieces of data that describe some entity, so that programmers can manipulate that data as a unita relationship that will exist between instances at run timethe details of data"has" if it has neither an association name nor a role namea class possesses, controls, is connected to, is related to, is a part of, has as parts, is a member of, or has as members, some class in your modelinstance variables in Java: you divide each two-way association into two one-way associations - so each associated class has an instance variablea complex attribute that can be shown as an attribute or, if you want to emphasize the details of the composed class, as a compositionrole nameseveral ways in Javaa programmer to cope with the complexity of data'part-whole' relationshipsa solid (filled-in) diamond in a UML diagramhow two classes are related to each other

Upaggregation