KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * $Id: CreditProfile.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>CreditProfile</code> is a dummy finance profile for a customer
17  */

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

23     private static final long serialVersionUID = -6143353706221942768L;
24
25     private int creditScore;
26     private int creditHistoryLength;
27
28     public int getCreditScore()
29     {
30         return creditScore;
31     }
32
33     public void setCreditScore(int creditScore)
34     {
35         this.creditScore = creditScore;
36     }
37
38     public int getCreditHistoryLength()
39     {
40         return creditHistoryLength;
41     }
42
43     public void setCreditHistoryLength(int creditHistoryLength)
44     {
45         this.creditHistoryLength = creditHistoryLength;
46     }
47
48 }
49
Popular Tags