KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mule > samples > loanbroker > esb > message > Customer


1 /*
2  * $Id: Customer.java 3798 2006-11-04 04:07:14Z aperepel $
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 MuleSource MPL
7  * license, a copy of which has been included with this distribution in the
8  * LICENSE.txt file.
9  */

10
11 package org.mule.samples.loanbroker.esb.message;
12
13 import java.io.Serializable JavaDoc;
14
15 /**
16  * <code>Customer</code> the loan broker customer
17  *
18  * @author <a HREF="mailto:ross.mason@symphonysoft.com">Ross Mason</a>
19  * @version $Revision: 3798 $
20  */

21 public class Customer implements Serializable JavaDoc
22 {
23     /**
24      * Serial version
25      */

26     private static final long serialVersionUID = 4622840173638021051L;
27
28     private String JavaDoc name;
29
30     private int ssn;
31
32     public Customer()
33     {
34         super();
35     }
36
37     public Customer(String JavaDoc name, int ssn)
38     {
39         this.name = name;
40         this.ssn = ssn;
41     }
42
43     public String JavaDoc getName()
44     {
45         return name;
46     }
47
48     public void setName(String JavaDoc name)
49     {
50         this.name = name;
51     }
52
53     public int getSsn()
54     {
55         return ssn;
56     }
57
58     public void setSsn(int ssn)
59     {
60         this.ssn = ssn;
61     }
62
63 }
64
Popular Tags