Monday, April 6, 2009

UML - Unified Modeling Language

UML stands for Unified Modeling Language. Abstract classes are represented either by italicizing the class name or by adding {abstract} to the class name. Interfaces are defined in the same was as classes, except they must include a stereotype (<< interface >>). Visibility Symbols:
+ (Public, Available to all code)
- (Private, Available to the current class only)
# (Protected, Available to the current class and its subclasses only)

The UML describes the inheritance relationship as generalization. This relationship is signified by a line leading from the subclass to its parent. The line is tipped with an empty closed arrow.

The UML describes the relationship between an interface and the classes that implement it as realization(- - - |>)

An association occurs when a class property is declared to hold a reference to an instance (or instances) of another class).

Sequence Diagram is object based rather than class based. It is used to model a process in a system step by step.

No comments:

Post a Comment