1 package org.columba.addressbook.model; 19 20 24 public class ContactModelPartial extends BasicModelPartial implements 25 IContactModelPartial { 26 27 protected String address; 28 29 protected String website; 30 31 protected String firstname; 32 33 protected String lastname; 34 35 38 public ContactModelPartial() { 39 super(true); 40 41 } 42 43 public ContactModelPartial(String name) { 44 this(); 45 46 this.name = name; 47 } 48 49 58 public ContactModelPartial(String id, String name, String firstname, String lastname, String address, 59 String website) { 60 super(id, name, true); 61 62 this.firstname = firstname; 63 this.lastname = lastname; 64 this.address = address; 65 this.website = website; 66 } 67 68 71 public String getAddress() { 72 return address; 73 } 74 75 78 public String getWebsite() { 79 return website; 80 } 81 82 public String getFirstname() { 83 return firstname; 84 } 85 86 public String getLastname() { 87 return lastname; 88 } 89 90 } | Popular Tags |