1 package org.enhydra.pim.business.base; 2 3 import java.math.BigDecimal ; 4 import org.enhydra.pim.business.api.*; 5 6 11 public class Contact extends BasePimImpl implements ContactI, java.io.Serializable { 12 13 private String contact_data = null; 14 15 private ContactTypeI contact_type = null; 16 17 private PersonI person = null; 18 19 private String note = null; 20 21 27 public Contact(String contact_data, ContactTypeI contact_type, PersonI person, String note) { 28 super(null); 29 this.contact_data = contact_data; 30 this.contact_type = contact_type; 31 this.person = person; 32 this.note = note; 33 } 34 35 42 public Contact(BigDecimal handle, String contact_data, ContactTypeI contact_type, PersonI person, String note) { 43 super(handle); 44 this.contact_data = contact_data; 45 this.contact_type = contact_type; 46 this.person = person; 47 this.note = note; 48 } 49 50 public void clean() { 51 super.clean(); 52 this.contact_data = null; 53 this.contact_type = null; 54 this.person = null; 55 this.note = null; 56 } 57 58 64 public void setContact_data(String _contact_data) { 65 contact_data = _contact_data; 66 } 67 68 73 public String getContact_data() { 74 return contact_data; 75 } 76 77 83 public void setContact_type(ContactTypeI _contact_type) { 84 contact_type = _contact_type; 85 } 86 87 92 public ContactTypeI getContact_type() { 93 return contact_type; 94 } 95 96 102 public void setNote(String _note) { 103 note = _note; 104 } 105 106 111 public String getNote() { 112 return note; 113 } 114 115 121 public void setPerson(PersonI _person) { 122 person = _person; 123 } 124 125 130 public PersonI getPerson() { 131 return person; 132 } 133 134 } | Popular Tags |