Package org.cxml
Class RailLeg
java.lang.Object
org.cxml.RailLeg
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected BookingClassCodeprotected Stringprotected Stringprotected RailLegDestinationprotected RailLegOriginprotected Rateprotected Stringprotected Stringprotected Stringprotected Vendor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the arrivalTime property.Gets the value of the bookingClassCode property.Gets the value of the carType property.Gets the value of the departureTime property.getMeal()Gets the value of the meal property.Gets the value of the railLegDestination property.Gets the value of the railLegOrigin property.getRate()Gets the value of the rate property.Gets the value of the seatNumber property.Gets the value of the trainNumber property.Gets the value of the travelSegment property.Gets the value of the vendor property.voidsetArrivalTime(String value) Sets the value of the arrivalTime property.voidSets the value of the bookingClassCode property.voidsetCarType(String value) Sets the value of the carType property.voidsetDepartureTime(String value) Sets the value of the departureTime property.voidSets the value of the railLegDestination property.voidsetRailLegOrigin(RailLegOrigin value) Sets the value of the railLegOrigin property.voidSets the value of the rate property.voidsetSeatNumber(String value) Sets the value of the seatNumber property.voidsetTrainNumber(String value) Sets the value of the trainNumber property.voidsetTravelSegment(String value) Sets the value of the travelSegment property.voidSets the value of the vendor property.
-
Field Details
-
travelSegment
-
departureTime
-
arrivalTime
-
trainNumber
-
seatNumber
-
carType
-
vendor
-
railLegOrigin
-
railLegDestination
-
bookingClassCode
-
rate
-
meal
-
-
Constructor Details
-
RailLeg
public RailLeg()
-
-
Method Details
-
getTravelSegment
Gets the value of the travelSegment property.- Returns:
- possible object is
String
-
setTravelSegment
Sets the value of the travelSegment property.- Parameters:
value- allowed object isString
-
getDepartureTime
Gets the value of the departureTime property.- Returns:
- possible object is
String
-
setDepartureTime
Sets the value of the departureTime property.- Parameters:
value- allowed object isString
-
getArrivalTime
Gets the value of the arrivalTime property.- Returns:
- possible object is
String
-
setArrivalTime
Sets the value of the arrivalTime property.- Parameters:
value- allowed object isString
-
getTrainNumber
Gets the value of the trainNumber property.- Returns:
- possible object is
String
-
setTrainNumber
Sets the value of the trainNumber property.- Parameters:
value- allowed object isString
-
getSeatNumber
Gets the value of the seatNumber property.- Returns:
- possible object is
String
-
setSeatNumber
Sets the value of the seatNumber property.- Parameters:
value- allowed object isString
-
getCarType
Gets the value of the carType property.- Returns:
- possible object is
String
-
setCarType
Sets the value of the carType property.- Parameters:
value- allowed object isString
-
getVendor
Gets the value of the vendor property.- Returns:
- possible object is
Vendor
-
setVendor
Sets the value of the vendor property.- Parameters:
value- allowed object isVendor
-
getRailLegOrigin
Gets the value of the railLegOrigin property.- Returns:
- possible object is
RailLegOrigin
-
setRailLegOrigin
Sets the value of the railLegOrigin property.- Parameters:
value- allowed object isRailLegOrigin
-
getRailLegDestination
Gets the value of the railLegDestination property.- Returns:
- possible object is
RailLegDestination
-
setRailLegDestination
Sets the value of the railLegDestination property.- Parameters:
value- allowed object isRailLegDestination
-
getBookingClassCode
Gets the value of the bookingClassCode property.- Returns:
- possible object is
BookingClassCode
-
setBookingClassCode
Sets the value of the bookingClassCode property.- Parameters:
value- allowed object isBookingClassCode
-
getRate
Gets the value of the rate property.- Returns:
- possible object is
Rate
-
setRate
Sets the value of the rate property.- Parameters:
value- allowed object isRate
-
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
-