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