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

  47. @XmlAccessorType(XmlAccessType.FIELD)
  48. @XmlType(name = "DatiBeniServiziType",
  49.   propOrder = {
  50.     "dettaglioLinee",
  51.     "datiRiepilogo"
  52.   }
  53. )

  54. @XmlRootElement(name = "DatiBeniServiziType")

  55. public class DatiBeniServiziType extends org.openspcoop2.utils.beans.BaseBean implements Serializable , Cloneable {
  56.   public DatiBeniServiziType() {
  57.     super();
  58.   }

  59.   public void addDettaglioLinee(DettaglioLineeType dettaglioLinee) {
  60.     this.dettaglioLinee.add(dettaglioLinee);
  61.   }

  62.   public DettaglioLineeType getDettaglioLinee(int index) {
  63.     return this.dettaglioLinee.get( index );
  64.   }

  65.   public DettaglioLineeType removeDettaglioLinee(int index) {
  66.     return this.dettaglioLinee.remove( index );
  67.   }

  68.   public List<DettaglioLineeType> getDettaglioLineeList() {
  69.     return this.dettaglioLinee;
  70.   }

  71.   public void setDettaglioLineeList(List<DettaglioLineeType> dettaglioLinee) {
  72.     this.dettaglioLinee=dettaglioLinee;
  73.   }

  74.   public int sizeDettaglioLineeList() {
  75.     return this.dettaglioLinee.size();
  76.   }

  77.   public void addDatiRiepilogo(DatiRiepilogoType datiRiepilogo) {
  78.     this.datiRiepilogo.add(datiRiepilogo);
  79.   }

  80.   public DatiRiepilogoType getDatiRiepilogo(int index) {
  81.     return this.datiRiepilogo.get( index );
  82.   }

  83.   public DatiRiepilogoType removeDatiRiepilogo(int index) {
  84.     return this.datiRiepilogo.remove( index );
  85.   }

  86.   public List<DatiRiepilogoType> getDatiRiepilogoList() {
  87.     return this.datiRiepilogo;
  88.   }

  89.   public void setDatiRiepilogoList(List<DatiRiepilogoType> datiRiepilogo) {
  90.     this.datiRiepilogo=datiRiepilogo;
  91.   }

  92.   public int sizeDatiRiepilogoList() {
  93.     return this.datiRiepilogo.size();
  94.   }

  95.   private static final long serialVersionUID = 1L;



  96.   @XmlElement(name="DettaglioLinee",required=true,nillable=false)
  97.   private List<DettaglioLineeType> dettaglioLinee = new ArrayList<>();

  98.   /**
  99.    * Use method getDettaglioLineeList
  100.    * @return List&lt;DettaglioLineeType&gt;
  101.   */
  102.   public List<DettaglioLineeType> getDettaglioLinee() {
  103.     return this.getDettaglioLineeList();
  104.   }

  105.   /**
  106.    * Use method setDettaglioLineeList
  107.    * @param dettaglioLinee List&lt;DettaglioLineeType&gt;
  108.   */
  109.   public void setDettaglioLinee(List<DettaglioLineeType> dettaglioLinee) {
  110.     this.setDettaglioLineeList(dettaglioLinee);
  111.   }

  112.   /**
  113.    * Use method sizeDettaglioLineeList
  114.    * @return lunghezza della lista
  115.   */
  116.   public int sizeDettaglioLinee() {
  117.     return this.sizeDettaglioLineeList();
  118.   }

  119.   @XmlElement(name="DatiRiepilogo",required=true,nillable=false)
  120.   private List<DatiRiepilogoType> datiRiepilogo = new ArrayList<>();

  121.   /**
  122.    * Use method getDatiRiepilogoList
  123.    * @return List&lt;DatiRiepilogoType&gt;
  124.   */
  125.   public List<DatiRiepilogoType> getDatiRiepilogo() {
  126.     return this.getDatiRiepilogoList();
  127.   }

  128.   /**
  129.    * Use method setDatiRiepilogoList
  130.    * @param datiRiepilogo List&lt;DatiRiepilogoType&gt;
  131.   */
  132.   public void setDatiRiepilogo(List<DatiRiepilogoType> datiRiepilogo) {
  133.     this.setDatiRiepilogoList(datiRiepilogo);
  134.   }

  135.   /**
  136.    * Use method sizeDatiRiepilogoList
  137.    * @return lunghezza della lista
  138.   */
  139.   public int sizeDatiRiepilogo() {
  140.     return this.sizeDatiRiepilogoList();
  141.   }

  142. }