|
|
What is an object ?
- An object is something that can be seen touched,
felt or conceptualised.
- Objects do things (UML:
Operation). The implementation of an
Operation is called (UML:
Method)
- Objects remember things
(UML: Attribute)
- When modelling an object you only need to model
operations and attributes that are important to the
problem (UML: Abstraction)
- (UML: Encapsulation)
hides the way things work and what they know
- An object cannot do its job in isolation, it
needs the help of other objects, through a link.
Once it has a link it can can invoke behaviour on
the other object (UML:
Associate)
- (UML: Multiplicity)
means how many objects are involved collaborating
together
- Objects may be part of other objects
(UML: Aggregation)
- A definition or template for an object
(UML: Class)
- There may be commonality between different
classes which may be used in a subclass
(UML: Inheritance)
- (UML: Polymoprhism)
When the same operation can be defined for many
different classes, each implemented in their own way
|
|
|
|
|
|
|