it.bz.opendatahub.alpinebits.xml.schema.ota.OTAHotelDescriptiveInfoRQ Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2020.10.22 at 07:23:30 PM GMT
//
package it.bz.opendatahub.alpinebits.xml.schema.ota;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.time.LocalDate;
import java.time.ZonedDateTime;
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.XmlAttribute;
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.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import it.bz.opendatahub.alpinebits.xml.xmladapter.LocalDateAdapter;
import it.bz.opendatahub.alpinebits.xml.xmladapter.ZonedDateTimeAdapter;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="POS" type="{http://www.opentravel.org/OTA/2003/05}POS_Type" minOccurs="0"/>
* <element name="HotelDescriptiveInfos">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="HotelDescriptiveInfo" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <extension base="{http://www.opentravel.org/OTA/2003/05}HotelDescriptiveInfoRequestType">
* <attribute name="StateCodeList" type="{http://www.opentravel.org/OTA/2003/05}ListOfStringLength1to8" />
* <attribute name="CountryCodeList" type="{http://www.opentravel.org/OTA/2003/05}ListOfISO3166" />
* <attribute name="BrandCodeList" type="{http://www.opentravel.org/OTA/2003/05}ListOfStringLength1to8" />
* <attribute name="MoreDataEchoToken" type="{http://www.opentravel.org/OTA/2003/05}StringLength1to128" />
* <attribute name="ApplicableDate" type="{http://www.w3.org/2001/XMLSchema}date" />
* </extension>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* <attribute name="LangRequested" type="{http://www.w3.org/2001/XMLSchema}language" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* <attGroup ref="{http://www.opentravel.org/OTA/2003/05}OTA_PayloadStdAttributes"/>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"pos",
"hotelDescriptiveInfos"
})
@XmlRootElement(name = "OTA_HotelDescriptiveInfoRQ")
public class OTAHotelDescriptiveInfoRQ {
@XmlElement(name = "POS")
protected POSType pos;
@XmlElement(name = "HotelDescriptiveInfos", required = true)
protected OTAHotelDescriptiveInfoRQ.HotelDescriptiveInfos hotelDescriptiveInfos;
@XmlAttribute(name = "EchoToken")
protected String echoToken;
@XmlAttribute(name = "TimeStamp")
@XmlJavaTypeAdapter(ZonedDateTimeAdapter.class)
@XmlSchemaType(name = "dateTime")
protected ZonedDateTime timeStamp;
@XmlAttribute(name = "Target")
protected String target;
@XmlAttribute(name = "TargetName")
protected String targetName;
@XmlAttribute(name = "Version", required = true)
protected BigDecimal version;
@XmlAttribute(name = "TransactionIdentifier")
protected String transactionIdentifier;
@XmlAttribute(name = "SequenceNmbr")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger sequenceNmbr;
@XmlAttribute(name = "TransactionStatusCode")
protected String transactionStatusCode;
@XmlAttribute(name = "RetransmissionIndicator")
protected Boolean retransmissionIndicator;
@XmlAttribute(name = "CorrelationID")
protected String correlationID;
@XmlAttribute(name = "PrimaryLangID")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "language")
protected String primaryLangID;
@XmlAttribute(name = "AltLangID")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "language")
protected String altLangID;
/**
* Gets the value of the pos property.
*
* @return
* possible object is
* {@link POSType }
*
*/
public POSType getPOS() {
return pos;
}
/**
* Sets the value of the pos property.
*
* @param value
* allowed object is
* {@link POSType }
*
*/
public void setPOS(POSType value) {
this.pos = value;
}
/**
* Gets the value of the hotelDescriptiveInfos property.
*
* @return
* possible object is
* {@link OTAHotelDescriptiveInfoRQ.HotelDescriptiveInfos }
*
*/
public OTAHotelDescriptiveInfoRQ.HotelDescriptiveInfos getHotelDescriptiveInfos() {
return hotelDescriptiveInfos;
}
/**
* Sets the value of the hotelDescriptiveInfos property.
*
* @param value
* allowed object is
* {@link OTAHotelDescriptiveInfoRQ.HotelDescriptiveInfos }
*
*/
public void setHotelDescriptiveInfos(OTAHotelDescriptiveInfoRQ.HotelDescriptiveInfos value) {
this.hotelDescriptiveInfos = value;
}
/**
* Gets the value of the echoToken property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEchoToken() {
return echoToken;
}
/**
* Sets the value of the echoToken property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEchoToken(String value) {
this.echoToken = value;
}
/**
* Gets the value of the timeStamp property.
*
* @return
* possible object is
* {@link String }
*
*/
public ZonedDateTime getTimeStamp() {
return timeStamp;
}
/**
* Sets the value of the timeStamp property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTimeStamp(ZonedDateTime value) {
this.timeStamp = value;
}
/**
* Gets the value of the target property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTarget() {
return target;
}
/**
* Sets the value of the target property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTarget(String value) {
this.target = value;
}
/**
* Gets the value of the targetName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTargetName() {
return targetName;
}
/**
* Sets the value of the targetName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTargetName(String value) {
this.targetName = value;
}
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getVersion() {
return version;
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setVersion(BigDecimal value) {
this.version = value;
}
/**
* Gets the value of the transactionIdentifier property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTransactionIdentifier() {
return transactionIdentifier;
}
/**
* Sets the value of the transactionIdentifier property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTransactionIdentifier(String value) {
this.transactionIdentifier = value;
}
/**
* Gets the value of the sequenceNmbr property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getSequenceNmbr() {
return sequenceNmbr;
}
/**
* Sets the value of the sequenceNmbr property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setSequenceNmbr(BigInteger value) {
this.sequenceNmbr = value;
}
/**
* Gets the value of the transactionStatusCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTransactionStatusCode() {
return transactionStatusCode;
}
/**
* Sets the value of the transactionStatusCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTransactionStatusCode(String value) {
this.transactionStatusCode = value;
}
/**
* Gets the value of the retransmissionIndicator property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isRetransmissionIndicator() {
return retransmissionIndicator;
}
/**
* Sets the value of the retransmissionIndicator property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setRetransmissionIndicator(Boolean value) {
this.retransmissionIndicator = value;
}
/**
* Gets the value of the correlationID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCorrelationID() {
return correlationID;
}
/**
* Sets the value of the correlationID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCorrelationID(String value) {
this.correlationID = value;
}
/**
* Gets the value of the primaryLangID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPrimaryLangID() {
return primaryLangID;
}
/**
* Sets the value of the primaryLangID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPrimaryLangID(String value) {
this.primaryLangID = value;
}
/**
* Gets the value of the altLangID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAltLangID() {
return altLangID;
}
/**
* Sets the value of the altLangID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAltLangID(String value) {
this.altLangID = value;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="HotelDescriptiveInfo" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <extension base="{http://www.opentravel.org/OTA/2003/05}HotelDescriptiveInfoRequestType">
* <attribute name="StateCodeList" type="{http://www.opentravel.org/OTA/2003/05}ListOfStringLength1to8" />
* <attribute name="CountryCodeList" type="{http://www.opentravel.org/OTA/2003/05}ListOfISO3166" />
* <attribute name="BrandCodeList" type="{http://www.opentravel.org/OTA/2003/05}ListOfStringLength1to8" />
* <attribute name="MoreDataEchoToken" type="{http://www.opentravel.org/OTA/2003/05}StringLength1to128" />
* <attribute name="ApplicableDate" type="{http://www.w3.org/2001/XMLSchema}date" />
* </extension>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* <attribute name="LangRequested" type="{http://www.w3.org/2001/XMLSchema}language" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"hotelDescriptiveInfos"
})
public static class HotelDescriptiveInfos {
@XmlElement(name = "HotelDescriptiveInfo", required = true)
protected List hotelDescriptiveInfos;
@XmlAttribute(name = "LangRequested")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "language")
protected String langRequested;
/**
* Gets the value of the hotelDescriptiveInfos property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the hotelDescriptiveInfos property.
*
*
* For example, to add a new item, do as follows:
*
* getHotelDescriptiveInfos().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link OTAHotelDescriptiveInfoRQ.HotelDescriptiveInfos.HotelDescriptiveInfo }
*
*
*/
public List getHotelDescriptiveInfos() {
if (hotelDescriptiveInfos == null) {
hotelDescriptiveInfos = new ArrayList();
}
return this.hotelDescriptiveInfos;
}
/**
* Gets the value of the langRequested property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLangRequested() {
return langRequested;
}
/**
* Sets the value of the langRequested property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLangRequested(String value) {
this.langRequested = value;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <extension base="{http://www.opentravel.org/OTA/2003/05}HotelDescriptiveInfoRequestType">
* <attribute name="StateCodeList" type="{http://www.opentravel.org/OTA/2003/05}ListOfStringLength1to8" />
* <attribute name="CountryCodeList" type="{http://www.opentravel.org/OTA/2003/05}ListOfISO3166" />
* <attribute name="BrandCodeList" type="{http://www.opentravel.org/OTA/2003/05}ListOfStringLength1to8" />
* <attribute name="MoreDataEchoToken" type="{http://www.opentravel.org/OTA/2003/05}StringLength1to128" />
* <attribute name="ApplicableDate" type="{http://www.w3.org/2001/XMLSchema}date" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class HotelDescriptiveInfo
extends HotelDescriptiveInfoRequestType
{
@XmlAttribute(name = "StateCodeList")
protected List stateCodeLists;
@XmlAttribute(name = "CountryCodeList")
protected List countryCodeLists;
@XmlAttribute(name = "BrandCodeList")
protected List brandCodeLists;
@XmlAttribute(name = "MoreDataEchoToken")
protected String moreDataEchoToken;
@XmlAttribute(name = "ApplicableDate")
@XmlJavaTypeAdapter(LocalDateAdapter.class)
@XmlSchemaType(name = "date")
protected LocalDate applicableDate;
/**
* Gets the value of the stateCodeLists property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the stateCodeLists property.
*
*
* For example, to add a new item, do as follows:
*
* getStateCodeLists().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getStateCodeLists() {
if (stateCodeLists == null) {
stateCodeLists = new ArrayList();
}
return this.stateCodeLists;
}
/**
* Gets the value of the countryCodeLists property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the countryCodeLists property.
*
*
* For example, to add a new item, do as follows:
*
* getCountryCodeLists().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getCountryCodeLists() {
if (countryCodeLists == null) {
countryCodeLists = new ArrayList();
}
return this.countryCodeLists;
}
/**
* Gets the value of the brandCodeLists property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the brandCodeLists property.
*
*
* For example, to add a new item, do as follows:
*
* getBrandCodeLists().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getBrandCodeLists() {
if (brandCodeLists == null) {
brandCodeLists = new ArrayList();
}
return this.brandCodeLists;
}
/**
* Gets the value of the moreDataEchoToken property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMoreDataEchoToken() {
return moreDataEchoToken;
}
/**
* Sets the value of the moreDataEchoToken property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMoreDataEchoToken(String value) {
this.moreDataEchoToken = value;
}
/**
* Gets the value of the applicableDate property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocalDate getApplicableDate() {
return applicableDate;
}
/**
* Sets the value of the applicableDate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setApplicableDate(LocalDate value) {
this.applicableDate = value;
}
}
}
}