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

  45. @XmlAccessorType(XmlAccessType.FIELD)
  46. @XmlType(name = "operation",
  47.   propOrder = {
  48.     "nome",
  49.     "idPortType"
  50.   }
  51. )

  52. @XmlRootElement(name = "operation")

  53. public class Operation extends org.openspcoop2.utils.beans.BaseBeanWithId implements Serializable , Cloneable {
  54.   public Operation() {
  55.     super();
  56.   }

  57.   public java.lang.String getNome() {
  58.     return this.nome;
  59.   }

  60.   public void setNome(java.lang.String nome) {
  61.     this.nome = nome;
  62.   }

  63.   public IdPortType getIdPortType() {
  64.     return this.idPortType;
  65.   }

  66.   public void setIdPortType(IdPortType idPortType) {
  67.     this.idPortType = idPortType;
  68.   }

  69.   private static final long serialVersionUID = 1L;

  70.   private static org.openspcoop2.core.commons.search.model.OperationModel modelStaticInstance = null;
  71.   private static synchronized void initModelStaticInstance(){
  72.       if(org.openspcoop2.core.commons.search.Operation.modelStaticInstance==null){
  73.             org.openspcoop2.core.commons.search.Operation.modelStaticInstance = new org.openspcoop2.core.commons.search.model.OperationModel();
  74.       }
  75.   }
  76.   public static org.openspcoop2.core.commons.search.model.OperationModel model(){
  77.       if(org.openspcoop2.core.commons.search.Operation.modelStaticInstance==null){
  78.             initModelStaticInstance();
  79.       }
  80.       return org.openspcoop2.core.commons.search.Operation.modelStaticInstance;
  81.   }


  82.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  83.   @XmlElement(name="nome",required=true,nillable=false)
  84.   protected java.lang.String nome;

  85.   @XmlElement(name="id-port-type",required=true,nillable=false)
  86.   protected IdPortType idPortType;

  87. }