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.core.tracciamento;

  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="mittente" type="{http://www.openspcoop2.org/core/tracciamento}soggetto" minOccurs="0" maxOccurs="1"/&gt;
  35.  *          &lt;element name="destinatario" type="{http://www.openspcoop2.org/core/tracciamento}soggetto" minOccurs="0" maxOccurs="1"/&gt;
  36.  *          &lt;element name="profilo-collaborazione" type="{http://www.openspcoop2.org/core/tracciamento}profilo-collaborazione" minOccurs="0" maxOccurs="1"/&gt;
  37.  *          &lt;element name="servizio" type="{http://www.openspcoop2.org/core/tracciamento}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="servizio-correlato" type="{http://www.openspcoop2.org/core/tracciamento}servizio" 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="identificativo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  42.  *          &lt;element name="riferimento-messaggio" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  43.  *          &lt;element name="ora-registrazione" type="{http://www.openspcoop2.org/core/tracciamento}data" minOccurs="0" maxOccurs="1"/&gt;
  44.  *          &lt;element name="scadenza" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0" maxOccurs="1"/&gt;
  45.  *          &lt;element name="profilo-trasmissione" type="{http://www.openspcoop2.org/core/tracciamento}profilo-trasmissione" minOccurs="0" maxOccurs="1"/&gt;
  46.  *          &lt;element name="servizio-applicativo-fruitore" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  47.  *          &lt;element name="servizio-applicativo-erogatore" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  48.  *          &lt;element name="digest" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  49.  *          &lt;element name="trasmissioni" type="{http://www.openspcoop2.org/core/tracciamento}trasmissioni" minOccurs="0" maxOccurs="1"/&gt;
  50.  *          &lt;element name="riscontri" type="{http://www.openspcoop2.org/core/tracciamento}riscontri" minOccurs="0" maxOccurs="1"/&gt;
  51.  *          &lt;element name="eccezioni" type="{http://www.openspcoop2.org/core/tracciamento}eccezioni" minOccurs="0" maxOccurs="1"/&gt;
  52.  *          &lt;element name="protocollo" type="{http://www.openspcoop2.org/core/tracciamento}protocollo" minOccurs="1" maxOccurs="1"/&gt;
  53.  *      &lt;/sequence&gt;
  54.  * &lt;/complexType&gt;
  55.  * </pre>
  56.  *
  57.  * @version $Rev$, $Date$
  58.  *
  59.  * @author Poli Andrea (poli@link.it)
  60.  * @author $Author$
  61.  * */

  62. @XmlAccessorType(XmlAccessType.FIELD)
  63. @XmlType(name = "busta",
  64.   propOrder = {
  65.     "mittente",
  66.     "destinatario",
  67.     "profiloCollaborazione",
  68.     "servizio",
  69.     "azione",
  70.     "servizioCorrelato",
  71.     "collaborazione",
  72.     "identificativo",
  73.     "riferimentoMessaggio",
  74.     "oraRegistrazione",
  75.     "scadenza",
  76.     "profiloTrasmissione",
  77.     "servizioApplicativoFruitore",
  78.     "servizioApplicativoErogatore",
  79.     "digest",
  80.     "trasmissioni",
  81.     "riscontri",
  82.     "eccezioni",
  83.     "protocollo"
  84.   }
  85. )

  86. @XmlRootElement(name = "busta")

  87. public class Busta extends org.openspcoop2.utils.beans.BaseBeanWithId implements Serializable , Cloneable {
  88.   public Busta() {
  89.     super();
  90.   }

  91.   public Soggetto getMittente() {
  92.     return this.mittente;
  93.   }

  94.   public void setMittente(Soggetto mittente) {
  95.     this.mittente = mittente;
  96.   }

  97.   public Soggetto getDestinatario() {
  98.     return this.destinatario;
  99.   }

  100.   public void setDestinatario(Soggetto destinatario) {
  101.     this.destinatario = destinatario;
  102.   }

  103.   public ProfiloCollaborazione getProfiloCollaborazione() {
  104.     return this.profiloCollaborazione;
  105.   }

  106.   public void setProfiloCollaborazione(ProfiloCollaborazione profiloCollaborazione) {
  107.     this.profiloCollaborazione = profiloCollaborazione;
  108.   }

  109.   public Servizio getServizio() {
  110.     return this.servizio;
  111.   }

  112.   public void setServizio(Servizio servizio) {
  113.     this.servizio = servizio;
  114.   }

  115.   public java.lang.String getAzione() {
  116.     return this.azione;
  117.   }

  118.   public void setAzione(java.lang.String azione) {
  119.     this.azione = azione;
  120.   }

  121.   public Servizio getServizioCorrelato() {
  122.     return this.servizioCorrelato;
  123.   }

  124.   public void setServizioCorrelato(Servizio servizioCorrelato) {
  125.     this.servizioCorrelato = servizioCorrelato;
  126.   }

  127.   public java.lang.String getCollaborazione() {
  128.     return this.collaborazione;
  129.   }

  130.   public void setCollaborazione(java.lang.String collaborazione) {
  131.     this.collaborazione = collaborazione;
  132.   }

  133.   public java.lang.String getIdentificativo() {
  134.     return this.identificativo;
  135.   }

  136.   public void setIdentificativo(java.lang.String identificativo) {
  137.     this.identificativo = identificativo;
  138.   }

  139.   public java.lang.String getRiferimentoMessaggio() {
  140.     return this.riferimentoMessaggio;
  141.   }

  142.   public void setRiferimentoMessaggio(java.lang.String riferimentoMessaggio) {
  143.     this.riferimentoMessaggio = riferimentoMessaggio;
  144.   }

  145.   public Data getOraRegistrazione() {
  146.     return this.oraRegistrazione;
  147.   }

  148.   public void setOraRegistrazione(Data oraRegistrazione) {
  149.     this.oraRegistrazione = oraRegistrazione;
  150.   }

  151.   public java.util.Date getScadenza() {
  152.     return this.scadenza;
  153.   }

  154.   public void setScadenza(java.util.Date scadenza) {
  155.     this.scadenza = scadenza;
  156.   }

  157.   public ProfiloTrasmissione getProfiloTrasmissione() {
  158.     return this.profiloTrasmissione;
  159.   }

  160.   public void setProfiloTrasmissione(ProfiloTrasmissione profiloTrasmissione) {
  161.     this.profiloTrasmissione = profiloTrasmissione;
  162.   }

  163.   public java.lang.String getServizioApplicativoFruitore() {
  164.     return this.servizioApplicativoFruitore;
  165.   }

  166.   public void setServizioApplicativoFruitore(java.lang.String servizioApplicativoFruitore) {
  167.     this.servizioApplicativoFruitore = servizioApplicativoFruitore;
  168.   }

  169.   public java.lang.String getServizioApplicativoErogatore() {
  170.     return this.servizioApplicativoErogatore;
  171.   }

  172.   public void setServizioApplicativoErogatore(java.lang.String servizioApplicativoErogatore) {
  173.     this.servizioApplicativoErogatore = servizioApplicativoErogatore;
  174.   }

  175.   public java.lang.String getDigest() {
  176.     return this.digest;
  177.   }

  178.   public void setDigest(java.lang.String digest) {
  179.     this.digest = digest;
  180.   }

  181.   public Trasmissioni getTrasmissioni() {
  182.     return this.trasmissioni;
  183.   }

  184.   public void setTrasmissioni(Trasmissioni trasmissioni) {
  185.     this.trasmissioni = trasmissioni;
  186.   }

  187.   public Riscontri getRiscontri() {
  188.     return this.riscontri;
  189.   }

  190.   public void setRiscontri(Riscontri riscontri) {
  191.     this.riscontri = riscontri;
  192.   }

  193.   public Eccezioni getEccezioni() {
  194.     return this.eccezioni;
  195.   }

  196.   public void setEccezioni(Eccezioni eccezioni) {
  197.     this.eccezioni = eccezioni;
  198.   }

  199.   public Protocollo getProtocollo() {
  200.     return this.protocollo;
  201.   }

  202.   public void setProtocollo(Protocollo protocollo) {
  203.     this.protocollo = protocollo;
  204.   }

  205.   private static final long serialVersionUID = 1L;



  206.   @XmlElement(name="mittente",required=false,nillable=false)
  207.   protected Soggetto mittente;

  208.   @XmlElement(name="destinatario",required=false,nillable=false)
  209.   protected Soggetto destinatario;

  210.   @XmlElement(name="profilo-collaborazione",required=false,nillable=false)
  211.   protected ProfiloCollaborazione profiloCollaborazione;

  212.   @XmlElement(name="servizio",required=false,nillable=false)
  213.   protected Servizio servizio;

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

  217.   @XmlElement(name="servizio-correlato",required=false,nillable=false)
  218.   protected Servizio servizioCorrelato;

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

  222.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  223.   @XmlElement(name="identificativo",required=false,nillable=false)
  224.   protected java.lang.String identificativo;

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

  228.   @XmlElement(name="ora-registrazione",required=false,nillable=false)
  229.   protected Data oraRegistrazione;

  230.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(org.openspcoop2.utils.jaxb.DateTime2String.class)
  231.   @javax.xml.bind.annotation.XmlSchemaType(name="dateTime")
  232.   @XmlElement(name="scadenza",required=false,nillable=false,type=java.lang.String.class)
  233.   protected java.util.Date scadenza;

  234.   @XmlElement(name="profilo-trasmissione",required=false,nillable=false)
  235.   protected ProfiloTrasmissione profiloTrasmissione;

  236.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  237.   @XmlElement(name="servizio-applicativo-fruitore",required=false,nillable=false)
  238.   protected java.lang.String servizioApplicativoFruitore;

  239.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  240.   @XmlElement(name="servizio-applicativo-erogatore",required=false,nillable=false)
  241.   protected java.lang.String servizioApplicativoErogatore;

  242.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  243.   @XmlElement(name="digest",required=false,nillable=false)
  244.   protected java.lang.String digest;

  245.   @XmlElement(name="trasmissioni",required=false,nillable=false)
  246.   protected Trasmissioni trasmissioni;

  247.   @XmlElement(name="riscontri",required=false,nillable=false)
  248.   protected Riscontri riscontri;

  249.   @XmlElement(name="eccezioni",required=false,nillable=false)
  250.   protected Eccezioni eccezioni;

  251.   @XmlElement(name="protocollo",required=true,nillable=false)
  252.   protected Protocollo protocollo;

  253. }