01: /*
02: * $Id: Customer.java 10789 2008-02-12 20:04:43Z dfeist $
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 java.io.Serializable;
14:
15: /**
16: * <code>Customer</code> the loan broker customer
17: */
18: public class Customer implements Serializable {
19: /**
20: * Serial version
21: */
22: private static final long serialVersionUID = 4622840173638021051L;
23:
24: private String name;
25:
26: private int ssn;
27:
28: public Customer() {
29: super ();
30: }
31:
32: public Customer(String name, int ssn) {
33: this .name = name;
34: this .ssn = ssn;
35: }
36:
37: public String getName() {
38: return name;
39: }
40:
41: public void setName(String name) {
42: this .name = name;
43: }
44:
45: public int getSsn() {
46: return ssn;
47: }
48:
49: public void setSsn(int ssn) {
50: this.ssn = ssn;
51: }
52:
53: }
|