org.mule.example.loanbroker.bank
Class Bank
java.lang.Object
org.mule.example.loanbroker.bank.Bank
- All Implemented Interfaces:
- Serializable, FlowConstructAware, ServiceAware, BankService
public class Bank
- extends Object
- implements ServiceAware, FlowConstructAware, Serializable, BankService
Bank
is a representation of a bank from which to obtain loan
quotes.
- See Also:
- Serialized Form
Field Summary |
protected static Log |
logger
logger used by this class |
Constructor Summary |
Bank()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static final Log logger
- logger used by this class
Bank
public Bank()
setFlowConstruct
public void setFlowConstruct(FlowConstruct flowConstruct)
- Specified by:
setFlowConstruct
in interface FlowConstructAware
setService
public void setService(Service service)
- Specified by:
setService
in interface ServiceAware
getLoanQuote
public LoanQuote getLoanQuote(LoanBrokerQuoteRequest request)
- Specified by:
getLoanQuote
in interface BankService
getBankName
public String getBankName()
setBankName
public void setBankName(String bankName)
getPrimeRate
public double getPrimeRate()
setPrimeRate
public void setPrimeRate(double primeRate)
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.