package domain;

public class Contact {
	
	private long id;   
	private String firstName;
	private String lastName;
	private String email;
	  
	/**
	 * @return Email
	 */
	public String getEmail() {
	    return email;
	}

	/**
	 * @return First Name
	 */
	public String getFirstName() {
	  return firstName;
	}

	/** 
     * @return Last name
     */
    public String getLastName() {
    	return lastName;
    }

    /**
     * @param string Sets the Email
     */
    public void setEmail(String string) {
    	email = string;
    }

    /**
     * @param string Sets the First Name
     */
    public void setFirstName(String string) {
    	firstName = string;
    }

    /**
     * @param string sets the Last Name
     */
    public void setLastName(String string) {
    	lastName = string;
    }

    /**
     * @return ID Returns ID
     */
    public long getId() {
    	return id;
    }

    /**
     * @param l Sets the ID
     */
    public void setId(long l) {
    	id = l;
    }
}

@@ -10,16 +10,39 @@
 omain;%0A%0A
+import java.util.Set;%0A%0A
 public c
@@ -156,18 +156,507 @@
 email;%0A%09
-  
+private Set%3CPhoneNumber%3E phones;%0A%09private Address address; %0A%09%09%0A%09public Contact() %7B%0A%09%09// TODO Auto-generated constructor stub%0A%09%7D%0A%09%0A%09public Contact(long id, String firstName, String lastName, String email, %0A%09%09%09Set%3CPhoneNumber%3E phones, Address address) %7B%0A%09%09this.id = id;%0A%09%09this.firstName = firstName;%0A%09%09this.lastName = lastName;%0A%09%09this.email = email;%0A%09%09this.phones = phones;%0A%09%09this.address = address;%0A%09%7D%0A%0A%09public String getFullName() %7B%0A%09%09return String.format(%22%25s %25s%22, firstName, lastName);%0A%09%7D%0A%09
 %0A%09/**%0A%09 

Add defautl constructor and getFullName method