TransitionType.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.ActivationType;
  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.XmlElement;
  26. import javax.xml.bind.annotation.XmlRootElement;
  27. import javax.xml.bind.annotation.XmlType;
  28. import java.io.Serializable;


  29. /** <p>Java class for transitionType complex type.
  30.  *
  31.  * <p>The following schema fragment specifies the expected content contained within this class.
  32.  *
  33.  * <pre>
  34.  * &lt;complexType name="transitionType"&gt;
  35.  *      &lt;sequence&gt;
  36.  *          &lt;element name="activationMode" type="{http://spcoop.gov.it/sica/wsbl}activationType" minOccurs="1" maxOccurs="1"/&gt;
  37.  *          &lt;element name="completionMode" type="{http://spcoop.gov.it/sica/wsbl}completionModeType" minOccurs="1" maxOccurs="1"/&gt;
  38.  *          &lt;element name="guard" type="{http://spcoop.gov.it/sica/wsbl}guardType" minOccurs="0" maxOccurs="1"/&gt;
  39.  *          &lt;element name="events" type="{http://spcoop.gov.it/sica/wsbl}eventListType" minOccurs="0" maxOccurs="1"/&gt;
  40.  *          &lt;element name="temporalCondition" type="{http://spcoop.gov.it/sica/wsbl}temporalConditionType" minOccurs="0" maxOccurs="1"/&gt;
  41.  *      &lt;/sequence&gt;
  42.  *      &lt;attribute name="name" type="{http://spcoop.gov.it/sica/wsbl}string" use="required"/&gt;
  43.  *      &lt;attribute name="source" type="{http://spcoop.gov.it/sica/wsbl}string" use="required"/&gt;
  44.  *      &lt;attribute name="target" type="{http://spcoop.gov.it/sica/wsbl}string" use="required"/&gt;
  45.  * &lt;/complexType&gt;
  46.  * </pre>
  47.  *
  48.  * @version $Rev$, $Date$
  49.  *
  50.  * @author Poli Andrea (poli@link.it)
  51.  * @author $Author$
  52.  * */

  53. @XmlAccessorType(XmlAccessType.FIELD)
  54. @XmlType(name = "transitionType",
  55.   propOrder = {
  56.     "activationMode",
  57.     "completionMode",
  58.     "guard",
  59.     "events",
  60.     "temporalCondition"
  61.   }
  62. )

  63. @XmlRootElement(name = "transitionType")

  64. public class TransitionType extends org.openspcoop2.utils.beans.BaseBean implements Serializable , Cloneable {
  65.   public TransitionType() {
  66.     super();
  67.   }

  68.   public void setActivationModeRawEnumValue(String value) {
  69.     this.activationMode = (ActivationType) ActivationType.toEnumConstantFromString(value);
  70.   }

  71.   public String getActivationModeRawEnumValue() {
  72.     if(this.activationMode == null){
  73.         return null;
  74.     }else{
  75.         return this.activationMode.toString();
  76.     }
  77.   }

  78.   public it.gov.spcoop.sica.wsbl.constants.ActivationType getActivationMode() {
  79.     return this.activationMode;
  80.   }

  81.   public void setActivationMode(it.gov.spcoop.sica.wsbl.constants.ActivationType activationMode) {
  82.     this.activationMode = activationMode;
  83.   }

  84.   public CompletionModeType getCompletionMode() {
  85.     return this.completionMode;
  86.   }

  87.   public void setCompletionMode(CompletionModeType completionMode) {
  88.     this.completionMode = completionMode;
  89.   }

  90.   public GuardType getGuard() {
  91.     return this.guard;
  92.   }

  93.   public void setGuard(GuardType guard) {
  94.     this.guard = guard;
  95.   }

  96.   public EventListType getEvents() {
  97.     return this.events;
  98.   }

  99.   public void setEvents(EventListType events) {
  100.     this.events = events;
  101.   }

  102.   public TemporalConditionType getTemporalCondition() {
  103.     return this.temporalCondition;
  104.   }

  105.   public void setTemporalCondition(TemporalConditionType temporalCondition) {
  106.     this.temporalCondition = temporalCondition;
  107.   }

  108.   public java.lang.String getName() {
  109.     return this.name;
  110.   }

  111.   public void setName(java.lang.String name) {
  112.     this.name = name;
  113.   }

  114.   public java.lang.String getSource() {
  115.     return this.source;
  116.   }

  117.   public void setSource(java.lang.String source) {
  118.     this.source = source;
  119.   }

  120.   public java.lang.String getTarget() {
  121.     return this.target;
  122.   }

  123.   public void setTarget(java.lang.String target) {
  124.     this.target = target;
  125.   }

  126.   private static final long serialVersionUID = 1L;



  127.   @javax.xml.bind.annotation.XmlTransient
  128.   protected java.lang.String activationModeRawEnumValue;

  129.   @XmlElement(name="activationMode",required=true,nillable=false)
  130.   protected ActivationType activationMode;

  131.   @XmlElement(name="completionMode",required=true,nillable=false)
  132.   protected CompletionModeType completionMode;

  133.   @XmlElement(name="guard",required=false,nillable=false)
  134.   protected GuardType guard;

  135.   @XmlElement(name="events",required=false,nillable=false)
  136.   protected EventListType events;

  137.   @XmlElement(name="temporalCondition",required=false,nillable=false)
  138.   protected TemporalConditionType temporalCondition;

  139.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  140.   @XmlAttribute(name="name",required=true)
  141.   protected java.lang.String name;

  142.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  143.   @XmlAttribute(name="source",required=true)
  144.   protected java.lang.String source;

  145.   @javax.xml.bind.annotation.XmlSchemaType(name="string")
  146.   @XmlAttribute(name="target",required=true)
  147.   protected java.lang.String target;

  148. }