Package org.cxml
Class AirLeg
- java.lang.Object
-
- org.cxml.AirLeg
-
public class AirLeg extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected AirLegDestinationairLegDestinationprotected AirLegOriginairLegOriginprotected java.lang.StringarrivalTimeprotected BookingClassCodebookingClassCodeprotected java.lang.StringdepartureTimeprotected java.lang.Stringequipmentprotected java.lang.StringflightNumberprotected java.util.List<Meal>mealprotected Raterateprotected java.lang.StringseatNumberprotected java.lang.StringseatTypeprotected java.lang.Stringstopsprotected java.lang.StringtravelSegmentprotected java.lang.Stringupgradeprotected Vendorvendor
-
Constructor Summary
Constructors Constructor Description AirLeg()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AirLegDestinationgetAirLegDestination()Gets the value of the airLegDestination property.AirLegOrigingetAirLegOrigin()Gets the value of the airLegOrigin property.java.lang.StringgetArrivalTime()Gets the value of the arrivalTime property.BookingClassCodegetBookingClassCode()Gets the value of the bookingClassCode property.java.lang.StringgetDepartureTime()Gets the value of the departureTime property.java.lang.StringgetEquipment()Gets the value of the equipment property.java.lang.StringgetFlightNumber()Gets the value of the flightNumber property.java.util.List<Meal>getMeal()Gets the value of the meal property.RategetRate()Gets the value of the rate property.java.lang.StringgetSeatNumber()Gets the value of the seatNumber property.java.lang.StringgetSeatType()Gets the value of the seatType property.java.lang.StringgetStops()Gets the value of the stops property.java.lang.StringgetTravelSegment()Gets the value of the travelSegment property.java.lang.StringgetUpgrade()Gets the value of the upgrade property.VendorgetVendor()Gets the value of the vendor property.voidsetAirLegDestination(AirLegDestination value)Sets the value of the airLegDestination property.voidsetAirLegOrigin(AirLegOrigin value)Sets the value of the airLegOrigin property.voidsetArrivalTime(java.lang.String value)Sets the value of the arrivalTime property.voidsetBookingClassCode(BookingClassCode value)Sets the value of the bookingClassCode property.voidsetDepartureTime(java.lang.String value)Sets the value of the departureTime property.voidsetEquipment(java.lang.String value)Sets the value of the equipment property.voidsetFlightNumber(java.lang.String value)Sets the value of the flightNumber property.voidsetRate(Rate value)Sets the value of the rate property.voidsetSeatNumber(java.lang.String value)Sets the value of the seatNumber property.voidsetSeatType(java.lang.String value)Sets the value of the seatType property.voidsetStops(java.lang.String value)Sets the value of the stops property.voidsetTravelSegment(java.lang.String value)Sets the value of the travelSegment property.voidsetUpgrade(java.lang.String value)Sets the value of the upgrade property.voidsetVendor(Vendor value)Sets the value of the vendor property.
-
-
-
Field Detail
-
travelSegment
protected java.lang.String travelSegment
-
departureTime
protected java.lang.String departureTime
-
arrivalTime
protected java.lang.String arrivalTime
-
flightNumber
protected java.lang.String flightNumber
-
seatNumber
protected java.lang.String seatNumber
-
seatType
protected java.lang.String seatType
-
upgrade
protected java.lang.String upgrade
-
stops
protected java.lang.String stops
-
equipment
protected java.lang.String equipment
-
vendor
protected Vendor vendor
-
airLegOrigin
protected AirLegOrigin airLegOrigin
-
airLegDestination
protected AirLegDestination airLegDestination
-
bookingClassCode
protected BookingClassCode bookingClassCode
-
rate
protected Rate rate
-
meal
protected java.util.List<Meal> meal
-
-
Method Detail
-
getTravelSegment
public java.lang.String getTravelSegment()
Gets the value of the travelSegment property.- Returns:
- possible object is
String
-
setTravelSegment
public void setTravelSegment(java.lang.String value)
Sets the value of the travelSegment property.- Parameters:
value- allowed object isString
-
getDepartureTime
public java.lang.String getDepartureTime()
Gets the value of the departureTime property.- Returns:
- possible object is
String
-
setDepartureTime
public void setDepartureTime(java.lang.String value)
Sets the value of the departureTime property.- Parameters:
value- allowed object isString
-
getArrivalTime
public java.lang.String getArrivalTime()
Gets the value of the arrivalTime property.- Returns:
- possible object is
String
-
setArrivalTime
public void setArrivalTime(java.lang.String value)
Sets the value of the arrivalTime property.- Parameters:
value- allowed object isString
-
getFlightNumber
public java.lang.String getFlightNumber()
Gets the value of the flightNumber property.- Returns:
- possible object is
String
-
setFlightNumber
public void setFlightNumber(java.lang.String value)
Sets the value of the flightNumber property.- Parameters:
value- allowed object isString
-
getSeatNumber
public java.lang.String getSeatNumber()
Gets the value of the seatNumber property.- Returns:
- possible object is
String
-
setSeatNumber
public void setSeatNumber(java.lang.String value)
Sets the value of the seatNumber property.- Parameters:
value- allowed object isString
-
getSeatType
public java.lang.String getSeatType()
Gets the value of the seatType property.- Returns:
- possible object is
String
-
setSeatType
public void setSeatType(java.lang.String value)
Sets the value of the seatType property.- Parameters:
value- allowed object isString
-
getUpgrade
public java.lang.String getUpgrade()
Gets the value of the upgrade property.- Returns:
- possible object is
String
-
setUpgrade
public void setUpgrade(java.lang.String value)
Sets the value of the upgrade property.- Parameters:
value- allowed object isString
-
getStops
public java.lang.String getStops()
Gets the value of the stops property.- Returns:
- possible object is
String
-
setStops
public void setStops(java.lang.String value)
Sets the value of the stops property.- Parameters:
value- allowed object isString
-
getEquipment
public java.lang.String getEquipment()
Gets the value of the equipment property.- Returns:
- possible object is
String
-
setEquipment
public void setEquipment(java.lang.String value)
Sets the value of the equipment property.- Parameters:
value- allowed object isString
-
getVendor
public Vendor getVendor()
Gets the value of the vendor property.- Returns:
- possible object is
Vendor
-
setVendor
public void setVendor(Vendor value)
Sets the value of the vendor property.- Parameters:
value- allowed object isVendor
-
getAirLegOrigin
public AirLegOrigin getAirLegOrigin()
Gets the value of the airLegOrigin property.- Returns:
- possible object is
AirLegOrigin
-
setAirLegOrigin
public void setAirLegOrigin(AirLegOrigin value)
Sets the value of the airLegOrigin property.- Parameters:
value- allowed object isAirLegOrigin
-
getAirLegDestination
public AirLegDestination getAirLegDestination()
Gets the value of the airLegDestination property.- Returns:
- possible object is
AirLegDestination
-
setAirLegDestination
public void setAirLegDestination(AirLegDestination value)
Sets the value of the airLegDestination property.- Parameters:
value- allowed object isAirLegDestination
-
getBookingClassCode
public BookingClassCode getBookingClassCode()
Gets the value of the bookingClassCode property.- Returns:
- possible object is
BookingClassCode
-
setBookingClassCode
public void setBookingClassCode(BookingClassCode value)
Sets the value of the bookingClassCode property.- Parameters:
value- allowed object isBookingClassCode
-
setRate
public void setRate(Rate value)
Sets the value of the rate property.- Parameters:
value- allowed object isRate
-
getMeal
public java.util.List<Meal> 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
-
-