Package org.cxml
Class AirDetail
- java.lang.Object
-
- org.cxml.AirDetail
-
public class AirDetail extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<AirLeg>airLegprotected java.util.List<AvailablePrice>availablePriceprotected Penaltypenaltyprotected TripTypetripType
-
Constructor Summary
Constructors Constructor Description AirDetail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<AirLeg>getAirLeg()Gets the value of the airLeg property.java.util.List<AvailablePrice>getAvailablePrice()Gets the value of the availablePrice property.PenaltygetPenalty()Gets the value of the penalty property.TripTypegetTripType()Gets the value of the tripType property.voidsetPenalty(Penalty value)Sets the value of the penalty property.voidsetTripType(TripType value)Sets the value of the tripType property.
-
-
-
Field Detail
-
tripType
protected TripType tripType
-
airLeg
protected java.util.List<AirLeg> airLeg
-
availablePrice
protected java.util.List<AvailablePrice> availablePrice
-
penalty
protected Penalty penalty
-
-
Method Detail
-
getTripType
public TripType getTripType()
Gets the value of the tripType property.- Returns:
- possible object is
TripType
-
setTripType
public void setTripType(TripType value)
Sets the value of the tripType property.- Parameters:
value- allowed object isTripType
-
getAirLeg
public java.util.List<AirLeg> getAirLeg()
Gets the value of the airLeg 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 airLeg property.For example, to add a new item, do as follows:
getAirLeg().add(newItem);Objects of the following type(s) are allowed in the list
AirLeg
-
getAvailablePrice
public java.util.List<AvailablePrice> getAvailablePrice()
Gets the value of the availablePrice 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 availablePrice property.For example, to add a new item, do as follows:
getAvailablePrice().add(newItem);Objects of the following type(s) are allowed in the list
AvailablePrice
-
getPenalty
public Penalty getPenalty()
Gets the value of the penalty property.- Returns:
- possible object is
Penalty
-
-