Coverage Report - org.mule.tck.testmodels.services.Person
 
Classes in this File Line Coverage Branch Coverage Complexity
Person
0%
0/17
N/A
1
 
 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.tck.testmodels.services;
 8  
 
 9  
 /**
 10  
  * <code>Person</code> part of the PeopleService
 11  
  */
 12  
 
 13  
 public class Person
 14  
 {
 15  
     private String firstName;
 16  
     private String lastName;
 17  0
     private Address address = new Address();
 18  
 
 19  
     public Person()
 20  
     {
 21  0
         super();
 22  0
     }
 23  
 
 24  
     public Person(String firstName, String lastName)
 25  0
     {
 26  0
         this.firstName = firstName;
 27  0
         this.lastName = lastName;
 28  0
     }
 29  
 
 30  
     public String getFirstName()
 31  
     {
 32  0
         return firstName;
 33  
     }
 34  
 
 35  
     public void setFirstName(String firstName)
 36  
     {
 37  0
         this.firstName = firstName;
 38  0
     }
 39  
 
 40  
     public String getLastName()
 41  
     {
 42  0
         return lastName;
 43  
     }
 44  
 
 45  
     public void setLastName(String lastName)
 46  
     {
 47  0
         this.lastName = lastName;
 48  0
     }
 49  
 
 50  
     public String toString()
 51  
     {
 52  0
         return firstName + " " + lastName;
 53  
     }
 54  
 
 55  
     public Address getAddress()
 56  
     {
 57  0
         return address;
 58  
     }
 59  
 
 60  
     public void setAddress(Address address)
 61  
     {
 62  0
         this.address = address;
 63  0
     }
 64  
 
 65  
 }