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