1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
package org.demosys.web.story; |
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
0 |
public class StoryView implements Cloneable { |
12 |
|
private String title; |
13 |
|
private String description; |
14 |
|
private double estimate; |
15 |
|
private int priority; |
16 |
|
|
17 |
|
public Object clone() { |
18 |
|
try { |
19 |
0 |
return super.clone(); |
20 |
|
} |
21 |
|
catch (CloneNotSupportedException e) { |
22 |
|
|
23 |
0 |
e.printStackTrace(); |
24 |
|
|
25 |
0 |
return null; |
26 |
|
} |
27 |
|
} |
28 |
|
|
29 |
|
|
30 |
|
public String getTitle() { |
31 |
0 |
return title; |
32 |
|
} |
33 |
|
|
34 |
|
|
35 |
|
public void setTitle(String title) { |
36 |
0 |
this.title = title; |
37 |
0 |
} |
38 |
|
|
39 |
|
|
40 |
|
public String getDescription() { |
41 |
0 |
return description; |
42 |
|
} |
43 |
|
|
44 |
|
|
45 |
|
public void setDescription(String description) { |
46 |
0 |
this.description = description; |
47 |
0 |
} |
48 |
|
|
49 |
|
|
50 |
|
public double getEstimate() { |
51 |
0 |
return estimate; |
52 |
|
} |
53 |
|
|
54 |
|
|
55 |
|
public void setEstimate(double estimate) { |
56 |
0 |
this.estimate = estimate; |
57 |
0 |
} |
58 |
|
|
59 |
|
|
60 |
|
public int getPriority() { |
61 |
0 |
return priority; |
62 |
|
} |
63 |
|
|
64 |
|
|
65 |
|
public void setPriority(int priority) { |
66 |
0 |
this.priority = priority; |
67 |
0 |
} |
68 |
|
} |