blob: 07025635e9fb7f9c9d0d77d0f352f74023155707 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
|
/*
*
*/
package org.uic.barcode.ticket.api.impl;
import java.util.Collection;
import java.util.HashSet;
import java.util.LinkedHashSet;
import org.uic.barcode.ticket.api.spec.ICardReference;
import org.uic.barcode.ticket.api.spec.IControlDetail;
import org.uic.barcode.ticket.api.spec.IExtension;
import org.uic.barcode.ticket.api.spec.ITicketLink;
// TODO: Auto-generated Javadoc
/**
* The Class SimpleControlDetail.
*/
public class SimpleControlDetail implements IControlDetail {
/** The identification by card reference. */
protected Collection <ICardReference> identificationByCardReference = new LinkedHashSet<ICardReference>();
/** The identification by id card. */
protected boolean identificationByIdCard = false;
/** The identification by passport id. */
protected boolean identificationByPassportId = false;
/** The identification item. */
protected int identificationItem = 0;
/** The passport validation required. */
protected boolean passportValidationRequired = false;
/** The online validation required. */
protected boolean onlineValidationRequired = false;
/** The random online validation required. */
protected int randomDetailedValidationRequired = 0;
/** The age check required. */
protected boolean ageCheckRequired = false;
/** The reduction card check required. */
protected boolean reductionCardCheckRequired = false;
/** The info text. */
protected String infoText ;
/** The linked tickets. */
protected Collection<ITicketLink> linkedTickets = new HashSet<ITicketLink>();
/** The extension. */
protected IExtension extension ;
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IControlDetail#getIdentificationByCardReference()
*/
public Collection<ICardReference> getIdentificationByCardReference() {
return identificationByCardReference;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IControlDetail#addIdentificationByCardReference(org.uic.ticket.api.spec.ICardReference)
*/
public void addIdentificationByCardReference(ICardReference cardReference) {
this.identificationByCardReference.add(cardReference);
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IControlDetail#isIdentificationByIdCard()
*/
public boolean isIdentificationByIdCard() {
return identificationByIdCard;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IControlDetail#setIdentificationByIdCard(boolean)
*/
public void setIdentificationByIdCard(boolean identificationByIdCard) {
this.identificationByIdCard = identificationByIdCard;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IControlDetail#isIdentificationByPassportId()
*/
public boolean isIdentificationByPassportId() {
return identificationByPassportId;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IControlDetail#setIdentificationByPassportId(boolean)
*/
public void setIdentificationByPassportId(boolean identificationByPassportId) {
this.identificationByPassportId = identificationByPassportId;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IControlDetail#getIdentificationItem()
*/
public int getIdentificationItem() {
return identificationItem;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IControlDetail#setIdentificationItem(int)
*/
public void setIdentificationItem(int identificationItem) {
this.identificationItem = identificationItem;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IControlDetail#isPassportValidationRequired()
*/
public boolean isPassportValidationRequired() {
return passportValidationRequired;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IControlDetail#setPassportValidationRequired(boolean)
*/
public void setPassportValidationRequired(boolean passportValidationRequired) {
this.passportValidationRequired = passportValidationRequired;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IControlDetail#isOnlineValidationRequired()
*/
public boolean isOnlineValidationRequired() {
return onlineValidationRequired;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IControlDetail#setOnlineValidationRequired(boolean)
*/
public void setOnlineValidationRequired(boolean onlineValidationRequired) {
this.onlineValidationRequired = onlineValidationRequired;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IControlDetail#getRandomOnlineValidationRequired()
*/
public int getRandomDetailedValidationRequired() {
return randomDetailedValidationRequired;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IControlDetail#setRandomOnlineValidationRequired(int)
*/
public void setRandomDetailedValidationRequired(int randomDetailedValidationRequired) {
this.randomDetailedValidationRequired = randomDetailedValidationRequired;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IControlDetail#isAgeCheckRequired()
*/
public boolean isAgeCheckRequired() {
return ageCheckRequired;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IControlDetail#setAgeCheckRequired(boolean)
*/
public void setAgeCheckRequired(boolean ageCheckRequired) {
this.ageCheckRequired = ageCheckRequired;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IControlDetail#isReductionCardCheckRequired()
*/
public boolean isReductionCardCheckRequired() {
return reductionCardCheckRequired;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IControlDetail#setReductionCardCheckRequired(boolean)
*/
public void setReductionCardCheckRequired(boolean reductionCardCheckRequired) {
this.reductionCardCheckRequired = reductionCardCheckRequired;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IControlDetail#getInfoText()
*/
public String getInfoText() {
return infoText;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IControlDetail#setInfoText(java.lang.String)
*/
public void setInfoText(String infoText) {
this.infoText = infoText;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IControlDetail#getLinkedTickets()
*/
public Collection<ITicketLink> getLinkedTickets() {
return linkedTickets;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IControlDetail#addLinkedTicket(org.uic.ticket.api.spec.ITicketLink)
*/
public void addLinkedTicket(ITicketLink linkedTicket) {
this.linkedTickets.add(linkedTicket);
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IControlDetail#getExtension()
*/
public IExtension getExtension() {
return extension;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IControlDetail#setExtension(org.uic.ticket.api.spec.IExtension)
*/
public void setExtension(IExtension extension) {
this.extension = extension;
}
}
|