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

import java.util.Date;

/**
 * The Interface ITrainLink.
 * 
 * ITrainLink specifies the mandatory use of a train within the route of an open ticket or counter mark.
 */
public interface ITrainLink extends IRegionalValidity {
	
	/**
	 * Gets the train.
	 *
	 * @return the train
	 */
	public String getTrain() ;
	
	/**
	 * Sets the train.
	 *
	 * @param train the new train
	 */
	public void setTrain(String train);
	
	/**
	 * Gets the departure date time.
	 *
	 * @return the departure date time
	 */
	public Date getDepartureDateTime();
	
	/**
	 * Sets the departure date time.
	 *
	 * @param departureDateTime the new departure date time
	 */
	public void setDepartureDateTime(Date departureDateTime) ;
	
	
	/**
	 * Gets the departure date time offset to UTC in units of 15 minutes.
	 *
	 * @return the departure date time UTC offset
	 */
	public Long getDepartureUTCoffset();
	
	/**
	 * Sets the departure date time.
	 *
	 * @param departureDateTime the new departure date time
	 */
	public void setDepartureUTCoffset(Long departureUTCoffset) ;
	
	
	
	
	/**
	 * Gets the from station code.
	 *
	 * @return the from station code
	 */
	public String getFromStation();
	
	/**
	 * Sets the from station code.
	 *
	 * @param fromStation the new from station code
	 */
	public void setFromStation(String fromStation);
	
	/**
	 * Gets the to station code.
	 *
	 * @return the to station code
	 */
	public String getToStation();
	
	/**
	 * Sets the to station code.
	 *
	 * @param toStation the new to station code
	 */
	public void setToStation(String toStation);
	
	/**
	 * Gets the from station name.
	 *
	 * @return the from station name
	 */
	public String getFromStationName() ;
	
	/**
	 * Sets the from station name.
	 *
	 * @param fromStationName the new from station name
	 */
	public void setFromStationName(String fromStationName);
	
	/**
	 * Gets the to station name.
	 *
	 * @return the to station name
	 */
	public String getToStationName();
	
	/**
	 * Sets the to station name.
	 *
	 * @param toStationName the new to station name
	 */
	public void setToStationName(String toStationName);
		

	
	
	
	
}