OperationType.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 it.cnipa.collprofiles;

  21. import it.cnipa.collprofiles.constants.ProfiloDiCollaborazioneType;
  22. import javax.xml.bind.annotation.XmlAccessType;
  23. import javax.xml.bind.annotation.XmlAccessorType;
  24. import javax.xml.bind.annotation.XmlAttribute;
  25. import javax.xml.bind.annotation.XmlRootElement;
  26. import javax.xml.bind.annotation.XmlType;
  27. import java.io.Serializable;


  28. /** <p>Java class for operationType complex type.
  29.  *
  30.  * <p>The following schema fragment specifies the expected content contained within this class.
  31.  *
  32.  * <pre>
  33.  * &lt;complexType name="operationType"&gt;
  34.  *      &lt;attribute name="servizio" type="{http://www.w3.org/2001/XMLSchema}QName" use="required"/&gt;
  35.  *      &lt;attribute name="operazione" type="{http://www.w3.org/2001/XMLSchema}QName" use="required"/&gt;
  36.  *      &lt;attribute name="profiloDiCollaborazione" type="{http://www.cnipa.it/collProfiles}profiloDiCollaborazioneType" use="required"/&gt;
  37.  *      &lt;attribute name="servizioCorrelato" type="{http://www.w3.org/2001/XMLSchema}QName" use="optional"/&gt;
  38.  *      &lt;attribute name="operazioneCorrelata" type="{http://www.w3.org/2001/XMLSchema}QName" use="optional"/&gt;
  39.  * &lt;/complexType&gt;
  40.  * </pre>
  41.  *
  42.  * @version $Rev$, $Date$
  43.  *
  44.  * @author Poli Andrea (poli@link.it)
  45.  * @author $Author$
  46.  * */

  47. @XmlAccessorType(XmlAccessType.FIELD)
  48. @XmlType(name = "operationType")

  49. @XmlRootElement(name = "operationType")

  50. public class OperationType extends org.openspcoop2.utils.beans.BaseBean implements Serializable , Cloneable {
  51.   public OperationType() {
  52.     super();
  53.   }

  54.   public java.lang.String getServizio() {
  55.     return this.servizio;
  56.   }

  57.   public void setServizio(java.lang.String servizio) {
  58.     this.servizio = servizio;
  59.   }

  60.   public java.lang.String getOperazione() {
  61.     return this.operazione;
  62.   }

  63.   public void setOperazione(java.lang.String operazione) {
  64.     this.operazione = operazione;
  65.   }

  66.   public void setProfiloDiCollaborazioneRawEnumValue(String value) {
  67.     this.profiloDiCollaborazione = (ProfiloDiCollaborazioneType) ProfiloDiCollaborazioneType.toEnumConstantFromString(value);
  68.   }

  69.   public String getProfiloDiCollaborazioneRawEnumValue() {
  70.     if(this.profiloDiCollaborazione == null){
  71.         return null;
  72.     }else{
  73.         return this.profiloDiCollaborazione.toString();
  74.     }
  75.   }

  76.   public it.cnipa.collprofiles.constants.ProfiloDiCollaborazioneType getProfiloDiCollaborazione() {
  77.     return this.profiloDiCollaborazione;
  78.   }

  79.   public void setProfiloDiCollaborazione(it.cnipa.collprofiles.constants.ProfiloDiCollaborazioneType profiloDiCollaborazione) {
  80.     this.profiloDiCollaborazione = profiloDiCollaborazione;
  81.   }

  82.   public java.lang.String getServizioCorrelato() {
  83.     return this.servizioCorrelato;
  84.   }

  85.   public void setServizioCorrelato(java.lang.String servizioCorrelato) {
  86.     this.servizioCorrelato = servizioCorrelato;
  87.   }

  88.   public java.lang.String getOperazioneCorrelata() {
  89.     return this.operazioneCorrelata;
  90.   }

  91.   public void setOperazioneCorrelata(java.lang.String operazioneCorrelata) {
  92.     this.operazioneCorrelata = operazioneCorrelata;
  93.   }

  94.   private static final long serialVersionUID = 1L;



  95.   @javax.xml.bind.annotation.XmlSchemaType(name="QName")
  96.   @XmlAttribute(name="servizio",required=true)
  97.   protected java.lang.String servizio;

  98.   @javax.xml.bind.annotation.XmlSchemaType(name="QName")
  99.   @XmlAttribute(name="operazione",required=true)
  100.   protected java.lang.String operazione;

  101.   @javax.xml.bind.annotation.XmlTransient
  102.   protected java.lang.String profiloDiCollaborazioneRawEnumValue;

  103.   @XmlAttribute(name="profiloDiCollaborazione",required=true)
  104.   protected ProfiloDiCollaborazioneType profiloDiCollaborazione;

  105.   @javax.xml.bind.annotation.XmlSchemaType(name="QName")
  106.   @XmlAttribute(name="servizioCorrelato",required=false)
  107.   protected java.lang.String servizioCorrelato;

  108.   @javax.xml.bind.annotation.XmlSchemaType(name="QName")
  109.   @XmlAttribute(name="operazioneCorrelata",required=false)
  110.   protected java.lang.String operazioneCorrelata;

  111. }