Coverage Report - org.mule.example.loanbroker.model.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.model;
 8  
 
 9  
 import java.io.Serializable;
 10  
 
 11  
 /**
 12  
  * <code>LoanQuote</code> is a loan quote from a bank
 13  
  */
 14  
 
 15  
 public class LoanQuote implements Serializable
 16  
 {
 17  
     /**
 18  
      * Serial version
 19  
      */
 20  
     private static final long serialVersionUID = -8432932027217141564L;
 21  
 
 22  
     private String bankName;
 23  0
     private double interestRate = 0;
 24  
 
 25  
     public LoanQuote()
 26  
     {
 27  0
         super();
 28  0
     }
 29  
 
 30  
     public String getBankName()
 31  
     {
 32  0
         return bankName;
 33  
     }
 34  
 
 35  
     public void setBankName(String bankName)
 36  
     {
 37  0
         this.bankName = bankName;
 38  0
     }
 39  
 
 40  
     public double getInterestRate()
 41  
     {
 42  0
         return interestRate;
 43  
     }
 44  
 
 45  
     public void setInterestRate(double interestRate)
 46  
     {
 47  0
         this.interestRate = interestRate;
 48  0
     }
 49  
 
 50  
     public String toString()
 51  
     {
 52  0
         return bankName + ", rate: " + interestRate;
 53  
     }
 54  
 }