Kereta Yarsi Indonesia
|
Public Member Functions | |
Station () | |
Station (int stationID, String stationCode, String name, String city) | |
int | getStationID () |
void | setStationID (int stationID) |
String | getStationCode () |
void | setStationCode (String stationCode) |
String | getName () |
void | setName (String name) |
String | getCity () |
void | setCity (String city) |
The Station
class represents a railway station in the KYI Integrated system.
It includes details such as the station's ID, code, name, and city. This class provides getter and setter methods for accessing and modifying these details.
Instances of this class are used to represent and manipulate station data within the application.
|
inline |
Default constructor. Initializes a new instance of the Station
class with default values.
|
inline |
Initializes a new instance of the Station
class with the specified values.
stationID | the ID of the station |
stationCode | the code of the station |
name | the name of the station |
city | the city where the station is located |
|
inline |
Gets the city where the station is located.
|
inline |
Gets the name of the station.
|
inline |
Gets the code of the station.
|
inline |
Gets the ID of the station.
|
inline |
Sets the city where the station is located.
city | the city to set |
|
inline |
Sets the name of the station.
name | the name to set |
|
inline |
Sets the code of the station.
stationCode | the stationCode to set |
|
inline |
Sets the ID of the station.
stationID | the stationID to set |