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 zipEnvioWs complex type.
 * 
 * <p>
 * The following schema fragment specifies the expected content contained within
 * this class.
 * 
 * <pre>
 * &lt;complexType name="zipEnvioWs">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="idEnvio" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="ficheroZip" type="{http://www.w3.org/2001/XMLSchema}base64Binary" maxOccurs="unbounded"/>
 *         &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 = "zipEnvioWs", propOrder = { "idEnvio", "ficheroZip", "error" })
public class ZipEnvioWs {

	private int idEnvio;
	@XmlElement(required = true)
	private List<byte[]> ficheroZip;
	@XmlElement(required = true)
	private ErrorWs error;

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

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

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

	/**
	 * 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;
	}

}
