Sei sulla pagina 1di 13

Object Oriented Analysis and Design Deliverable 6

Muhammad Afnan Shahid Bilal Safdar Abdul Qadir

I10-0042 I10-203 I10-230

Use Case 1:Coach Team


Operation Cross Reference Pre-condition Post condition MakeTrainingMethod(MethodId) Use Case: Coach Team Manager has been authenticated A Manager Instance m was created. Manager m was associated with club. Team.MethodId was modified to MethodId. Team was associated with Log

Operation Cross Reference Pre-condition Post condition

AddFormation(FormationId) Use Case: Coach Team Manager has been authenticated A Manager Instance m was created. Manager m was associated with club. Team.FormationId was modified to FormationID. Team was associated with Log

Operation Cross Reference Pre-condition Post condition

AssignTacticsToFormation(FormationId) Use Case: Coach Team Manager has been authenticated A Manager Instance m was created. Manager m was associated with club. Team.FormationId was modified to FormationID. Team was associated with Log

sd DV6-sq1

Coach Team
Football Management System

Manager

MakeTrainingMethod(MethodID)

Training Method Description()

AddFormation(FormationID)

Stored()

AssignTacticsToFormation(FormationID)

Tactics validated()

End Session()

Use Case 2: Controlling business operations


Operation Cross Reference Pre-condition Post condition Request Balance Sheet() Controlling Business Operations CEO was successfully authenticated. A CEO instance c was created. c was associated with club. Attributes of c were initialised. C was associated with log.

Operation Cross Reference Pre-condition Post condition

CalculatingFinancialRegulations() Controlling Business Operations CEO was successfully authenticated. A CEO instance c was created. c was associated with club. c was associated with log. C.FinancialRule Boolean modified accordingly

Operation Cross Reference Pre-condition Post condition

AddBankAccount() Controlling Business Operations CEO was successfully authenticated. A CEO instance c was created. c was associated with club. C was associated with log Log is associated with Bank b a new instance created and attributes initialized.

sd DV6-sq2

Control Business Operations


Football Management System

Cheif Executive Officer

RequestBalanceSheet()

Operating Cost, Current Debt()

Interest Payments()

CalculateFinancialRegulations()

Validate or not being followed()

AddBankAccount()

Bank Description()

Use Case 3: Transaction of players

Operation Cross Reference

ContactPlayerAgent(PlayerId,PlayerName) Transaction of Players

Pre-condition Post condition

CEO was successfully authenticated. A CEO instance c was created. c was associated with club. PlayerID,PlayerName values modified. Recruitment is associated with log.

Operation Cross Reference Pre-condition Post condition

Operation Cross Reference Pre-condition Post condition

NegotiateFee(Fee) Transaction of Players CEO was successfully authenticated. A CEO instance c was created. c was associated with club. Player.value updated to fee . Recruitment is associated with log. NegotiateFee(Fee) Transaction of Players CEO was successfully authenticated. A CEO instance c was created. c was associated with club. Player.value updated to fee . Recruitment is associated with log.

Operation Cross Reference Pre-condition Post condition

BuyPlayer(PlayerID,PlayerName) Transaction of Players CEO was successfully authenticated. A CEO instance c was created. c was associated with club. PlayerID and PlayerName values updated . New instance of player p created. Recruitment is associated with log. P associated with log.

Operation Cross Reference Pre-condition Post condition

NotifyClubsAboutPlayer(PlayerID) Transaction of Players CEO was successfully authenticated. A CEO instance c was created. c was associated with club. Player.ID value modified . A instance of club created and associated with that specific player and Player.ID.

Operation Cross Reference Pre-condition Post condition

SellPlayer() Transaction of Players CEO was successfully authenticated. A CEO instance c was created. c was associated with club. Player association removed from club . Player association removed from log.

sd DV6-sq3
Transaction of players

Chief Executive Officer

Football Management System

System notifies about a pending request()

ContactPlayerAgent(PlayerID, PlayerName)

Shortlist player()

NegotiateFee(Fee)

Show updated value()

BuyPlayer(PlayerID, PlayerName)

Add Player()

NotifyClubsAboutPlayer(PlayerID)

SellPlayer(PlayerID)

Player Removed ()

Use case 4: Track players health

Operation Cross Reference Pre-condition Post condition

RequestPlayerHealth(PlayerID) Track players health First team doctor was successfully authenticated. A first team doctor instance f was created. f is associated with club. Team is associated with f. Player.PlayerID is updated to PlayerID

Operation Cross Reference Pre-condition Post condition

EnterPlayedID(PlayerID) Track players health First team doctor was successfully authenticated. A first team doctor instance f was created. f is associated with club. Team is associated with f. Player.PlayerID is updated to Player.ID. Player p is associated with Log.

Operation Cross Reference Pre-condition Post condition

AttachDevice(PlayerID) Track players health First team doctor was successfully authenticated. A first team doctor instance f was created. f is associated with club. Team is associated with f. Player.PlayerID is updated to PlayerID Player.HeartRate valued updated.

sd DV6-sq4

Track Player's Health


Football Management System

First Team Doctor

RequestPlayerHealth(PlayerId)

player status()

EnterPlayer(PlayerID)

Player injury record()

AttachDevice(PlayerID)

Player heart rate()

Use case 5: Analyze player performance

Operation Cross Reference Pre-condition Post condition

EnterPlayerID(PlayerID) Analyze player performance Head of Performance was successfully authenticated. A Head of performance instance h was created. h is associated with club. Player p is associated with h. Player.PlayerID is updated to PlayerID

Operation Cross Reference Pre-condition

ShowTeamPerformance() Analyze player performance Head of Performance was successfully authenticated.

Post condition

A Head of performance instance h was created. h is associated with club. Team is associated with h.

Operation Cross Reference Pre-condition Post condition

ShowTeamPerformance() Analyze player performance Head of Performance was successfully authenticated. A Head of performance instance h was created. h is associated with club. Team is associated with h.

Operation Cross Reference Pre-condition Post condition

SendPlayerInfo Analyze player performance Head of Performance was successfully authenticated. A Head of performance instance h was created. h is associated with club. Player is associated with h. Player attributes updated and associated with manager.

Operation Cross Reference Pre-condition Post condition

ExtractStatsFromWebsite() Analyze player performance Head of Performance was successfully authenticated. A Head of performance instance h was created. h is associated with club. Website w is associated with log.

sd DV6-sq5

Analyze player performance

Head of Perfomance

Football Management System

EnterPlayer(PlayerID)

Player statistics()

ShowTeamPerformance()

Statisitics of overall team()

SendPlayerInfo(PlayerID)

Player Information sent()

ExtractStatsFromWebsite()

Extraction Completed()

Use Case: Transferring Funds

sd Dynamic View System : Chief Finance Officer

CheckForMatches( )

Player Names,Matches()

MarkPlayers ( Player Name )

CheckFines ( Player Name )

Fines Due on Player()

Transfer Money(Player Name, Amount-Fines Due)

System Updates Account info()

generates report()

Use Case: Managing Meetings

sd Business Process Model System : Club Secretary Club Members

ViewsCalendar()

Current Date Returned()

Mark Date(Date)

Marked Date()

Search Room()

Available Room ()

Reserve Room(Room Number)

Sending Message()

Meeting in room (Room Nmber))

Use Case: Analyzing Opponents

sd Business Process Model :System :Oppositon Analyst

Uploading(Recording)

Result of Analyzed recording()

Specifying(Common Moves, Different Moves)

Review Report regarding moves ()

Use Case: Making Appointments


sd Business Process Model :System : Chief Communications Officer CEO

Make Appointments(Appointment ID)

Notifies CEO()

Potrebbero piacerti anche