01: package com.technoetic.xplanner.soap.domain;
02:
03: import java.util.Calendar;
04:
05: import com.technoetic.xplanner.domain.TimeEntry;
06:
07: public class TimeEntryData extends DomainData {
08: private int taskId;
09: private Calendar startTime;
10: private Calendar endTime;
11: private double duration;
12: private int person1Id;
13: private int person2Id;
14: private Calendar reportDate;
15: private String description = "";
16:
17: public int getTaskId() {
18: return taskId;
19: }
20:
21: public void setTaskId(int taskId) {
22: this .taskId = taskId;
23: }
24:
25: public void setStartTime(Calendar startTime) {
26: this .startTime = startTime;
27: }
28:
29: public Calendar getStartTime() {
30: return startTime;
31: }
32:
33: public void setEndTime(Calendar endTime) {
34: this .endTime = endTime;
35: }
36:
37: public Calendar getEndTime() {
38: return endTime;
39: }
40:
41: public void setPerson1Id(int person1Id) {
42: this .person1Id = person1Id;
43: }
44:
45: public int getPerson1Id() {
46: return person1Id;
47: }
48:
49: public void setPerson2Id(int person2Id) {
50: this .person2Id = person2Id;
51: }
52:
53: public int getPerson2Id() {
54: return person2Id;
55: }
56:
57: public double getDuration() {
58: return duration;
59: }
60:
61: public void setDuration(double duration) {
62: this .duration = duration;
63: }
64:
65: public Calendar getReportDate() {
66: return reportDate;
67: }
68:
69: public void setReportDate(Calendar reportDate) {
70: this .reportDate = reportDate;
71: }
72:
73: public String getDescription() {
74: return description;
75: }
76:
77: public void setDescription(String description) {
78: this .description = description;
79: }
80:
81: public static Class getInternalClass() {
82: return TimeEntry.class;
83: }
84: }
|