summaryrefslogtreecommitdiffstats
path: root/src/org/uic/ticket/api/spec/ITraveler.java
blob: 498a7e39847562c0a74000db6129b9b4a35e7a72 (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
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
/*
 * 
 */
package org.uic.ticket.api.spec;

import java.util.Collection;
import java.util.Date;


/**
 * The Interface ITravelerData.
 * 
 * ITravelerData specifies the details of a traveler.
 * 
 */
public interface ITraveler {
	
	/**
	 * Gets the first name.
	 *
	 * @return the first name
	 */
	public String getFirstName();
	
	/**
	 * Sets the first name.
	 *
	 * @param firstName the new first name
	 */
	public void setFirstName(String firstName);
	
	/**
	 * Gets the second name.
	 *
	 * @return the second name
	 */
	public String getSecondName() ;
	
	/**
	 * Sets the second name.
	 *
	 * @param secondName the new second name
	 */
	public void setSecondName(String secondName);
	
	/**
	 * Gets the last name.
	 *
	 * @return the last name
	 */
	public String getLastName();
	
	/**
	 * Sets the last name.
	 *
	 * @param lastName the new last name
	 */
	public void setLastName(String lastName);
	
	/**
	 * Gets the id card.
	 *
	 * @return the id card
	 */
	public String getIdCard();
	
	/**
	 * Sets the id card.
	 *
	 * @param idCard the new id card
	 */
	public void setIdCard(String idCard) ;
	
	/**
	 * Gets the passport id.
	 *
	 * @return the passport id
	 */
	public String getPassportId() ;
	
	/**
	 * Sets the passport id.
	 *
	 * @param passportId the new passport id
	 */
	public void setPassportId(String passportId);
	
	/**
	 * Gets the title.
	 *
	 * @return the title
	 */
	public String getTitle();
	
	/**
	 * Sets the title.
	 *
	 * @param title the new title
	 */
	public void setTitle(String title);
	
	/**
	 * Gets the gender.
	 *
	 * @return the gender
	 */
	public IGenderType getGender();

	/**
	 * Sets the gender.
	 *
	 * @param gender the new gender
	 */
	public void setGender(IGenderType gender);
	
	/**
	 * Gets the customer id.
	 *
	 * @return the customer id
	 */
	public String getCustomerId();
	
	/**
	 * Sets the customer id.
	 *
	 * @param customerId the new customer id
	 */
	public void setCustomerId(String customerId);
	
	/**
	 * Gets the date of birth.
	 *
	 * @return the date of birth
	 */
	public Date getDateOfBirth();
	
	/**
	 * Sets the date of birth.
	 *
	 * @param dateOfBirth the new date of birth
	 */
	public void setDateOfBirth(Date dateOfBirth);

	/**
	 * Checks if is ticket holder.
	 *
	 * @return true, if is ticket holder
	 */
	public boolean isTicketHolder();

	/**
	 * Sets the ticket holder.
	 *
	 * @param ticketHolder the new ticket holder
	 */
	public void setTicketHolder(boolean ticketHolder);

	/**
	 * Gets the passenger type.
	 *
	 * @return the passenger type
	 */
	public IPassengerType getPassengerType();

	/**
	 * Sets the passenger type.
	 *
	 * @param passengerType the new passenger type
	 */
	public void setPassengerType(IPassengerType passengerType);

	/**
	 * Checks if is passenger with reduced mobility.
	 *
	 * @return true, if is passenger with reduced mobility
	 */
	public boolean isPassengerWithReducedMobility();

	/**
	 * Sets the passenger with reduced mobility.
	 *
	 * @param passengerWithReducedMobility the new passenger with reduced mobility
	 */
	public void setPassengerWithReducedMobility(boolean passengerWithReducedMobility);

	/**
	 * Gets the country of residence (numeric ISO country code) .
	 *
	 * @return the country of residence (numeric ISO country code) 
	 */
	public int getCountryOfResidence();

	/**
	 * Sets the country of residence (numeric ISO country code) .
	 *
	 * @param countryOfResidence the new country of residence (numeric ISO country code) 
	 */
	public void setCountryOfResidence(int countryOfResidence);

	

	/**
	 * Gets the passport country (numeric ISO country code) .
	 *
	 * @return the passport country (numeric ISO country code) 
	 */
	public int getPassportCountry();


	/**
	 * Sets the passport country (numeric ISO country code) . 
	 *
	 * @param passportCountry the new passport country (numeric ISO country code) 
	 */
	public void setPassportCountry(int passportCountry);	

	
	/**
	 * Gets the ID card country (numeric ISO country code) .
	 *
	 * @return the ID card country (numeric ISO country code) 
	 */
	public int getIDCardCountry();


	/**
	 * Sets the ID card country (numeric ISO country code) .
	 *
	 * @param idcardCountry the new ID card country (numeric ISO country code) 
	 */
	public void setIDCardCountry(int idcardCountry);	
	
	/**
	 * Gets the status collection.
	 *
	 * @return the status collection
	 */
	public Collection<ICustomerStatusDescription> getStatusCollection();

	/**
	 * Adds the status description.
	 *
	 * @param statusDescription the status description
	 */
	public void addStatusDescription(ICustomerStatusDescription statusDescription) ;
	


	
}