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 Task extends BasePimImpl implements TaskI , java.io.Serializable { 12 13 private String alarm_note = null; 14 15 private OwnerI owner = null; 16 17 private String note = null; 18 19 private java.sql.Date date_start = null; 20 21 private java.sql.Date date_stop = null; 22 23 private java.sql.Time time_start = null; 24 25 private java.sql.Time time_stop = null; 26 27 private boolean alarm = false; 28 29 private int priority = 0; 30 31 private int completion = 0; 32 33 private int repaeat_type = 0; 34 35 private int repaeat_count = 0; 36 37 51 public Task(String alarm_note, OwnerI owner, String note, java.sql.Date date_start, java.sql.Date date_stop, 52 java.sql.Time time_start, java.sql.Time time_stop, boolean alarm, int priority, int completion, 53 int repaeat_type, int repaeat_count) { 54 super(null); 55 this.alarm_note = alarm_note; 56 this.owner = owner; 57 this.note = note; 58 this.date_start = date_start; 59 this.date_stop = date_stop; 60 this.time_start = time_start; 61 this.time_stop = time_stop; 62 this.alarm = alarm; 63 this.priority = priority; 64 this.completion = completion; 65 this.repaeat_type = repaeat_type; 66 this.repaeat_count = repaeat_count; 67 } 68 69 84 public Task(BigDecimal handle, String alarm_note, OwnerI owner, String note, java.sql.Date date_start, 85 java.sql.Date date_stop, java.sql.Time time_start, java.sql.Time time_stop, boolean alarm, 86 int priority, int completion, int repaeat_type, int repaeat_count) { 87 super(null); 88 this.alarm_note = alarm_note; 89 this.owner = owner; 90 this.note = note; 91 this.date_start = date_start; 92 this.date_stop = date_stop; 93 this.time_start = time_start; 94 this.time_stop = time_stop; 95 this.alarm = alarm; 96 this.priority = priority; 97 this.completion = completion; 98 this.repaeat_type = repaeat_type; 99 this.repaeat_count = repaeat_count; 100 } 101 102 public void clean() { 103 super.clean(); 104 this.alarm_note = null; 105 this.owner = null; 106 this.note = null; 107 this.date_start = null; 108 this.date_stop = null; 109 this.time_start = null; 110 this.time_stop = null; 111 this.alarm = false; 112 this.priority = 0; 113 this.completion = 0; 114 this.repaeat_type = 0; 115 this.repaeat_count = 0; 116 117 } 118 119 125 public void setAlarm_note(String _alarm_note) { 126 alarm_note = _alarm_note; 127 } 128 129 134 public String getAlarm_note() { 135 return alarm_note; 136 } 137 138 144 public void setDate_start(java.sql.Date _date_start) { 145 date_start = _date_start; 146 } 147 148 153 public java.sql.Date getDate_start() { 154 return date_start; 155 } 156 157 163 public void setDate_stop(java.sql.Date _date_stop) { 164 date_stop = _date_stop; 165 } 166 167 172 public java.sql.Date getDate_stop() { 173 return date_stop; 174 } 175 176 182 public void setTime_start(java.sql.Time _time_start) { 183 time_start = _time_start; 184 } 185 186 191 public java.sql.Time getTime_start() { 192 return time_start; 193 } 194 195 201 public void setTime_stop(java.sql.Time _time_stop) { 202 time_stop = _time_stop; 203 } 204 205 210 public java.sql.Time getTime_stop() { 211 return time_stop; 212 } 213 214 220 public void setAlarm(boolean _alarm) { 221 alarm = _alarm; 222 } 223 224 229 public boolean getAlarm() { 230 return alarm; 231 } 232 233 239 public void setPriority(int _priority) { 240 priority = _priority; 241 } 242 243 248 public int getPriority() { 249 return priority; 250 } 251 252 258 public void setCompletion(int _completion) { 259 completion = _completion; 260 } 261 262 267 public int getCompletion() { 268 return completion; 269 } 270 271 277 public void setRepaeat_type(int _repaeat_type) { 278 repaeat_type = _repaeat_type; 279 } 280 281 286 public int getRepaeat_type() { 287 return repaeat_type; 288 } 289 290 296 public void setRepaeat_count(int _repaeat_count) { 297 repaeat_count = _repaeat_count; 298 } 299 300 305 public int getRepaeat_count() { 306 return repaeat_count; 307 } 308 309 315 public void setNote(String _note) { 316 note = _note; 317 } 318 319 324 public String getNote() { 325 return note; 326 } 327 328 334 public void setOwner(OwnerI _owner) { 335 this.owner = _owner; 336 } 337 338 343 public OwnerI getOwner() { 344 return this.owner; 345 } 346 347 } | Popular Tags |