package com.ejie.ab04b.webservice.client.aa66;

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;

/**
 * <p>
 * Java class for situacionEntregaRemesaWs complex type.
 * 
 * <p>
 * The following schema fragment specifies the expected content contained within
 * this class.
 * 
 * <pre>
 * &lt;complexType name="situacionEntregaRemesaWs">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="idremesa" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="situacionEntrega" type="{http://com.ejie.aa66}situacionEntregaWs" maxOccurs="unbounded"/>
 *         &lt;element name="resultado" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="error" type="{http://com.ejie.aa66}errorWs"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * @author GFI-NORTE
 */
@XmlAccessorType(value = XmlAccessType.FIELD)
@XmlType(name = "situacionEntregaRemesaWs", propOrder = { "idremesa",
		"situacionEntrega", "resultado", "error" })
public class SituacionEntregaRemesaWs {

	private int idremesa;
	@XmlElement(required = true)
	private List<SituacionEntregaWs> situacionEntrega;
	private int resultado;
	@XmlElement(required = true)
	private ErrorWs error;

	/**
	 * Gets the value of the idremesa property.
	 * 
	 * @return int
	 */
	public int getIdremesa() {
		return this.idremesa;
	}

	/**
	 * Sets the value of the idremesa property.
	 * 
	 * @param value
	 *            int
	 */
	public void setIdremesa(int value) {
		this.idremesa = value;
	}

	/**
	 * Gets the value of the situacionEntrega 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 situacionEntrega property.
	 * 
	 * <p>
	 * For example, to add a new item, do as follows:
	 * 
	 * <pre>
	 * getSituacionEntrega().add(newItem);
	 * </pre>
	 * 
	 * 
	 * <p>
	 * Objects of the following type(s) are allowed in the list
	 * {@link SituacionEntregaWs }
	 * 
	 * @return List<SituacionEntregaWs>
	 */
	public List<SituacionEntregaWs> getSituacionEntrega() {
		if (this.situacionEntrega == null) {
			this.situacionEntrega = new ArrayList<SituacionEntregaWs>();
		}
		return this.situacionEntrega;
	}

	/**
	 * Gets the value of the resultado property.
	 * 
	 * @return int
	 */
	public int getResultado() {
		return this.resultado;
	}

	/**
	 * Sets the value of the resultado property.
	 * 
	 * @param value
	 *            int
	 */
	public void setResultado(int value) {
		this.resultado = value;
	}

	/**
	 * Gets the value of the error property.
	 * 
	 * @return possible object is {@link ErrorWs }
	 * 
	 */
	public ErrorWs getError() {
		return this.error;
	}

	/**
	 * Sets the value of the error property.
	 * 
	 * @param value
	 *            allowed object is {@link ErrorWs }
	 * 
	 */
	public void setError(ErrorWs value) {
		this.error = value;
	}

}
