Kereta Yarsi Indonesia
|
Public Member Functions | |
Passenger (int passengerID, String namaLengkap, String tipeID, String noID, String kursi) | |
Passenger (String namaLengkap, String tipeID, String noID, String kursi) | |
String | getTipeID () |
void | setTipeID (String tipeID) |
String | getNoID () |
void | setNoID (String noID) |
String | getNamaLengkap () |
void | setNamaLengkap (String namaLengkap) |
String | getTipeUmur () |
void | setTipeUmur (String tipeUmur) |
String | getKursi () |
void | setKursi (String kursi) |
int | getPassengerID () |
void | setPassengerID (int passengerID) |
The Passenger
class represents a passenger in the KYI Integrated system. It includes details such as the passenger's ID, type of ID, number of ID, full name, age type, and seat number.
This class provides constructors to create a Passenger
object and getter and setter methods to access and modify the passenger's attributes.
|
inline |
Constructs a Passenger
object with specified passenger ID, full name, type of ID, number of ID, and seat number.
passengerID | the ID of the passenger |
namaLengkap | the full name of the passenger |
tipeID | the type of ID of the passenger |
noID | the number of the ID of the passenger |
kursi | the seat number of the passenger |
|
inline |
Constructs a Passenger
object with specified full name, type of ID, number of ID, and seat number. The passenger ID is set to -1.
namaLengkap | the full name of the passenger |
tipeID | the type of ID of the passenger |
noID | the number of the ID of the passenger |
kursi | the seat number of the passenger |
|
inline |
Returns the seat number of the passenger.
|
inline |
Returns the full name of the passenger.
|
inline |
Returns the number of the ID of the passenger.
|
inline |
Returns the ID of the passenger.
|
inline |
Returns the type of ID of the passenger.
|
inline |
Returns the age type of the passenger.
|
inline |
Sets the seat number of the passenger.
kursi | the seat number to set |
|
inline |
Sets the full name of the passenger.
namaLengkap | the full name to set |
|
inline |
Sets the number of the ID of the passenger.
noID | the number of the ID to set |
|
inline |
Sets the ID of the passenger.
passengerID | the ID to set |
|
inline |
Sets the type of ID of the passenger.
tipeID | the type of ID to set |
|
inline |
Sets the age type of the passenger.
tipeUmur | the age type to set |