View Javadoc

1   /*
2    * $Id: Customer.java 20321 2010-11-24 15:21:24Z dfeist $
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.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      /**
21       * Serial version
22       */
23      private static final long serialVersionUID = 4622840173638021051L;
24  
25      private String name;
26  
27      private int ssn;
28  
29      public Customer()
30      {
31          super();
32      }
33  
34      public Customer(String name, int ssn)
35      {
36          this.name = name;
37          this.ssn = ssn;
38      }
39  
40      public String getName()
41      {
42          return name;
43      }
44  
45      public void setName(String 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  }