Coverage Report - org.mule.samples.voipservice.to.CreditProfileTO
 
Classes in this File Line Coverage Branch Coverage Complexity
CreditProfileTO
0%
0/17
N/A
1
 
 1  
 /*
 2  
  * $Id: CreditProfileTO.java 7976 2007-08-21 14:26:13Z 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.samples.voipservice.to;
 12  
 
 13  
 import java.io.Serializable;
 14  
 
 15  
 /**
 16  
  * @author Binildas Christudas
 17  
  */
 18  
 public class CreditProfileTO implements Serializable
 19  
 {
 20  
     /**
 21  
      * Serial version
 22  
      */
 23  
     private static final long serialVersionUID = 629990262350300037L;
 24  
 
 25  
     public static final int CREDIT_NOT_AUTHORISED = -1;
 26  
     public static final int CREDIT_AUTHORISED = 1;
 27  
     public static final int CREDIT_LIMIT = 1000;
 28  
 
 29  
     private CustomerTO customerTO;
 30  
     private int creditScore;
 31  
     private int creditAuthorisedStatus;
 32  
     private boolean valid;
 33  
 
 34  
     public CreditProfileTO()
 35  
     {
 36  0
         super();
 37  0
     }
 38  
 
 39  
     public CreditProfileTO(CustomerTO customerTO)
 40  0
     {
 41  0
         this.customerTO = customerTO;
 42  
 
 43  0
     }
 44  
 
 45  
     public CustomerTO getCustomer()
 46  
     {
 47  0
         return customerTO;
 48  
     }
 49  
 
 50  
     public void setCustomer(CustomerTO customerTO)
 51  
     {
 52  0
         this.customerTO = customerTO;
 53  0
     }
 54  
 
 55  
     public int getCreditScore()
 56  
     {
 57  0
         return creditScore;
 58  
     }
 59  
 
 60  
     public void setCreditScore(int creditScore)
 61  
     {
 62  0
         this.creditScore = creditScore;
 63  0
     }
 64  
 
 65  
     public boolean isValid()
 66  
     {
 67  0
         return valid;
 68  
     }
 69  
 
 70  
     public void setValid(boolean valid)
 71  
     {
 72  0
         this.valid = valid;
 73  0
     }
 74  
 
 75  
     public int getCreditAuthorisedStatus()
 76  
     {
 77  0
         return creditAuthorisedStatus;
 78  
     }
 79  
 
 80  
     public void setCreditAuthorisedStatus(int creditAuthorisedStatus)
 81  
     {
 82  0
         this.creditAuthorisedStatus = creditAuthorisedStatus;
 83  0
     }
 84  
 
 85  
 }