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 remesaOutWs complex type.
 * 
 * <p>
 * The following schema fragment specifies the expected content contained within
 * this class.
 * 
 * <pre>
 * &lt;complexType name="remesaOutWs">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="envios" type="{http://com.ejie.aa66}envioOutWs" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="errores" type="{http://com.ejie.aa66}errorWs" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="idremesa" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="codigoRemesa" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="idColeccion" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="codigoColeccion" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * @author GFI-NORTE
 */
@XmlAccessorType(value = XmlAccessType.FIELD)
@XmlType(name = "remesaOutWs", propOrder = { "envios", "errores", "idremesa",
		"codigoRemesa", "idColeccion", "codigoColeccion" })
public class RemesaOutWs {

	private List<EnvioOutWs> envios;
	private List<ErrorWs> errores;
	private int idremesa;
	@XmlElement(required = true)
	private String codigoRemesa;
	private int idColeccion;
	@XmlElement(required = true)
	private String codigoColeccion;

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

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

	/**
	 * 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 codigoRemesa property.
	 * 
	 * @return possible object is {@link String }
	 * 
	 */
	public String getCodigoRemesa() {
		return this.codigoRemesa;
	}

	/**
	 * Sets the value of the codigoRemesa property.
	 * 
	 * @param value
	 *            allowed object is {@link String }
	 * 
	 */
	public void setCodigoRemesa(String value) {
		this.codigoRemesa = value;
	}

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

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

	/**
	 * Gets the value of the codigoColeccion property.
	 * 
	 * @return possible object is {@link String }
	 * 
	 */
	public String getCodigoColeccion() {
		return this.codigoColeccion;
	}

	/**
	 * Sets the value of the codigoColeccion property.
	 * 
	 * @param value
	 *            allowed object is {@link String }
	 * 
	 */
	public void setCodigoColeccion(String value) {
		this.codigoColeccion = value;
	}

}
