blob: 079ae61f18a61f0c31cc877452ffdacfd0094524 (
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
|
/*
*
*/
package org.uic.ticket.api.impl;
import org.uic.ticket.api.asn.omv1.CodeTableType;
import org.uic.ticket.api.spec.IRouteSection;
// TODO: Auto-generated Javadoc
/**
* The Class SimpleRouteSection.
*/
public class SimpleRouteSection implements IRouteSection {
/** The station code table. */
protected CodeTableType stationCodeTable = CodeTableType.stationUIC;
/** The from station. */
protected String fromStation;
/** The to station. */
protected String toStation;
/** The from station name. */
protected String fromStationName;
/** The to station name. */
protected String toStationName;
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IRouteSection#getStationCodeTable()
*/
public CodeTableType getStationCodeTable() {
return stationCodeTable;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IRouteSection#setStationCodeTable(org.uic.ticket.api.asn.om.CodeTableType)
*/
public void setStationCodeTable(CodeTableType stationCodeTable) {
this.stationCodeTable = stationCodeTable;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IRouteSection#getFromStation()
*/
public String getFromStation() {
return fromStation;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IRouteSection#setFromStation(java.lang.String)
*/
public void setFromStation(String fromStation) {
this.fromStation = fromStation;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IRouteSection#getToStation()
*/
public String getToStation() {
return toStation;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IRouteSection#setToStation(java.lang.String)
*/
public void setToStation(String toStation) {
this.toStation = toStation;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IRouteSection#getFromStationName()
*/
public String getFromStationName() {
return fromStationName;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IRouteSection#setFromStationName(java.lang.String)
*/
public void setFromStationName(String fromStationName) {
this.fromStationName = fromStationName;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IRouteSection#getToStationName()
*/
public String getToStationName() {
return toStationName;
}
/* (nicht-Javadoc)
* @see org.uic.ticket.api.spec.IRouteSection#setToStationName(java.lang.String)
*/
public void setToStationName(String toStationName) {
this.toStationName = toStationName;
}
}
|