- is there any why to know which one of two types of interaction mentioned[aggregation or association] should be used in class diagram ?
- is it even matter to specify which one to use in a certain interaction ?
When to use aggregation, association?
661 Views Asked by Mohamed Hmini At
1
There are 1 best solutions below
Related Questions in UML
- steps to create a web app with backend and database and web
- How to present this example concept in UML: Using 2 LCD displays in C/C++
- In the UML diagram, in the Class diagram, what does stereotype mean <<compound>>?
- UML representation of containerized services
- uml class diagram for boxing match
- Polymorphism can be described as:
- Why am I getting a plantUML syntax error with a statechart in a package?
- System or external system as an actor in a use case?
- How to model statechart behavior inheritance using UML?
- Can we have an interface create objects of another interface in UML Class Diagrams?
- Is my relationships correct in my class diagram
- How to attach a Port shape to a class shape?
- How to correctly create a sequence diagram?
- How can I insert activity diagram image to an use case in Enterprise architect?
- Use case extends or include
Related Questions in CLASS-DIAGRAM
- In the UML diagram, in the Class diagram, what does stereotype mean <<compound>>?
- Visual Studio Class Diagram Class File Location
- Can we have an interface create objects of another interface in UML Class Diagrams?
- Assignment to create a class diagram and structure the system correctly
- Is my relationships correct in my class diagram
- Having issues with Intellij diagram generator
- How to correctly create a sequence diagram?
- How do I position the interface on top?
- How to center allign literals compartment title in Enum class diagram?
- What is the correct representation of inheritance and implementation in the UML class diagram?
- Confused with a symbol in an UML diagram
- How to model the dialogue between users in a UML class diagram?
- StarUML fails to open file with JavaScript error
- Validation of Class Diagram: Is the Proposed Model Accurate?
- Attendance management system uml class diagram
Related Questions in TOOL-UML
- Association with multiple classes
- Is it possible to Link a specific class or line of method from source code to the UML diagram for PlantUML IntelliJ Plugin?
- creating UML or class diagram manually from existing project
- Why DOESN'T this Star UML Sequence Diagram have the activation "rectangle" in the Control object?
- How to create an UML diagram in Android Studio - JAVA via sofrware
- Is there a place/page where I can take a look all possible shapes in Visio?
- why executing umlgraph command sets UMLGRAPH_HOME path to "lib"?
- PlantUML object layout control is not working, how to deal with that?
- When the Plantuml file is of 10K lines, Not able to generate the complete image rather only half the image is generated
- How the N-ary association works in class diagram?
- When to use aggregation, association?
- Visual or UML tool to draw micro service connectivity
- SPARX Enterprise Architect - importing transparent image exports with black background
- Sparx Enterprise Architect VS Visual Paradigm
- UML tool for mapping the attribute correspondence in messages
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Assosiation
The most abstract way to describe static relationship between classes is using the Association link, which simply states that there is some kind of a link or a dependency between two classes or more.
Aggregation
In cases where there’s a part-of relationship between ClassA (whole) and ClassB (part), we can be more specific and use the aggregation link instead of the association link, highlighting that the same ClassB instance can also be aggregated by other classes in the application (therefore aggregation is also known as shared association).
If you want to read detailed description then check this LINK