1
2
3
4
5
6 package pt.digitalis.dif.presentation.views.jsp.taglibs.objects.beans;
7
8
9
10
11
12
13
14 public class WizardStepItem {
15
16
17 private boolean accessible;
18
19
20 private String description;
21
22
23 private boolean enabled;
24
25
26 private String name;
27
28
29 private boolean redirectToStage;
30
31
32 private String stageId;
33
34
35
36
37
38
39
40
41
42
43
44 public WizardStepItem(String name, String description, String stageId, boolean enabled, boolean accessible,
45 boolean redirectToStage) {
46 this.name = name;
47 this.description = description;
48 this.stageId = stageId;
49 this.enabled = enabled;
50 this.accessible = accessible;
51 this.redirectToStage = redirectToStage;
52 }
53
54
55
56
57
58
59 public String getDescription() {
60 return description;
61 }
62
63
64
65
66
67
68 public String getName() {
69 return name;
70 }
71
72
73
74
75
76
77 public String getStageId() {
78 return stageId;
79 }
80
81
82
83
84
85
86 public boolean isAccessible() {
87 return accessible;
88 }
89
90
91
92
93 public boolean isEnabled() {
94 return enabled;
95 }
96
97
98
99
100
101
102 public boolean isRedirectToStage() {
103 return redirectToStage;
104 }
105
106
107
108
109
110
111
112 public void setAccessible(boolean accessible) {
113 this.accessible = accessible;
114 }
115
116
117
118
119
120
121
122 public void setDescription(String description) {
123 this.description = description;
124 }
125
126
127
128
129
130 public void setEnabled(boolean enabled) {
131 this.enabled = enabled;
132 }
133
134
135
136
137
138
139
140 public void setName(String name) {
141 this.name = name;
142 }
143
144
145
146
147
148
149
150 public void setRedirectToStage(boolean redirectToStage) {
151 this.redirectToStage = redirectToStage;
152 }
153
154
155
156
157
158
159
160 public void setStageId(String stageId) {
161 this.stageId = stageId;
162 }
163 }