001: package com.technoetic.xplanner.soap.domain;
002:
003: import com.technoetic.xplanner.domain.UserStory;
004:
005: public class UserStoryData extends DomainData {
006: private int iterationId;
007: private int trackerId;
008: private String name;
009: private String description;
010: private double adjustedEstimatedHours = 0;
011: private double estimatedOriginalHours;
012: private double remainingHours;
013: private double estimatedHours;
014: private double actualHours;
015: private double postponedHours;
016: private int priority;
017: private String dispositionName;
018: private int customerId;
019: private boolean completed;
020:
021: public void setName(String name) {
022: this .name = name;
023: }
024:
025: public String getName() {
026: return name;
027: }
028:
029: public void setDescription(String description) {
030: this .description = description;
031: }
032:
033: public String getDescription() {
034: return description;
035: }
036:
037: public void setTrackerId(int trackerId) {
038: this .trackerId = trackerId;
039: }
040:
041: public int getTrackerId() {
042: return trackerId;
043: }
044:
045: public void setIterationId(int iterationId) {
046: this .iterationId = iterationId;
047: }
048:
049: public int getIterationId() {
050: return iterationId;
051: }
052:
053: public double getEstimatedHours() {
054: return estimatedHours;
055: }
056:
057: public void setEstimatedHours(double estimatedHours) {
058: this .estimatedHours = estimatedHours;
059: }
060:
061: public double getActualHours() {
062: return actualHours;
063: }
064:
065: //TODO : should not be available in generated DTO. Can it be done? JM 2-22-4
066: public void setActualHours(double actualHours) {
067: this .actualHours = actualHours;
068: }
069:
070: public double getAdjustedEstimatedHours() {
071: return adjustedEstimatedHours;
072: }
073:
074: public void setAdjustedEstimatedHours(double adjustedEstimatedHours) {
075: this .adjustedEstimatedHours = adjustedEstimatedHours;
076: }
077:
078: public double getRemainingHours() {
079: return remainingHours;
080: }
081:
082: public void setRemainingHours(double remainingHours) {
083: this .remainingHours = remainingHours;
084: }
085:
086: public void setCustomerId(int customerId) {
087: this .customerId = customerId;
088: }
089:
090: public int getCustomerId() {
091: return customerId;
092: }
093:
094: public void setPriority(int priority) {
095: this .priority = priority;
096: }
097:
098: public int getPriority() {
099: return priority;
100: }
101:
102: public String getDispositionName() {
103: return dispositionName;
104: }
105:
106: public void setDispositionName(String dispositionName) {
107: this .dispositionName = dispositionName;
108: }
109:
110: public boolean isCompleted() {
111: return completed;
112: }
113:
114: public void setCompleted(boolean completed) {
115: this .completed = completed;
116: }
117:
118: public double getEstimatedOriginalHours() {
119: return estimatedOriginalHours;
120: }
121:
122: public void setEstimatedOriginalHours(double estimatedOriginalHours) {
123: this .estimatedOriginalHours = estimatedOriginalHours;
124: }
125:
126: public double getPostponedHours() {
127: return postponedHours;
128: }
129:
130: public void setPostponedHours(double postponedHours) {
131: this .postponedHours = postponedHours;
132: }
133:
134: public static Class getInternalClass() {
135: return UserStory.class;
136: }
137: }
|