KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * $Id: Customer.java 3982 2006-11-22 14:28:01Z lajos $
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;
12
13 import java.io.Serializable JavaDoc;
14
15 /**
16  * <code>Customer</code> the loan broker customer
17  */

18 public class Customer implements Serializable JavaDoc
19 {
20     /**
21      * Serial version
22      */

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