Package org.cxml
Class AirLeg
java.lang.Object
org.cxml.AirLeg
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AirLegDestinationprotected AirLegOriginprotected Stringprotected BookingClassCodeprotected Stringprotected Stringprotected Stringprotected Rateprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Vendor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the airLegDestination property.Gets the value of the airLegOrigin property.Gets the value of the arrivalTime property.Gets the value of the bookingClassCode property.Gets the value of the departureTime property.Gets the value of the equipment property.Gets the value of the flightNumber property.getMeal()Gets the value of the meal property.getRate()Gets the value of the rate property.Gets the value of the seatNumber property.Gets the value of the seatType property.getStops()Gets the value of the stops property.Gets the value of the travelSegment property.Gets the value of the upgrade property.Gets the value of the vendor property.voidSets the value of the airLegDestination property.voidsetAirLegOrigin(AirLegOrigin value) Sets the value of the airLegOrigin property.voidsetArrivalTime(String value) Sets the value of the arrivalTime property.voidSets the value of the bookingClassCode property.voidsetDepartureTime(String value) Sets the value of the departureTime property.voidsetEquipment(String value) Sets the value of the equipment property.voidsetFlightNumber(String value) Sets the value of the flightNumber property.voidSets the value of the rate property.voidsetSeatNumber(String value) Sets the value of the seatNumber property.voidsetSeatType(String value) Sets the value of the seatType property.voidSets the value of the stops property.voidsetTravelSegment(String value) Sets the value of the travelSegment property.voidsetUpgrade(String value) Sets the value of the upgrade property.voidSets the value of the vendor property.
-
Field Details
-
travelSegment
-
departureTime
-
arrivalTime
-
flightNumber
-
seatNumber
-
seatType
-
upgrade
-
stops
-
equipment
-
vendor
-
airLegOrigin
-
airLegDestination
-
bookingClassCode
-
rate
-
meal
-
-
Constructor Details
-
AirLeg
public AirLeg()
-
-
Method Details
-
getTravelSegment
Gets the value of the travelSegment property.- Returns:
- possible object is
String
-
setTravelSegment
Sets the value of the travelSegment property.- Parameters:
value- allowed object isString
-
getDepartureTime
Gets the value of the departureTime property.- Returns:
- possible object is
String
-
setDepartureTime
Sets the value of the departureTime property.- Parameters:
value- allowed object isString
-
getArrivalTime
Gets the value of the arrivalTime property.- Returns:
- possible object is
String
-
setArrivalTime
Sets the value of the arrivalTime property.- Parameters:
value- allowed object isString
-
getFlightNumber
Gets the value of the flightNumber property.- Returns:
- possible object is
String
-
setFlightNumber
Sets the value of the flightNumber property.- Parameters:
value- allowed object isString
-
getSeatNumber
Gets the value of the seatNumber property.- Returns:
- possible object is
String
-
setSeatNumber
Sets the value of the seatNumber property.- Parameters:
value- allowed object isString
-
getSeatType
Gets the value of the seatType property.- Returns:
- possible object is
String
-
setSeatType
Sets the value of the seatType property.- Parameters:
value- allowed object isString
-
getUpgrade
Gets the value of the upgrade property.- Returns:
- possible object is
String
-
setUpgrade
Sets the value of the upgrade property.- Parameters:
value- allowed object isString
-
getStops
Gets the value of the stops property.- Returns:
- possible object is
String
-
setStops
Sets the value of the stops property.- Parameters:
value- allowed object isString
-
getEquipment
Gets the value of the equipment property.- Returns:
- possible object is
String
-
setEquipment
Sets the value of the equipment property.- Parameters:
value- allowed object isString
-
getVendor
Gets the value of the vendor property.- Returns:
- possible object is
Vendor
-
setVendor
Sets the value of the vendor property.- Parameters:
value- allowed object isVendor
-
getAirLegOrigin
Gets the value of the airLegOrigin property.- Returns:
- possible object is
AirLegOrigin
-
setAirLegOrigin
Sets the value of the airLegOrigin property.- Parameters:
value- allowed object isAirLegOrigin
-
getAirLegDestination
Gets the value of the airLegDestination property.- Returns:
- possible object is
AirLegDestination
-
setAirLegDestination
Sets the value of the airLegDestination property.- Parameters:
value- allowed object isAirLegDestination
-
getBookingClassCode
Gets the value of the bookingClassCode property.- Returns:
- possible object is
BookingClassCode
-
setBookingClassCode
Sets the value of the bookingClassCode property.- Parameters:
value- allowed object isBookingClassCode
-
getRate
Gets the value of the rate property.- Returns:
- possible object is
Rate
-
setRate
Sets the value of the rate property.- Parameters:
value- allowed object isRate
-
getMeal
Gets the value of the meal property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the meal property.For example, to add a new item, do as follows:
getMeal().add(newItem);Objects of the following type(s) are allowed in the list
Meal
-