Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
Customer |
|
| 1.0;1 |
1 | /* | |
2 | * $Id: Customer.java 19500 2010-09-09 17:29:17Z dzapata $ | |
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.model; | |
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 | 0 | super(); |
32 | 0 | } |
33 | ||
34 | public Customer(String name, int ssn) | |
35 | 0 | { |
36 | 0 | this.name = name; |
37 | 0 | this.ssn = ssn; |
38 | 0 | } |
39 | ||
40 | public String getName() | |
41 | { | |
42 | 0 | return name; |
43 | } | |
44 | ||
45 | public void setName(String name) | |
46 | { | |
47 | 0 | this.name = name; |
48 | 0 | } |
49 | ||
50 | public int getSsn() | |
51 | { | |
52 | 0 | return ssn; |
53 | } | |
54 | ||
55 | public void setSsn(int ssn) | |
56 | { | |
57 | 0 | this.ssn = ssn; |
58 | 0 | } |
59 | ||
60 | } |