1 10 11 package org.mule.test.integration.service; 12 13 16 17 public class Person 18 { 19 private String firstName; 20 private String lastName; 21 private Address address = new Address(); 22 23 public Person() 24 { 25 super(); 26 } 27 28 public Person(String firstName, String lastName) 29 { 30 this.firstName = firstName; 31 this.lastName = lastName; 32 } 33 34 public String getFirstName() 35 { 36 return firstName; 37 } 38 39 public void setFirstName(String firstName) 40 { 41 this.firstName = firstName; 42 } 43 44 public String getLastName() 45 { 46 return lastName; 47 } 48 49 public void setLastName(String lastName) 50 { 51 this.lastName = lastName; 52 } 53 54 public String toString() 55 { 56 return firstName + " " + lastName; 57 } 58 59 public Address getAddress() 60 { 61 return address; 62 } 63 64 public void setAddress(Address address) 65 { 66 this.address = address; 67 } 68 69 } 70 | Popular Tags |