DatiBeniServiziType.java

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

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;


/** <p>Java class for DatiBeniServiziType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="DatiBeniServiziType"&gt;
 * 		&lt;sequence&gt;
 * 			&lt;element name="DettaglioLinee" type="{http://www.fatturapa.gov.it/sdi/fatturapa/v1.0}DettaglioLineeType" minOccurs="1" maxOccurs="unbounded"/&gt;
 * 			&lt;element name="DatiRiepilogo" type="{http://www.fatturapa.gov.it/sdi/fatturapa/v1.0}DatiRiepilogoType" minOccurs="1" maxOccurs="unbounded"/&gt;
 * 		&lt;/sequence&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * @version $Rev$, $Date$
 * 
 * @author Poli Andrea (poli@link.it)
 * @author $Author$
 * */

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DatiBeniServiziType", 
  propOrder = {
  	"dettaglioLinee",
  	"datiRiepilogo"
  }
)

@XmlRootElement(name = "DatiBeniServiziType")

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

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

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

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

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

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

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

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

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

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

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

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

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

  private static final long serialVersionUID = 1L;



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

  /**
   * Use method getDettaglioLineeList
   * @return List&lt;DettaglioLineeType&gt;
  */
  public List<DettaglioLineeType> getDettaglioLinee() {
  	return this.getDettaglioLineeList();
  }

  /**
   * Use method setDettaglioLineeList
   * @param dettaglioLinee List&lt;DettaglioLineeType&gt;
  */
  public void setDettaglioLinee(List<DettaglioLineeType> dettaglioLinee) {
  	this.setDettaglioLineeList(dettaglioLinee);
  }

  /**
   * Use method sizeDettaglioLineeList
   * @return lunghezza della lista
  */
  public int sizeDettaglioLinee() {
  	return this.sizeDettaglioLineeList();
  }

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

  /**
   * Use method getDatiRiepilogoList
   * @return List&lt;DatiRiepilogoType&gt;
  */
  public List<DatiRiepilogoType> getDatiRiepilogo() {
  	return this.getDatiRiepilogoList();
  }

  /**
   * Use method setDatiRiepilogoList
   * @param datiRiepilogo List&lt;DatiRiepilogoType&gt;
  */
  public void setDatiRiepilogo(List<DatiRiepilogoType> datiRiepilogo) {
  	this.setDatiRiepilogoList(datiRiepilogo);
  }

  /**
   * Use method sizeDatiRiepilogoList
   * @return lunghezza della lista
  */
  public int sizeDatiRiepilogo() {
  	return this.sizeDatiRiepilogoList();
  }

}