Professional Documents
Culture Documents
UML & JAVA - Ak
UML & JAVA - Ak
Diagram of UML
i. Static diagram
ii. Dynamic diagram
iii. Physical diagram
Class diagram shows the major classes and relationship in the program.
A class diagram represents the static structure of classes. A class
diagram may contain the followings:
1. Class roll.
2. Association roll.
3. Message flow etc.
1. System
2. Actor
3. Relationship
Reservation system
Actor: Someone that interact with the system for any purpose, in
other words we can say that the actors are responsible for carry out
the cases. An actor is a type rather than an object.
Object oriented system are reliable and efficient than another object-
oriented model. The concept of object-oriented model was proposed
by James Rambaugh, Grady Booch and Jacobson. The object-oriented
system may provide following advantages to the developers:
SUB-SYSTEM:
RELATIONSHIP:
1. Dependency
2. Flow
3. Generalization/specialization
4. Link
Link: Links are the simple relationship between two or more object.
It’s a dynamic behavior that specify a logical connection between two
or more object. The related two object but they are not the part of
any object. A link must have qualified as well as role. There are
different types of roles of object some are as follows.
a. Global
b. Local
c. Parameter
d. Broadcast
e. Vote
Local: It is applicable to all the link that specify the object invisible
to only limited area or limited user but not all user.
1. Identification of statement
2. Specifying rules
3. Documenting rules
Identification of statement:
This is the first step of phase of rules of UML. This is the phase which
the identify the declarative statement. This is the first phase that
seen each and every part of the statement to implement the rules
processing.
Specifying rules:
Documenting rules: