| 1 |
|
|
| 2 |
|
|
| 3 |
|
|
| 4 |
|
|
| 5 |
|
|
| 6 |
|
package org.demosys.web.iteration; |
| 7 |
|
|
| 8 |
|
|
| 9 |
|
public class IterationView implements Cloneable { |
| 10 |
|
private String _title; |
| 11 |
|
private String _fromDate; |
| 12 |
|
private String _toDate; |
| 13 |
|
private int _plannedVelocity; |
| 14 |
|
private int _velocity; |
| 15 |
|
|
| 16 |
0 |
public IterationView(String title) { |
| 17 |
0 |
setTitle(title); |
| 18 |
0 |
} |
| 19 |
|
|
| 20 |
|
|
| 21 |
0 |
public IterationView() {} |
| 22 |
|
|
| 23 |
|
public Object clone() { |
| 24 |
|
try { |
| 25 |
0 |
return super.clone(); |
| 26 |
|
} |
| 27 |
|
catch (CloneNotSupportedException e) { |
| 28 |
|
|
| 29 |
0 |
e.printStackTrace(); |
| 30 |
|
|
| 31 |
0 |
return null; |
| 32 |
|
} |
| 33 |
|
} |
| 34 |
|
|
| 35 |
|
|
| 36 |
|
public String getTitle() { |
| 37 |
0 |
return _title; |
| 38 |
|
} |
| 39 |
|
|
| 40 |
|
|
| 41 |
|
public void setTitle(String title) { |
| 42 |
0 |
this._title = title; |
| 43 |
0 |
} |
| 44 |
|
|
| 45 |
|
|
| 46 |
|
public String getFromDate() { |
| 47 |
0 |
return _fromDate; |
| 48 |
|
} |
| 49 |
|
|
| 50 |
|
|
| 51 |
|
public void setFromDate(String fromDate) { |
| 52 |
0 |
this._fromDate = fromDate; |
| 53 |
0 |
} |
| 54 |
|
|
| 55 |
|
|
| 56 |
|
public String getToDate() { |
| 57 |
0 |
return _toDate; |
| 58 |
|
} |
| 59 |
|
|
| 60 |
|
|
| 61 |
|
public void setToDate(String toDate) { |
| 62 |
0 |
this._toDate = toDate; |
| 63 |
0 |
} |
| 64 |
|
|
| 65 |
|
|
| 66 |
|
public int getPlannedVelocity() { |
| 67 |
0 |
return _plannedVelocity; |
| 68 |
|
} |
| 69 |
|
|
| 70 |
|
|
| 71 |
|
public void setPlannedVelocity(int plannedVelocity) { |
| 72 |
0 |
this._plannedVelocity = plannedVelocity; |
| 73 |
0 |
} |
| 74 |
|
|
| 75 |
|
|
| 76 |
|
public int getVelocity() { |
| 77 |
0 |
return _velocity; |
| 78 |
|
} |
| 79 |
|
|
| 80 |
|
|
| 81 |
|
public void setVelocity(int velocity) { |
| 82 |
0 |
this._velocity = velocity; |
| 83 |
0 |
} |
| 84 |
|
} |