Professional Documents
Culture Documents
UploadaDocument
fully dressed statement for nextgeneration-pos SearchDocuments
Explore
Docmen
BooksFiction
BooksNonfiction
Health&Medicine
Brochures/Catalogs
GovernmentDocs
HowToGuides/Manuals
Magazines/Newspapers
Recipes/Menus
SchoolWork
+allcategories
Featured
Recent
People
Authors
Students
Researchers
Publishers
Government&Nonprofits
Businesses
Musicians
Artists&Designers
Teachers
+allcategories
MostFollowed
Popular
SignUp
|
LogIn
Use Cases
TakenfromChapter6of
Applying
UML
and
Patterns
,
3
rd
ed.,
by
Craig
Larman
TableofContents
1.
Introduction
..............................................................................................................................................
1.1.IntroducingtheCaseStudy:TheNextGenPOSSystem..................................................................... 2
2.UseCases.................................................................................................................................................. 3
2.1.Actors,Scenarios,andUseCases....................................................................................................... 3
2.2.WhyUseCases?................................................................................................................................. 4
2.3.AreUseCasesFunctionalRequirements?......................................................................................... 4
2.4.WhatareThreeKindsofActors?....................................................................................................... 4
2.5.
What
are
Three
Common
Use
Case
Formats?
...................................................................................
2.6.Example:ProcessSale,FullyDressedStyle........................................................................................ 5
2.7.WhatdotheSectionsMean?........................................................................................................... 12
2.8.AreThereOtherFormats?ATwoColumnVariation....................................................................... 18
2.9.GuidelinesforWritingUseCases..................................................................................................... 18
2.10.HowtoFindUseCases................................................................................................................... 21
2.11.UseCaseDiagrams......................................................................................................................... 27
2.12.OtherBenefitsofUseCases?RequirementsinContext............................................................... 28
1
Process FIow Diagrams
Easy Process Flow Diagram Software See Examples. Free Trial!
www.SmartDraw.com
1.Introduction
Usecasesaretextstories,widelyusedtodiscoverandrecordrequirements.Theyinfluencemany
aspectsof aprojectincludingOOA/Dandwillbeinputtomanysubsequentartifactsinthecase
studies.Thischapterexploresbasicconcepts,includinghowtowriteusecasesanddrawaUMLusecase
diagram.ThischapteralsoshowsthevalueofanalysisskilloverknowingUMLnotation;theUMLuse
diagram. This chapter also shows the value ofanalysis skill over knowing UML notation; the UML use
casediagramistrivialtolearn,butthemanyguidelinestoidentifyandwritegoodusecasestakeweeks
(orlonger)tofullydigest.
1.1.IntroducingtheCaseStudy:TheNextGenPOSSystem
ThecasestudyusedduringthesenotesistheNextGenpointofsale(POS)system.Inthisapparently
straightforwardproblemdomain,weshallseethatthereareinterestingrequirementanddesign
problemstosolve.Inaddition,it'sarealproblemgroupsreallydodevelopPOSsystemswithobject
technologies.
A
POS
system
is
computerized
application
used
(in
part)
to
record
sales
and
handle
payments;
it
is
typicallyusedinaretailstore.Itincludeshardwarecomponentssuchasacomputerandbarcode
scanner,andsoftwaretorunthesystem.Itinterfacestovariousserviceapplications,suchasathird
partytaxcalculatorandinventorycontrol.Thesesystemsmustberelativelyfaulttolerant;thatis,even
ifremoteservicesaretemporarilyunavailable(suchastheinventorysystem),theymuststillbecapable
ofcapturingsalesandhandlingatleastcashpayments(sothatthebusinessisnotcrippled).
APOSsystemincreasinglymustsupportmultipleandvariedclientsideterminalsandinterfaces.These
include
thin
client
Web
browser
terminal,
regular
personal
computer
with
something
like
Java
Swinggraphicaluserinterface,touchscreeninput,wirelessPDAs,andsoforth.
Furthermore,wearecreatingacommercialPOSsystemthatwewillselltodifferentclientswith
disparateneedsintermsofbusinessruleprocessing.Eachclientwilldesireauniquesetoflogicto
executeatcertainpredictablepointsinscenariosof usingthesystem,suchaswhenanewsaleis
initiatedorwhenanewlineitemisadded.Therefore,wewillneedamechanismtoprovidethis
flexibilityandcustomization.
2
2.UseCases
Informally,usecasesaretextstoriesofsomeactorusingasystemtomeetgoals.Hereisanexample
brief format usecase:
ProcessSale:Acustomerarrivesatacheckoutwithitemstopurchase.ThecashierusesthePOS
systemtorecordeachpurchaseditem.Thesystempresentsarunningtotalandlineitem
details.Thecustomerenterspaymentinformation,whichthesystemvalidatesandrecords.The
systemupdatesinventory.Thecustomerreceivesareceiptfromthesystemandthenleaves
withtheitems.
Usecasesoftenneedtobemoredetailedorstructuredthanthisexample,buttheessenceis
discoveringandrecordingfunctionalrequirementsbywritingstoriesofusingasystemtofulfilluser
goals;thatis,casesof use.Itisn'tsupposedtobeadifficultidea,althoughit'softendifficulttodiscover
what'sneededandwriteitwell.
2.1.Actors,Scenarios,andUseCases
First,
some
informal
definitions:
an
actor
is
something
with
behavior,
such
as
person
(identified
by
role),computersystem,ororganization;forexample,acashier.
Ascenarioisaspecificsequenceofactionsandinteractionsbetweenactorsandthesystem;itisalso
calledausecaseinstance.Itisoneparticularstoryof usingasystem,oronepaththroughtheusecase;
forexample,thescenarioofsuccessfullypurchasingitemswithcash,orthescenariooffailingto
purchaseitemsbecauseofacreditpaymentdenial.
Informallythen,ausecaseisacollectionofrelatedsuccessandfailurescenariosthatdescribeanactor
usingasystemtosupportagoal.Forexample,hereisacasual format usecasewithalternatescenarios:
HandleReturns
MainSuccessScenario:Acustomerarrivesatacheckoutwithitemstoreturn.Thecashieruses
thePOSsystemtorecordeachreturneditem
AlternateScenarios:
Ifthecustomerpaidbycredit,andthereimbursementtransactiontotheircreditaccountis
rejected,informthecustomerandpaythemwithcash.
Iftheitemidentifierisnotfoundinthesystem,notifytheCashierandsuggestmanualentryof
theidentifiercode(perhapsitiscorrupted).
Ifthesystemdetectsfailuretocommunicatewiththeexternalaccountingsystem,
Nowthatscenarios(usecaseinstances)aredefined,analternate,butsimilardefinitionofausecase
providedbytheRUPwillmakebettersense:
3
Vacuum EIevator for home No pit, no hoist, no maintenance. Worlds first Panoramic Elevator. www.NibavLift.com
Inventory Software Try The Free Personal Finance Software. Get Started with Perfios! www.perfios.com/personalsoftware
Tax Free Pension PIan lnvest Rs.4.3K p.m. & Get 8l Lac Return. Plan Your Retirement Now! PolicyBazaar.com/Retirement-Planner
FinaI Year Major Projects BE, BTech, MCA - Limited l00 Seats Call Now Chennai 9944663322 (Free) www.integrityindia.com
Home Lifts Luxury & Simple Home Elevators Easy to install w/ no hoistway www.meyer.com.sg
Business AnaIyst Program Get Certified Now Global Web Based Classroom www.qbi.in
Earn Money Cash Learn Our Trading Application & Earn by Trading Online. Open A/C! www.AngelBroking.com/Earn-Money
Human CapitaI Management lmprove outcomes using integrated workforce management solutions. www.apihealthcare.com
PIay & Win Cash OnIine Rummy is a Traditional lndian Game Start Playing & Win Cash Prizes! www.Ace2Three.com/Win-Cash-Online
PIay & Win Cash OnIine Rummy is a Traditional lndian Game Start Playing & Win Cash Prizes! www.Ace2Three.com/Win-Cash-Online
Are You a Fresher? Join Placement Oriented 4 Month lT Course Designed for Fresh Grads NllT.com/lT-Training
Process modeIing soIution Do you need efficient and really applied processes? www.eunomia-process.com/
HDFC Bank Credit Cards Avail Exclusive Benefits with HDFC Bank Platinum Plus Credit Card. HDFCBankcreditcards.co.in
www.microsoft.com/Private_Cloud Ads by Google
Distance Education Recognized UG & PG Distance Courses DEC,UGC Apprvd. Join Sikkim Manipal Smude.edu.in/20l2_Admission_Opened
Business AnaIyst Program Executive Program From llM Calcutta lmprove Efficiency & Start Business www.hugheseducation.com
Women in SuppIy Chain Real guidance from women who have made an impact in purchasing! www.NextLevelPurchasing.com
Visitor Management Web based Visitor Management System Software to manage your front-desk www.eFACiLiTY.in
POS Printer Widest Range of Fast, Reliable POS Printers www.Star-EMEA.com
JeweIIery Software Your search for complete jewellery management software ends here www.Mmsoftwares.com
OnIine Laptop Shopping Buy Pen Drives, Music CD's, Mobiles Gifts, Apparels, Watches and more! Shopping.lndiatimes.com
Post Graduate DipIoma- HR Build your career as HR Manager with MlTSDE Online courses.Join Now www.mitsde.com
Follow
UeCaeNoe
DownloadthisDocumentforFreePrintMobileCollectionsReportDocument
Thisisaprivatedocument.
InfoandRaing
usecase
haaaaamid
Shae&Embed
Like Sign Up to see what your friends like.
RelaedDocmen
PreviousNext
1.
p.
p.
p.
2.
p.
p.
p.
3.
p.
p.
p.
4.
p.
p.
p.
5.
p.
p.
p.
6.
p.
p.
p.
7.
p.
p.
p.
8.
p.
p.
Moefomhie
PreviousNext
1.
13p.
29p.
13p.
AddaCommen
Submit
Characters:400
UploadaDocument
fully dressed statement for nextgeneration-pos SearchDocuments
FollowUs!
scribd.com/scribd
twitter.com/scribd
facebook.com/scribd
About
Press
Blog
Partners
Scribd101
WebStuff
Support
FAQ
Developers/API
Jobs
Terms
Copyright
Privacy
Copyright2012ScribdInc.
Language:
Language:
English
/29
Search within document...
DownloadthisDocumentforFree