public class FlightInfoExtended extends FlightInfo
| Constructor and Description |
|---|
FlightInfoExtended(String flightNumber,
String connectionId,
String segmentId,
TravelClass travelClass)
Instantiates a new flight info extended.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAircraftType()
Gets the aircraft type.
|
String |
getConnectionId()
Gets the connection id.
|
String |
getSegmentId()
Gets the segment id.
|
TravelClass |
getTravelClass()
Gets the travel class.
|
int |
hashCode() |
void |
setAircraftType(String aircraftType)
Sets the aircraft type.
|
void |
setConnectionId(String connectionId)
Sets the connection id.
|
void |
setSegmentId(String segmentId)
Sets the segment id.
|
void |
setTravelClass(TravelClass travelClass)
Sets the travel class.
|
String |
toString() |
getArrivalAirport, getDepartureAirport, getFlightNumber, getFlightSchedule, setArrivalAirport, setDepartureAirport, setFlightNumber, setFlightSchedulepublic FlightInfoExtended(String flightNumber, String connectionId, String segmentId, TravelClass travelClass)
flightNumber - the flight numberconnectionId - the connection idsegmentId - the segment idtravelClass - the travel classpublic String getConnectionId()
public void setConnectionId(String connectionId)
connectionId - the new connection idpublic String getSegmentId()
public void setSegmentId(String segmentId)
segmentId - the new segment idpublic String getAircraftType()
public void setAircraftType(String aircraftType)
aircraftType - the new aircraft typepublic TravelClass getTravelClass()
public void setTravelClass(TravelClass travelClass)
travelClass - the new travel classpublic int hashCode()
hashCode in class FlightInfopublic boolean equals(Object obj)
equals in class FlightInfopublic String toString()
toString in class FlightInfoCopyright © 2017 BotMill. All rights reserved.