Busta.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 org.openspcoop2.pdd.monitor;

  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. /** <p>Java class for busta complex type.
  28.  *
  29.  * <p>The following schema fragment specifies the expected content contained within this class.
  30.  *
  31.  * <pre>
  32.  * &lt;complexType name="busta"&gt;
  33.  *      &lt;sequence&gt;
  34.  *          &lt;element name="attesa-riscontro" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0" maxOccurs="1" default="false"/&gt;
  35.  *          &lt;element name="mittente" type="{http://www.openspcoop2.org/pdd/monitor}busta-soggetto" minOccurs="0" maxOccurs="1"/&gt;
  36.  *          &lt;element name="destinatario" type="{http://www.openspcoop2.org/pdd/monitor}busta-soggetto" minOccurs="0" maxOccurs="1"/&gt;
  37.  *          &lt;element name="servizio" type="{http://www.openspcoop2.org/pdd/monitor}busta-servizio" minOccurs="0" maxOccurs="1"/&gt;
  38.  *          &lt;element name="azione" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  39.  *          &lt;element name="profilo-collaborazione" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  40.  *          &lt;element name="collaborazione" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  41.  *          &lt;element name="riferimento-messaggio" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  42.  *      &lt;/sequence&gt;
  43.  * &lt;/complexType&gt;
  44.  * </pre>
  45.  *
  46.  * @version $Rev$, $Date$
  47.  *
  48.  * @author Poli Andrea (poli@link.it)
  49.  * @author $Author$
  50.  * */

  51. @XmlAccessorType(XmlAccessType.FIELD)
  52. @XmlType(name = "busta",
  53.   propOrder = {
  54.     "attesaRiscontro",
  55.     "mittente",
  56.     "destinatario",
  57.     "servizio",
  58.     "azione",
  59.     "profiloCollaborazione",
  60.     "collaborazione",
  61.     "riferimentoMessaggio"
  62.   }
  63. )

  64. @XmlRootElement(name = "busta")

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

  69.   public boolean isAttesaRiscontro() {
  70.     return this.attesaRiscontro;
  71.   }

  72.   public boolean getAttesaRiscontro() {
  73.     return this.attesaRiscontro;
  74.   }

  75.   public void setAttesaRiscontro(boolean attesaRiscontro) {
  76.     this.attesaRiscontro = attesaRiscontro;
  77.   }

  78.   public BustaSoggetto getMittente() {
  79.     return this.mittente;
  80.   }

  81.   public void setMittente(BustaSoggetto mittente) {
  82.     this.mittente = mittente;
  83.   }

  84.   public BustaSoggetto getDestinatario() {
  85.     return this.destinatario;
  86.   }

  87.   public void setDestinatario(BustaSoggetto destinatario) {
  88.     this.destinatario = destinatario;
  89.   }

  90.   public BustaServizio getServizio() {
  91.     return this.servizio;
  92.   }

  93.   public void setServizio(BustaServizio servizio) {
  94.     this.servizio = servizio;
  95.   }

  96.   public java.lang.String getAzione() {
  97.     return this.azione;
  98.   }

  99.   public void setAzione(java.lang.String azione) {
  100.     this.azione = azione;
  101.   }

  102.   public java.lang.String getProfiloCollaborazione() {
  103.     return this.profiloCollaborazione;
  104.   }

  105.   public void setProfiloCollaborazione(java.lang.String profiloCollaborazione) {
  106.     this.profiloCollaborazione = profiloCollaborazione;
  107.   }

  108.   public java.lang.String getCollaborazione() {
  109.     return this.collaborazione;
  110.   }

  111.   public void setCollaborazione(java.lang.String collaborazione) {
  112.     this.collaborazione = collaborazione;
  113.   }

  114.   public java.lang.String getRiferimentoMessaggio() {
  115.     return this.riferimentoMessaggio;
  116.   }

  117.   public void setRiferimentoMessaggio(java.lang.String riferimentoMessaggio) {
  118.     this.riferimentoMessaggio = riferimentoMessaggio;
  119.   }

  120.   private static final long serialVersionUID = 1L;



  121.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  122.   @XmlElement(name="attesa-riscontro",required=false,nillable=false,defaultValue="false")
  123.   protected boolean attesaRiscontro = false;

  124.   @XmlElement(name="mittente",required=false,nillable=false)
  125.   protected BustaSoggetto mittente;

  126.   @XmlElement(name="destinatario",required=false,nillable=false)
  127.   protected BustaSoggetto destinatario;

  128.   @XmlElement(name="servizio",required=false,nillable=false)
  129.   protected BustaServizio servizio;

  130.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  131.   @XmlElement(name="azione",required=false,nillable=false)
  132.   protected java.lang.String azione;

  133.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  134.   @XmlElement(name="profilo-collaborazione",required=false,nillable=false)
  135.   protected java.lang.String profiloCollaborazione;

  136.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  137.   @XmlElement(name="collaborazione",required=false,nillable=false)
  138.   protected java.lang.String collaborazione;

  139.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  140.   @XmlElement(name="riferimento-messaggio",required=false,nillable=false)
  141.   protected java.lang.String riferimentoMessaggio;

  142. }