CompletionModeType.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.gov.spcoop.sica.wsbl;

  21. import it.gov.spcoop.sica.wsbl.constants.Mode;
  22. import javax.xml.bind.annotation.XmlAccessType;
  23. import javax.xml.bind.annotation.XmlAccessorType;
  24. import javax.xml.bind.annotation.XmlElement;
  25. import javax.xml.bind.annotation.XmlRootElement;
  26. import javax.xml.bind.annotation.XmlType;
  27. import java.io.Serializable;


  28. /** <p>Java class for completionModeType complex type.
  29.  *
  30.  * <p>The following schema fragment specifies the expected content contained within this class.
  31.  *
  32.  * <pre>
  33.  * &lt;complexType name="completionModeType"&gt;
  34.  *      &lt;sequence&gt;
  35.  *          &lt;element name="mode" type="{http://spcoop.gov.it/sica/wsbl}mode" minOccurs="1" maxOccurs="1"/&gt;
  36.  *          &lt;element name="compensateMessage" type="{http://spcoop.gov.it/sica/wsbl}completionModeTypeCompensateMessage" minOccurs="0" 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 = "completionModeType",
  48.   propOrder = {
  49.     "mode",
  50.     "compensateMessage"
  51.   }
  52. )

  53. @XmlRootElement(name = "completionModeType")

  54. public class CompletionModeType extends org.openspcoop2.utils.beans.BaseBean implements Serializable , Cloneable {
  55.   public CompletionModeType() {
  56.     super();
  57.   }

  58.   public void setModeRawEnumValue(String value) {
  59.     this.mode = (Mode) Mode.toEnumConstantFromString(value);
  60.   }

  61.   public String getModeRawEnumValue() {
  62.     if(this.mode == null){
  63.         return null;
  64.     }else{
  65.         return this.mode.toString();
  66.     }
  67.   }

  68.   public it.gov.spcoop.sica.wsbl.constants.Mode getMode() {
  69.     return this.mode;
  70.   }

  71.   public void setMode(it.gov.spcoop.sica.wsbl.constants.Mode mode) {
  72.     this.mode = mode;
  73.   }

  74.   public CompletionModeTypeCompensateMessage getCompensateMessage() {
  75.     return this.compensateMessage;
  76.   }

  77.   public void setCompensateMessage(CompletionModeTypeCompensateMessage compensateMessage) {
  78.     this.compensateMessage = compensateMessage;
  79.   }

  80.   private static final long serialVersionUID = 1L;



  81.   @javax.xml.bind.annotation.XmlTransient
  82.   protected java.lang.String modeRawEnumValue;

  83.   @XmlElement(name="mode",required=true,nillable=false)
  84.   protected Mode mode;

  85.   @XmlElement(name="compensateMessage",required=false,nillable=false)
  86.   protected CompletionModeTypeCompensateMessage compensateMessage;

  87. }