Package org.cxml
Class RailDetail
- java.lang.Object
-
- org.cxml.RailDetail
-
public class RailDetail extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<AvailablePrice>availablePriceprotected Penaltypenaltyprotected java.util.List<RailLeg>railLegprotected TripTypetripType
-
Constructor Summary
Constructors Constructor Description RailDetail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<AvailablePrice>getAvailablePrice()Gets the value of the availablePrice property.PenaltygetPenalty()Gets the value of the penalty property.java.util.List<RailLeg>getRailLeg()Gets the value of the railLeg 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
-
railLeg
protected java.util.List<RailLeg> railLeg
-
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
-
getRailLeg
public java.util.List<RailLeg> getRailLeg()
Gets the value of the railLeg 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 railLeg property.For example, to add a new item, do as follows:
getRailLeg().add(newItem);Objects of the following type(s) are allowed in the list
RailLeg
-
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
-
-