blob: 9d6db3dd98baaa9bacbc6a9a1a66ed07ce956b7f (
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
|
/*
*
*/
package org.uic.ticket.api.impl;
import java.util.Collection;
import java.util.Date;
import java.util.LinkedHashSet;
import org.uic.ticket.api.asn.omv1.TravelClassType;
import org.uic.ticket.api.spec.ICustomerCard;
import org.uic.ticket.api.spec.IExtension;
import org.uic.ticket.api.spec.ITraveler;
// TODO: Auto-generated Javadoc
/**
* The Class SimpleCustomerCard.
*/
public class SimpleCustomerCard extends SimpleDocumentData implements ICustomerCard {
/** The customer type. */
protected ITraveler customer;
/** The card id. */
protected String cardId;
/** The valid from. */
protected Date validFrom;
/** The valid until. */
protected Date validUntil;
/** The class code. */
protected TravelClassType classCode;
/** The extension. */
protected IExtension extension;
/** The card type. */
protected int cardType;
/** The card type descr. */
protected String cardTypeDescr;
/** The customer status. */
protected int customerStatus;
/** The customer status descr. */
protected String customerStatusDescr;
/** The included services. */
protected Collection<Integer> includedServices = new LinkedHashSet<Integer>();
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.ICustomerCard#getCustomer()
*/
public ITraveler getCustomer() {
return customer;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.ICustomerCard#setCustomer(org.uic.ticket.api.spec.ITraveler)
*/
public void setCustomer(ITraveler customer) {
this.customer = customer;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.ICustomerCard#getCardId()
*/
public String getCardId() {
return cardId;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.ICustomerCard#setCardId(java.lang.String)
*/
public void setCardId(String cardId) {
this.cardId = cardId;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.ICustomerCard#getValidFrom()
*/
public Date getValidFrom() {
return validFrom;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.ICustomerCard#setValidFrom(java.util.Date)
*/
public void setValidFrom(Date validFrom) {
this.validFrom = validFrom;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.ICustomerCard#getValidUntil()
*/
public Date getValidUntil() {
return validUntil;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.ICustomerCard#setValidUntil(java.util.Date)
*/
public void setValidUntil(Date validUntil) {
this.validUntil = validUntil;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.ICustomerCard#getClassCode()
*/
public TravelClassType getClassCode() {
return classCode;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.ICustomerCard#setClassCode(org.uic.ticket.api.asn.om.TravelClassType)
*/
public void setClassCode(TravelClassType classCode) {
this.classCode = classCode;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.ICustomerCard#getCardType()
*/
public int getCardType() {
return cardType;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.ICustomerCard#setCardType(int)
*/
public void setCardType(int cardType) {
this.cardType = cardType;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.ICustomerCard#getCardTypeDescr()
*/
public String getCardTypeDescr() {
return cardTypeDescr;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.ICustomerCard#setCardTypeDescr(java.lang.String)
*/
public void setCardTypeDescr(String cardTypeDescr) {
this.cardTypeDescr = cardTypeDescr;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.ICustomerCard#getCustomerStatus()
*/
public int getCustomerStatus() {
return customerStatus;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.ICustomerCard#setCustomerStatus(int)
*/
public void setCustomerStatus(int customerStatus) {
this.customerStatus = customerStatus;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.ICustomerCard#getCustomerStatusDescr()
*/
public String getCustomerStatusDescr() {
return customerStatusDescr;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.ICustomerCard#setCustomerStatusDescr(java.lang.String)
*/
public void setCustomerStatusDescr(String customerStatusDescr) {
this.customerStatusDescr = customerStatusDescr;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.ICustomerCard#getIncludedServices()
*/
public Collection<Integer> getIncludedServices() {
return includedServices;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.ICustomerCard#addIncludedService(java.lang.Integer)
*/
public void addIncludedService(Integer includedService) {
this.includedServices.add(includedService);
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.ICustomerCard#getExtension()
*/
public IExtension getExtension() {
return extension;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.ICustomerCard#setExtension(org.uic.ticket.api.spec.IExtension)
*/
public void setExtension(IExtension extension) {
this.extension = extension;
}
}
|