View Javadoc

1   /*
2    * $Id: CreditProfile.java 10789 2008-02-12 20:04:43Z dfeist $
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.example.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          super();
31      }
32  
33      public int getCreditScore()
34      {
35          return creditScore;
36      }
37  
38      public void setCreditScore(int creditScore)
39      {
40          this.creditScore = creditScore;
41      }
42  
43      public int getCreditHistory()
44      {
45          return creditHistory;
46      }
47  
48      public void setCreditHistory(int creditHistory)
49      {
50          this.creditHistory = creditHistory;
51      }
52  
53  }