com.omgm.speedy.eps.soap.model.ResultOrderPickingInfo Maven / Gradle / Ivy
Show all versions of speedy-eps-java-client-soap Show documentation
package com.omgm.speedy.eps.soap.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.XmlType;
/**
* Java class for resultOrderPickingInfo complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="resultOrderPickingInfo">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="billOfLading" type="{http://www.w3.org/2001/XMLSchema}long"/>
* <element name="errorDescriptions" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
* Instances of this class are returned as a result of create order web service calls
*
* @since 1.0.0
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "resultOrderPickingInfo", propOrder = {
"billOfLading",
"errorDescriptions"
})
public class ResultOrderPickingInfo {
/**
* BOL number
*/
protected long billOfLading;
/**
* A list of validation errors (empty list means there is no problem with this BOL)
*/
@XmlElement(nillable = true)
protected List errorDescriptions;
/**
* Gets the BOL number
* @return BOL number
*/
public long getBillOfLading() {
return billOfLading;
}
/**
* Sets the BOL number
* @param billOfLading BOL number
*/
public void setBillOfLading(long billOfLading) {
this.billOfLading = billOfLading;
}
/**
* Gets the list of validation errors (empty list means there is no problem with this BOL)
*
*
* 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 errorDescriptions property.
*
*
* For example, to add a new item, do as follows:
*
* getErrorDescriptions().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getErrorDescriptions() {
if (errorDescriptions == null) {
errorDescriptions = new ArrayList();
}
return this.errorDescriptions;
}
}