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  
  * $Id: Person.java 20321 2010-11-24 15:21:24Z dfeist $
 3  
  * --------------------------------------------------------------------------------------
 4  
  * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.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.tck.testmodels.services;
 12  
 
 13  
 /**
 14  
  * <code>Person</code> part of the PeopleService
 15  
  */
 16  
 
 17  
 public class Person
 18  
 {
 19  
     private String firstName;
 20  
     private String lastName;
 21  0
     private Address address = new Address();
 22  
 
 23  
     public Person()
 24  
     {
 25  0
         super();
 26  0
     }
 27  
 
 28  
     public Person(String firstName, String lastName)
 29  0
     {
 30  0
         this.firstName = firstName;
 31  0
         this.lastName = lastName;
 32  0
     }
 33  
 
 34  
     public String getFirstName()
 35  
     {
 36  0
         return firstName;
 37  
     }
 38  
 
 39  
     public void setFirstName(String firstName)
 40  
     {
 41  0
         this.firstName = firstName;
 42  0
     }
 43  
 
 44  
     public String getLastName()
 45  
     {
 46  0
         return lastName;
 47  
     }
 48  
 
 49  
     public void setLastName(String lastName)
 50  
     {
 51  0
         this.lastName = lastName;
 52  0
     }
 53  
 
 54  
     public String toString()
 55  
     {
 56  0
         return firstName + " " + lastName;
 57  
     }
 58  
 
 59  
     public Address getAddress()
 60  
     {
 61  0
         return address;
 62  
     }
 63  
 
 64  
     public void setAddress(Address address)
 65  
     {
 66  0
         this.address = address;
 67  0
     }
 68  
 
 69  
 }