Exercise 20

Exercise 20 – Modeling with UML

Use Case diagram -Contains actors, user cases and association for capturing the functional requirements and depict behaviors of the system from an external point of views.

  • Actor:- A person, organization or external system, which play a role to in the system;
  • Use case: A sequence of action of measurable values to an actor;
  • Association: Connecting an actor to a use case. Represent the actor involved in interaction with the use case in the system; 

Class diagram -illustrate the classes and attributes of the system, the interface and inter-relationships. The class, attributes and interface would be quite straightforward.  However the relationship could be quite complicated due to multiplicity, generalization and associations. 

Sequence diagram – Consists of objects and invocation messages.  Sequence diagram indicates the order of invocations in the system and the creation of different objects. 

Collaboration diagram – Consists of objects and messages focusing on the communications between objects and is quite similar to sequence diagram. 

State chart diagram – Consists of state, transition, events and actions and showing various state of the entity and the change of states in response to different events. State diagram is not usually required except for complicated logic. 

Activity diagram – Consists of activities and decisions showing the major flowcharts and data flow diagrams to illustrate the flow of codes. 

Component diagram – Consists of major system components such as classifiers and artifacts and their inter-relation.  It is a high level overview of the system.   

Deployment diagram – Consists of deployment elements mainly hardware such as servers and their relationship and logic connections/configuration.  Deployment diagram can be considered as a logical topography of the system. 

Reference 

Castillo, C. & Richards, K. (2007) Why model with UML?. Retrieved April 23, 2008 from http://www.netbeans.org/kb/55/uml-why-model.html

Woo, J (n.d.). UML diagrams . Retrieved April 22, 2008 from http://www.cs.umbc.edu/courses/undergraduate/CMSC445/Fall06/UML%20Diagrams.ppt#273,28,Communication%20diagram

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.