All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.debugthug.xo.Segment Maven / Gradle / Ivy

package com.github.debugthug.xo;

import java.util.Date;

import com.github.debugthug.xo.flightInfo.OperationalArrival;
import com.github.debugthug.xo.flightInfo.OperationalDeparture;
import com.github.debugthug.xo.flightInfo.Scheduled;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

@XStreamAlias("Segment")
public class Segment {

	// flightInfo::

	@XStreamAsAttribute
	@XStreamAlias("OrderNo")
	private String orderNo;

	@XStreamAsAttribute
	@XStreamAlias("Origin")
	private String origin;

	@XStreamAsAttribute
	@XStreamAlias("OriginName")
	private String originName;

	@XStreamAsAttribute
	@XStreamAlias("OriginCityName")
	private String originCityName;

	@XStreamAsAttribute
	@XStreamAlias("Destination")
	private String destination;

	@XStreamAsAttribute
	@XStreamAlias("DestinationName")
	private String destinationName;

	@XStreamAsAttribute
	@XStreamAlias("DestinationCityName")
	private String destinationCityName;

	@XStreamAsAttribute
	@XStreamAlias("FlightDuration")
	private int flightDuration;

	@XStreamAsAttribute
	@XStreamAlias("FlightStops")
	private int flightStops;

	@XStreamAsAttribute
	@XStreamAlias("Status")
	private String status;

	@XStreamAlias("Scheduled")
	private Scheduled scheduled;

	@XStreamAlias("OperationalDeparture")
	private OperationalDeparture operationalDeparture;

	@XStreamAlias("OperationalArrival")
	private OperationalArrival operationalArrival;

	// bookingRQ::

	@XStreamAsAttribute
	@XStreamAlias("Seats")
	private String seats;

	@XStreamAsAttribute
	@XStreamAlias("HoldID")
	private String holdID;

	@XStreamAsAttribute
	@XStreamAlias("SeatHoldID")
	private String seatHoldID;

	@XStreamAsAttribute
	@XStreamAlias("FlightConnectionGroup")
	private String flightConnectionGroup;

	@XStreamAsAttribute
	@XStreamAlias("ReturnFlightGroup")
	private String returnFlightGroup;

	// bookingRS::

	@XStreamAsAttribute
	@XStreamAlias("SegID")
	private String segID;

	@XStreamAsAttribute
	@XStreamAlias("FlightNo")
	private String flightNo;

	@XStreamAsAttribute
	@XStreamAlias("FlightDate")
	private Date flightDate;

	@XStreamAsAttribute
	@XStreamAlias("FlightArrival")
	private String flightArrival;

	@XStreamAsAttribute
	@XStreamAlias("FlightDeparture")
	private String flightDeparture;

	@XStreamAsAttribute
	@XStreamAlias("SegmentStatusName")
	private String segmentStatusName;

	// getter-setter methods::

	public String getSegID() {
		return segID;
	}

	public void setSegID(String segID) {
		this.segID = segID;
	}

	public String getFlightNo() {
		return flightNo;
	}

	public void setFlightNo(String flightNo) {
		this.flightNo = flightNo;
	}

	public Date getFlightDate() {
		return flightDate;
	}

	public void setFlightDate(Date flightDate) {
		this.flightDate = flightDate;
	}

	public String getFlightArrival() {
		return flightArrival;
	}

	public void setFlightArrival(String flightArrival) {
		this.flightArrival = flightArrival;
	}

	public String getFlightDeparture() {
		return flightDeparture;
	}

	public void setFlightDeparture(String flightDeparture) {
		this.flightDeparture = flightDeparture;
	}

	public String getSegmentStatusName() {
		return segmentStatusName;
	}

	public void setSegmentStatusName(String segmentStatusName) {
		this.segmentStatusName = segmentStatusName;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public String getOrigin() {
		return origin;
	}

	public void setOrigin(String origin) {
		this.origin = origin;
	}

	public String getOriginName() {
		return originName;
	}

	public void setOriginName(String originName) {
		this.originName = originName;
	}

	public String getOriginCityName() {
		return originCityName;
	}

	public void setOriginCityName(String originCityName) {
		this.originCityName = originCityName;
	}

	public String getDestination() {
		return destination;
	}

	public void setDestination(String destination) {
		this.destination = destination;
	}

	public String getDestinationName() {
		return destinationName;
	}

	public void setDestinationName(String destinationName) {
		this.destinationName = destinationName;
	}

	public String getDestinationCityName() {
		return destinationCityName;
	}

	public void setDestinationCityName(String destinationCityName) {
		this.destinationCityName = destinationCityName;
	}

	public int getFlightDuration() {
		return flightDuration;
	}

	public void setFlightDuration(int flightDuration) {
		this.flightDuration = flightDuration;
	}

	public int getFlightStops() {
		return flightStops;
	}

	public void setFlightStops(int flightStops) {
		this.flightStops = flightStops;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Scheduled getScheduled() {
		return scheduled;
	}

	public void setScheduled(Scheduled scheduled) {
		this.scheduled = scheduled;
	}

	public OperationalDeparture getOperationalDeparture() {
		return operationalDeparture;
	}

	public void setOperationalDeparture(OperationalDeparture operationalDeparture) {
		this.operationalDeparture = operationalDeparture;
	}

	public OperationalArrival getOperationalArrival() {
		return operationalArrival;
	}

	public void setOperationalArrival(OperationalArrival operationalArrival) {
		this.operationalArrival = operationalArrival;
	}

	public String getSeats() {
		return seats;
	}

	public void setSeats(String seats) {
		this.seats = seats;
	}

	public String getHoldID() {
		return holdID;
	}

	public void setHoldID(String holdID) {
		this.holdID = holdID;
	}

	public String getSeatHoldID() {
		return seatHoldID;
	}

	public void setSeatHoldID(String seatHoldID) {
		this.seatHoldID = seatHoldID;
	}

	public String getFlightConnectionGroup() {
		return flightConnectionGroup;
	}

	public void setFlightConnectionGroup(String flightConnectionGroup) {
		this.flightConnectionGroup = flightConnectionGroup;
	}

	public String getReturnFlightGroup() {
		return returnFlightGroup;
	}

	public void setReturnFlightGroup(String returnFlightGroup) {
		this.returnFlightGroup = returnFlightGroup;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy