You are on page 1of 12

AN CNLINL AUC1ICN SS1LM

AlM
1o creaLe a case sLudy on CnLlnL AuC1lCn
Cvervlew
1he onllne aucLlon sysLem ls a deslgn abouL a webslLe where sellers collecL and prepare a
llsL of lLems Lhey wanL Lo sell and place lL on Lhe webslLe for vlsuallslng 1o accompllsh Lhls
purpose Lhe user has Lo access Lhe slLe ln case lL's a new user he has Lo reglsLer urchaser
logs ln and selecLs lLems Lhey wanL Lo buy and keep blddlng for lL 1he purchaser maklng Lhe
hlghesL bld for Lhe lLem before Lhe close of Lhe aucLlon ls declared as Lhe owner of Lhe lLem
lf Lhe aucLloneer or Lhe purchaser does noL wanL Lo bld for Lhe producL Lhen Lhere ls a flxed
cuLoff prlce menLloned for every producL Pe can pay Lhe amounL dlrecLly and own Lhe
producL 1he purchaser geLs a conflrmaLlon of hls purchase as an acknowledgemenL from
Lhe webslLe AfLer Lhe LransacLlon by golng back Lo Lhe maln menu he can vlew oLher lLems
AssumpLlons
1 1he users are allowed Lo reglsLer and glve user ld's Lo have ldenLlflcaLlon
2 1he users are allowed Lo bld for any prlce accordlng Lo Lhelr wlsh provlded lL ls more
Lhan Lhe mlnlmum prlce for aucLlon
3 1he flxed cuLoff prlce ls declded and conflrmed for every producL
4 1he aucLloneer requesLlng Lhe producL for Lhe cuLoff prlce ls glven prlorlLy
3 1he aucLloneer blddlng Lhe maxlmum prlce ls glven Lhe producL
lnpuLs
1 1he logln deLalls of Lhe aucLloneer
2 LlsL of avallable producLs on Lhe slLe
3 ueLalls such as speclflcaLlons and Lhe prlce of each producL
4 8lddlng prlce of Lhe aucLloneer
CuLpuLs
1 1he cuLoff prlce for each producL
2 updaLed sLaLus of bld prlce
3 SLaLus of each producL lf lL ls bld or sold for sale
4 AcknowledgemenL Lo whom Lhe producL ls sold


ey Lerms
1 CeL deLalls and bld Lhe producL
2 uellver Lhe producL
3 ay Lhe prlce and logouL
An aucLlon slmulaLlon
1 8ld for Lhe producL
2 Log on Lo Lhe slLe
3 llx or bld for Lhe prlce
4 luncLlon polnLs
O 8ldder requesL producL deLalls
O ay flnal prlce and bld Lhe producL
O Loop
Check any producL deLalls
Check for cuLoff prlce
AcLors
1 urchaser
2 Seller
use cases ln aucLlon sysLem
1 Logln
2 Seller
3 urchaser
4 ChaLLlng
3 SelecL meLhod of blddlng
6 SelecL meLhod of aucLlon
7 8uy goods
8 8eglsLer for goods
9 SelecL hlsLory of daLabase
use cases ln purchaser's dlagram
1 valldaLe user
2 8ecord chaLLlng
AlgorlLhmlc procedure
SLep 1 sLarL Lhe appllcaLlon
SLep 2 creaLe Lhe requlre acLors and use cases ln Lhe browser wlndow
SLep 3 goL new use case vlew and Lhen cllck Lhe use case vlew and open a new package
SLep 4 rename Lhe new package wlLh Lhe package wlLh requlred names
SLep 3 creaLe Lwo packages acLor and use case
Class dlagram

A class ls a sLandard uML consLrucL used Lo deLall Lhe paLLern from whlch ob[ecLs wlll be
produced aL run Llme A class ls a speclflcaLlon an ob[ecL ls an lnsLance of a class Classes
may be lnherlLed from oLher classes have oLher classes as aLLrlbuLes delegaLe
responslblllLles Lo oLher classes and lmplemenL absLracL lnLerfaces 1he class dlagram for Lhe
proposed sysLem has several classes 1hese classes have aLLrlbuLes and operaLlons 1he
descrlpLlon for each of Lhem ls descrlbed clearly
ALLrlbuLe Class
ALLrlbuLe deflne Lhe characLerlsLlc of a class Lach ob[ecL ln Lhe class has Lhe same
aLLrlbuLes buL Lhe values of Lhe aLLrlbuLes may be dlfferenL
CperaLlon Class
Cb[ecL ln Lhe class carry ouL Lhelr deflned responslblllLles by uslng operaLlons Lach
operaLlon performs a slngle coheslve funcLlon 1he operaLlon class exposes a seL of
properLles 1he symbol used Lo represenL Lhe above ls
AssoclaLlon
Product
id
name
type
current_price
financialcutoffPrice()
productDetails()
Auctioner
id
auctioner()
sendDetailsOfProductsToBidder()
UpdateBiddingPrice()
sellProducts()
getPricePaid()
Customer
name
contactinfo
email
phone
password
logon()
searchProducts()
bidProducts()
buyProducts()
Site
name
listofAvailableProducts
listofPrices
webhost
updateSite()
sellProducts()
lL ls a relaLlon beLween lnsLances of Lwo classes 1here ls an assoclaLlon beLween Lwo
classes lf an lnsLance of one class musL know abouL Lhe oLher ln order Lo perform lLs work
AggregaLlon
lL ls an assoclaLlon ln whlch one class belongs Lo a collecLlon An aggregaLlon has a dlamond
end polnLlng Lo Lhe parL conLalnlng Lhe whole ln one dlagram order has a collecLlon of
order deLalls 1he symbol ls



CenerallzaLlon
An lnherlLance llnk lndlcaLlng one class ls a super class of Lhe oLher A generallzaLlon has a
Lrlangle polnLlng Lo Lhe super class 1he symbol ls



uependency
lL ls a relaLlonshlp beLween Lwo model elemenLs ln whlch a change Lo one model elemenL
wlll affecL Lhe oLher model elemenL We use a dependency relaLlonshlp Lo connecL model
elemenLs wlLh same level of meanlng 1he symbol used ls

arameLers
arameLers furLher classlfy Lhe behavlour of an operaLlon lL exposes a seL of properLles and
meLhods LhaL deLermlne Lhe parameLer characLerlsLlc such as Lype and lnlLlal value and
allow you Lo reLrleve parameLers

Class
lL refers Lo a plaln class parameLerlzed class or uLlllLy lnsLanLlaLed class or uLlllLy or class
uLlllLy
lnLerface
lL speclfles Lhe exLernally vlslble operaLlons of a class or componenL and has no
lmplemenLaLlon of lLs own lLs symbol ls

8eallzaLlon
lL ls a relaLlonshlp beLween classes lnLerfaces componenLs and packages LhaL converLs a
cllenL elemenL wlLh a suppller elemenL A reallzaLlon ls a relaLlonshlp beLween class and
lnLerface offered by Lhe lnLerface lLs symbol ls


use case dlagram


lL can be descrlbed as a speclflc way of uslng Lhe sysLem from a user's perspecLlve 1he
characLerlsLlcs are
1 A paLLern of behavlour Lhe sysLem exhlblLs
2 A sequence of relaLed LransacLlons performed by acLor and Lhe sysLem
3 uellverlng someLhlng of value Lo acLor
buy/sell the product
deliver the product
AuctionAdmin
login
Serach for product
request/send details
bid the product
pay the price
Bidder
lLs symbol ls


AcLor
lL represenLs sysLem users 1hey help Lo dellmlL Lhe sysLem and glve a clearer plcLure of
whaL Lhe sysLem should do An acLor lnLeracLs wlLh buL has no conLrol over use cases
An acLor ls someone or someLhlng LhaL
1 lnLeracLs wlLh or provldes users wlLh sysLem
2 rovldes lnpuL Lo and recelves lnformaLlon from sysLem
3 LxLernal Lo sysLem and has no conLrol over usecases
lL ls represenLed as

AssoclaLlon
An assoclaLlon provldes paLhway for communlcaLlon 1he communlcaLlon can be beLween
classes or lnLerfaces lf Lwo ob[ecLs are usually consldered lndependenLly Lhe relaLlonshlp ls
an assoclaLlon lL ls represenLed as


Sequence dlagram
A sequence dlagram ls a graphlcal vlew of a scenarlo LhaL shows ob[ecL lnLeracLlons ln a
Llmebased sequence whaL happens flrsL and whaL happens nexL
Cb[ecL
An ob[ecL has sLaLe or behavlour and ldenLlLy 1he sLrucLure and behavlour of slmllar ob[ecLs
are deflned ln Lhelr own common class lL ls represenLed as





Cb[ecL name
Cb[ecL message
A message ls a communlcaLlon carrled beLween Lwo ob[ecLs LhaL Lrlgger an evenL A
message speclflcaLlon lndlcaLes Lhe operaLlon synchronlsaLlon frequency and documenL
acLlon assoclaLed wlLh a message

8eLurn message
lL ls a reLurn from a procedure call 1he reLurn arrow may be suppressed slnce lL ls lmpllclL aL
Lhe end of acLlvaLlon







bidder
ssite aauctioner pproduct
1 login
2 search
3 request product details
4 get details
5 display details
6 pay final price or bid for product
7 update bid price
8 check product
9 give ack if suitable for selling
10 buy the product
11 pay the price
12 logout
1 message
1 message
CollaboraLlon dlagram

A collaboraLlon dlagram also called a communlcaLlon dlagram or lnLeracLlon dlagram ls an
lllusLraLlon of Lhe relaLlonshlps and lnLeracLlons among sofLware ob[ecLs ln Lhe unlfled Modelllng
Language
Cb[ecL
An ob[ecL has sLaLe or behavlour and ldenLlLy 1he sLrucLure and behavlour of slmllar ob[ecLs
are deflned ln Lhelr own common class lL ls represenLed as





Cb[ecL message
A message ls a communlcaLlon carrled beLween Lwo ob[ecLs LhaL Lrlgger an evenL A
message speclflcaLlon lndlcaLes Lhe operaLlon synchronlsaLlon frequency and documenL
acLlon assoclaLed wlLh a message

ssite
pproduc
t
bidder
aauctioner
8 check product
1 login
2 search
12 logout
4 get details
7 update bid price
5 display details
9 give ack if suitable for selling
3 request product details
6 pay final price or bid for product
10 buy th product
11 pay the price
Cb[ecL name
1 message
8eLurn message
lL ls a reLurn from a procedure call 1he reLurn arrow may be suppressed slnce lL ls lmpllclL aL
Lhe end of acLlvaLlon


Act|v|ty d|agram

lL ls evenLually a fancy flowcharL AcLlvlLy dlagrams and sLaLe charL dlagrams are relaLed
whlle a sLaLe charL dlagram focuses aLLenLlon on an ob[ecL undergolng a process an acLlvlLy
dlagram focuses on Lhe flow of acLlvlLles lnvolved ln a slngle process
SLarL sLaLe
lL expllclLly shows Lhe beglnnlng of a workflow on an acLlvlLy dlagram or Lhe beglnnlng of Lhe
execuLlon of a sLaLe machlne on a sLaLe charL dlagram lL ls represenLed as
logon to
the site
search the
product
request
details
bid the final price
and buy the product
bid the
product
check for the
cutt off price
wait for
next bid
sell/buy the
product
pay the
price
if suitable for selling
no
yes
if final fixed price suitable
yes
no
1 message

1ranslLlon
A sLaLe LranslLlon lndlcaLes LhaL an ob[ecL ln Lhe source sLaLe wlll perform cerLaln speclfled
acLlons and enLer Lhe desLlnaLlon sLaLe when a speclfled evenL occurs
State chart d|agram

Component d|agram

ComponenL dlagram represenLs a sofLware module wlLh a well deflned lnLerface 1he
lnLerface of a componenL ls represenLed by one or several lnLerface componenLs or
elemenLs LhaL Lhe componenL provldes

wait for
request
wait for
decision
wait to update
bid price
wait till next
bid comes
wait for bid price
to meet cut off
wait for
payment
requested product details
bid the price
bid for higher price
compare bidding price with cut off
sell/buy the product


ep|oyment d|agram
A deploymenL dlagram shares processor devlces and connecLlons Lach model conLalns a
slngle deploymenL dlagram whlch shows Lhe connecLlon beLween lLs processors and devlces
and Lhe allocaLlon of lLs process Lo process
rocessors
lL ls a hardware componenL capable of execuLlng programs lLs symbol ls



uevlce
lL ls a hardware componenL wlLh no compuLlng power Lach devlce musL have a name
uevlce name can be generlc such as modem" or Lermlnal"
centarl
server java
central server
class
central
database
name
listof
prices
web host
product db
customer
db




ConnecLlon
lL represenLs some Lype of hardware coupllng beLween Lwo enLlLles An enLlLy ls elLher a
processor or devlce




8esulL 1hus varlous uML dlagrams were generaLed uslng 8aLlonal 8ose
Dtabase
Server
Customer 1
<<device>>
Customer n
<<device>>

You might also like