Package org.cxml
Class RailDetail
java.lang.Object
org.cxml.RailDetail
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<AvailablePrice>protected Penaltyprotected TripType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the availablePrice property.Gets the value of the penalty property.Gets the value of the railLeg property.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 Details
-
tripType
-
railLeg
-
availablePrice
-
penalty
-
-
Constructor Details
-
RailDetail
public RailDetail()
-
-
Method Details
-
getTripType
Gets the value of the tripType property.- Returns:
- possible object is
TripType
-
setTripType
Sets the value of the tripType property.- Parameters:
value- allowed object isTripType
-
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
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
Gets the value of the penalty property.- Returns:
- possible object is
Penalty
-
setPenalty
Sets the value of the penalty property.- Parameters:
value- allowed object isPenalty
-