Class Diagram Flashcards
It expresses a relationship where an instance of the Whole-class has the responsibility to create and initialize instances of each Part-class
Composition
can tell you the name of the class and the name of an instance of that class, called an object.
classifier
are classes
Rectangles
can be fields, properties, or both.
Attributes
is really a strong form of aggregation
Composition
may form “part of” the aggregate, but may not be essential to it. They may also exist independent of the aggregate
Aggregations
include behaviors and attributes, collectively called features, too.
Classes
It expresses a relationship where an instance of the Container-class has the responsibility to hold and maintain instances of each Containee-class that have been created outside the auspices of the Container-class
Aggregation
Used for abstracting details in several layers
Generalization
Should be used to express a relationship where the behavior of Part instances is undefined without being related to an instance of the Whole.
Composition
represent relationship between instances of classes.
Association
are connectors showing the relationship between those classes.
Lines
There are two kinds of Relationships (OO Relationships)
Generalization and Association
are methods
Behaviors
They call the class diagram this because they don’t depict action
static diagrams