Professional Documents
Culture Documents
Class Diagram
UML Keywords:
• Overlapping: a descendant may be
descended from more than one of the
subclasses
• Disjoint: a descendant may not be
descended from more than one of the
subclasses
• Complete: all subclasses have been
specified
•Systems
Incomplete:
Analysis and Modelling some
Schoolsubclasses have been
of Information Systems and Accounting
22
Semester 2 2014 @ Faculty of BGL
Representing Generalisation
(continued)
• Eliminate
– Synonyms
– Sets of objects (too big)
– Attributes (too small)
– States of objects
– External objects
– etc
• The rest are our classes
• Specify operation
operation ()
– name operation (parm1, parm2)
operation (parm : type)
– parameters or () operation (in | out | inout
– parameter data type parm)
operation (parm : type) : type
– parameter direction
– result type
• Attributes or operations
• Public (+)
– Any class can access
• Protected (#)
– Only sub-classes can access
• Private (-)
– Only class can access
open
close FileAccess
read
write
0..
manager
1
• Activity Diagrams