public interface ILoaner
| Modifier and Type | Method and Description |
|---|---|
void |
addDebt(IDebt debt)
Add a new debt to the list.
|
ICity |
getCity()
Retrieve the city the loaner belongs to.
|
List<IDebt> |
getDebts()
Retrieve the list of all debts for this city.
|
List<ILoanProposal> |
getLoanProposals()
Retrieve the loans that can be taken.
|
List<ILoanRequest> |
getRequests()
List of requested loans.
|
void |
update()
Regularely update the state of the loaner to present citizens that
require money.
|
List<ILoanProposal> getLoanProposals()
void update()
void addDebt(IDebt debt)
debt - List<ILoanRequest> getRequests()
ICity getCity()
Copyright © 2011-2015 Sahits GmbH. All Rights Reserved.