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 Note extends BasePimImpl implements NoteI, java.io.Serializable { 12 13 private String note = null; 14 15 private java.sql.Date date = null; 16 17 private java.sql.Time time = null; 18 19 private OwnerI owner = null; 20 21 28 public Note(String note, java.sql.Date date, java.sql.Time time, OwnerI owner) { 29 super(null); 30 this.note = note; 31 this.date = date; 32 this.time = time; 33 this.owner = owner; 34 } 35 36 44 public Note(BigDecimal handle, String note, java.sql.Date date, java.sql.Time time, OwnerI owner) { 45 super(handle); 46 this.note = note; 47 this.date = date; 48 this.time = time; 49 this.owner = owner; 50 } 51 52 public void clean() { 53 super.clean(); 54 this.note = null; 55 this.date = null; 56 this.time = null; 57 this.owner = null; 58 } 59 60 66 public void setNote(String _note) { 67 note = _note; 68 } 69 70 75 public String getNote() { 76 return note; 77 } 78 79 85 public void setDate(java.sql.Date _date) { 86 date = _date; 87 } 88 89 94 public java.sql.Date getDate() { 95 return date; 96 } 97 98 104 public void setTime(java.sql.Time _time) { 105 time = _time; 106 } 107 108 113 public java.sql.Time getTime() { 114 return time; 115 } 116 117 123 public void setOwner(OwnerI _owner) { 124 this.owner = _owner; 125 } 126 127 132 public OwnerI getOwner() { 133 return this.owner; 134 } 135 136 } | Popular Tags |