Service's split
parent
32a56a2db9
commit
89f9821c94
@ -1,7 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified"
|
||||
attributeFormDefault="qualified">
|
||||
<xs:import schemaLocation="avs5rs_sale.xsd" namespace=""/>
|
||||
<xs:import schemaLocation="avs5rs_transit.xsd" namespace=""/>
|
||||
</xs:schema>
|
@ -0,0 +1,68 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:c="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified"
|
||||
attributeFormDefault="qualified">
|
||||
|
||||
<xs:simpleType name="IDType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="36"/>
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:complexType name="AbstractResponse">
|
||||
<xs:sequence>
|
||||
<xs:element name="Error" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="code" type="xs:string" minOccurs="1"/>
|
||||
<xs:element name="message" type="xs:string" minOccurs="1"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:simpleType name="UidType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:length value="36"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:complexType name="RouteKey">
|
||||
<xs:sequence>
|
||||
<xs:element name="dispatchStationUid" type="UidType"/>
|
||||
<xs:element name="arrivalStationUid" type="UidType"/>
|
||||
<xs:element name="dispatchTime" type="xs:time"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:simpleType name="ErrorCode">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="INTERNAL"/>
|
||||
<xs:enumeration value="NOT_FOUND"/>
|
||||
<xs:enumeration value="SEAT_OCCUPIED"/>
|
||||
<xs:enumeration value="PERSONAL_DATA_INCORRECT"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
|
||||
<xs:element name="UpdateTicketRequest">
|
||||
<xs:complexType>
|
||||
<c:sequence>
|
||||
<xs:element name="RouteKey" type="RouteKey" minOccurs="1"/>
|
||||
<xs:element name="ticketId" type="IDType" minOccurs="1"/>
|
||||
<xs:element name="passengerGone" type="xs:boolean" minOccurs="0"/>
|
||||
</c:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="UpdateTicketResponse">
|
||||
<xs:complexType>
|
||||
<xs:complexContent>
|
||||
<xs:extension base="AbstractResponse"/>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
</xs:schema>
|
@ -0,0 +1,160 @@
|
||||
|
||||
package com.artmark.avs5rs.dispatcher.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlSeeAlso;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for AbstractResponse complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="AbstractResponse">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="Error" minOccurs="0">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="code" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </element>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "AbstractResponse", propOrder = {
|
||||
"error"
|
||||
})
|
||||
@XmlSeeAlso({
|
||||
UpdateTicketResponse.class
|
||||
})
|
||||
public class AbstractResponse {
|
||||
|
||||
@XmlElement(name = "Error")
|
||||
protected AbstractResponse.Error error;
|
||||
|
||||
/**
|
||||
* Gets the value of the error property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link AbstractResponse.Error }
|
||||
*
|
||||
*/
|
||||
public AbstractResponse.Error getError() {
|
||||
return error;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the error property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link AbstractResponse.Error }
|
||||
*
|
||||
*/
|
||||
public void setError(AbstractResponse.Error value) {
|
||||
this.error = value;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="code" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"code",
|
||||
"message"
|
||||
})
|
||||
public static class Error {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected String code;
|
||||
@XmlElement(required = true)
|
||||
protected String message;
|
||||
|
||||
/**
|
||||
* Gets the value of the code property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the code property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setCode(String value) {
|
||||
this.code = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the message property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the message property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setMessage(String value) {
|
||||
this.message = value;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
|
||||
package com.artmark.avs5rs.dispatcher.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlEnum;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for ErrorCode.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
* <p>
|
||||
* <pre>
|
||||
* <simpleType name="ErrorCode">
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <enumeration value="INTERNAL"/>
|
||||
* <enumeration value="NOT_FOUND"/>
|
||||
* <enumeration value="SEAT_OCCUPIED"/>
|
||||
* <enumeration value="PERSONAL_DATA_INCORRECT"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "ErrorCode")
|
||||
@XmlEnum
|
||||
public enum ErrorCode {
|
||||
|
||||
INTERNAL,
|
||||
NOT_FOUND,
|
||||
SEAT_OCCUPIED,
|
||||
PERSONAL_DATA_INCORRECT;
|
||||
|
||||
public String value() {
|
||||
return name();
|
||||
}
|
||||
|
||||
public static ErrorCode fromValue(String v) {
|
||||
return valueOf(v);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,72 @@
|
||||
|
||||
package com.artmark.avs5rs.dispatcher.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlRegistry;
|
||||
|
||||
|
||||
/**
|
||||
* This object contains factory methods for each
|
||||
* Java content interface and Java element interface
|
||||
* generated in the com.artmark.avs5rs.dispatcher.model package.
|
||||
* <p>An ObjectFactory allows you to programatically
|
||||
* construct new instances of the Java representation
|
||||
* for XML content. The Java representation of XML
|
||||
* content can consist of schema derived interfaces
|
||||
* and classes representing the binding of schema
|
||||
* type definitions, element declarations and model
|
||||
* groups. Factory methods for each of these are
|
||||
* provided in this class.
|
||||
*
|
||||
*/
|
||||
@XmlRegistry
|
||||
public class ObjectFactory {
|
||||
|
||||
|
||||
/**
|
||||
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.artmark.avs5rs.dispatcher.model
|
||||
*
|
||||
*/
|
||||
public ObjectFactory() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link AbstractResponse }
|
||||
*
|
||||
*/
|
||||
public AbstractResponse createAbstractResponse() {
|
||||
return new AbstractResponse();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link UpdateTicketResponse }
|
||||
*
|
||||
*/
|
||||
public UpdateTicketResponse createUpdateTicketResponse() {
|
||||
return new UpdateTicketResponse();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link AbstractResponse.Error }
|
||||
*
|
||||
*/
|
||||
public AbstractResponse.Error createAbstractResponseError() {
|
||||
return new AbstractResponse.Error();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link UpdateTicketRequest }
|
||||
*
|
||||
*/
|
||||
public UpdateTicketRequest createUpdateTicketRequest() {
|
||||
return new UpdateTicketRequest();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link RouteKey }
|
||||
*
|
||||
*/
|
||||
public RouteKey createRouteKey() {
|
||||
return new RouteKey();
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,121 @@
|
||||
|
||||
package com.artmark.avs5rs.dispatcher.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlSchemaType;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
import javax.xml.datatype.XMLGregorianCalendar;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for RouteKey complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="RouteKey">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="dispatchStationUid" type="{}UidType"/>
|
||||
* <element name="arrivalStationUid" type="{}UidType"/>
|
||||
* <element name="dispatchTime" type="{http://www.w3.org/2001/XMLSchema}time"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "RouteKey", propOrder = {
|
||||
"dispatchStationUid",
|
||||
"arrivalStationUid",
|
||||
"dispatchTime"
|
||||
})
|
||||
public class RouteKey {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected String dispatchStationUid;
|
||||
@XmlElement(required = true)
|
||||
protected String arrivalStationUid;
|
||||
@XmlElement(required = true)
|
||||
@XmlSchemaType(name = "time")
|
||||
protected XMLGregorianCalendar dispatchTime;
|
||||
|
||||
/**
|
||||
* Gets the value of the dispatchStationUid property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getDispatchStationUid() {
|
||||
return dispatchStationUid;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the dispatchStationUid property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setDispatchStationUid(String value) {
|
||||
this.dispatchStationUid = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the arrivalStationUid property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getArrivalStationUid() {
|
||||
return arrivalStationUid;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the arrivalStationUid property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setArrivalStationUid(String value) {
|
||||
this.arrivalStationUid = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the dispatchTime property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link XMLGregorianCalendar }
|
||||
*
|
||||
*/
|
||||
public XMLGregorianCalendar getDispatchTime() {
|
||||
return dispatchTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the dispatchTime property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link XMLGregorianCalendar }
|
||||
*
|
||||
*/
|
||||
public void setDispatchTime(XMLGregorianCalendar value) {
|
||||
this.dispatchTime = value;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,119 @@
|
||||
|
||||
package com.artmark.avs5rs.dispatcher.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="RouteKey" type="{}RouteKey"/>
|
||||
* <element name="ticketId" type="{}IDType"/>
|
||||
* <element name="passengerGone" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"routeKey",
|
||||
"ticketId",
|
||||
"passengerGone"
|
||||
})
|
||||
@XmlRootElement(name = "UpdateTicketRequest")
|
||||
public class UpdateTicketRequest {
|
||||
|
||||
@XmlElement(name = "RouteKey", required = true)
|
||||
protected RouteKey routeKey;
|
||||
@XmlElement(required = true)
|
||||
protected String ticketId;
|
||||
protected Boolean passengerGone;
|
||||
|
||||
/**
|
||||
* Gets the value of the routeKey property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link RouteKey }
|
||||
*
|
||||
*/
|
||||
public RouteKey getRouteKey() {
|
||||
return routeKey;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the routeKey property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link RouteKey }
|
||||
*
|
||||
*/
|
||||
public void setRouteKey(RouteKey value) {
|
||||
this.routeKey = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the ticketId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getTicketId() {
|
||||
return ticketId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the ticketId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setTicketId(String value) {
|
||||
this.ticketId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the passengerGone property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link Boolean }
|
||||
*
|
||||
*/
|
||||
public Boolean isPassengerGone() {
|
||||
return passengerGone;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the passengerGone property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link Boolean }
|
||||
*
|
||||
*/
|
||||
public void setPassengerGone(Boolean value) {
|
||||
this.passengerGone = value;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
|
||||
package com.artmark.avs5rs.dispatcher.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <extension base="{}AbstractResponse">
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "")
|
||||
@XmlRootElement(name = "UpdateTicketResponse")
|
||||
public class UpdateTicketResponse
|
||||
extends AbstractResponse
|
||||
{
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,68 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:c="http://www.w3.org/2001/XMLSchema"
|
||||
elementFormDefault="qualified"
|
||||
attributeFormDefault="qualified">
|
||||
|
||||
<xs:simpleType name="IDType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="36"/>
|
||||
<xs:minLength value="1"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:complexType name="AbstractResponse">
|
||||
<xs:sequence>
|
||||
<xs:element name="Error" minOccurs="0">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="code" type="xs:string" minOccurs="1"/>
|
||||
<xs:element name="message" type="xs:string" minOccurs="1"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:simpleType name="UidType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:length value="36"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:complexType name="RouteKey">
|
||||
<xs:sequence>
|
||||
<xs:element name="dispatchStationUid" type="UidType"/>
|
||||
<xs:element name="arrivalStationUid" type="UidType"/>
|
||||
<xs:element name="dispatchTime" type="xs:time"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:simpleType name="ErrorCode">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="INTERNAL"/>
|
||||
<xs:enumeration value="NOT_FOUND"/>
|
||||
<xs:enumeration value="SEAT_OCCUPIED"/>
|
||||
<xs:enumeration value="PERSONAL_DATA_INCORRECT"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
|
||||
<xs:element name="UpdateTicketRequest">
|
||||
<xs:complexType>
|
||||
<c:sequence>
|
||||
<xs:element name="RouteKey" type="RouteKey" minOccurs="1"/>
|
||||
<xs:element name="ticketId" type="IDType" minOccurs="1"/>
|
||||
<xs:element name="passengerGone" type="xs:boolean" minOccurs="0"/>
|
||||
</c:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name="UpdateTicketResponse">
|
||||
<xs:complexType>
|
||||
<xs:complexContent>
|
||||
<xs:extension base="AbstractResponse"/>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
</xs:schema>
|
@ -1,64 +0,0 @@
|
||||
package com.artmark.avs5rs.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Ushmodin N.
|
||||
* @since 07.07.2016 11:04
|
||||
*/
|
||||
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlRootElement(name = "BookOrderRequest")
|
||||
public class BookOrderRequest {
|
||||
private String tripId;
|
||||
private String dispatchStationId;
|
||||
private String arrivalStationId;
|
||||
@XmlElement(name = "Sale")
|
||||
private List<Sale> sales;
|
||||
@XmlElement(name = "Agent")
|
||||
private Agent agent;
|
||||
|
||||
public String getTripId() {
|
||||
return tripId;
|
||||
}
|
||||
|
||||
public void setTripId(String tripId) {
|
||||
this.tripId = tripId;
|
||||
}
|
||||
|
||||
public String getDispatchStationId() {
|
||||
return dispatchStationId;
|
||||
}
|
||||
|
||||
public void setDispatchStationId(String dispatchStationId) {
|
||||
this.dispatchStationId = dispatchStationId;
|
||||
}
|
||||
|
||||
public String getArrivalStationId() {
|
||||
return arrivalStationId;
|
||||
}
|
||||
|
||||
public void setArrivalStationId(String arrivalStationId) {
|
||||
this.arrivalStationId = arrivalStationId;
|
||||
}
|
||||
|
||||
public List<Sale> getSales() {
|
||||
return sales;
|
||||
}
|
||||
|
||||
public void setSales(List<Sale> sales) {
|
||||
this.sales = sales;
|
||||
}
|
||||
|
||||
public Agent getAgent() {
|
||||
return agent;
|
||||
}
|
||||
|
||||
public void setAgent(Agent agent) {
|
||||
this.agent = agent;
|
||||
}
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
package com.artmark.avs5rs.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
|
||||
/**
|
||||
* @author Ushmodin N.
|
||||
* @since 07.07.2016 11:23
|
||||
*/
|
||||
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlRootElement(name = "CancelTicketRequest")
|
||||
public class CancelTicketRequest {
|
||||
private String ticketId;
|
||||
@XmlElement(name = "Agent")
|
||||
private Agent agent;
|
||||
|
||||
public String getTicketId() {
|
||||
return ticketId;
|
||||
}
|
||||
|
||||
public void setTicketId(String ticketId) {
|
||||
this.ticketId = ticketId;
|
||||
}
|
||||
|
||||
public Agent getAgent() {
|
||||
return agent;
|
||||
}
|
||||
|
||||
public void setAgent(Agent agent) {
|
||||
this.agent = agent;
|
||||
}
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
package com.artmark.avs5rs.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
/**
|
||||
* @author Ushmodin N.
|
||||
* @since 07.07.2016 11:23
|
||||
*/
|
||||
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "CancelTicketResponse")
|
||||
public class CancelTicketResponse {
|
||||
@XmlElement(name = "Ticket")
|
||||
private Ticket ticket;
|
||||
|
||||
public Ticket getTicket() {
|
||||
return ticket;
|
||||
}
|
||||
|
||||
public void setTicket(Ticket ticket) {
|
||||
this.ticket = ticket;
|
||||
}
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
package com.artmark.avs5rs.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
|
||||
/**
|
||||
* @author Ushmodin N.
|
||||
* @since 07.07.2016 11:18
|
||||
*/
|
||||
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlRootElement(name = "ConfirmOrderRequest")
|
||||
public class ConfirmOrderRequest {
|
||||
private String orderId;
|
||||
@XmlElement(name = "Agent")
|
||||
private Agent agent;
|
||||
|
||||
public String getOrderId() {
|
||||
return orderId;
|
||||
}
|
||||
|
||||
public void setOrderId(String orderId) {
|
||||
this.orderId = orderId;
|
||||
}
|
||||
|
||||
public Agent getAgent() {
|
||||
return agent;
|
||||
}
|
||||
|
||||
public void setAgent(Agent agent) {
|
||||
this.agent = agent;
|
||||
}
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
package com.artmark.avs5rs.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Ushmodin N.
|
||||
* @since 07.07.2016 11:18
|
||||
*/
|
||||
|
||||
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "ConfirmOrderResponse")
|
||||
public class ConfirmOrderResponse {
|
||||
private String orderId;
|
||||
@XmlElement(name = "Ticket")
|
||||
private List<Ticket> tickets;
|
||||
|
||||
public String getOrderId() {
|
||||
return orderId;
|
||||
}
|
||||
|
||||
public void setOrderId(String orderId) {
|
||||
this.orderId = orderId;
|
||||
}
|
||||
|
||||
public List<Ticket> getTickets() {
|
||||
return tickets;
|
||||
}
|
||||
|
||||
public void setTickets(List<Ticket> tickets) {
|
||||
this.tickets = tickets;
|
||||
}
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
package com.artmark.avs5rs.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.adapters.XmlAdapter;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author Ushmodin N.
|
||||
* @since 07.07.2016 14:34
|
||||
*/
|
||||
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
public class DateAdapter extends XmlAdapter<String, Date> {
|
||||
|
||||
private static final String FORMAT = "yyyy-MM-dd";
|
||||
|
||||
@Override
|
||||
public Date unmarshal(String s) throws Exception {
|
||||
return new SimpleDateFormat(FORMAT).parse(s);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String marshal(Date date) throws Exception {
|
||||
return new SimpleDateFormat(FORMAT).format(date);
|
||||
}
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
package com.artmark.avs5rs.model;
|
||||
|
||||
/**
|
||||
* @author Ushmodin N.
|
||||
* @since 07.07.2016 12:27
|
||||
*/
|
||||
|
||||
public enum Gender {
|
||||
MALE, FEMALE
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
package com.artmark.avs5rs.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Ushmodin N.
|
||||
* @since 07.07.2016 10:30
|
||||
*/
|
||||
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "GetArrivalStationsResponse")
|
||||
public class GetArrivalStationsResponse {
|
||||
@XmlElement(name = "Station")
|
||||
private List<Station> stations;
|
||||
|
||||
public List<Station> getStations() {
|
||||
return stations;
|
||||
}
|
||||
|
||||
public void setStations(List<Station> stations) {
|
||||
this.stations = stations;
|
||||
}
|
||||
}
|
@ -1,15 +0,0 @@
|
||||
package com.artmark.avs5rs.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
|
||||
/**
|
||||
* @author Ushmodin N.
|
||||
* @since 08.07.2016 09:08
|
||||
*/
|
||||
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlRootElement(name = "GetDispatchStationsRequest")
|
||||
public class GetDispatchStationsRequest {
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
package com.artmark.avs5rs.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Ushmodin N.
|
||||
* @since 07.07.2016 10:27
|
||||
*/
|
||||
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "GetDispatchStationsResponse")
|
||||
public class GetDispatchStationsResponse {
|
||||
@XmlElement(name = "Station")
|
||||
private List<Station> station;
|
||||
|
||||
public List<Station> getStation() {
|
||||
return station;
|
||||
}
|
||||
|
||||
public void setStation(List<Station> station) {
|
||||
this.station = station;
|
||||
}
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
package com.artmark.avs5rs.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
|
||||
/**
|
||||
* @author Ushmodin N.
|
||||
* @since 07.07.2016 10:59
|
||||
*/
|
||||
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlRootElement(name = "GetDocumentTypesRequest")
|
||||
public class GetDocumentTypesRequest {
|
||||
private String tripId;
|
||||
private String dispatchStationId;
|
||||
private String arrivalStationId;
|
||||
|
||||
public String getTripId() {
|
||||
return tripId;
|
||||
}
|
||||
|
||||
public void setTripId(String tripId) {
|
||||
this.tripId = tripId;
|
||||
}
|
||||
|
||||
public String getDispatchStationId() {
|
||||
return dispatchStationId;
|
||||
}
|
||||
|
||||
public void setDispatchStationId(String dispatchStationId) {
|
||||
this.dispatchStationId = dispatchStationId;
|
||||
}
|
||||
|
||||
public String getArrivalStationId() {
|
||||
return arrivalStationId;
|
||||
}
|
||||
|
||||
public void setArrivalStationId(String arrivalStationId) {
|
||||
this.arrivalStationId = arrivalStationId;
|
||||
}
|
||||
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
package com.artmark.avs5rs.model;
|
||||
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Ushmodin N.
|
||||
* @since 07.07.2016 10:59
|
||||
*/
|
||||
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "GetDocumentTypesResponse")
|
||||
public class GetDocumentTypesResponse {
|
||||
@XmlElement(name = "DocumentType")
|
||||
private List<DocumentType> documentTypes;
|
||||
|
||||
public List<DocumentType> getDocumentTypes() {
|
||||
return documentTypes;
|
||||
}
|
||||
|
||||
public void setDocumentTypes(List<DocumentType> documentTypes) {
|
||||
this.documentTypes = documentTypes;
|
||||
}
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
package com.artmark.avs5rs.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Ushmodin N.
|
||||
* @since 07.07.2016 10:54
|
||||
*/
|
||||
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "GetFreeSeatsResponse")
|
||||
public class GetFreeSeatsResponse {
|
||||
@XmlElement(name = "Seat")
|
||||
private List<Seat> seats;
|
||||
|
||||
public List<Seat> getSeats() {
|
||||
return seats;
|
||||
}
|
||||
|
||||
public void setSeats(List<Seat> seats) {
|
||||
this.seats = seats;
|
||||
}
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
package com.artmark.avs5rs.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
|
||||
/**
|
||||
* @author Ushmodin N.
|
||||
* @since 07.07.2016 11:15
|
||||
*/
|
||||
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlRootElement(name = "GetOrderRequest")
|
||||
public class GetOrderRequest {
|
||||
private String orderId;
|
||||
|
||||
public String getOrderId() {
|
||||
return orderId;
|
||||
}
|
||||
|
||||
public void setOrderId(String orderId) {
|
||||
this.orderId = orderId;
|
||||
}
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
package com.artmark.avs5rs.model;
|
||||
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Ushmodin N.
|
||||
* @since 07.07.2016 11:15
|
||||
*/
|
||||
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "GetOrderResponse")
|
||||
public class GetOrderResponse {
|
||||
private String orderId;
|
||||
@XmlElement(name = "Ticket")
|
||||
private List<Ticket> tickets;
|
||||
|
||||
public String getOrderId() {
|
||||
return orderId;
|
||||
}
|
||||
|
||||
public void setOrderId(String orderId) {
|
||||
this.orderId = orderId;
|
||||
}
|
||||
|
||||
public List<Ticket> getTickets() {
|
||||
return tickets;
|
||||
}
|
||||
|
||||
public void setTickets(List<Ticket> tickets) {
|
||||
this.tickets = tickets;
|
||||
}
|
||||
}
|
@ -1,42 +0,0 @@
|
||||
package com.artmark.avs5rs.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
|
||||
/**
|
||||
* @author Ushmodin N.
|
||||
* @since 07.07.2016 10:55
|
||||
*/
|
||||
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlRootElement(name = "GetTicketTypesRequest")
|
||||
public class GetTicketTypesRequest {
|
||||
private String tripId;
|
||||
private String dispatchStationId;
|
||||
private String arrivalStationId;
|
||||
|
||||
public String getTripId() {
|
||||
return tripId;
|
||||
}
|
||||
|
||||
public void setTripId(String tripId) {
|
||||
this.tripId = tripId;
|
||||
}
|
||||
|
||||
public String getDispatchStationId() {
|
||||
return dispatchStationId;
|
||||
}
|
||||
|
||||
public void setDispatchStationId(String dispatchStationId) {
|
||||
this.dispatchStationId = dispatchStationId;
|
||||
}
|
||||
|
||||
public String getArrivalStationId() {
|
||||
return arrivalStationId;
|
||||
}
|
||||
|
||||
public void setArrivalStationId(String arrivalStationId) {
|
||||
this.arrivalStationId = arrivalStationId;
|
||||
}
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
package com.artmark.avs5rs.model;
|
||||
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Ushmodin N.
|
||||
* @since 07.07.2016 10:58
|
||||
*/
|
||||
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "GetTicketTypesResponse")
|
||||
public class GetTicketTypesResponse {
|
||||
@XmlElement(name = "TicketType")
|
||||
private List<TicketType> ticketTypes;
|
||||
|
||||
public List<TicketType> getTicketTypes() {
|
||||
return ticketTypes;
|
||||
}
|
||||
|
||||
public void setTicketTypes(List<TicketType> ticketTypes) {
|
||||
this.ticketTypes = ticketTypes;
|
||||
}
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
package com.artmark.avs5rs.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Ushmodin N.
|
||||
* @since 07.07.2016 10:49
|
||||
*/
|
||||
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "GetTripStopsResponse")
|
||||
public class GetTripStopsResponse {
|
||||
@XmlElement(name = "Stop")
|
||||
private List<Stop> stops;
|
||||
|
||||
public List<Stop> getStops() {
|
||||
return stops;
|
||||
}
|
||||
|
||||
public void setStops(List<Stop> stops) {
|
||||
this.stops = stops;
|
||||
}
|
||||
}
|
@ -1,82 +0,0 @@
|
||||
package com.artmark.avs5rs.model;
|
||||
|
||||
import javax.xml.bind.annotation.*;
|
||||
|
||||
/**
|
||||
* @author Ushmodin N.
|
||||
* @since 07.07.2016 10:10
|
||||
*/
|
||||
|
||||
@XmlRootElement(name = "Response")
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
public class Response<T> {
|
||||
@XmlAttribute
|
||||
private boolean success;
|
||||
@XmlElement(name = "Body")
|
||||
private T body;
|
||||
@XmlElement(name = "Error")
|
||||
private ResponseError error;
|
||||
|
||||
public static <T> Response<T> ok(T body) {
|
||||
Response<T> result = new Response<T>();
|
||||
result.success = true;
|
||||
result.body = body;
|
||||
return result;
|
||||
}
|
||||
|
||||
public static <T> Response<T> error(String code, String message) {
|
||||
Response<T> result = new Response<T>();
|
||||
result.success = false;
|
||||
result.error = new ResponseError();
|
||||
result.error.code = code;
|
||||
result.error.message = message;
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
public boolean isSuccess() {
|
||||
return success;
|
||||
}
|
||||
|
||||
public T getBody() {
|
||||
return body;
|
||||
}
|
||||
|
||||
public ResponseError getError() {
|
||||
return error;
|
||||
}
|
||||
|
||||
public void setSuccess(boolean success) {
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
public void setBody(T body) {
|
||||
this.body = body;
|
||||
}
|
||||
|
||||
public void setError(ResponseError error) {
|
||||
this.error = error;
|
||||
}
|
||||
|
||||
@XmlType(name = "ResponseError")
|
||||
public static class ResponseError {
|
||||
private String code;
|
||||
private String message;
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public void setMessage(String message) {
|
||||
this.message = message;
|
||||
}
|
||||
}
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
package com.artmark.avs5rs.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
|
||||
/**
|
||||
* @author Ushmodin N.
|
||||
* @since 07.07.2016 11:21
|
||||
*/
|
||||
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlRootElement(name = "ReturnTicketRequest")
|
||||
public class ReturnTicketRequest {
|
||||
private String ticketId;
|
||||
@XmlElement(name = "Agent")
|
||||
private Agent agent;
|
||||
|
||||
public String getTicketId() {
|
||||
return ticketId;
|
||||
}
|
||||
|
||||
public void setTicketId(String ticketId) {
|
||||
this.ticketId = ticketId;
|
||||
}
|
||||
|
||||
public Agent getAgent() {
|
||||
return agent;
|
||||
}
|
||||
|
||||
public void setAgent(Agent agent) {
|
||||
this.agent = agent;
|
||||
}
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
package com.artmark.avs5rs.model;
|
||||
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
/**
|
||||
* @author Ushmodin N.
|
||||
* @since 07.07.2016 11:21
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "ReturnTicketResponse")
|
||||
public class ReturnTicketResponse {
|
||||
@XmlElement(name = "Ticket")
|
||||
private Ticket ticket;
|
||||
|
||||
public Ticket getTicket() {
|
||||
return ticket;
|
||||
}
|
||||
|
||||
public void setTicket(Ticket ticket) {
|
||||
this.ticket = ticket;
|
||||
}
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
package com.artmark.avs5rs.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
/**
|
||||
* @author Ushmodin N.
|
||||
* @since 07.07.2016 12:29
|
||||
*/
|
||||
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "Sale")
|
||||
public class Sale {
|
||||
private String seatId;
|
||||
private String ticketTypeId;
|
||||
@XmlElement(name = "Passenger")
|
||||
private Passenger passenger;
|
||||
|
||||
public String getSeatId() {
|
||||
return seatId;
|
||||
}
|
||||
|
||||
public void setSeatId(String seatId) {
|
||||
this.seatId = seatId;
|
||||
}
|
||||
|
||||
public String getTicketTypeId() {
|
||||
return ticketTypeId;
|
||||
}
|
||||
|
||||
public void setTicketTypeId(String ticketTypeId) {
|
||||
this.ticketTypeId = ticketTypeId;
|
||||
}
|
||||
|
||||
public Passenger getPassenger() {
|
||||
return passenger;
|
||||
}
|
||||
|
||||
public void setPassenger(Passenger passenger) {
|
||||
this.passenger = passenger;
|
||||
}
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
package com.artmark.avs5rs.model;
|
||||
|
||||
import javax.xml.bind.annotation.adapters.XmlAdapter;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author Ushmodin N.
|
||||
* @since 07.07.2016 14:36
|
||||
*/
|
||||
|
||||
public class TimestampAdapter extends XmlAdapter<String,Date> {
|
||||
|
||||
private static final String FORMAT = "yyyy-MM-dd'T'HH:mm:ss";
|
||||
|
||||
@Override
|
||||
public Date unmarshal(String s) throws Exception {
|
||||
return new SimpleDateFormat(FORMAT).parse(s);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String marshal(Date date) throws Exception {
|
||||
return new SimpleDateFormat(FORMAT).format(date);
|
||||
}
|
||||
}
|
||||
|
@ -1,44 +0,0 @@
|
||||
package com.artmark.avs5rs.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
|
||||
/**
|
||||
* @author Ushmodin N.
|
||||
* @since 12.07.2016 12:14
|
||||
*/
|
||||
@XmlRootElement(name = "UpdateTicketRequest")
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
public class UpdateTicketRequest {
|
||||
private String ticketId;
|
||||
@XmlElement(name = "Passenger")
|
||||
private Passenger passenger;
|
||||
@XmlElement(name = "Agent")
|
||||
private Agent agent;
|
||||
|
||||
public String getTicketId() {
|
||||
return ticketId;
|
||||
}
|
||||
|
||||
public void setTicketId(String ticketId) {
|
||||
this.ticketId = ticketId;
|
||||
}
|
||||
|
||||
public Passenger getPassenger() {
|
||||
return passenger;
|
||||
}
|
||||
|
||||
public void setPassenger(Passenger passenger) {
|
||||
this.passenger = passenger;
|
||||
}
|
||||
|
||||
public Agent getAgent() {
|
||||
return agent;
|
||||
}
|
||||
|
||||
public void setAgent(Agent agent) {
|
||||
this.agent = agent;
|
||||
}
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
package com.artmark.avs5rs.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
/**
|
||||
* @author Ushmodin N.
|
||||
* @since 12.07.2016 12:13
|
||||
*/
|
||||
@XmlType(name = "UpdateTicketResponse")
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
public class UpdateTicketResponse {
|
||||
@XmlElement(name = "Ticket")
|
||||
private Ticket ticket;
|
||||
|
||||
public Ticket getTicket() {
|
||||
return ticket;
|
||||
}
|
||||
|
||||
public void setTicket(Ticket ticket) {
|
||||
this.ticket = ticket;
|
||||
}
|
||||
}
|
@ -0,0 +1,172 @@
|
||||
|
||||
package com.artmark.avs5rs.sale.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlSeeAlso;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for AbstractResponse complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="AbstractResponse">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="Error" minOccurs="0">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="code" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </element>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "AbstractResponse", propOrder = {
|
||||
"error"
|
||||
})
|
||||
@XmlSeeAlso({
|
||||
ReturnTicketResponse.class,
|
||||
GetOrderResponse.class,
|
||||
CancelTicketResponse.class,
|
||||
BookOrderResponse.class,
|
||||
GetTicketTypesResponse.class,
|
||||
ConfirmOrderResponse.class,
|
||||
GetTripStopsResponse.class,
|
||||
UpdateTicketResponse.class,
|
||||
SearchTripsResponse.class,
|
||||
GetArrivalStationsResponse.class,
|
||||
GetDispatchStationsResponse.class,
|
||||
GetDocumentTypesResponse.class,
|
||||
EchoResponse.class
|
||||
})
|
||||
public class AbstractResponse {
|
||||
|
||||
@XmlElement(name = "Error")
|
||||
protected AbstractResponse.Error error;
|
||||
|
||||
/**
|
||||
* Gets the value of the error property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link AbstractResponse.Error }
|
||||
*
|
||||
*/
|
||||
public AbstractResponse.Error getError() {
|
||||
return error;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the error property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link AbstractResponse.Error }
|
||||
*
|
||||
*/
|
||||
public void setError(AbstractResponse.Error value) {
|
||||
this.error = value;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="code" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"code",
|
||||
"message"
|
||||
})
|
||||
public static class Error {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected String code;
|
||||
@XmlElement(required = true)
|
||||
protected String message;
|
||||
|
||||
/**
|
||||
* Gets the value of the code property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the code property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setCode(String value) {
|
||||
this.code = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the message property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the message property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setMessage(String value) {
|
||||
this.message = value;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,89 @@
|
||||
|
||||
package com.artmark.avs5rs.sale.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for Agent complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="Agent">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="name" type="{}NameType" minOccurs="0"/>
|
||||
* <element name="inn" type="{}InnType"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "Agent", propOrder = {
|
||||
"name",
|
||||
"inn"
|
||||
})
|
||||
public class Agent {
|
||||
|
||||
protected String name;
|
||||
@XmlElement(required = true)
|
||||
protected String inn;
|
||||
|
||||
/**
|
||||
* Gets the value of the name property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the name property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setName(String value) {
|
||||
this.name = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the inn property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getInn() {
|
||||
return inn;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the inn property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setInn(String value) {
|
||||
this.inn = value;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,183 @@
|
||||
|
||||
package com.artmark.avs5rs.sale.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="tripId" type="{}IDType"/>
|
||||
* <element name="dispatchStationId" type="{}IDType"/>
|
||||
* <element name="arrivalStationId" type="{}IDType"/>
|
||||
* <element name="Sale" type="{}Sale" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* <element name="Agent" type="{}Agent" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"tripId",
|
||||
"dispatchStationId",
|
||||
"arrivalStationId",
|
||||
"sale",
|
||||
"agent"
|
||||
})
|
||||
@XmlRootElement(name = "BookOrderRequest")
|
||||
public class BookOrderRequest {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected String tripId;
|
||||
@XmlElement(required = true)
|
||||
protected String dispatchStationId;
|
||||
@XmlElement(required = true)
|
||||
protected String arrivalStationId;
|
||||
@XmlElement(name = "Sale")
|
||||
protected List<Sale> sale;
|
||||
@XmlElement(name = "Agent")
|
||||
protected Agent agent;
|
||||
|
||||
/**
|
||||
* Gets the value of the tripId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getTripId() {
|
||||
return tripId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the tripId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setTripId(String value) {
|
||||
this.tripId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the dispatchStationId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getDispatchStationId() {
|
||||
return dispatchStationId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the dispatchStationId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setDispatchStationId(String value) {
|
||||
this.dispatchStationId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the arrivalStationId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getArrivalStationId() {
|
||||
return arrivalStationId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the arrivalStationId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setArrivalStationId(String value) {
|
||||
this.arrivalStationId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the sale property.
|
||||
*
|
||||
* <p>
|
||||
* 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 <CODE>set</CODE> method for the sale property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getSale().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link Sale }
|
||||
*
|
||||
*
|
||||
*/
|
||||
public List<Sale> getSale() {
|
||||
if (sale == null) {
|
||||
sale = new ArrayList<Sale>();
|
||||
}
|
||||
return this.sale;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the agent property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link Agent }
|
||||
*
|
||||
*/
|
||||
public Agent getAgent() {
|
||||
return agent;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the agent property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link Agent }
|
||||
*
|
||||
*/
|
||||
public void setAgent(Agent value) {
|
||||
this.agent = value;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,151 @@
|
||||
|
||||
package com.artmark.avs5rs.sale.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <extension base="{}AbstractResponse">
|
||||
* <sequence>
|
||||
* <element name="Body">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="orderId" type="{}IDType"/>
|
||||
* <element name="lifetime" type="{http://www.w3.org/2001/XMLSchema}int"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </element>
|
||||
* </sequence>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"body"
|
||||
})
|
||||
@XmlRootElement(name = "BookOrderResponse")
|
||||
public class BookOrderResponse
|
||||
extends AbstractResponse
|
||||
{
|
||||
|
||||
@XmlElement(name = "Body", required = true)
|
||||
protected BookOrderResponse.Body body;
|
||||
|
||||
/**
|
||||
* Gets the value of the body property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link BookOrderResponse.Body }
|
||||
*
|
||||
*/
|
||||
public BookOrderResponse.Body getBody() {
|
||||
return body;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the body property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link BookOrderResponse.Body }
|
||||
*
|
||||
*/
|
||||
public void setBody(BookOrderResponse.Body value) {
|
||||
this.body = value;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="orderId" type="{}IDType"/>
|
||||
* <element name="lifetime" type="{http://www.w3.org/2001/XMLSchema}int"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"orderId",
|
||||
"lifetime"
|
||||
})
|
||||
public static class Body {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected String orderId;
|
||||
protected int lifetime;
|
||||
|
||||
/**
|
||||
* Gets the value of the orderId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getOrderId() {
|
||||
return orderId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the orderId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setOrderId(String value) {
|
||||
this.orderId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the lifetime property.
|
||||
*
|
||||
*/
|
||||
public int getLifetime() {
|
||||
return lifetime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the lifetime property.
|
||||
*
|
||||
*/
|
||||
public void setLifetime(int value) {
|
||||
this.lifetime = value;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,99 @@
|
||||
|
||||
package com.artmark.avs5rs.sale.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="ticketId" type="{}IDType" maxOccurs="unbounded"/>
|
||||
* <element name="Agent" type="{}Agent"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"ticketId",
|
||||
"agent"
|
||||
})
|
||||
@XmlRootElement(name = "CancelTicketRequest")
|
||||
public class CancelTicketRequest {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected List<String> ticketId;
|
||||
@XmlElement(name = "Agent", required = true)
|
||||
protected Agent agent;
|
||||
|
||||
/**
|
||||
* Gets the value of the ticketId property.
|
||||
*
|
||||
* <p>
|
||||
* 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 <CODE>set</CODE> method for the ticketId property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getTicketId().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link String }
|
||||
*
|
||||
*
|
||||
*/
|
||||
public List<String> getTicketId() {
|
||||
if (ticketId == null) {
|
||||
ticketId = new ArrayList<String>();
|
||||
}
|
||||
return this.ticketId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the agent property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link Agent }
|
||||
*
|
||||
*/
|
||||
public Agent getAgent() {
|
||||
return agent;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the agent property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link Agent }
|
||||
*
|
||||
*/
|
||||
public void setAgent(Agent value) {
|
||||
this.agent = value;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,138 @@
|
||||
|
||||
package com.artmark.avs5rs.sale.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <extension base="{}AbstractResponse">
|
||||
* <sequence>
|
||||
* <element name="Body">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="Ticket" type="{}Ticket" maxOccurs="unbounded"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </element>
|
||||
* </sequence>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"body"
|
||||
})
|
||||
@XmlRootElement(name = "CancelTicketResponse")
|
||||
public class CancelTicketResponse
|
||||
extends AbstractResponse
|
||||
{
|
||||
|
||||
@XmlElement(name = "Body", required = true)
|
||||
protected CancelTicketResponse.Body body;
|
||||
|
||||
/**
|
||||
* Gets the value of the body property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link CancelTicketResponse.Body }
|
||||
*
|
||||
*/
|
||||
public CancelTicketResponse.Body getBody() {
|
||||
return body;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the body property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link CancelTicketResponse.Body }
|
||||
*
|
||||
*/
|
||||
public void setBody(CancelTicketResponse.Body value) {
|
||||
this.body = value;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="Ticket" type="{}Ticket" maxOccurs="unbounded"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"ticket"
|
||||
})
|
||||
public static class Body {
|
||||
|
||||
@XmlElement(name = "Ticket", required = true)
|
||||
protected List<Ticket> ticket;
|
||||
|
||||
/**
|
||||
* Gets the value of the ticket property.
|
||||
*
|
||||
* <p>
|
||||
* 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 <CODE>set</CODE> method for the ticket property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getTicket().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link Ticket }
|
||||
*
|
||||
*
|
||||
*/
|
||||
public List<Ticket> getTicket() {
|
||||
if (ticket == null) {
|
||||
ticket = new ArrayList<Ticket>();
|
||||
}
|
||||
return this.ticket;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,92 @@
|
||||
|
||||
package com.artmark.avs5rs.sale.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="orderId" type="{}IDType"/>
|
||||
* <element name="Agent" type="{}Agent"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"orderId",
|
||||
"agent"
|
||||
})
|
||||
@XmlRootElement(name = "ConfirmOrderRequest")
|
||||
public class ConfirmOrderRequest {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected String orderId;
|
||||
@XmlElement(name = "Agent", required = true)
|
||||
protected Agent agent;
|
||||
|
||||
/**
|
||||
* Gets the value of the orderId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getOrderId() {
|
||||
return orderId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the orderId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setOrderId(String value) {
|
||||
this.orderId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the agent property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link Agent }
|
||||
*
|
||||
*/
|
||||
public Agent getAgent() {
|
||||
return agent;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the agent property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link Agent }
|
||||
*
|
||||
*/
|
||||
public void setAgent(Agent value) {
|
||||
this.agent = value;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,167 @@
|
||||
|
||||
package com.artmark.avs5rs.sale.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <extension base="{}AbstractResponse">
|
||||
* <sequence>
|
||||
* <element name="Body">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="orderId" type="{}IDType"/>
|
||||
* <element name="Ticket" type="{}Ticket" maxOccurs="unbounded"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </element>
|
||||
* </sequence>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"body"
|
||||
})
|
||||
@XmlRootElement(name = "ConfirmOrderResponse")
|
||||
public class ConfirmOrderResponse
|
||||
extends AbstractResponse
|
||||
{
|
||||
|
||||
@XmlElement(name = "Body", required = true)
|
||||
protected ConfirmOrderResponse.Body body;
|
||||
|
||||
/**
|
||||
* Gets the value of the body property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link ConfirmOrderResponse.Body }
|
||||
*
|
||||
*/
|
||||
public ConfirmOrderResponse.Body getBody() {
|
||||
return body;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the body property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link ConfirmOrderResponse.Body }
|
||||
*
|
||||
*/
|
||||
public void setBody(ConfirmOrderResponse.Body value) {
|
||||
this.body = value;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="orderId" type="{}IDType"/>
|
||||
* <element name="Ticket" type="{}Ticket" maxOccurs="unbounded"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"orderId",
|
||||
"ticket"
|
||||
})
|
||||
public static class Body {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected String orderId;
|
||||
@XmlElement(name = "Ticket", required = true)
|
||||
protected List<Ticket> ticket;
|
||||
|
||||
/**
|
||||
* Gets the value of the orderId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getOrderId() {
|
||||
return orderId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the orderId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setOrderId(String value) {
|
||||
this.orderId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the ticket property.
|
||||
*
|
||||
* <p>
|
||||
* 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 <CODE>set</CODE> method for the ticket property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getTicket().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link Ticket }
|
||||
*
|
||||
*
|
||||
*/
|
||||
public List<Ticket> getTicket() {
|
||||
if (ticket == null) {
|
||||
ticket = new ArrayList<Ticket>();
|
||||
}
|
||||
return this.ticket;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,90 @@
|
||||
|
||||
package com.artmark.avs5rs.sale.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for DocumentType complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="DocumentType">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="id" type="{}IDType"/>
|
||||
* <element name="name" type="{}NameType"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "DocumentType", propOrder = {
|
||||
"id",
|
||||
"name"
|
||||
})
|
||||
public class DocumentType {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected String id;
|
||||
@XmlElement(required = true)
|
||||
protected String name;
|
||||
|
||||
/**
|
||||
* Gets the value of the id property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the id property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setId(String value) {
|
||||
this.id = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the name property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the name property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setName(String value) {
|
||||
this.name = value;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,64 @@
|
||||
|
||||
package com.artmark.avs5rs.sale.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"message"
|
||||
})
|
||||
@XmlRootElement(name = "EchoRequest")
|
||||
public class EchoRequest {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected String message;
|
||||
|
||||
/**
|
||||
* Gets the value of the message property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the message property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setMessage(String value) {
|
||||
this.message = value;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,131 @@
|
||||
|
||||
package com.artmark.avs5rs.sale.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <extension base="{}AbstractResponse">
|
||||
* <sequence>
|
||||
* <element name="Body">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </element>
|
||||
* </sequence>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"body"
|
||||
})
|
||||
@XmlRootElement(name = "EchoResponse")
|
||||
public class EchoResponse
|
||||
extends AbstractResponse
|
||||
{
|
||||
|
||||
@XmlElement(name = "Body", required = true)
|
||||
protected EchoResponse.Body body;
|
||||
|
||||
/**
|
||||
* Gets the value of the body property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link EchoResponse.Body }
|
||||
*
|
||||
*/
|
||||
public EchoResponse.Body getBody() {
|
||||
return body;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the body property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link EchoResponse.Body }
|
||||
*
|
||||
*/
|
||||
public void setBody(EchoResponse.Body value) {
|
||||
this.body = value;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"message"
|
||||
})
|
||||
public static class Body {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected String message;
|
||||
|
||||
/**
|
||||
* Gets the value of the message property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the message property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setMessage(String value) {
|
||||
this.message = value;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
|
||||
package com.artmark.avs5rs.sale.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlEnum;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for ErrorCode.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
* <p>
|
||||
* <pre>
|
||||
* <simpleType name="ErrorCode">
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <enumeration value="INTERNAL"/>
|
||||
* <enumeration value="NOT_FOUND"/>
|
||||
* <enumeration value="SEAT_OCCUPIED"/>
|
||||
* <enumeration value="PERSONAL_DATA_INCORRECT"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "ErrorCode")
|
||||
@XmlEnum
|
||||
public enum ErrorCode {
|
||||
|
||||
INTERNAL,
|
||||
NOT_FOUND,
|
||||
SEAT_OCCUPIED,
|
||||
PERSONAL_DATA_INCORRECT;
|
||||
|
||||
public String value() {
|
||||
return name();
|
||||
}
|
||||
|
||||
public static ErrorCode fromValue(String v) {
|
||||
return valueOf(v);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
|
||||
package com.artmark.avs5rs.sale.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlEnum;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for GenderType.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
* <p>
|
||||
* <pre>
|
||||
* <simpleType name="GenderType">
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <enumeration value="MALE"/>
|
||||
* <enumeration value="FEMALE"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "GenderType")
|
||||
@XmlEnum
|
||||
public enum GenderType {
|
||||
|
||||
MALE,
|
||||
FEMALE;
|
||||
|
||||
public String value() {
|
||||
return name();
|
||||
}
|
||||
|
||||
public static GenderType fromValue(String v) {
|
||||
return valueOf(v);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,64 @@
|
||||
|
||||
package com.artmark.avs5rs.sale.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="dispatchStationId" type="{}IDType"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"dispatchStationId"
|
||||
})
|
||||
@XmlRootElement(name = "GetArrivalStationsRequest")
|
||||
public class GetArrivalStationsRequest {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected String dispatchStationId;
|
||||
|
||||
/**
|
||||
* Gets the value of the dispatchStationId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getDispatchStationId() {
|
||||
return dispatchStationId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the dispatchStationId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setDispatchStationId(String value) {
|
||||
this.dispatchStationId = value;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,138 @@
|
||||
|
||||
package com.artmark.avs5rs.sale.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <extension base="{}AbstractResponse">
|
||||
* <sequence>
|
||||
* <element name="Body">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="Station" type="{}Station" maxOccurs="unbounded"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </element>
|
||||
* </sequence>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"body"
|
||||
})
|
||||
@XmlRootElement(name = "GetArrivalStationsResponse")
|
||||
public class GetArrivalStationsResponse
|
||||
extends AbstractResponse
|
||||
{
|
||||
|
||||
@XmlElement(name = "Body", required = true)
|
||||
protected GetArrivalStationsResponse.Body body;
|
||||
|
||||
/**
|
||||
* Gets the value of the body property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link GetArrivalStationsResponse.Body }
|
||||
*
|
||||
*/
|
||||
public GetArrivalStationsResponse.Body getBody() {
|
||||
return body;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the body property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link GetArrivalStationsResponse.Body }
|
||||
*
|
||||
*/
|
||||
public void setBody(GetArrivalStationsResponse.Body value) {
|
||||
this.body = value;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="Station" type="{}Station" maxOccurs="unbounded"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"station"
|
||||
})
|
||||
public static class Body {
|
||||
|
||||
@XmlElement(name = "Station", required = true)
|
||||
protected List<Station> station;
|
||||
|
||||
/**
|
||||
* Gets the value of the station property.
|
||||
*
|
||||
* <p>
|
||||
* 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 <CODE>set</CODE> method for the station property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getStation().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link Station }
|
||||
*
|
||||
*
|
||||
*/
|
||||
public List<Station> getStation() {
|
||||
if (station == null) {
|
||||
station = new ArrayList<Station>();
|
||||
}
|
||||
return this.station;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
|
||||
package com.artmark.avs5rs.sale.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "")
|
||||
@XmlRootElement(name = "GetDispatchStationsRequest")
|
||||
public class GetDispatchStationsRequest {
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,138 @@
|
||||
|
||||
package com.artmark.avs5rs.sale.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <extension base="{}AbstractResponse">
|
||||
* <sequence>
|
||||
* <element name="Body">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="Station" type="{}Station" maxOccurs="unbounded"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </element>
|
||||
* </sequence>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"body"
|
||||
})
|
||||
@XmlRootElement(name = "GetDispatchStationsResponse")
|
||||
public class GetDispatchStationsResponse
|
||||
extends AbstractResponse
|
||||
{
|
||||
|
||||
@XmlElement(name = "Body", required = true)
|
||||
protected GetDispatchStationsResponse.Body body;
|
||||
|
||||
/**
|
||||
* Gets the value of the body property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link GetDispatchStationsResponse.Body }
|
||||
*
|
||||
*/
|
||||
public GetDispatchStationsResponse.Body getBody() {
|
||||
return body;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the body property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link GetDispatchStationsResponse.Body }
|
||||
*
|
||||
*/
|
||||
public void setBody(GetDispatchStationsResponse.Body value) {
|
||||
this.body = value;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="Station" type="{}Station" maxOccurs="unbounded"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"station"
|
||||
})
|
||||
public static class Body {
|
||||
|
||||
@XmlElement(name = "Station", required = true)
|
||||
protected List<Station> station;
|
||||
|
||||
/**
|
||||
* Gets the value of the station property.
|
||||
*
|
||||
* <p>
|
||||
* 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 <CODE>set</CODE> method for the station property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getStation().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link Station }
|
||||
*
|
||||
*
|
||||
*/
|
||||
public List<Station> getStation() {
|
||||
if (station == null) {
|
||||
station = new ArrayList<Station>();
|
||||
}
|
||||
return this.station;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,120 @@
|
||||
|
||||
package com.artmark.avs5rs.sale.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="tripId" type="{}IDType"/>
|
||||
* <element name="dispatchStationId" type="{}IDType"/>
|
||||
* <element name="arrivalStationId" type="{}IDType"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"tripId",
|
||||
"dispatchStationId",
|
||||
"arrivalStationId"
|
||||
})
|
||||
@XmlRootElement(name = "GetDocumentTypesRequest")
|
||||
public class GetDocumentTypesRequest {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected String tripId;
|
||||
@XmlElement(required = true)
|
||||
protected String dispatchStationId;
|
||||
@XmlElement(required = true)
|
||||
protected String arrivalStationId;
|
||||
|
||||
/**
|
||||
* Gets the value of the tripId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getTripId() {
|
||||
return tripId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the tripId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setTripId(String value) {
|
||||
this.tripId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the dispatchStationId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getDispatchStationId() {
|
||||
return dispatchStationId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the dispatchStationId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setDispatchStationId(String value) {
|
||||
this.dispatchStationId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the arrivalStationId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getArrivalStationId() {
|
||||
return arrivalStationId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the arrivalStationId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setArrivalStationId(String value) {
|
||||
this.arrivalStationId = value;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,138 @@
|
||||
|
||||
package com.artmark.avs5rs.sale.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <extension base="{}AbstractResponse">
|
||||
* <sequence>
|
||||
* <element name="Body">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="DocumentType" type="{}DocumentType" maxOccurs="unbounded"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </element>
|
||||
* </sequence>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"body"
|
||||
})
|
||||
@XmlRootElement(name = "GetDocumentTypesResponse")
|
||||
public class GetDocumentTypesResponse
|
||||
extends AbstractResponse
|
||||
{
|
||||
|
||||
@XmlElement(name = "Body", required = true)
|
||||
protected GetDocumentTypesResponse.Body body;
|
||||
|
||||
/**
|
||||
* Gets the value of the body property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link GetDocumentTypesResponse.Body }
|
||||
*
|
||||
*/
|
||||
public GetDocumentTypesResponse.Body getBody() {
|
||||
return body;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the body property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link GetDocumentTypesResponse.Body }
|
||||
*
|
||||
*/
|
||||
public void setBody(GetDocumentTypesResponse.Body value) {
|
||||
this.body = value;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="DocumentType" type="{}DocumentType" maxOccurs="unbounded"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"documentType"
|
||||
})
|
||||
public static class Body {
|
||||
|
||||
@XmlElement(name = "DocumentType", required = true)
|
||||
protected List<DocumentType> documentType;
|
||||
|
||||
/**
|
||||
* Gets the value of the documentType property.
|
||||
*
|
||||
* <p>
|
||||
* 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 <CODE>set</CODE> method for the documentType property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getDocumentType().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link DocumentType }
|
||||
*
|
||||
*
|
||||
*/
|
||||
public List<DocumentType> getDocumentType() {
|
||||
if (documentType == null) {
|
||||
documentType = new ArrayList<DocumentType>();
|
||||
}
|
||||
return this.documentType;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,64 @@
|
||||
|
||||
package com.artmark.avs5rs.sale.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="orderId" type="{}IDType"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"orderId"
|
||||
})
|
||||
@XmlRootElement(name = "GetOrderRequest")
|
||||
public class GetOrderRequest {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected String orderId;
|
||||
|
||||
/**
|
||||
* Gets the value of the orderId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getOrderId() {
|
||||
return orderId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the orderId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setOrderId(String value) {
|
||||
this.orderId = value;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,167 @@
|
||||
|
||||
package com.artmark.avs5rs.sale.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <extension base="{}AbstractResponse">
|
||||
* <sequence>
|
||||
* <element name="Body">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="orderId" type="{}IDType"/>
|
||||
* <element name="Ticket" type="{}Ticket" maxOccurs="unbounded"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </element>
|
||||
* </sequence>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"body"
|
||||
})
|
||||
@XmlRootElement(name = "GetOrderResponse")
|
||||
public class GetOrderResponse
|
||||
extends AbstractResponse
|
||||
{
|
||||
|
||||
@XmlElement(name = "Body", required = true)
|
||||
protected GetOrderResponse.Body body;
|
||||
|
||||
/**
|
||||
* Gets the value of the body property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link GetOrderResponse.Body }
|
||||
*
|
||||
*/
|
||||
public GetOrderResponse.Body getBody() {
|
||||
return body;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the body property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link GetOrderResponse.Body }
|
||||
*
|
||||
*/
|
||||
public void setBody(GetOrderResponse.Body value) {
|
||||
this.body = value;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="orderId" type="{}IDType"/>
|
||||
* <element name="Ticket" type="{}Ticket" maxOccurs="unbounded"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"orderId",
|
||||
"ticket"
|
||||
})
|
||||
public static class Body {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected String orderId;
|
||||
@XmlElement(name = "Ticket", required = true)
|
||||
protected List<Ticket> ticket;
|
||||
|
||||
/**
|
||||
* Gets the value of the orderId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getOrderId() {
|
||||
return orderId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the orderId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setOrderId(String value) {
|
||||
this.orderId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the ticket property.
|
||||
*
|
||||
* <p>
|
||||
* 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 <CODE>set</CODE> method for the ticket property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getTicket().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link Ticket }
|
||||
*
|
||||
*
|
||||
*/
|
||||
public List<Ticket> getTicket() {
|
||||
if (ticket == null) {
|
||||
ticket = new ArrayList<Ticket>();
|
||||
}
|
||||
return this.ticket;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,120 @@
|
||||
|
||||
package com.artmark.avs5rs.sale.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="tripId" type="{}IDType"/>
|
||||
* <element name="dispatchStationId" type="{}IDType"/>
|
||||
* <element name="arrivalStationId" type="{}IDType"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"tripId",
|
||||
"dispatchStationId",
|
||||
"arrivalStationId"
|
||||
})
|
||||
@XmlRootElement(name = "GetTicketTypesRequest")
|
||||
public class GetTicketTypesRequest {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected String tripId;
|
||||
@XmlElement(required = true)
|
||||
protected String dispatchStationId;
|
||||
@XmlElement(required = true)
|
||||
protected String arrivalStationId;
|
||||
|
||||
/**
|
||||
* Gets the value of the tripId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getTripId() {
|
||||
return tripId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the tripId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setTripId(String value) {
|
||||
this.tripId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the dispatchStationId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getDispatchStationId() {
|
||||
return dispatchStationId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the dispatchStationId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setDispatchStationId(String value) {
|
||||
this.dispatchStationId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the arrivalStationId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getArrivalStationId() {
|
||||
return arrivalStationId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the arrivalStationId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setArrivalStationId(String value) {
|
||||
this.arrivalStationId = value;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,138 @@
|
||||
|
||||
package com.artmark.avs5rs.sale.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <extension base="{}AbstractResponse">
|
||||
* <sequence>
|
||||
* <element name="Body">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="TicketType" type="{}TicketType" maxOccurs="unbounded"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </element>
|
||||
* </sequence>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"body"
|
||||
})
|
||||
@XmlRootElement(name = "GetTicketTypesResponse")
|
||||
public class GetTicketTypesResponse
|
||||
extends AbstractResponse
|
||||
{
|
||||
|
||||
@XmlElement(name = "Body", required = true)
|
||||
protected GetTicketTypesResponse.Body body;
|
||||
|
||||
/**
|
||||
* Gets the value of the body property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link GetTicketTypesResponse.Body }
|
||||
*
|
||||
*/
|
||||
public GetTicketTypesResponse.Body getBody() {
|
||||
return body;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the body property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link GetTicketTypesResponse.Body }
|
||||
*
|
||||
*/
|
||||
public void setBody(GetTicketTypesResponse.Body value) {
|
||||
this.body = value;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="TicketType" type="{}TicketType" maxOccurs="unbounded"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"ticketType"
|
||||
})
|
||||
public static class Body {
|
||||
|
||||
@XmlElement(name = "TicketType", required = true)
|
||||
protected List<TicketType> ticketType;
|
||||
|
||||
/**
|
||||
* Gets the value of the ticketType property.
|
||||
*
|
||||
* <p>
|
||||
* 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 <CODE>set</CODE> method for the ticketType property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getTicketType().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link TicketType }
|
||||
*
|
||||
*
|
||||
*/
|
||||
public List<TicketType> getTicketType() {
|
||||
if (ticketType == null) {
|
||||
ticketType = new ArrayList<TicketType>();
|
||||
}
|
||||
return this.ticketType;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,64 @@
|
||||
|
||||
package com.artmark.avs5rs.sale.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="tripId" type="{}IDType"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"tripId"
|
||||
})
|
||||
@XmlRootElement(name = "GetTripStopsRequest")
|
||||
public class GetTripStopsRequest {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected String tripId;
|
||||
|
||||
/**
|
||||
* Gets the value of the tripId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getTripId() {
|
||||
return tripId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the tripId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setTripId(String value) {
|
||||
this.tripId = value;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,138 @@
|
||||
|
||||
package com.artmark.avs5rs.sale.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <extension base="{}AbstractResponse">
|
||||
* <sequence>
|
||||
* <element name="Body">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="Stop" type="{}TripStop" maxOccurs="unbounded"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </element>
|
||||
* </sequence>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"body"
|
||||
})
|
||||
@XmlRootElement(name = "GetTripStopsResponse")
|
||||
public class GetTripStopsResponse
|
||||
extends AbstractResponse
|
||||
{
|
||||
|
||||
@XmlElement(name = "Body", required = true)
|
||||
protected GetTripStopsResponse.Body body;
|
||||
|
||||
/**
|
||||
* Gets the value of the body property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link GetTripStopsResponse.Body }
|
||||
*
|
||||
*/
|
||||
public GetTripStopsResponse.Body getBody() {
|
||||
return body;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the body property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link GetTripStopsResponse.Body }
|
||||
*
|
||||
*/
|
||||
public void setBody(GetTripStopsResponse.Body value) {
|
||||
this.body = value;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="Stop" type="{}TripStop" maxOccurs="unbounded"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"stop"
|
||||
})
|
||||
public static class Body {
|
||||
|
||||
@XmlElement(name = "Stop", required = true)
|
||||
protected List<TripStop> stop;
|
||||
|
||||
/**
|
||||
* Gets the value of the stop property.
|
||||
*
|
||||
* <p>
|
||||
* 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 <CODE>set</CODE> method for the stop property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getStop().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link TripStop }
|
||||
*
|
||||
*
|
||||
*/
|
||||
public List<TripStop> getStop() {
|
||||
if (stop == null) {
|
||||
stop = new ArrayList<TripStop>();
|
||||
}
|
||||
return this.stop;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,440 @@
|
||||
|
||||
package com.artmark.avs5rs.sale.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlRegistry;
|
||||
|
||||
|
||||
/**
|
||||
* This object contains factory methods for each
|
||||
* Java content interface and Java element interface
|
||||
* generated in the com.artmark.avs5rs.sale.model package.
|
||||
* <p>An ObjectFactory allows you to programatically
|
||||
* construct new instances of the Java representation
|
||||
* for XML content. The Java representation of XML
|
||||
* content can consist of schema derived interfaces
|
||||
* and classes representing the binding of schema
|
||||
* type definitions, element declarations and model
|
||||
* groups. Factory methods for each of these are
|
||||
* provided in this class.
|
||||
*
|
||||
*/
|
||||
@XmlRegistry
|
||||
public class ObjectFactory {
|
||||
|
||||
|
||||
/**
|
||||
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.artmark.avs5rs.sale.model
|
||||
*
|
||||
*/
|
||||
public ObjectFactory() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link AbstractResponse }
|
||||
*
|
||||
*/
|
||||
public AbstractResponse createAbstractResponse() {
|
||||
return new AbstractResponse();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link EchoResponse }
|
||||
*
|
||||
*/
|
||||
public EchoResponse createEchoResponse() {
|
||||
return new EchoResponse();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link GetDocumentTypesResponse }
|
||||
*
|
||||
*/
|
||||
public GetDocumentTypesResponse createGetDocumentTypesResponse() {
|
||||
return new GetDocumentTypesResponse();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link GetDispatchStationsResponse }
|
||||
*
|
||||
*/
|
||||
public GetDispatchStationsResponse createGetDispatchStationsResponse() {
|
||||
return new GetDispatchStationsResponse();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link GetArrivalStationsResponse }
|
||||
*
|
||||
*/
|
||||
public GetArrivalStationsResponse createGetArrivalStationsResponse() {
|
||||
return new GetArrivalStationsResponse();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link SearchTripsResponse }
|
||||
*
|
||||
*/
|
||||
public SearchTripsResponse createSearchTripsResponse() {
|
||||
return new SearchTripsResponse();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link GetTripStopsResponse }
|
||||
*
|
||||
*/
|
||||
public GetTripStopsResponse createGetTripStopsResponse() {
|
||||
return new GetTripStopsResponse();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link ConfirmOrderResponse }
|
||||
*
|
||||
*/
|
||||
public ConfirmOrderResponse createConfirmOrderResponse() {
|
||||
return new ConfirmOrderResponse();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link GetTicketTypesResponse }
|
||||
*
|
||||
*/
|
||||
public GetTicketTypesResponse createGetTicketTypesResponse() {
|
||||
return new GetTicketTypesResponse();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link BookOrderResponse }
|
||||
*
|
||||
*/
|
||||
public BookOrderResponse createBookOrderResponse() {
|
||||
return new BookOrderResponse();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link CancelTicketResponse }
|
||||
*
|
||||
*/
|
||||
public CancelTicketResponse createCancelTicketResponse() {
|
||||
return new CancelTicketResponse();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link GetOrderResponse }
|
||||
*
|
||||
*/
|
||||
public GetOrderResponse createGetOrderResponse() {
|
||||
return new GetOrderResponse();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link ReturnTicketResponse }
|
||||
*
|
||||
*/
|
||||
public ReturnTicketResponse createReturnTicketResponse() {
|
||||
return new ReturnTicketResponse();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link AbstractResponse.Error }
|
||||
*
|
||||
*/
|
||||
public AbstractResponse.Error createAbstractResponseError() {
|
||||
return new AbstractResponse.Error();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link EchoResponse.Body }
|
||||
*
|
||||
*/
|
||||
public EchoResponse.Body createEchoResponseBody() {
|
||||
return new EchoResponse.Body();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link GetDocumentTypesResponse.Body }
|
||||
*
|
||||
*/
|
||||
public GetDocumentTypesResponse.Body createGetDocumentTypesResponseBody() {
|
||||
return new GetDocumentTypesResponse.Body();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link SearchTripsRequest }
|
||||
*
|
||||
*/
|
||||
public SearchTripsRequest createSearchTripsRequest() {
|
||||
return new SearchTripsRequest();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link GetDispatchStationsResponse.Body }
|
||||
*
|
||||
*/
|
||||
public GetDispatchStationsResponse.Body createGetDispatchStationsResponseBody() {
|
||||
return new GetDispatchStationsResponse.Body();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link GetArrivalStationsRequest }
|
||||
*
|
||||
*/
|
||||
public GetArrivalStationsRequest createGetArrivalStationsRequest() {
|
||||
return new GetArrivalStationsRequest();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link UpdateTicketRequest }
|
||||
*
|
||||
*/
|
||||
public UpdateTicketRequest createUpdateTicketRequest() {
|
||||
return new UpdateTicketRequest();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Passenger }
|
||||
*
|
||||
*/
|
||||
public Passenger createPassenger() {
|
||||
return new Passenger();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link ConfirmOrderRequest }
|
||||
*
|
||||
*/
|
||||
public ConfirmOrderRequest createConfirmOrderRequest() {
|
||||
return new ConfirmOrderRequest();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Agent }
|
||||
*
|
||||
*/
|
||||
public Agent createAgent() {
|
||||
return new Agent();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link EchoRequest }
|
||||
*
|
||||
*/
|
||||
public EchoRequest createEchoRequest() {
|
||||
return new EchoRequest();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link GetArrivalStationsResponse.Body }
|
||||
*
|
||||
*/
|
||||
public GetArrivalStationsResponse.Body createGetArrivalStationsResponseBody() {
|
||||
return new GetArrivalStationsResponse.Body();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link SearchTripsResponse.Body }
|
||||
*
|
||||
*/
|
||||
public SearchTripsResponse.Body createSearchTripsResponseBody() {
|
||||
return new SearchTripsResponse.Body();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link GetDispatchStationsRequest }
|
||||
*
|
||||
*/
|
||||
public GetDispatchStationsRequest createGetDispatchStationsRequest() {
|
||||
return new GetDispatchStationsRequest();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link UpdateTicketResponse }
|
||||
*
|
||||
*/
|
||||
public UpdateTicketResponse createUpdateTicketResponse() {
|
||||
return new UpdateTicketResponse();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link GetTripStopsResponse.Body }
|
||||
*
|
||||
*/
|
||||
public GetTripStopsResponse.Body createGetTripStopsResponseBody() {
|
||||
return new GetTripStopsResponse.Body();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link GetOrderRequest }
|
||||
*
|
||||
*/
|
||||
public GetOrderRequest createGetOrderRequest() {
|
||||
return new GetOrderRequest();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link BookOrderRequest }
|
||||
*
|
||||
*/
|
||||
public BookOrderRequest createBookOrderRequest() {
|
||||
return new BookOrderRequest();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Sale }
|
||||
*
|
||||
*/
|
||||
public Sale createSale() {
|
||||
return new Sale();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link ConfirmOrderResponse.Body }
|
||||
*
|
||||
*/
|
||||
public ConfirmOrderResponse.Body createConfirmOrderResponseBody() {
|
||||
return new ConfirmOrderResponse.Body();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link CancelTicketRequest }
|
||||
*
|
||||
*/
|
||||
public CancelTicketRequest createCancelTicketRequest() {
|
||||
return new CancelTicketRequest();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link GetTicketTypesResponse.Body }
|
||||
*
|
||||
*/
|
||||
public GetTicketTypesResponse.Body createGetTicketTypesResponseBody() {
|
||||
return new GetTicketTypesResponse.Body();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link BookOrderResponse.Body }
|
||||
*
|
||||
*/
|
||||
public BookOrderResponse.Body createBookOrderResponseBody() {
|
||||
return new BookOrderResponse.Body();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link CancelTicketResponse.Body }
|
||||
*
|
||||
*/
|
||||
public CancelTicketResponse.Body createCancelTicketResponseBody() {
|
||||
return new CancelTicketResponse.Body();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link ReturnTicketRequest }
|
||||
*
|
||||
*/
|
||||
public ReturnTicketRequest createReturnTicketRequest() {
|
||||
return new ReturnTicketRequest();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link GetTicketTypesRequest }
|
||||
*
|
||||
*/
|
||||
public GetTicketTypesRequest createGetTicketTypesRequest() {
|
||||
return new GetTicketTypesRequest();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link GetTripStopsRequest }
|
||||
*
|
||||
*/
|
||||
public GetTripStopsRequest createGetTripStopsRequest() {
|
||||
return new GetTripStopsRequest();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link GetDocumentTypesRequest }
|
||||
*
|
||||
*/
|
||||
public GetDocumentTypesRequest createGetDocumentTypesRequest() {
|
||||
return new GetDocumentTypesRequest();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link GetOrderResponse.Body }
|
||||
*
|
||||
*/
|
||||
public GetOrderResponse.Body createGetOrderResponseBody() {
|
||||
return new GetOrderResponse.Body();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link ReturnTicketResponse.Body }
|
||||
*
|
||||
*/
|
||||
public ReturnTicketResponse.Body createReturnTicketResponseBody() {
|
||||
return new ReturnTicketResponse.Body();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link TripStop }
|
||||
*
|
||||
*/
|
||||
public TripStop createTripStop() {
|
||||
return new TripStop();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Seat }
|
||||
*
|
||||
*/
|
||||
public Seat createSeat() {
|
||||
return new Seat();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link RouteKey }
|
||||
*
|
||||
*/
|
||||
public RouteKey createRouteKey() {
|
||||
return new RouteKey();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link TicketType }
|
||||
*
|
||||
*/
|
||||
public TicketType createTicketType() {
|
||||
return new TicketType();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Ticket }
|
||||
*
|
||||
*/
|
||||
public Ticket createTicket() {
|
||||
return new Ticket();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Trip }
|
||||
*
|
||||
*/
|
||||
public Trip createTrip() {
|
||||
return new Trip();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link DocumentType }
|
||||
*
|
||||
*/
|
||||
public DocumentType createDocumentType() {
|
||||
return new DocumentType();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of {@link Station }
|
||||
*
|
||||
*/
|
||||
public Station createStation() {
|
||||
return new Station();
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,344 @@
|
||||
|
||||
package com.artmark.avs5rs.sale.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlSchemaType;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
import javax.xml.datatype.XMLGregorianCalendar;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for Passenger complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="Passenger">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="firstName" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="lastName" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="middleName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* <element name="docNum" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* <element name="docSeries" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* <element name="docTypeId" type="{}IDType"/>
|
||||
* <element name="birthday" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
|
||||
* <element name="citizenshipISO2" minOccurs="0">
|
||||
* <simpleType>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <length value="2"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </element>
|
||||
* <element name="gender" type="{}GenderType" minOccurs="0"/>
|
||||
* <element name="phone" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* <element name="info" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "Passenger", propOrder = {
|
||||
"firstName",
|
||||
"lastName",
|
||||
"middleName",
|
||||
"docNum",
|
||||
"docSeries",
|
||||
"docTypeId",
|
||||
"birthday",
|
||||
"citizenshipISO2",
|
||||
"gender",
|
||||
"phone",
|
||||
"info"
|
||||
})
|
||||
public class Passenger {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected String firstName;
|
||||
@XmlElement(required = true)
|
||||
protected String lastName;
|
||||
protected String middleName;
|
||||
protected String docNum;
|
||||
protected String docSeries;
|
||||
@XmlElement(required = true)
|
||||
protected String docTypeId;
|
||||
@XmlSchemaType(name = "date")
|
||||
protected XMLGregorianCalendar birthday;
|
||||
protected String citizenshipISO2;
|
||||
@XmlSchemaType(name = "string")
|
||||
protected GenderType gender;
|
||||
protected String phone;
|
||||
protected String info;
|
||||
|
||||
/**
|
||||
* Gets the value of the firstName property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getFirstName() {
|
||||
return firstName;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the firstName property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setFirstName(String value) {
|
||||
this.firstName = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the lastName property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getLastName() {
|
||||
return lastName;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the lastName property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setLastName(String value) {
|
||||
this.lastName = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the middleName property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getMiddleName() {
|
||||
return middleName;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the middleName property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setMiddleName(String value) {
|
||||
this.middleName = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the docNum property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getDocNum() {
|
||||
return docNum;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the docNum property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setDocNum(String value) {
|
||||
this.docNum = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the docSeries property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getDocSeries() {
|
||||
return docSeries;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the docSeries property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setDocSeries(String value) {
|
||||
this.docSeries = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the docTypeId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getDocTypeId() {
|
||||
return docTypeId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the docTypeId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setDocTypeId(String value) {
|
||||
this.docTypeId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the birthday property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link XMLGregorianCalendar }
|
||||
*
|
||||
*/
|
||||
public XMLGregorianCalendar getBirthday() {
|
||||
return birthday;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the birthday property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link XMLGregorianCalendar }
|
||||
*
|
||||
*/
|
||||
public void setBirthday(XMLGregorianCalendar value) {
|
||||
this.birthday = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the citizenshipISO2 property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getCitizenshipISO2() {
|
||||
return citizenshipISO2;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the citizenshipISO2 property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setCitizenshipISO2(String value) {
|
||||
this.citizenshipISO2 = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the gender property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link GenderType }
|
||||
*
|
||||
*/
|
||||
public GenderType getGender() {
|
||||
return gender;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the gender property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link GenderType }
|
||||
*
|
||||
*/
|
||||
public void setGender(GenderType value) {
|
||||
this.gender = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the phone property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getPhone() {
|
||||
return phone;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the phone property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setPhone(String value) {
|
||||
this.phone = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the info property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getInfo() {
|
||||
return info;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the info property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setInfo(String value) {
|
||||
this.info = value;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,99 @@
|
||||
|
||||
package com.artmark.avs5rs.sale.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="ticketId" type="{}IDType" maxOccurs="unbounded"/>
|
||||
* <element name="Agent" type="{}Agent"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"ticketId",
|
||||
"agent"
|
||||
})
|
||||
@XmlRootElement(name = "ReturnTicketRequest")
|
||||
public class ReturnTicketRequest {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected List<String> ticketId;
|
||||
@XmlElement(name = "Agent", required = true)
|
||||
protected Agent agent;
|
||||
|
||||
/**
|
||||
* Gets the value of the ticketId property.
|
||||
*
|
||||
* <p>
|
||||
* 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 <CODE>set</CODE> method for the ticketId property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getTicketId().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link String }
|
||||
*
|
||||
*
|
||||
*/
|
||||
public List<String> getTicketId() {
|
||||
if (ticketId == null) {
|
||||
ticketId = new ArrayList<String>();
|
||||
}
|
||||
return this.ticketId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the agent property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link Agent }
|
||||
*
|
||||
*/
|
||||
public Agent getAgent() {
|
||||
return agent;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the agent property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link Agent }
|
||||
*
|
||||
*/
|
||||
public void setAgent(Agent value) {
|
||||
this.agent = value;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,138 @@
|
||||
|
||||
package com.artmark.avs5rs.sale.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <extension base="{}AbstractResponse">
|
||||
* <sequence>
|
||||
* <element name="Body">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="Ticket" type="{}Ticket" maxOccurs="unbounded"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </element>
|
||||
* </sequence>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"body"
|
||||
})
|
||||
@XmlRootElement(name = "ReturnTicketResponse")
|
||||
public class ReturnTicketResponse
|
||||
extends AbstractResponse
|
||||
{
|
||||
|
||||
@XmlElement(name = "Body", required = true)
|
||||
protected ReturnTicketResponse.Body body;
|
||||
|
||||
/**
|
||||
* Gets the value of the body property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link ReturnTicketResponse.Body }
|
||||
*
|
||||
*/
|
||||
public ReturnTicketResponse.Body getBody() {
|
||||
return body;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the body property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link ReturnTicketResponse.Body }
|
||||
*
|
||||
*/
|
||||
public void setBody(ReturnTicketResponse.Body value) {
|
||||
this.body = value;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="Ticket" type="{}Ticket" maxOccurs="unbounded"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"ticket"
|
||||
})
|
||||
public static class Body {
|
||||
|
||||
@XmlElement(name = "Ticket", required = true)
|
||||
protected List<Ticket> ticket;
|
||||
|
||||
/**
|
||||
* Gets the value of the ticket property.
|
||||
*
|
||||
* <p>
|
||||
* 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 <CODE>set</CODE> method for the ticket property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getTicket().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link Ticket }
|
||||
*
|
||||
*
|
||||
*/
|
||||
public List<Ticket> getTicket() {
|
||||
if (ticket == null) {
|
||||
ticket = new ArrayList<Ticket>();
|
||||
}
|
||||
return this.ticket;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,121 @@
|
||||
|
||||
package com.artmark.avs5rs.sale.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlSchemaType;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
import javax.xml.datatype.XMLGregorianCalendar;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for RouteKey complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="RouteKey">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="dispatchStationUid" type="{}UidType"/>
|
||||
* <element name="arrivalStationUid" type="{}UidType"/>
|
||||
* <element name="dispatchTime" type="{http://www.w3.org/2001/XMLSchema}time"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "RouteKey", propOrder = {
|
||||
"dispatchStationUid",
|
||||
"arrivalStationUid",
|
||||
"dispatchTime"
|
||||
})
|
||||
public class RouteKey {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected String dispatchStationUid;
|
||||
@XmlElement(required = true)
|
||||
protected String arrivalStationUid;
|
||||
@XmlElement(required = true)
|
||||
@XmlSchemaType(name = "time")
|
||||
protected XMLGregorianCalendar dispatchTime;
|
||||
|
||||
/**
|
||||
* Gets the value of the dispatchStationUid property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getDispatchStationUid() {
|
||||
return dispatchStationUid;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the dispatchStationUid property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setDispatchStationUid(String value) {
|
||||
this.dispatchStationUid = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the arrivalStationUid property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getArrivalStationUid() {
|
||||
return arrivalStationUid;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the arrivalStationUid property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setArrivalStationUid(String value) {
|
||||
this.arrivalStationUid = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the dispatchTime property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link XMLGregorianCalendar }
|
||||
*
|
||||
*/
|
||||
public XMLGregorianCalendar getDispatchTime() {
|
||||
return dispatchTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the dispatchTime property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link XMLGregorianCalendar }
|
||||
*
|
||||
*/
|
||||
public void setDispatchTime(XMLGregorianCalendar value) {
|
||||
this.dispatchTime = value;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,117 @@
|
||||
|
||||
package com.artmark.avs5rs.sale.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for Sale complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="Sale">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="seatId" type="{}IDType" minOccurs="0"/>
|
||||
* <element name="ticketTypeId" type="{}IDType"/>
|
||||
* <element name="Passenger" type="{}Passenger" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "Sale", propOrder = {
|
||||
"seatId",
|
||||
"ticketTypeId",
|
||||
"passenger"
|
||||
})
|
||||
public class Sale {
|
||||
|
||||
protected String seatId;
|
||||
@XmlElement(required = true)
|
||||
protected String ticketTypeId;
|
||||
@XmlElement(name = "Passenger")
|
||||
protected Passenger passenger;
|
||||
|
||||
/**
|
||||
* Gets the value of the seatId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getSeatId() {
|
||||
return seatId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the seatId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setSeatId(String value) {
|
||||
this.seatId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the ticketTypeId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getTicketTypeId() {
|
||||
return ticketTypeId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the ticketTypeId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setTicketTypeId(String value) {
|
||||
this.ticketTypeId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the passenger property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link Passenger }
|
||||
*
|
||||
*/
|
||||
public Passenger getPassenger() {
|
||||
return passenger;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the passenger property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link Passenger }
|
||||
*
|
||||
*/
|
||||
public void setPassenger(Passenger value) {
|
||||
this.passenger = value;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,123 @@
|
||||
|
||||
package com.artmark.avs5rs.sale.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlSchemaType;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
import javax.xml.datatype.XMLGregorianCalendar;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="dispatchStationId" type="{}IDType"/>
|
||||
* <element name="arrivalStationId" type="{}IDType"/>
|
||||
* <element name="date" type="{http://www.w3.org/2001/XMLSchema}date"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"dispatchStationId",
|
||||
"arrivalStationId",
|
||||
"date"
|
||||
})
|
||||
@XmlRootElement(name = "SearchTripsRequest")
|
||||
public class SearchTripsRequest {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected String dispatchStationId;
|
||||
@XmlElement(required = true)
|
||||
protected String arrivalStationId;
|
||||
@XmlElement(required = true)
|
||||
@XmlSchemaType(name = "date")
|
||||
protected XMLGregorianCalendar date;
|
||||
|
||||
/**
|
||||
* Gets the value of the dispatchStationId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getDispatchStationId() {
|
||||
return dispatchStationId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the dispatchStationId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setDispatchStationId(String value) {
|
||||
this.dispatchStationId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the arrivalStationId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getArrivalStationId() {
|
||||
return arrivalStationId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the arrivalStationId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setArrivalStationId(String value) {
|
||||
this.arrivalStationId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the date property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link XMLGregorianCalendar }
|
||||
*
|
||||
*/
|
||||
public XMLGregorianCalendar getDate() {
|
||||
return date;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the date property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link XMLGregorianCalendar }
|
||||
*
|
||||
*/
|
||||
public void setDate(XMLGregorianCalendar value) {
|
||||
this.date = value;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,138 @@
|
||||
|
||||
package com.artmark.avs5rs.sale.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <extension base="{}AbstractResponse">
|
||||
* <sequence>
|
||||
* <element name="Body">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="Trip" type="{}Trip" maxOccurs="unbounded"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </element>
|
||||
* </sequence>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"body"
|
||||
})
|
||||
@XmlRootElement(name = "SearchTripsResponse")
|
||||
public class SearchTripsResponse
|
||||
extends AbstractResponse
|
||||
{
|
||||
|
||||
@XmlElement(name = "Body", required = true)
|
||||
protected SearchTripsResponse.Body body;
|
||||
|
||||
/**
|
||||
* Gets the value of the body property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link SearchTripsResponse.Body }
|
||||
*
|
||||
*/
|
||||
public SearchTripsResponse.Body getBody() {
|
||||
return body;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the body property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link SearchTripsResponse.Body }
|
||||
*
|
||||
*/
|
||||
public void setBody(SearchTripsResponse.Body value) {
|
||||
this.body = value;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="Trip" type="{}Trip" maxOccurs="unbounded"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"trip"
|
||||
})
|
||||
public static class Body {
|
||||
|
||||
@XmlElement(name = "Trip", required = true)
|
||||
protected List<Trip> trip;
|
||||
|
||||
/**
|
||||
* Gets the value of the trip property.
|
||||
*
|
||||
* <p>
|
||||
* 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 <CODE>set</CODE> method for the trip property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getTrip().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link Trip }
|
||||
*
|
||||
*
|
||||
*/
|
||||
public List<Trip> getTrip() {
|
||||
if (trip == null) {
|
||||
trip = new ArrayList<Trip>();
|
||||
}
|
||||
return this.trip;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,81 @@
|
||||
|
||||
package com.artmark.avs5rs.sale.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for Seat complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="Seat">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="id" type="{}IDType"/>
|
||||
* <element name="num" type="{http://www.w3.org/2001/XMLSchema}int"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "Seat", propOrder = {
|
||||
"id",
|
||||
"num"
|
||||
})
|
||||
public class Seat {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected String id;
|
||||
protected int num;
|
||||
|
||||
/**
|
||||
* Gets the value of the id property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the id property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setId(String value) {
|
||||
this.id = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the num property.
|
||||
*
|
||||
*/
|
||||
public int getNum() {
|
||||
return num;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the num property.
|
||||
*
|
||||
*/
|
||||
public void setNum(int value) {
|
||||
this.num = value;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,144 @@
|
||||
|
||||
package com.artmark.avs5rs.sale.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for Station complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="Station">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="id" type="{}IDType"/>
|
||||
* <element name="name" type="{}NameType"/>
|
||||
* <element name="okato" type="{}OkatoType" minOccurs="0"/>
|
||||
* <element name="region" type="{}SimpleStringType" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "Station", propOrder = {
|
||||
"id",
|
||||
"name",
|
||||
"okato",
|
||||
"region"
|
||||
})
|
||||
public class Station {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected String id;
|
||||
@XmlElement(required = true)
|
||||
protected String name;
|
||||
protected String okato;
|
||||
protected String region;
|
||||
|
||||
/**
|
||||
* Gets the value of the id property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the id property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setId(String value) {
|
||||
this.id = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the name property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the name property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setName(String value) {
|
||||
this.name = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the okato property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getOkato() {
|
||||
return okato;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the okato property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setOkato(String value) {
|
||||
this.okato = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the region property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getRegion() {
|
||||
return region;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the region property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setRegion(String value) {
|
||||
this.region = value;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,700 @@
|
||||
|
||||
package com.artmark.avs5rs.sale.model;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlSchemaType;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
import javax.xml.datatype.XMLGregorianCalendar;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for Ticket complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="Ticket">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="id" type="{}IDType"/>
|
||||
* <element name="number" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* <element name="series" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* <element name="created" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
|
||||
* <element name="returned" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
|
||||
* <element name="status" type="{}TicketStatus"/>
|
||||
* <element name="ticketClass" type="{}TicketClass"/>
|
||||
* <element name="typeId" type="{}IDType"/>
|
||||
* <element name="routeNum" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* <element name="routeName" type="{}NameType"/>
|
||||
* <element name="busInfo" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="carrierName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* <element name="carrierInn" type="{}InnType"/>
|
||||
* <element name="platform" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* <element name="dispatchDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
|
||||
* <element name="arrivalDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
|
||||
* <element name="dispatchStation" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="arrivalStation" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="seatNum" type="{http://www.w3.org/2001/XMLSchema}int"/>
|
||||
* <element name="Passenger" type="{}Passenger" minOccurs="0"/>
|
||||
* <element name="fare" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
|
||||
* <element name="fees" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
|
||||
* <element name="repayment" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
|
||||
* <element name="insuranceInfo" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "Ticket", propOrder = {
|
||||
"id",
|
||||
"number",
|
||||
"series",
|
||||
"created",
|
||||
"returned",
|
||||
"status",
|
||||
"ticketClass",
|
||||
"typeId",
|
||||
"routeNum",
|
||||
"routeName",
|
||||
"busInfo",
|
||||
"carrierName",
|
||||
"carrierInn",
|
||||
"platform",
|
||||
"dispatchDate",
|
||||
"arrivalDate",
|
||||
"dispatchStation",
|
||||
"arrivalStation",
|
||||
"seatNum",
|
||||
"passenger",
|
||||
"fare",
|
||||
"fees",
|
||||
"repayment",
|
||||
"insuranceInfo"
|
||||
})
|
||||
public class Ticket {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected String id;
|
||||
protected String number;
|
||||
protected String series;
|
||||
@XmlElement(required = true)
|
||||
@XmlSchemaType(name = "dateTime")
|
||||
protected XMLGregorianCalendar created;
|
||||
@XmlElement(required = true)
|
||||
@XmlSchemaType(name = "dateTime")
|
||||
protected XMLGregorianCalendar returned;
|
||||
@XmlElement(required = true)
|
||||
@XmlSchemaType(name = "string")
|
||||
protected TicketStatus status;
|
||||
@XmlElement(required = true)
|
||||
@XmlSchemaType(name = "string")
|
||||
protected TicketClass ticketClass;
|
||||
@XmlElement(required = true)
|
||||
protected String typeId;
|
||||
protected String routeNum;
|
||||
@XmlElement(required = true)
|
||||
protected String routeName;
|
||||
@XmlElement(required = true)
|
||||
protected String busInfo;
|
||||
protected String carrierName;
|
||||
@XmlElement(required = true)
|
||||
protected String carrierInn;
|
||||
protected String platform;
|
||||
@XmlElement(required = true)
|
||||
@XmlSchemaType(name = "dateTime")
|
||||
protected XMLGregorianCalendar dispatchDate;
|
||||
@XmlElement(required = true)
|
||||
@XmlSchemaType(name = "dateTime")
|
||||
protected XMLGregorianCalendar arrivalDate;
|
||||
@XmlElement(required = true)
|
||||
protected String dispatchStation;
|
||||
@XmlElement(required = true)
|
||||
protected String arrivalStation;
|
||||
protected int seatNum;
|
||||
@XmlElement(name = "Passenger")
|
||||
protected Passenger passenger;
|
||||
@XmlElement(required = true)
|
||||
protected BigDecimal fare;
|
||||
@XmlElement(required = true)
|
||||
protected BigDecimal fees;
|
||||
protected BigDecimal repayment;
|
||||
@XmlElement(required = true)
|
||||
protected String insuranceInfo;
|
||||
|
||||
/**
|
||||
* Gets the value of the id property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the id property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setId(String value) {
|
||||
this.id = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the number property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getNumber() {
|
||||
return number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the number property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setNumber(String value) {
|
||||
this.number = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the series property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getSeries() {
|
||||
return series;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the series property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setSeries(String value) {
|
||||
this.series = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the created property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link XMLGregorianCalendar }
|
||||
*
|
||||
*/
|
||||
public XMLGregorianCalendar getCreated() {
|
||||
return created;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the created property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link XMLGregorianCalendar }
|
||||
*
|
||||
*/
|
||||
public void setCreated(XMLGregorianCalendar value) {
|
||||
this.created = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the returned property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link XMLGregorianCalendar }
|
||||
*
|
||||
*/
|
||||
public XMLGregorianCalendar getReturned() {
|
||||
return returned;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the returned property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link XMLGregorianCalendar }
|
||||
*
|
||||
*/
|
||||
public void setReturned(XMLGregorianCalendar value) {
|
||||
this.returned = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the status property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link TicketStatus }
|
||||
*
|
||||
*/
|
||||
public TicketStatus getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the status property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link TicketStatus }
|
||||
*
|
||||
*/
|
||||
public void setStatus(TicketStatus value) {
|
||||
this.status = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the ticketClass property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link TicketClass }
|
||||
*
|
||||
*/
|
||||
public TicketClass getTicketClass() {
|
||||
return ticketClass;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the ticketClass property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link TicketClass }
|
||||
*
|
||||
*/
|
||||
public void setTicketClass(TicketClass value) {
|
||||
this.ticketClass = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the typeId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getTypeId() {
|
||||
return typeId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the typeId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setTypeId(String value) {
|
||||
this.typeId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the routeNum property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getRouteNum() {
|
||||
return routeNum;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the routeNum property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setRouteNum(String value) {
|
||||
this.routeNum = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the routeName property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getRouteName() {
|
||||
return routeName;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the routeName property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setRouteName(String value) {
|
||||
this.routeName = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the busInfo property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getBusInfo() {
|
||||
return busInfo;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the busInfo property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setBusInfo(String value) {
|
||||
this.busInfo = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the carrierName property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getCarrierName() {
|
||||
return carrierName;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the carrierName property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setCarrierName(String value) {
|
||||
this.carrierName = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the carrierInn property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getCarrierInn() {
|
||||
return carrierInn;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the carrierInn property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setCarrierInn(String value) {
|
||||
this.carrierInn = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the platform property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getPlatform() {
|
||||
return platform;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the platform property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setPlatform(String value) {
|
||||
this.platform = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the dispatchDate property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link XMLGregorianCalendar }
|
||||
*
|
||||
*/
|
||||
public XMLGregorianCalendar getDispatchDate() {
|
||||
return dispatchDate;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the dispatchDate property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link XMLGregorianCalendar }
|
||||
*
|
||||
*/
|
||||
public void setDispatchDate(XMLGregorianCalendar value) {
|
||||
this.dispatchDate = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the arrivalDate property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link XMLGregorianCalendar }
|
||||
*
|
||||
*/
|
||||
public XMLGregorianCalendar getArrivalDate() {
|
||||
return arrivalDate;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the arrivalDate property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link XMLGregorianCalendar }
|
||||
*
|
||||
*/
|
||||
public void setArrivalDate(XMLGregorianCalendar value) {
|
||||
this.arrivalDate = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the dispatchStation property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getDispatchStation() {
|
||||
return dispatchStation;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the dispatchStation property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setDispatchStation(String value) {
|
||||
this.dispatchStation = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the arrivalStation property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getArrivalStation() {
|
||||
return arrivalStation;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the arrivalStation property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setArrivalStation(String value) {
|
||||
this.arrivalStation = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the seatNum property.
|
||||
*
|
||||
*/
|
||||
public int getSeatNum() {
|
||||
return seatNum;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the seatNum property.
|
||||
*
|
||||
*/
|
||||
public void setSeatNum(int value) {
|
||||
this.seatNum = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the passenger property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link Passenger }
|
||||
*
|
||||
*/
|
||||
public Passenger getPassenger() {
|
||||
return passenger;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the passenger property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link Passenger }
|
||||
*
|
||||
*/
|
||||
public void setPassenger(Passenger value) {
|
||||
this.passenger = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the fare property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link BigDecimal }
|
||||
*
|
||||
*/
|
||||
public BigDecimal getFare() {
|
||||
return fare;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the fare property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link BigDecimal }
|
||||
*
|
||||
*/
|
||||
public void setFare(BigDecimal value) {
|
||||
this.fare = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the fees property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link BigDecimal }
|
||||
*
|
||||
*/
|
||||
public BigDecimal getFees() {
|
||||
return fees;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the fees property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link BigDecimal }
|
||||
*
|
||||
*/
|
||||
public void setFees(BigDecimal value) {
|
||||
this.fees = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the repayment property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link BigDecimal }
|
||||
*
|
||||
*/
|
||||
public BigDecimal getRepayment() {
|
||||
return repayment;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the repayment property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link BigDecimal }
|
||||
*
|
||||
*/
|
||||
public void setRepayment(BigDecimal value) {
|
||||
this.repayment = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the insuranceInfo property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getInsuranceInfo() {
|
||||
return insuranceInfo;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the insuranceInfo property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setInsuranceInfo(String value) {
|
||||
this.insuranceInfo = value;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
|
||||
package com.artmark.avs5rs.sale.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlEnum;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for TicketClass.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
* <p>
|
||||
* <pre>
|
||||
* <simpleType name="TicketClass">
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <enumeration value="PASSENGER"/>
|
||||
* <enumeration value="BAGGAGE"/>
|
||||
* <enumeration value="WITHOUT_SEAT"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "TicketClass")
|
||||
@XmlEnum
|
||||
public enum TicketClass {
|
||||
|
||||
PASSENGER,
|
||||
BAGGAGE,
|
||||
WITHOUT_SEAT;
|
||||
|
||||
public String value() {
|
||||
return name();
|
||||
}
|
||||
|
||||
public static TicketClass fromValue(String v) {
|
||||
return valueOf(v);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
|
||||
package com.artmark.avs5rs.sale.model;
|
||||
|
||||
import javax.xml.bind.annotation.XmlEnum;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for TicketStatus.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
* <p>
|
||||
* <pre>
|
||||
* <simpleType name="TicketStatus">
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <enumeration value="RESERVED"/>
|
||||
* <enumeration value="SOLD"/>
|
||||
* <enumeration value="CANCELED"/>
|
||||
* <enumeration value="RETURNED"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "TicketStatus")
|
||||
@XmlEnum
|
||||
public enum TicketStatus {
|
||||
|
||||
RESERVED,
|
||||
SOLD,
|
||||
CANCELED,
|
||||
RETURNED;
|
||||
|
||||
public String value() {
|
||||
return name();
|
||||
}
|
||||
|
||||
public static TicketStatus fromValue(String v) {
|
||||
return valueOf(v);
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,149 @@
|
||||
|
||||
package com.artmark.avs5rs.sale.model;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlSchemaType;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for TicketType complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="TicketType">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="id" type="{}IDType"/>
|
||||
* <element name="name" type="{}NameType"/>
|
||||
* <element name="price" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
|
||||
* <element name="ticketClass" type="{}TicketClass"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "TicketType", propOrder = {
|
||||
"id",
|
||||
"name",
|
||||
"price",
|
||||
"ticketClass"
|
||||
})
|
||||
public class TicketType {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected String id;
|
||||
@XmlElement(required = true)
|
||||
protected String name;
|
||||
@XmlElement(required = true)
|
||||
protected BigDecimal price;
|
||||
@XmlElement(required = true)
|
||||
@XmlSchemaType(name = "string")
|
||||
protected TicketClass ticketClass;
|
||||
|
||||
/**
|
||||
* Gets the value of the id property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the id property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setId(String value) {
|
||||
this.id = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the name property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the name property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setName(String value) {
|
||||
this.name = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the price property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link BigDecimal }
|
||||
*
|
||||
*/
|
||||
public BigDecimal getPrice() {
|
||||
return price;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the price property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link BigDecimal }
|
||||
*
|
||||
*/
|
||||
public void setPrice(BigDecimal value) {
|
||||
this.price = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the ticketClass property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link TicketClass }
|
||||
*
|
||||
*/
|
||||
public TicketClass getTicketClass() {
|
||||
return ticketClass;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the ticketClass property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link TicketClass }
|
||||
*
|
||||
*/
|
||||
public void setTicketClass(TicketClass value) {
|
||||
this.ticketClass = value;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,579 @@
|
||||
|
||||
package com.artmark.avs5rs.sale.model;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlSchemaType;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
import javax.xml.datatype.XMLGregorianCalendar;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for Trip complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="Trip">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="id" type="{}IDType"/>
|
||||
* <element name="name" type="{}NameType"/>
|
||||
* <element name="num" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* <element name="dispatchDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
|
||||
* <element name="arrivalDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
|
||||
* <element name="dispatchStationId" type="{}IDType"/>
|
||||
* <element name="dispatchStationName" type="{}NameType"/>
|
||||
* <element name="arrivalStationId" type="{}IDType"/>
|
||||
* <element name="arrivalStationName" type="{}NameType"/>
|
||||
* <element name="price" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
|
||||
* <element name="carrierName" type="{}NameType" minOccurs="0"/>
|
||||
* <element name="carrierInn" type="{}InnType"/>
|
||||
* <element name="busInfo" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="platform" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* <element name="type" type="{}TripType"/>
|
||||
* <element name="status" type="{}TripStatus"/>
|
||||
* <element name="tripClass" type="{}TripClass" minOccurs="0"/>
|
||||
* <element name="seatCount" type="{http://www.w3.org/2001/XMLSchema}int"/>
|
||||
* <element name="freeSeatCount" type="{http://www.w3.org/2001/XMLSchema}int"/>
|
||||
* <element name="routeKey" type="{}RouteKey" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "Trip", propOrder = {
|
||||
"id",
|
||||
"name",
|
||||
"num",
|
||||
"dispatchDate",
|
||||
"arrivalDate",
|
||||
"dispatchStationId",
|
||||
"dispatchStationName",
|
||||
"arrivalStationId",
|
||||
"arrivalStationName",
|
||||
"price",
|
||||
"carrierName",
|
||||
"carrierInn",
|
||||
"busInfo",
|
||||
"platform",
|
||||
"type",
|
||||
"status",
|
||||
"tripClass",
|
||||
"seatCount",
|
||||
"freeSeatCount",
|
||||
"routeKey"
|
||||
})
|
||||
public class Trip {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected String id;
|
||||
@XmlElement(required = true)
|
||||
protected String name;
|
||||
protected String num;
|
||||
@XmlElement(required = true)
|
||||
@XmlSchemaType(name = "dateTime")
|
||||
protected XMLGregorianCalendar dispatchDate;
|
||||
@XmlElement(required = true)
|
||||
@XmlSchemaType(name = "dateTime")
|
||||
protected XMLGregorianCalendar arrivalDate;
|
||||
@XmlElement(required = true)
|
||||
protected String dispatchStationId;
|
||||
@XmlElement(required = true)
|
||||
protected String dispatchStationName;
|
||||
@XmlElement(required = true)
|
||||
protected String arrivalStationId;
|
||||
@XmlElement(required = true)
|
||||
protected String arrivalStationName;
|
||||
@XmlElement(required = true)
|
||||
protected BigDecimal price;
|
||||
protected String carrierName;
|
||||
@XmlElement(required = true)
|
||||
protected String carrierInn;
|
||||
@XmlElement(required = true)
|
||||
protected String busInfo;
|
||||
protected String platform;
|
||||
@XmlElement(required = true)
|
||||
@XmlSchemaType(name = "string")
|
||||
protected TripType type;
|
||||
@XmlElement(required = true)
|
||||
@XmlSchemaType(name = "string")
|
||||
protected TripStatus status;
|
||||
@XmlSchemaType(name = "string")
|
||||
protected TripClass tripClass;
|
||||
protected int seatCount;
|
||||
protected int freeSeatCount;
|
||||
protected RouteKey routeKey;
|
||||
|
||||
/**
|
||||
* Gets the value of the id property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the id property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setId(String value) {
|
||||
this.id = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the name property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the name property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setName(String value) {
|
||||
this.name = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the num property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getNum() {
|
||||
return num;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the num property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setNum(String value) {
|
||||
this.num = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the dispatchDate property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link XMLGregorianCalendar }
|
||||
*
|
||||
*/
|
||||
public XMLGregorianCalendar getDispatchDate() {
|
||||
return dispatchDate;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the dispatchDate property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link XMLGregorianCalendar }
|
||||
*
|
||||
*/
|
||||
public void setDispatchDate(XMLGregorianCalendar value) {
|
||||
this.dispatchDate = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the arrivalDate property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link XMLGregorianCalendar }
|
||||
*
|
||||
*/
|
||||
public XMLGregorianCalendar getArrivalDate() {
|
||||
return arrivalDate;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the arrivalDate property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link XMLGregorianCalendar }
|
||||
*
|
||||
*/
|
||||
public void setArrivalDate(XMLGregorianCalendar value) {
|
||||
this.arrivalDate = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the dispatchStationId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getDispatchStationId() {
|
||||
return dispatchStationId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the dispatchStationId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setDispatchStationId(String value) {
|
||||
this.dispatchStationId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the dispatchStationName property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getDispatchStationName() {
|
||||
return dispatchStationName;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the dispatchStationName property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setDispatchStationName(String value) {
|
||||
this.dispatchStationName = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the arrivalStationId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getArrivalStationId() {
|
||||
return arrivalStationId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the arrivalStationId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setArrivalStationId(String value) {
|
||||
this.arrivalStationId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the arrivalStationName property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getArrivalStationName() {
|
||||
return arrivalStationName;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the arrivalStationName property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setArrivalStationName(String value) {
|
||||
this.arrivalStationName = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the price property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link BigDecimal }
|
||||
*
|
||||
*/
|
||||
public BigDecimal getPrice() {
|
||||
return price;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the price property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link BigDecimal }
|
||||
*
|
||||
*/
|
||||
public void setPrice(BigDecimal value) {
|
||||
this.price = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the carrierName property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getCarrierName() {
|
||||
return carrierName;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the carrierName property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setCarrierName(String value) {
|
||||
this.carrierName = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the carrierInn property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getCarrierInn() {
|
||||
return carrierInn;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the carrierInn property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setCarrierInn(String value) {
|
||||
this.carrierInn = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the busInfo property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getBusInfo() {
|
||||
return busInfo;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the busInfo property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setBusInfo(String value) {
|
||||
this.busInfo = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the platform property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getPlatform() {
|
||||
return platform;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the platform property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setPlatform(String value) {
|
||||
this.platform = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the type property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link TripType }
|
||||
*
|
||||
*/
|
||||
public TripType getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the type property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link TripType }
|
||||
*
|
||||
*/
|
||||
public void setType(TripType value) {
|
||||
this.type = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the status property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link TripStatus }
|
||||
*
|
||||
*/
|
||||
public TripStatus getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the status property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link TripStatus }
|
||||
*
|
||||
*/
|
||||
public void setStatus(TripStatus value) {
|
||||
this.status = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the tripClass property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link TripClass }
|
||||
*
|
||||
*/
|
||||
public TripClass getTripClass() {
|
||||
return tripClass;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the tripClass property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link TripClass }
|
||||
*
|
||||
*/
|
||||
public void setTripClass(TripClass value) {
|
||||
this.tripClass = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the seatCount property.
|
||||
*
|
||||
*/
|
||||
public int getSeatCount() {
|
||||
return seatCount;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the seatCount property.
|
||||
*
|
||||
*/
|
||||
public void setSeatCount(int value) {
|
||||
this.seatCount = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the freeSeatCount property.
|
||||
*
|
||||
*/
|
||||
public int getFreeSeatCount() {
|
||||
return freeSeatCount;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the freeSeatCount property.
|
||||
*
|
||||
*/
|
||||
public void setFreeSeatCount(int value) {
|
||||
this.freeSeatCount = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the routeKey property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link RouteKey }
|
||||
*
|
||||
*/
|
||||
public RouteKey getRouteKey() {
|
||||
return routeKey;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the routeKey property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link RouteKey }
|
||||
*
|
||||
*/
|
||||
public void setRouteKey(RouteKey value) {
|
||||
this.routeKey = value;
|
||||
}
|
||||
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue