Fruitore.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.commons.search;

  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 fruitore complex type.
  28.  *
  29.  * <p>The following schema fragment specifies the expected content contained within this class.
  30.  *
  31.  * <pre>
  32.  * &lt;complexType name="fruitore"&gt;
  33.  *      &lt;sequence&gt;
  34.  *          &lt;element name="id-fruitore" type="{http://www.openspcoop2.org/core/commons/search}id-soggetto" minOccurs="1" maxOccurs="1"/&gt;
  35.  *          &lt;element name="id-accordo-servizio-parte-specifica" type="{http://www.openspcoop2.org/core/commons/search}id-accordo-servizio-parte-specifica" minOccurs="1" maxOccurs="1"/&gt;
  36.  *          &lt;element name="ora-registrazione" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="1" maxOccurs="1"/&gt;
  37.  *      &lt;/sequence&gt;
  38.  * &lt;/complexType&gt;
  39.  * </pre>
  40.  *
  41.  * @version $Rev$, $Date$
  42.  *
  43.  * @author Poli Andrea (poli@link.it)
  44.  * @author $Author$
  45.  * */

  46. @XmlAccessorType(XmlAccessType.FIELD)
  47. @XmlType(name = "fruitore",
  48.   propOrder = {
  49.     "idFruitore",
  50.     "idAccordoServizioParteSpecifica",
  51.     "oraRegistrazione"
  52.   }
  53. )

  54. @XmlRootElement(name = "fruitore")

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

  59.   public IdSoggetto getIdFruitore() {
  60.     return this.idFruitore;
  61.   }

  62.   public void setIdFruitore(IdSoggetto idFruitore) {
  63.     this.idFruitore = idFruitore;
  64.   }

  65.   public IdAccordoServizioParteSpecifica getIdAccordoServizioParteSpecifica() {
  66.     return this.idAccordoServizioParteSpecifica;
  67.   }

  68.   public void setIdAccordoServizioParteSpecifica(IdAccordoServizioParteSpecifica idAccordoServizioParteSpecifica) {
  69.     this.idAccordoServizioParteSpecifica = idAccordoServizioParteSpecifica;
  70.   }

  71.   public java.util.Date getOraRegistrazione() {
  72.     return this.oraRegistrazione;
  73.   }

  74.   public void setOraRegistrazione(java.util.Date oraRegistrazione) {
  75.     this.oraRegistrazione = oraRegistrazione;
  76.   }

  77.   private static final long serialVersionUID = 1L;

  78.   private static org.openspcoop2.core.commons.search.model.FruitoreModel modelStaticInstance = null;
  79.   private static synchronized void initModelStaticInstance(){
  80.       if(org.openspcoop2.core.commons.search.Fruitore.modelStaticInstance==null){
  81.             org.openspcoop2.core.commons.search.Fruitore.modelStaticInstance = new org.openspcoop2.core.commons.search.model.FruitoreModel();
  82.       }
  83.   }
  84.   public static org.openspcoop2.core.commons.search.model.FruitoreModel model(){
  85.       if(org.openspcoop2.core.commons.search.Fruitore.modelStaticInstance==null){
  86.             initModelStaticInstance();
  87.       }
  88.       return org.openspcoop2.core.commons.search.Fruitore.modelStaticInstance;
  89.   }


  90.   @XmlElement(name="id-fruitore",required=true,nillable=false)
  91.   protected IdSoggetto idFruitore;

  92.   @XmlElement(name="id-accordo-servizio-parte-specifica",required=true,nillable=false)
  93.   protected IdAccordoServizioParteSpecifica idAccordoServizioParteSpecifica;

  94.   @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(org.openspcoop2.utils.jaxb.DateTime2String.class)
  95.   @javax.xml.bind.annotation.XmlSchemaType(name="dateTime")
  96.   @XmlElement(name="ora-registrazione",required=true,nillable=false,type=java.lang.String.class)
  97.   protected java.util.Date oraRegistrazione;

  98. }