View Javadoc
1   /*
2    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
3    * The software in this package is published under the terms of the CPAL v1.0
4    * license, a copy of which has been included with this distribution in the
5    * LICENSE.txt file.
6    */
7   package org.mule.example.loanbroker.messages;
8   
9   import java.io.Serializable;
10  
11  /**
12   * <code>Customer</code> the loan broker customer
13   */
14  public class Customer implements Serializable
15  {
16      /**
17       * Serial version
18       */
19      private static final long serialVersionUID = 4622840173638021051L;
20  
21      private String name;
22  
23      private int ssn;
24  
25      public Customer()
26      {
27          super();
28      }
29  
30      public Customer(String name, int ssn)
31      {
32          this.name = name;
33          this.ssn = ssn;
34      }
35  
36      public String getName()
37      {
38          return name;
39      }
40  
41      public void setName(String name)
42      {
43          this.name = name;
44      }
45  
46      public int getSsn()
47      {
48          return ssn;
49      }
50  
51      public void setSsn(int ssn)
52      {
53          this.ssn = ssn;
54      }
55  
56  }