01: /*
02: * $Id:LoanQuoteRequest.java 2944 2006-09-05 10:38:45 +0000 (Tue, 05 Sep 2006) tcarlson $
03: * --------------------------------------------------------------------------------------
04: * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
05: *
06: * The software in this package is published under the terms of the CPAL v1.0
07: * license, a copy of which has been included with this distribution in the
08: * LICENSE.txt file.
09: */
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: * Serial version
24: */
25: private static final long serialVersionUID = 46866005259682607L;
26:
27: /** The customer request */
28: private CustomerQuoteRequest customerRequest;
29:
30: /** credit profile for the customer */
31: private CreditProfile creditProfile;
32:
33: /** A list of lenders for this request */
34: private Bank[] lenders;
35:
36: /** A loan quote from a bank */
37: private LoanQuote loanQuote;
38:
39: public LoanBrokerQuoteRequest() {
40: super ();
41: }
42:
43: public Bank[] getLenders() {
44: return lenders;
45: }
46:
47: public void setLenders(Bank[] lenders) {
48: this .lenders = lenders;
49: }
50:
51: public CustomerQuoteRequest getCustomerRequest() {
52: return customerRequest;
53: }
54:
55: public void setCustomerRequest(CustomerQuoteRequest customerRequest) {
56: this .customerRequest = customerRequest;
57: }
58:
59: public CreditProfile getCreditProfile() {
60: return creditProfile;
61: }
62:
63: public void setCreditProfile(CreditProfile creditProfile) {
64: this .creditProfile = creditProfile;
65: }
66:
67: public LoanQuote getLoanQuote() {
68: return loanQuote;
69: }
70:
71: public void setLoanQuote(LoanQuote loanQuote) {
72: this.loanQuote = loanQuote;
73: }
74: }
|