org.omg.spec.bpmn.model.TChoreographyActivity Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.2
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2020.10.05 at 10:10:30 AM UTC
//
package org.omg.spec.bpmn.model;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.namespace.QName;
/**
* Java class for tChoreographyActivity complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="tChoreographyActivity">
* <complexContent>
* <extension base="{http://www.omg.org/spec/BPMN/20100524/MODEL}tFlowNode">
* <sequence>
* <element name="participantRef" type="{http://www.w3.org/2001/XMLSchema}QName" maxOccurs="unbounded" minOccurs="2"/>
* <element ref="{http://www.omg.org/spec/BPMN/20100524/MODEL}correlationKey" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="initiatingParticipantRef" use="required" type="{http://www.w3.org/2001/XMLSchema}QName" />
* <attribute name="loopType" type="{http://www.omg.org/spec/BPMN/20100524/MODEL}tChoreographyLoopType" default="None" />
* <anyAttribute processContents='lax' namespace='##other'/>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "tChoreographyActivity", propOrder = {
"participantRef",
"correlationKey"
})
@XmlSeeAlso({
TCallChoreography.class,
TChoreographyTask.class,
TSubChoreography.class
})
public abstract class TChoreographyActivity
extends TFlowNode
{
@XmlElement(required = true)
protected List participantRef;
protected List correlationKey;
@XmlAttribute(name = "initiatingParticipantRef", required = true)
protected QName initiatingParticipantRef;
@XmlAttribute(name = "loopType")
protected TChoreographyLoopType loopType;
/**
* Gets the value of the participantRef property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the participantRef property.
*
*
* For example, to add a new item, do as follows:
*
* getParticipantRef().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link QName }
*
*
*/
public List getParticipantRef() {
if (participantRef == null) {
participantRef = new ArrayList();
}
return this.participantRef;
}
/**
* Gets the value of the correlationKey property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the correlationKey property.
*
*
* For example, to add a new item, do as follows:
*
* getCorrelationKey().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TCorrelationKey }
*
*
*/
public List getCorrelationKey() {
if (correlationKey == null) {
correlationKey = new ArrayList();
}
return this.correlationKey;
}
/**
* Gets the value of the initiatingParticipantRef property.
*
* @return
* possible object is
* {@link QName }
*
*/
public QName getInitiatingParticipantRef() {
return initiatingParticipantRef;
}
/**
* Sets the value of the initiatingParticipantRef property.
*
* @param value
* allowed object is
* {@link QName }
*
*/
public void setInitiatingParticipantRef(QName value) {
this.initiatingParticipantRef = value;
}
/**
* Gets the value of the loopType property.
*
* @return
* possible object is
* {@link TChoreographyLoopType }
*
*/
public TChoreographyLoopType getLoopType() {
if (loopType == null) {
return TChoreographyLoopType.NONE;
} else {
return loopType;
}
}
/**
* Sets the value of the loopType property.
*
* @param value
* allowed object is
* {@link TChoreographyLoopType }
*
*/
public void setLoopType(TChoreographyLoopType value) {
this.loopType = value;
}
}