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 zipRemesaWs complex type.
 * 
 * <p>
 * The following schema fragment specifies the expected content contained within
 * this class.
 * 
 * <pre>
 * &lt;complexType name="zipRemesaWs">
 *   &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="ficheroZip" type="{http://www.w3.org/2001/XMLSchema}base64Binary" 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 = "zipRemesaWs", propOrder = { "idremesa", "ficheroZip",
		"resultado", "error" })
public class ZipRemesaWs {

	private int idremesa;
	@XmlElement(required = true)
	private List<byte[]> ficheroZip;
	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 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 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;
	}

}
