summaryrefslogtreecommitdiffstats
path: root/src/org/uic/barcode/ticket/api/spec/ITravelerDetail.java
blob: af9278c75d58168d20101563cb69fffd129a85c0 (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
/*
 * 
 */
package org.uic.barcode.ticket.api.spec;


import java.util.Set;

/**
 * The Interface ITravelerDetail.
 * 
 * ITravelerDetail provides a list of traveler data.
 */
public interface ITravelerDetail {
	
	/**
	 * Gets the group name.
	 *
	 * @return the group name
	 */
	public String getGroupName() ;
	
	/**
	 * Sets the group name.
	 *
	 * @param groupName the new group name
	 */
	public void setGroupName(String groupName) ;
	
	/**
	 * Adds the traveler.
	 *
	 * @param traveler the traveler
	 */
	public void addTraveler (ITraveler traveler) ;
	
	/**
	 * Gets the travelers.
	 *
	 * @return the travelers
	 */
	public Set<ITraveler> getTravelers() ;
	
	/**
	 * Gets the preferred language.
	 * ISO 639-1 coding of the language preferred for the traveler / ticket holder
	 *
	 * @return the preferred language
	 */
	public String getPreferredLanguage();
	
	/**
	 * Sets the preferred language.
	 * ISO 639-1 coding of the language preferred for the traveler / ticket holder
	 *
	 * @param language the new preferred language
	 */
	public void setPreferredLanguage(String language);	
	

}