source: DCWoRMS/branches/coolemall/src/schedframe/scheduling/ExecutionHistoryItem.java @ 1362

Revision 1362, 1.0 KB checked in by wojtekp, 11 years ago (diff)
  • Property svn:mime-type set to text/plain
Line 
1package schedframe.scheduling;
2
3import org.joda.time.DateTime;
4
5public class ExecutionHistoryItem {
6
7        protected DateTime timeStamp;
8        protected double completionPercentage;
9        protected double estimatedDuration;
10        protected int status;
11        protected int resUsageIndex;
12
13        public ExecutionHistoryItem(DateTime time){
14                this.timeStamp = time;
15        }
16
17        public DateTime getTimeStamp(){
18                return timeStamp;
19        }
20
21        public double getCompletionPercentage() {
22                return completionPercentage;
23        }
24
25        public void setCompletionPercentage(double completionPercentage) {
26                this.completionPercentage = completionPercentage;
27        }
28
29        public double getEstimatedDuration() {
30                return estimatedDuration;
31        }
32
33        public void setEstimatedDuration(double estimatedDuration) {
34                this.estimatedDuration = estimatedDuration;
35        }
36
37        public int getResIndex() {
38                return resUsageIndex;
39        }
40
41        public void setResIndex(int resUsageIndex) {
42                this.resUsageIndex = resUsageIndex;
43        }
44
45        public int getStatus() {
46                return status;
47        }
48
49        public void setStatus(int status) {
50                this.status = status;
51        }
52
53       
54}
Note: See TracBrowser for help on using the repository browser.