Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aggregation, Association and Composition #74

Open
AndreasRausch opened this issue Sep 21, 2016 · 1 comment
Open

Aggregation, Association and Composition #74

AndreasRausch opened this issue Sep 21, 2016 · 1 comment

Comments

@AndreasRausch
Copy link
Contributor

https://leanpub.com/isaqbglossary/read#Aggregation
https://leanpub.com/isaqbglossary/read#Association
https://leanpub.com/isaqbglossary/read#Composition

I'm totally struggeling with these definitions.

The UML has a defined three types of Asscociations between classes, that might be used in class diagramms: Association, Aggregation and Composition.

However, these definitions, concepts and terms are not clearly defined in OOP like mentioned in the Golssary.

Moreover, even worse: There is a general concept of Composition, well known in Math. It means:
If you have an Element x and y, both of type A and you've got an composition operator op, you are able to create a new element z of type A by composing the to elements y and y.
z := x op y!

OOP and UML Classes and so on, suffer from the non existence of an composition operator! That's the reason my we use Components for Architecture and not Classes oder Objects!!

@gernotstarke
Copy link
Member

what change do you suggest?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants