Class Diagrams l Flashcards
What is an object?
Individuals of a system that have similar characteristics and behaviours
What is a class?
A construction plan for a set of similar objects of a system
What is an attribute?
Structural characteristics of a class
What is an operation?
Behaviour of a class
What does this “+” symbol mean in a class diagram?
public access to the attribute (everybody)
What does this “-“ symbol mean in a class diagram?
private access to the attribute (only the object itself)
What does this “#” symbol mean in a class diagram?
protected access (class itself and subclasses)
What does this “~” symbol mean in a class diagram?
packaged access (classes that are in the same package)
What does this “{readOnly}” mean?
attribute value cannot be changed
What does this “{unique}” mean?
no attribute duplicates are permitted
What does this “{non-unique}” mean?
attribute duplicates are permitted
What does this “{ordered}” mean?
attributes are fixed in order of the values
What does this “{unordered}” mean?
attributes have no fixed order of the values
What does “in” mean?
An input value is expected from this parameter
What does “out” mean?
The parameter has adopted a new value, output