Livoa LogoLivoa
Client


borrowerID: Integer

fullName: String

address: String

creditScore: Integer

+GetLoanHistory(): List<Loan>

+UpdateCreditScore(newScure: int): void

+DisplayInfo(): void

Loan


loanID: int

principalAmount

borrowerID

interestRate Float

termMonths' int

startDate Date

status String

+CalculateMonthlyPayment(): float

+GetQutstandingBalance(): float

+CloseLoan(): void

LoanPayment


paymentNumber: int

scheduled; Date

amount

paidDate: Date

principalComponent; float

interestComponent: float

+MarkAsPaid/paymentDate: Date): void

+GetPaymentStatus(): String

+CalculateComponents(): void

DbConnection


conn: Connection

cursor: Cursor

+Open(): void

+Close(): void

+ExecuteQuery(query: String): ResultSet

A client can have multiple loans; but loans can exist without the client object
Composition
Payments cannot exist without their loan
Client data is stored/retrieved from the databs

xf

by df

0
0 uses