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  
  * $Id: LoanQuote.java 19500 2010-09-09 17:29:17Z dzapata $
 3  
  * --------------------------------------------------------------------------------------
 4  
  * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.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.model;
 12  
 
 13  
 import java.io.Serializable;
 14  
 
 15  
 /**
 16  
  * <code>LoanQuote</code> is a loan quote from a bank
 17  
  */
 18  
 
 19  
 public class LoanQuote implements Serializable
 20  
 {
 21  
     /**
 22  
      * Serial version
 23  
      */
 24  
     private static final long serialVersionUID = -8432932027217141564L;
 25  
 
 26  
     private String bankName;
 27  0
     private double interestRate = 0;
 28  
 
 29  
     public LoanQuote()
 30  
     {
 31  0
         super();
 32  0
     }
 33  
 
 34  
     public String getBankName()
 35  
     {
 36  0
         return bankName;
 37  
     }
 38  
 
 39  
     public void setBankName(String bankName)
 40  
     {
 41  0
         this.bankName = bankName;
 42  0
     }
 43  
 
 44  
     public double getInterestRate()
 45  
     {
 46  0
         return interestRate;
 47  
     }
 48  
 
 49  
     public void setInterestRate(double interestRate)
 50  
     {
 51  0
         this.interestRate = interestRate;
 52  0
     }
 53  
 
 54  
     public String toString()
 55  
     {
 56  0
         return bankName + ", rate: " + interestRate;
 57  
     }
 58  
 }