Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
CreditProfile |
|
| 1.0;1 |
1 | /* | |
2 | * $Id: CreditProfile.java 7963 2007-08-21 08:53:15Z dirk.olmes $ | |
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 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.examples.loanbroker.messages; | |
12 | ||
13 | import java.io.Serializable; | |
14 | ||
15 | /** | |
16 | * <code>CreditProfile</code> is a dummy finance profile for a customer | |
17 | */ | |
18 | public class CreditProfile implements Serializable | |
19 | { | |
20 | /** | |
21 | * Serial version | |
22 | */ | |
23 | private static final long serialVersionUID = -5924690191061177417L; | |
24 | ||
25 | private int creditScore; | |
26 | private int creditHistory; | |
27 | ||
28 | public CreditProfile() | |
29 | { | |
30 | 0 | super(); |
31 | 0 | } |
32 | ||
33 | public int getCreditScore() | |
34 | { | |
35 | 0 | return creditScore; |
36 | } | |
37 | ||
38 | public void setCreditScore(int creditScore) | |
39 | { | |
40 | 0 | this.creditScore = creditScore; |
41 | 0 | } |
42 | ||
43 | public int getCreditHistory() | |
44 | { | |
45 | 0 | return creditHistory; |
46 | } | |
47 | ||
48 | public void setCreditHistory(int creditHistory) | |
49 | { | |
50 | 0 | this.creditHistory = creditHistory; |
51 | 0 | } |
52 | ||
53 | } |