org.mule.examples.loanbroker.bank
Class Bank

java.lang.Object
  extended byorg.mule.examples.loanbroker.bank.Bank
All Implemented Interfaces:
BankService, Serializable, UMODescriptorAware

public class Bank
extends Object
implements UMODescriptorAware, Serializable, BankService

Bank is a representation of a bank form which to obtain loan quotes.

Author:
Gregor Hohpe, Bobby Wolfe, et al. EI Patterns
See Also:
Serialized Form

Field Summary
protected static Log logger
          logger used by this class
 
Constructor Summary
Bank()
           
Bank(String bankname)
           
 
Method Summary
 String getBankName()
           
 String getEndpoint()
           
 LoanQuote getLoanQuote(LoanBrokerQuoteRequest request)
           
 double getPrimeRate()
           
 void setBankName(String bankName)
           
 void setDescriptor(UMODescriptor descriptor)
           
 void setEndpoint(String endpoint)
           
 void setPrimeRate(double primeRate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static transient Log logger
logger used by this class

Constructor Detail

Bank

public Bank()

Bank

public Bank(String bankname)
Method Detail

setDescriptor

public void setDescriptor(UMODescriptor descriptor)
                   throws ConfigurationException
Specified by:
setDescriptor in interface UMODescriptorAware
Throws:
ConfigurationException

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)

getEndpoint

public String getEndpoint()

setEndpoint

public void setEndpoint(String endpoint)


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.