Package org.cxml

Class AirLeg

java.lang.Object
org.cxml.AirLeg

public class AirLeg extends Object
  • Field Details

    • travelSegment

      protected String travelSegment
    • departureTime

      protected String departureTime
    • arrivalTime

      protected String arrivalTime
    • flightNumber

      protected String flightNumber
    • seatNumber

      protected String seatNumber
    • seatType

      protected String seatType
    • upgrade

      protected String upgrade
    • stops

      protected String stops
    • equipment

      protected String equipment
    • vendor

      protected Vendor vendor
    • airLegOrigin

      protected AirLegOrigin airLegOrigin
    • airLegDestination

      protected AirLegDestination airLegDestination
    • bookingClassCode

      protected BookingClassCode bookingClassCode
    • rate

      protected Rate rate
    • meal

      protected List<Meal> meal
  • Constructor Details

    • AirLeg

      public AirLeg()
  • Method Details

    • getTravelSegment

      public String getTravelSegment()
      Gets the value of the travelSegment property.
      Returns:
      possible object is String
    • setTravelSegment

      public void setTravelSegment(String value)
      Sets the value of the travelSegment property.
      Parameters:
      value - allowed object is String
    • getDepartureTime

      public String getDepartureTime()
      Gets the value of the departureTime property.
      Returns:
      possible object is String
    • setDepartureTime

      public void setDepartureTime(String value)
      Sets the value of the departureTime property.
      Parameters:
      value - allowed object is String
    • getArrivalTime

      public String getArrivalTime()
      Gets the value of the arrivalTime property.
      Returns:
      possible object is String
    • setArrivalTime

      public void setArrivalTime(String value)
      Sets the value of the arrivalTime property.
      Parameters:
      value - allowed object is String
    • getFlightNumber

      public String getFlightNumber()
      Gets the value of the flightNumber property.
      Returns:
      possible object is String
    • setFlightNumber

      public void setFlightNumber(String value)
      Sets the value of the flightNumber property.
      Parameters:
      value - allowed object is String
    • getSeatNumber

      public String getSeatNumber()
      Gets the value of the seatNumber property.
      Returns:
      possible object is String
    • setSeatNumber

      public void setSeatNumber(String value)
      Sets the value of the seatNumber property.
      Parameters:
      value - allowed object is String
    • getSeatType

      public String getSeatType()
      Gets the value of the seatType property.
      Returns:
      possible object is String
    • setSeatType

      public void setSeatType(String value)
      Sets the value of the seatType property.
      Parameters:
      value - allowed object is String
    • getUpgrade

      public String getUpgrade()
      Gets the value of the upgrade property.
      Returns:
      possible object is String
    • setUpgrade

      public void setUpgrade(String value)
      Sets the value of the upgrade property.
      Parameters:
      value - allowed object is String
    • getStops

      public String getStops()
      Gets the value of the stops property.
      Returns:
      possible object is String
    • setStops

      public void setStops(String value)
      Sets the value of the stops property.
      Parameters:
      value - allowed object is String
    • getEquipment

      public String getEquipment()
      Gets the value of the equipment property.
      Returns:
      possible object is String
    • setEquipment

      public void setEquipment(String value)
      Sets the value of the equipment property.
      Parameters:
      value - allowed object is String
    • 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 is Vendor
    • 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 is AirLegOrigin
    • 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 is AirLegDestination
    • 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 is BookingClassCode
    • getRate

      public Rate getRate()
      Gets the value of the rate property.
      Returns:
      possible object is Rate
    • setRate

      public void setRate(Rate value)
      Sets the value of the rate property.
      Parameters:
      value - allowed object is Rate
    • getMeal

      public 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 set method 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