Você está na página 1de 17

A0IM: Upload a doc file containing Description of your project, scope, limitations,

functional and non functional requirements, different UML diagrams and TIME Line and
antt c!art"
#"# $lass Diagram
The class diagram is a static diagram. It represents the static view of an application. Class
diagram is not only used for visualizing, describing and documenting different aspects of a
system but also for constructing executable code of the software application. The class diagram
describes the attributes and operations of a class and also the constraints imposed on the system.

Manager
+Name: Char
+Id:Integer
+Tel_No: Integer
+Address:Char
+Complain_Record()
+Purchase_Stock()
Stock
+Name: Char
+Status: Char
rder
!""#
$
Chef
+Id: Integer
+Name: Char
+Tel_No: Integer
+Address: Char
+Take_rders()
Customers
+Id: Integer
+Name: Char
+Tel_No: Integer
+Address: Char
+RoomNo: Integer
+Check_in()
+Check_out()
+Pa%_ &ill()
+rder_'ood_Item()
Room
+Room_No: Integer
+(ocation: Char
Receptionalist
+Id: Name
+Name: Char
+Tel_No: Integer
+Address: Char
+Check_room_a)aila*ilit%()
+&oo_room()
++enerate_&ill()
+Take_Customer_'eed*ack()
Food Items
+Id: Integer
+Name: Char
+,ake -eli)er%() Hotel Attendant
+Id: Integer
+Name: Char
Bill
+&ill_No: Integer
+Customer_Name: Char
Take 'eed &ack
$""#
$
&ook
&ook
+enerate
!""#
$
Pa% &ill
$
$
,akes
$""#
$""#
rder
-eli)er
[Fig a! Class "iagram#
#"% Use case Diagram
$se case diagrams are considered for high level re%uirement analysis of a system. &o when
the re%uirements of a system are analyzed the functionalities are captured in use cases.
&o we can say that uses cases are nothing but the system functionalities written in an
organized manner. 'ow the second things which are relevant to the use cases are the actors.
(ctors can be defined as something that interacts with the system.
The actors can be human user, some internal applications or may be some external
applications. &o in a brief when we are planning to draw an use case diagram we should have
the following items identified.
Functionalities to be represented as an use case
(ctors
)elationships among the use cases and actors.
S%stem
Check Room Availibility
Book Return
Received ayment
Cancel Bookig
Reception
Receiving order
lace order for tea! cofee
Ask for room
Cancel Booking
Chec" in
Check"out
Customer
#ake rovide Room
$eliver the order
Sta%
&enerate Report
Maintain Account
Account
[Fig b! $se case "iagram#
#"& 'tate Diagram
&tate chart diagram is one of the five $*+ diagrams used to model dynamic nature of a
system. They define different states of an ob,ect during its lifetime. (nd these states are
changed by events. &o &tate chart diagrams are useful to model reactive systems. )eactive
systems can be defined as a system that responds to external or internal events.
&tate chart diagram describes the flow of control from one state to another state. &tates are
defined as a condition in which an ob,ect exists and it changes when some event is triggered.
&o the most important purpose of &tate chart diagram is to model life time of an ob,ect from
creation to termination.
&tate chart diagrams are also used for forward and reverse engineering of a system. -ut the
main purpose is to model reactive system.
Following are the main purposes of using &tate chart diagrams.
To model dynamic aspect of a system.
To model life time of a reactive system.
To describe different states of an ob,ect during its life time.
"efine a state machine to model states of an ob,ect.
[Fig c! lms/Issue state "iagram#
[Fig c! lms/return state "iagram#
#"( 'equence Diagram
( 0&e%uence diagram0 is an interaction diagram that shows how processes operate with one
another and in what order. It is a construct of a *essage &e%uence Chart. ( se%uence
diagram shows ob,ect interactions arranged in time se%uence. It depicts the ob,ects and
classes involved in the scenario and the se%uence of messages exchanged between the
ob,ects needed to carry out the functionality of the scenario. &e%uence diagrams are typically
associated with use case realizations in the +ogical 1iew of the system under development.
&e%uence diagrams are sometimes called event diagrams, event scenarios
( se%uence diagram shows, as parallel vertical lines lifelines!, different processes or ob,ects
that live simultaneously, and, as horizontal arrows, the messages exchanged between them,
in the order in which they occur. This allows the specification of simple runtime scenarios in
a graphical manner.
[Fig d! lms/Issue se%uence "iagram#
[Fig d! lms/return se%uence "iagram#
#") Acti*ity Diagram
The basic purposes of activity diagrams are similar to other four diagrams. It captures the
dynamic behavior of the system. 2ther four diagrams are used to show the message flow
from one ob,ect to another but activity diagram is used to show message flow from one
activity to another.
(ctivity is a particular operation of the system. (ctivity diagrams are not only used for
visualizing dynamic nature of a system but they are also used to construct the executable
system by using forward and reverse engineering techni%ues. The only missing thing in
activity diagram is the message part.
It does not show any message flow from one activity to another. (ctivity diagram is some
time considered as the flow chart. (lthough the diagrams loo3s li3e a flow chart but it is not.
It shows different flow li3e parallel, branched, concurrent and single.
&o the purposes can be described as.
"raw the activity flow of a system.
"escribe the se%uence from one activity to another.
"escribe the parallel, branched and concurrent flow of the system.

[Fig e! lms/issue (ctivity "iagram#
[Fig f! lms/return (ctivity "iagram#
#"+ antt $!art
( 4antt chart is a type of bar chart, which graphically shows the progress of a pro,ect or
wor3 effort, against a pro,ect schedule or timeline. 4antts visually illustrate when pro,ect
wor3 is due to start, how much of it has been completed so far, and how much more needs to
be done. The power of a 4antt chart is that it is graphical, unli3e a text list or 5xcel table,
which ma3e them impactful for pro,ect reviews to clients and management.
[Fig g! lms gantt "iagram#
#"+ antt $!art
Timeline charts are $ser Items that create a chart where a series of events are arranged on a
bar graph. 5ach event can be a single point in time or a date range.
[Fig g! lms Timeline "iagram#

Você também pode gostar