1.3-Phases_of_Software_Life_Cycle_Design_Example

1.3-Phases_of_Software_Life_Cycle_Design_Example - -...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
CMPT 225 Unit 1 Software Life Cycle and Principles of Software Development Step 2 – Design Banking Application Design Example
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
CMPT 225 Example: Banking Application Class Diagram - 1 2 Customer - firstName : String - lastName : String Account - account ID : int - balance : double Bank + deposit(amount: double): double + withdraw(amount: double): void 0..* 1 1 0..*
Background image of page 2
CMPT 225 Example: Banking Application Class Diagram - 2 3 Customer Account - account ID : int - balance : double + deposit(amount: double): double + withdraw(amount: double): void 0..* 1 0..* Person - firstName : String - lastName : String BankApp BankAccts + insert(account: Account): void + get(account ID: int): Account + remove(account: Account): void - search(account:Account): Account 1 1 1 - numOfAcct : int BankCusts - numOfCust : int 1 1 1 + insert(account: Account): void + get(account ID: int): Account + remove(account: Account): void - search(account:Account): Account
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: - displayMenu( ) : void - promptUser( ) : void - readUserInput( ) : String 0..* CMPT 225 Example: Banking Application Class Diagram - 3 4 Customer Account + deposit(amount: double): double + withdraw(amount: double): void 0..* 1 0..* Person - firstName : String - lastName : String BankApp BankAccts + insert(account: Account): void + get(account ID: int): Account + remove(account: Account): void - search(account:Account): Account 1 1 1 -numOfAcct : int -accounts : Account[0. .*] BankCusts -numOfCust : int -customers : Customer[0. .*] 1 1 1 + insert(account: Account): void + get(account ID: int): Account + remove(account: Account): void - search(account:Account): Account 0..* - account ID : int - customer : Customer - balance : double - account : Account[0. .*] -allAccts : BankAccts -allCusts : BankCusts - displayMenu( ) : void - promptUser( ) : void - readUserInput( ) : String...
View Full Document

Page1 / 4

1.3-Phases_of_Software_Life_Cycle_Design_Example - -...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online