Object Oriented Software Engineering   View all facts   Glossary   Help
subject > representation > abstraction > data abstraction > association > aggregation
Next associationlink    Upassociation    Previous associationreflexive association   

aggregation 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 has part implement in has definition help represent draw as show
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 requirementaggregation5.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 variablerole nameseveral ways in JavaA strong kind of aggregation in which if the aggregate is destroyed, then the parts are destroyed as wella 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

Next associationlink    Upassociation    Previous associationreflexive association