Coverage Report - org.mule.example.loanbroker.messages.CustomerQuoteRequest
 
Classes in this File Line Coverage Branch Coverage Complexity
CustomerQuoteRequest
0%
0/16
N/A
1
 
 1  
 /*
 2  
  * $Id: CustomerQuoteRequest.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 java.io.Serializable;
 14  
 
 15  
 /**
 16  
  * <code>CustomerQuoteRequest</code> is the request sent by the the LoanBroker
 17  
  */
 18  
 public class CustomerQuoteRequest implements Serializable
 19  
 {
 20  
     /**
 21  
      * Serial version
 22  
      */
 23  
     private static final long serialVersionUID = 6365612435470800746L;
 24  
 
 25  
     /** The customer that requested the quote */
 26  
     private Customer customer;
 27  
 
 28  
     /** The requested loan Amount */
 29  
     private double loanAmount;
 30  
 
 31  
     /** the duration of the loan */
 32  
     private int loanDuration;
 33  
 
 34  
     public CustomerQuoteRequest()
 35  
     {
 36  0
         super();
 37  0
     }
 38  
 
 39  
     public CustomerQuoteRequest(Customer customer, double loanAmount, int loanDuration)
 40  0
     {
 41  0
         this.customer = customer;
 42  0
         this.loanAmount = loanAmount;
 43  0
         this.loanDuration = loanDuration;
 44  0
     }
 45  
 
 46  
     public Customer getCustomer()
 47  
     {
 48  0
         return customer;
 49  
     }
 50  
 
 51  
     public void setCustomer(Customer customer)
 52  
     {
 53  0
         this.customer = customer;
 54  0
     }
 55  
 
 56  
     public double getLoanAmount()
 57  
     {
 58  0
         return loanAmount;
 59  
     }
 60  
 
 61  
     public void setLoanAmount(double loanAmount)
 62  
     {
 63  0
         this.loanAmount = loanAmount;
 64  0
     }
 65  
 
 66  
     public int getLoanDuration()
 67  
     {
 68  0
         return loanDuration;
 69  
     }
 70  
 
 71  
     public void setLoanDuration(int loanDuration)
 72  
     {
 73  0
         this.loanDuration = loanDuration;
 74  0
     }
 75  
 }