SmartDraw Support

HAVE A QUESTION?
CALL 1-800-768-3729

SmartDraw Graphics Software




Software Design Center

HOW TO DRAW BOOCH DIAGRAMS (cont'd)


More Booch's Class and Object Diagram Notations


Booch Visibility

Class Visibility
Visibility markers signify who can access the information contained within a class. Public visibility allows an attribute or an operation to be viewed by any other class. Private visibility means that the attribute or the operation is only accessible by the class itself and its friends. Protected visibility makes an attribute or operation visible only to friend classes and classes that inherit it. Implementation restricts the accessibility of an attribute to the class only (not even friends have access to these attributes).

Place visibility markers next to the attribute they refer to.



Booch Object

Object Visibility
Draw a visibility marker on a link to signify the relationship between the connected objects. These markers can be:
G - Global
P - Parameter
F - Field
L - Local



Relationships
Indicate relationships between objects using lines and arrows. Learn how to connect two objects.



Relationship

Meaning


Relationship

Aggregation (has)

Value

Aggregation by value

Reference

Aggregation by reference

Uses

Uses

Compatible

Instantiates - Compatible type

New type

Instantiates - New type

Compatible Type

Inherits - Compatible type

Inherits

Inherits - New type

Metaclass

Metaclass

Undefined

Undefined