DatiEventoGenerico.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.eventi;

  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 dati-evento-generico complex type.
  28.  *
  29.  * <p>The following schema fragment specifies the expected content contained within this class.
  30.  *
  31.  * <pre>
  32.  * &lt;complexType name="dati-evento-generico"&gt;
  33.  *      &lt;sequence&gt;
  34.  *          &lt;element name="id-evento" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  35.  *          &lt;element name="data" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0" maxOccurs="1"/&gt;
  36.  *          &lt;element name="descrizione" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&gt;
  37.  *          &lt;element name="dati-consumati-thread" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0" maxOccurs="1"/&gt;
  38.  *          &lt;element name="codice-evento" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0" maxOccurs="1"/&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 = "dati-evento-generico",
  50.   propOrder = {
  51.     "idEvento",
  52.     "data",
  53.     "descrizione",
  54.     "datiConsumatiThread",
  55.     "codiceEvento"
  56.   }
  57. )

  58. @XmlRootElement(name = "dati-evento-generico")

  59. public class DatiEventoGenerico extends org.openspcoop2.utils.beans.BaseBeanWithId implements Serializable , Cloneable {
  60.   public DatiEventoGenerico() {
  61.     super();
  62.   }

  63.   public java.lang.String getIdEvento() {
  64.     return this.idEvento;
  65.   }

  66.   public void setIdEvento(java.lang.String idEvento) {
  67.     this.idEvento = idEvento;
  68.   }

  69.   public java.util.Date getData() {
  70.     return this.data;
  71.   }

  72.   public void setData(java.util.Date data) {
  73.     this.data = data;
  74.   }

  75.   public java.lang.String getDescrizione() {
  76.     return this.descrizione;
  77.   }

  78.   public void setDescrizione(java.lang.String descrizione) {
  79.     this.descrizione = descrizione;
  80.   }

  81.   public boolean isDatiConsumatiThread() {
  82.     return this.datiConsumatiThread;
  83.   }

  84.   public boolean getDatiConsumatiThread() {
  85.     return this.datiConsumatiThread;
  86.   }

  87.   public void setDatiConsumatiThread(boolean datiConsumatiThread) {
  88.     this.datiConsumatiThread = datiConsumatiThread;
  89.   }

  90.   public java.lang.String getCodiceEvento() {
  91.     return this.codiceEvento;
  92.   }

  93.   public void setCodiceEvento(java.lang.String codiceEvento) {
  94.     this.codiceEvento = codiceEvento;
  95.   }

  96.   private static final long serialVersionUID = 1L;



  97.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  98.   @XmlElement(name="id-evento",required=false,nillable=false)
  99.   protected java.lang.String idEvento;

  100.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(org.openspcoop2.utils.jaxb.DateTime2String.class)
  101.   @javax.xml.bind.annotation.XmlSchemaType(name="dateTime")
  102.   @XmlElement(name="data",required=false,nillable=false,type=java.lang.String.class)
  103.   protected java.util.Date data;

  104.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  105.   @XmlElement(name="descrizione",required=false,nillable=false)
  106.   protected java.lang.String descrizione;

  107.   @javax.xml.bind.annotation.XmlSchemaType(name="boolean")
  108.   @XmlElement(name="dati-consumati-thread",required=false,nillable=false)
  109.   protected boolean datiConsumatiThread;

  110.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  111.   @XmlElement(name="codice-evento",required=false,nillable=false)
  112.   protected java.lang.String codiceEvento;

  113. }