001: package com.technoetic.xplanner.soap.domain;
002:
003: import com.technoetic.xplanner.domain.Iteration;
004: import com.technoetic.xplanner.domain.IterationStatus;
005:
006: import java.util.Calendar;
007:
008: public class IterationData extends DomainData {
009: private int projectId;
010: private String name;
011: private String description;
012: private Calendar startDate;
013: private Calendar endDate;
014: private double daysWorked;
015: private double adjustedEstimatedHours = 0;
016: private double remainingHours;
017: private double estimatedHours;
018: private double actualHours;
019: private double underestimatedHours;
020: private double overestimatedHours;
021: private double addedHours;
022: private double postponedHours;
023: private String statusKey;
024:
025: public void setName(String name) {
026: this .name = name;
027: }
028:
029: public String getName() {
030: return name;
031: }
032:
033: public void setDescription(String description) {
034: this .description = description;
035: }
036:
037: public String getDescription() {
038: return description;
039: }
040:
041: public void setStartDate(Calendar startDate) {
042: this .startDate = startDate;
043: }
044:
045: public Calendar getStartDate() {
046: return startDate;
047: }
048:
049: public void setEndDate(Calendar endDate) {
050: this .endDate = endDate;
051: }
052:
053: public Calendar getEndDate() {
054: return endDate;
055: }
056:
057: public void setProjectId(int projectId) {
058: this .projectId = projectId;
059: }
060:
061: public int getProjectId() {
062: return projectId;
063: }
064:
065: public double getEstimatedHours() {
066: return estimatedHours;
067: }
068:
069: public void setEstimatedHours(double estimatedHours) {
070: this .estimatedHours = estimatedHours;
071: }
072:
073: public double getActualHours() {
074: return actualHours;
075: }
076:
077: public void setActualHours(double actualHours) {
078: this .actualHours = actualHours;
079: }
080:
081: public double getAdjustedEstimatedHours() {
082: return adjustedEstimatedHours;
083: }
084:
085: public void setAdjustedEstimatedHours(double adjustedEstimatedHours) {
086: this .adjustedEstimatedHours = adjustedEstimatedHours;
087: }
088:
089: public double getRemainingHours() {
090: return remainingHours;
091: }
092:
093: public void setRemainingHours(double remainingHours) {
094: this .remainingHours = remainingHours;
095: }
096:
097: public double getUnderestimatedHours() {
098: return underestimatedHours;
099: }
100:
101: public void setUnderestimatedHours(double underestimatedHours) {
102: this .underestimatedHours = underestimatedHours;
103: }
104:
105: public double getOverestimatedHours() {
106: return overestimatedHours;
107: }
108:
109: public void setOverestimatedHours(double overestimatedHours) {
110: this .overestimatedHours = overestimatedHours;
111: }
112:
113: public double getAddedHours() {
114: return addedHours;
115: }
116:
117: public void setAddedHours(double addedHours) {
118: this .addedHours = addedHours;
119: }
120:
121: public double getPostponedHours() {
122: return postponedHours;
123: }
124:
125: public void setPostponedHours(double postponedHours) {
126: this .postponedHours = postponedHours;
127: }
128:
129: public static Class getInternalClass() {
130: return Iteration.class;
131: }
132:
133: public String getStatusKey() {
134: return statusKey;
135: }
136:
137: public void setStatusKey(String statusKey) {
138: this .statusKey = statusKey;
139: }
140:
141: public double getDaysWorked() {
142: return daysWorked;
143: }
144:
145: public void setDaysWorked(double daysWorked) {
146: this.daysWorked = daysWorked;
147: }
148: }
|