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

travel.wink.ws.allotz.OTAPingRS Maven / Gradle / Ivy

The newest version!

package travel.wink.ws.allotz;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import javax.xml.datatype.XMLGregorianCalendar;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlElements;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * 

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

{@code
 * 
 *   
 *     
 *       
 *         
 *           
 *           
 *           
 *         
 *         
 *       
 *       
 *     
 *   
 * 
 * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "successAndWarningsAndEchoData", "errors" }) @XmlRootElement(name = "OTA_PingRS") public class OTAPingRS { @XmlElements({ @XmlElement(name = "Success", type = SuccessType.class), @XmlElement(name = "Warnings", type = WarningsType.class), @XmlElement(name = "EchoData", type = String.class) }) protected List successAndWarningsAndEchoData; @XmlElement(name = "Errors") protected ErrorsType errors; @XmlAttribute(name = "EchoToken") protected String echoToken; @XmlAttribute(name = "TimeStamp") @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar timeStamp; @XmlAttribute(name = "Target") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) 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") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String transactionStatusCode; @XmlAttribute(name = "RetransmissionIndicator") protected Boolean retransmissionIndicator; @XmlAttribute(name = "CorrelationID") protected String correlationID; @XmlAttribute(name = "AltLangID") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "language") protected String altLangID; @XmlAttribute(name = "PrimaryLangID") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "language") protected String primaryLangID; /** * Gets the value of the successAndWarningsAndEchoData 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 Jakarta XML Binding object. * This is why there is not a {@code set} method for the successAndWarningsAndEchoData property. * *

* For example, to add a new item, do as follows: *

     *    getSuccessAndWarningsAndEchoData().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * {@link SuccessType } * {@link WarningsType } * * * @return * The value of the successAndWarningsAndEchoData property. */ public List getSuccessAndWarningsAndEchoData() { if (successAndWarningsAndEchoData == null) { successAndWarningsAndEchoData = new ArrayList<>(); } return this.successAndWarningsAndEchoData; } /** * Gets the value of the errors property. * * @return * possible object is * {@link ErrorsType } * */ public ErrorsType getErrors() { return errors; } /** * Sets the value of the errors property. * * @param value * allowed object is * {@link ErrorsType } * */ public void setErrors(ErrorsType value) { this.errors = 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 XMLGregorianCalendar } * */ public XMLGregorianCalendar getTimeStamp() { return timeStamp; } /** * Sets the value of the timeStamp property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setTimeStamp(XMLGregorianCalendar 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 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; } /** * 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; } }