View Javadoc

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