Coverage Report - org.mule.example.loanbroker.messages.LoanQuote
 
Classes in this File Line Coverage Branch Coverage Complexity
LoanQuote
0%
0/10
N/A
1
 
 1  
 /*
 2  
  * $Id: LoanQuote.java 10789 2008-02-12 20:04:43Z dfeist $
 3  
  * --------------------------------------------------------------------------------------
 4  
  * Copyright (c) MuleSource, Inc.  All rights reserved.  http://www.mulesource.com
 5  
  *
 6  
  * The software in this package is published under the terms of the CPAL v1.0
 7  
  * license, a copy of which has been included with this distribution in the
 8  
  * LICENSE.txt file.
 9  
  */
 10  
 
 11  
 package org.mule.example.loanbroker.messages;
 12  
 
 13  
 import org.mule.example.loanbroker.LocaleMessage;
 14  
 
 15  
 import java.io.Serializable;
 16  
 
 17  
 /**
 18  
  * <code>LoanQuote</code> is a loan quote from a bank
 19  
  */
 20  
 
 21  
 public class LoanQuote implements Serializable
 22  
 {
 23  
     /**
 24  
      * Serial version
 25  
      */
 26  
     private static final long serialVersionUID = -8432932027217141564L;
 27  
 
 28  
     private String bankName;
 29  0
     private double interestRate = 0;
 30  
 
 31  
     public LoanQuote()
 32  
     {
 33  0
         super();
 34  0
     }
 35  
 
 36  
     public String getBankName()
 37  
     {
 38  0
         return bankName;
 39  
     }
 40  
 
 41  
     public void setBankName(String bankName)
 42  
     {
 43  0
         this.bankName = bankName;
 44  0
     }
 45  
 
 46  
     public double getInterestRate()
 47  
     {
 48  0
         return interestRate;
 49  
     }
 50  
 
 51  
     public void setInterestRate(double interestRate)
 52  
     {
 53  0
         this.interestRate = interestRate;
 54  0
     }
 55  
 
 56  
     public String toString()
 57  
     {
 58  0
         return LocaleMessage.loanQuote(bankName, interestRate);
 59  
     }
 60  
 }