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.model;
8   
9   import java.io.Serializable;
10  
11  /**
12   * <code>CreditProfile</code> is a dummy finance profile for a customer
13   */
14  public class CreditProfile implements Serializable
15  {
16      /**
17       * Serial version
18       */
19      private static final long serialVersionUID = -5924690191061177417L;
20  
21      private int creditScore;
22      private int creditHistory;
23  
24      public CreditProfile()
25      {
26          super();
27      }
28  
29      public int getCreditScore()
30      {
31          return creditScore;
32      }
33  
34      public void setCreditScore(int creditScore)
35      {
36          this.creditScore = creditScore;
37      }
38  
39      public int getCreditHistory()
40      {
41          return creditHistory;
42      }
43  
44      public void setCreditHistory(int creditHistory)
45      {
46          this.creditHistory = creditHistory;
47      }
48  
49  }