View Javadoc

1   /*
2    * $Id:LoanQuoteRequest.java 2944 2006-09-05 10:38:45 +0000 (Tue, 05 Sep 2006) tcarlson $
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 org.mule.example.loanbroker.bank.Bank;
14  
15  import java.io.Serializable;
16  
17  /**
18   * <code>LoanQuoteRequest</code> represents a customer request for a loan through a
19   * loan broker
20   */
21  public class LoanBrokerQuoteRequest implements Serializable
22  {
23      /**
24       * Serial version
25       */
26      private static final long serialVersionUID = 46866005259682607L;
27  
28      /** The customer request */
29      private CustomerQuoteRequest customerRequest;
30  
31      /** credit profile for the customer */
32      private CreditProfile creditProfile;
33  
34      /** A list of lenders for this request */
35      private Bank[] lenders;
36  
37      /** A loan quote from a bank */
38      private LoanQuote loanQuote;
39  
40      public LoanBrokerQuoteRequest()
41      {
42          super();
43      }
44  
45      public Bank[] getLenders()
46      {
47          return lenders;
48      }
49  
50      public void setLenders(Bank[] lenders)
51      {
52          this.lenders = lenders;
53      }
54  
55      public CustomerQuoteRequest getCustomerRequest()
56      {
57          return customerRequest;
58      }
59  
60      public void setCustomerRequest(CustomerQuoteRequest customerRequest)
61      {
62          this.customerRequest = customerRequest;
63      }
64  
65      public CreditProfile getCreditProfile()
66      {
67          return creditProfile;
68      }
69  
70      public void setCreditProfile(CreditProfile creditProfile)
71      {
72          this.creditProfile = creditProfile;
73      }
74  
75      public LoanQuote getLoanQuote()
76      {
77          return loanQuote;
78      }
79  
80      public void setLoanQuote(LoanQuote loanQuote)
81      {
82          this.loanQuote = loanQuote;
83      }
84  }