DatiDDTType.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 DatiDDTType complex type.
  30.  *
  31.  * <p>The following schema fragment specifies the expected content contained within this class.
  32.  *
  33.  * <pre>
  34.  * &lt;complexType name="DatiDDTType"&gt;
  35.  *      &lt;sequence&gt;
  36.  *          &lt;element name="NumeroDDT" type="{http://www.fatturapa.gov.it/sdi/fatturapa/v1.0}normalizedString" minOccurs="1" maxOccurs="1"/&gt;
  37.  *          &lt;element name="DataDDT" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="1" maxOccurs="1"/&gt;
  38.  *          &lt;element name="RiferimentoNumeroLinea" type="{http://www.fatturapa.gov.it/sdi/fatturapa/v1.0}integer" minOccurs="0" maxOccurs="unbounded"/&gt;
  39.  *      &lt;/sequence&gt;
  40.  * &lt;/complexType&gt;
  41.  * </pre>
  42.  *
  43.  * @version $Rev$, $Date$
  44.  *
  45.  * @author Poli Andrea (poli@link.it)
  46.  * @author $Author$
  47.  * */

  48. @XmlAccessorType(XmlAccessType.FIELD)
  49. @XmlType(name = "DatiDDTType",
  50.   propOrder = {
  51.     "numeroDDT",
  52.     "dataDDT",
  53.     "riferimentoNumeroLinea"
  54.   }
  55. )

  56. @XmlRootElement(name = "DatiDDTType")

  57. public class DatiDDTType extends org.openspcoop2.utils.beans.BaseBean implements Serializable , Cloneable {
  58.   public DatiDDTType() {
  59.     super();
  60.   }

  61.   public java.lang.String getNumeroDDT() {
  62.     return this.numeroDDT;
  63.   }

  64.   public void setNumeroDDT(java.lang.String numeroDDT) {
  65.     this.numeroDDT = numeroDDT;
  66.   }

  67.   public java.util.Date getDataDDT() {
  68.     return this.dataDDT;
  69.   }

  70.   public void setDataDDT(java.util.Date dataDDT) {
  71.     this.dataDDT = dataDDT;
  72.   }

  73.   public void addRiferimentoNumeroLinea(java.math.BigInteger riferimentoNumeroLinea) {
  74.     this.riferimentoNumeroLinea.add(riferimentoNumeroLinea);
  75.   }

  76.   public java.math.BigInteger getRiferimentoNumeroLinea(int index) {
  77.     return this.riferimentoNumeroLinea.get( index );
  78.   }

  79.   public java.math.BigInteger removeRiferimentoNumeroLinea(int index) {
  80.     return this.riferimentoNumeroLinea.remove( index );
  81.   }

  82.   public List<java.math.BigInteger> getRiferimentoNumeroLineaList() {
  83.     return this.riferimentoNumeroLinea;
  84.   }

  85.   public void setRiferimentoNumeroLineaList(List<java.math.BigInteger> riferimentoNumeroLinea) {
  86.     this.riferimentoNumeroLinea=riferimentoNumeroLinea;
  87.   }

  88.   public int sizeRiferimentoNumeroLineaList() {
  89.     return this.riferimentoNumeroLinea.size();
  90.   }

  91.   private static final long serialVersionUID = 1L;



  92.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(javax.xml.bind.annotation.adapters.NormalizedStringAdapter.class)
  93.   @javax.xml.bind.annotation.XmlSchemaType(name="normalizedString")
  94.   @XmlElement(name="NumeroDDT",required=true,nillable=false)
  95.   protected java.lang.String numeroDDT;

  96.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(org.openspcoop2.utils.jaxb.Date2String.class)
  97.   @javax.xml.bind.annotation.XmlSchemaType(name="date")
  98.   @XmlElement(name="DataDDT",required=true,nillable=false,type=java.lang.String.class)
  99.   protected java.util.Date dataDDT;

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

  103.   /**
  104.    * Use method getRiferimentoNumeroLineaList
  105.    * @return List&lt;java.math.BigInteger&gt;
  106.   */
  107.   public List<java.math.BigInteger> getRiferimentoNumeroLinea() {
  108.     return this.getRiferimentoNumeroLineaList();
  109.   }

  110.   /**
  111.    * Use method setRiferimentoNumeroLineaList
  112.    * @param riferimentoNumeroLinea List&lt;java.math.BigInteger&gt;
  113.   */
  114.   public void setRiferimentoNumeroLinea(List<java.math.BigInteger> riferimentoNumeroLinea) {
  115.     this.setRiferimentoNumeroLineaList(riferimentoNumeroLinea);
  116.   }

  117.   /**
  118.    * Use method sizeRiferimentoNumeroLineaList
  119.    * @return lunghezza della lista
  120.   */
  121.   public int sizeRiferimentoNumeroLinea() {
  122.     return this.sizeRiferimentoNumeroLineaList();
  123.   }

  124. }