DatiDocumentiCorrelatiType.java

  1. /*
  2.  * GovWay - A customizable API Gateway
  3.  * https://govway.org
  4.  *
  5.  * Copyright (c) 2005-2025 Link.it srl (https://link.it).
  6.  *
  7.  * This program is free software: you can redistribute it and/or modify
  8.  * it under the terms of the GNU General Public License version 3, as published by
  9.  * the Free Software Foundation.
  10.  *
  11.  * This program is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  * GNU General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU General Public License
  17.  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  18.  *
  19.  */
  20. package it.gov.fatturapa.sdi.fatturapa.v1_0;

  21. import javax.xml.bind.annotation.XmlAccessType;
  22. import javax.xml.bind.annotation.XmlAccessorType;
  23. import javax.xml.bind.annotation.XmlElement;
  24. import javax.xml.bind.annotation.XmlRootElement;
  25. import javax.xml.bind.annotation.XmlType;
  26. import java.io.Serializable;
  27. import java.util.ArrayList;
  28. import java.util.List;


  29. /** <p>Java class for DatiDocumentiCorrelatiType complex type.
  30.  *
  31.  * <p>The following schema fragment specifies the expected content contained within this class.
  32.  *
  33.  * <pre>
  34.  * &lt;complexType name="DatiDocumentiCorrelatiType"&gt;
  35.  *      &lt;sequence&gt;
  36.  *          &lt;element name="RiferimentoNumeroLinea" type="{http://www.fatturapa.gov.it/sdi/fatturapa/v1.0}integer" minOccurs="0" maxOccurs="unbounded"/&gt;
  37.  *          &lt;element name="IdDocumento" type="{http://www.fatturapa.gov.it/sdi/fatturapa/v1.0}normalizedString" minOccurs="1" maxOccurs="1"/&gt;
  38.  *          &lt;element name="Data" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0" maxOccurs="1"/&gt;
  39.  *          &lt;element name="NumItem" type="{http://www.fatturapa.gov.it/sdi/fatturapa/v1.0}normalizedString" minOccurs="0" maxOccurs="1"/&gt;
  40.  *          &lt;element name="CodiceCommessaConvenzione" type="{http://www.fatturapa.gov.it/sdi/fatturapa/v1.0}normalizedString" minOccurs="0" maxOccurs="1"/&gt;
  41.  *          &lt;element name="CodiceCUP" type="{http://www.fatturapa.gov.it/sdi/fatturapa/v1.0}normalizedString" minOccurs="0" maxOccurs="1"/&gt;
  42.  *          &lt;element name="CodiceCIG" type="{http://www.fatturapa.gov.it/sdi/fatturapa/v1.0}normalizedString" minOccurs="0" maxOccurs="1"/&gt;
  43.  *      &lt;/sequence&gt;
  44.  * &lt;/complexType&gt;
  45.  * </pre>
  46.  *
  47.  * @version $Rev$, $Date$
  48.  *
  49.  * @author Poli Andrea (poli@link.it)
  50.  * @author $Author$
  51.  * */

  52. @XmlAccessorType(XmlAccessType.FIELD)
  53. @XmlType(name = "DatiDocumentiCorrelatiType",
  54.   propOrder = {
  55.     "riferimentoNumeroLinea",
  56.     "idDocumento",
  57.     "data",
  58.     "numItem",
  59.     "codiceCommessaConvenzione",
  60.     "codiceCUP",
  61.     "codiceCIG"
  62.   }
  63. )

  64. @XmlRootElement(name = "DatiDocumentiCorrelatiType")

  65. public class DatiDocumentiCorrelatiType extends org.openspcoop2.utils.beans.BaseBean implements Serializable , Cloneable {
  66.   public DatiDocumentiCorrelatiType() {
  67.     super();
  68.   }

  69.   public void addRiferimentoNumeroLinea(java.math.BigInteger riferimentoNumeroLinea) {
  70.     this.riferimentoNumeroLinea.add(riferimentoNumeroLinea);
  71.   }

  72.   public java.math.BigInteger getRiferimentoNumeroLinea(int index) {
  73.     return this.riferimentoNumeroLinea.get( index );
  74.   }

  75.   public java.math.BigInteger removeRiferimentoNumeroLinea(int index) {
  76.     return this.riferimentoNumeroLinea.remove( index );
  77.   }

  78.   public List<java.math.BigInteger> getRiferimentoNumeroLineaList() {
  79.     return this.riferimentoNumeroLinea;
  80.   }

  81.   public void setRiferimentoNumeroLineaList(List<java.math.BigInteger> riferimentoNumeroLinea) {
  82.     this.riferimentoNumeroLinea=riferimentoNumeroLinea;
  83.   }

  84.   public int sizeRiferimentoNumeroLineaList() {
  85.     return this.riferimentoNumeroLinea.size();
  86.   }

  87.   public java.lang.String getIdDocumento() {
  88.     return this.idDocumento;
  89.   }

  90.   public void setIdDocumento(java.lang.String idDocumento) {
  91.     this.idDocumento = idDocumento;
  92.   }

  93.   public java.util.Date getData() {
  94.     return this.data;
  95.   }

  96.   public void setData(java.util.Date data) {
  97.     this.data = data;
  98.   }

  99.   public java.lang.String getNumItem() {
  100.     return this.numItem;
  101.   }

  102.   public void setNumItem(java.lang.String numItem) {
  103.     this.numItem = numItem;
  104.   }

  105.   public java.lang.String getCodiceCommessaConvenzione() {
  106.     return this.codiceCommessaConvenzione;
  107.   }

  108.   public void setCodiceCommessaConvenzione(java.lang.String codiceCommessaConvenzione) {
  109.     this.codiceCommessaConvenzione = codiceCommessaConvenzione;
  110.   }

  111.   public java.lang.String getCodiceCUP() {
  112.     return this.codiceCUP;
  113.   }

  114.   public void setCodiceCUP(java.lang.String codiceCUP) {
  115.     this.codiceCUP = codiceCUP;
  116.   }

  117.   public java.lang.String getCodiceCIG() {
  118.     return this.codiceCIG;
  119.   }

  120.   public void setCodiceCIG(java.lang.String codiceCIG) {
  121.     this.codiceCIG = codiceCIG;
  122.   }

  123.   private static final long serialVersionUID = 1L;



  124.   @javax.xml.bind.annotation.XmlSchemaType(name="integer")
  125.   @XmlElement(name="RiferimentoNumeroLinea",required=true,nillable=false)
  126.   private List<java.math.BigInteger> riferimentoNumeroLinea = new ArrayList<>();

  127.   /**
  128.    * Use method getRiferimentoNumeroLineaList
  129.    * @return List&lt;java.math.BigInteger&gt;
  130.   */
  131.   public List<java.math.BigInteger> getRiferimentoNumeroLinea() {
  132.     return this.getRiferimentoNumeroLineaList();
  133.   }

  134.   /**
  135.    * Use method setRiferimentoNumeroLineaList
  136.    * @param riferimentoNumeroLinea List&lt;java.math.BigInteger&gt;
  137.   */
  138.   public void setRiferimentoNumeroLinea(List<java.math.BigInteger> riferimentoNumeroLinea) {
  139.     this.setRiferimentoNumeroLineaList(riferimentoNumeroLinea);
  140.   }

  141.   /**
  142.    * Use method sizeRiferimentoNumeroLineaList
  143.    * @return lunghezza della lista
  144.   */
  145.   public int sizeRiferimentoNumeroLinea() {
  146.     return this.sizeRiferimentoNumeroLineaList();
  147.   }

  148.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(javax.xml.bind.annotation.adapters.NormalizedStringAdapter.class)
  149.   @javax.xml.bind.annotation.XmlSchemaType(name="normalizedString")
  150.   @XmlElement(name="IdDocumento",required=true,nillable=false)
  151.   protected java.lang.String idDocumento;

  152.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(org.openspcoop2.utils.jaxb.Date2String.class)
  153.   @javax.xml.bind.annotation.XmlSchemaType(name="date")
  154.   @XmlElement(name="Data",required=false,nillable=false,type=java.lang.String.class)
  155.   protected java.util.Date data;

  156.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(javax.xml.bind.annotation.adapters.NormalizedStringAdapter.class)
  157.   @javax.xml.bind.annotation.XmlSchemaType(name="normalizedString")
  158.   @XmlElement(name="NumItem",required=false,nillable=false)
  159.   protected java.lang.String numItem;

  160.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(javax.xml.bind.annotation.adapters.NormalizedStringAdapter.class)
  161.   @javax.xml.bind.annotation.XmlSchemaType(name="normalizedString")
  162.   @XmlElement(name="CodiceCommessaConvenzione",required=false,nillable=false)
  163.   protected java.lang.String codiceCommessaConvenzione;

  164.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(javax.xml.bind.annotation.adapters.NormalizedStringAdapter.class)
  165.   @javax.xml.bind.annotation.XmlSchemaType(name="normalizedString")
  166.   @XmlElement(name="CodiceCUP",required=false,nillable=false)
  167.   protected java.lang.String codiceCUP;

  168.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(javax.xml.bind.annotation.adapters.NormalizedStringAdapter.class)
  169.   @javax.xml.bind.annotation.XmlSchemaType(name="normalizedString")
  170.   @XmlElement(name="CodiceCIG",required=false,nillable=false)
  171.   protected java.lang.String codiceCIG;

  172. }