org.omg.spec.bpmn.model.TCollaboration 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.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.namespace.QName;
/**
* Java class for tCollaboration complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="tCollaboration">
* <complexContent>
* <extension base="{http://www.omg.org/spec/BPMN/20100524/MODEL}tRootElement">
* <sequence>
* <element ref="{http://www.omg.org/spec/BPMN/20100524/MODEL}participant" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://www.omg.org/spec/BPMN/20100524/MODEL}messageFlow" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://www.omg.org/spec/BPMN/20100524/MODEL}artifact" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://www.omg.org/spec/BPMN/20100524/MODEL}conversationNode" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://www.omg.org/spec/BPMN/20100524/MODEL}conversationAssociation" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://www.omg.org/spec/BPMN/20100524/MODEL}participantAssociation" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://www.omg.org/spec/BPMN/20100524/MODEL}messageFlowAssociation" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://www.omg.org/spec/BPMN/20100524/MODEL}correlationKey" maxOccurs="unbounded" minOccurs="0"/>
* <element name="choreographyRef" type="{http://www.w3.org/2001/XMLSchema}QName" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://www.omg.org/spec/BPMN/20100524/MODEL}conversationLink" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="isClosed" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* <anyAttribute processContents='lax' namespace='##other'/>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "tCollaboration", propOrder = {
"participant",
"messageFlow",
"artifact",
"conversationNode",
"conversationAssociation",
"participantAssociation",
"messageFlowAssociation",
"correlationKey",
"choreographyRef",
"conversationLink"
})
@XmlSeeAlso({
TChoreography.class,
TGlobalConversation.class
})
public class TCollaboration
extends TRootElement
{
protected List participant;
protected List messageFlow;
@XmlElementRef(name = "artifact", namespace = "http://www.omg.org/spec/BPMN/20100524/MODEL", type = JAXBElement.class, required = false)
protected List> artifact;
@XmlElementRef(name = "conversationNode", namespace = "http://www.omg.org/spec/BPMN/20100524/MODEL", type = JAXBElement.class, required = false)
protected List> conversationNode;
protected List conversationAssociation;
protected List participantAssociation;
protected List messageFlowAssociation;
protected List correlationKey;
protected List choreographyRef;
protected List conversationLink;
@XmlAttribute(name = "name")
protected String name;
@XmlAttribute(name = "isClosed")
protected Boolean isClosed;
/**
* Gets the value of the participant 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 participant property.
*
*
* For example, to add a new item, do as follows:
*
* getParticipant().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TParticipant }
*
*
*/
public List getParticipant() {
if (participant == null) {
participant = new ArrayList();
}
return this.participant;
}
/**
* Gets the value of the messageFlow 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 messageFlow property.
*
*
* For example, to add a new item, do as follows:
*
* getMessageFlow().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TMessageFlow }
*
*
*/
public List getMessageFlow() {
if (messageFlow == null) {
messageFlow = new ArrayList();
}
return this.messageFlow;
}
/**
* Gets the value of the artifact 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 artifact property.
*
*
* For example, to add a new item, do as follows:
*
* getArtifact().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link JAXBElement }{@code <}{@link TGroup }{@code >}
* {@link JAXBElement }{@code <}{@link TAssociation }{@code >}
* {@link JAXBElement }{@code <}{@link TTextAnnotation }{@code >}
* {@link JAXBElement }{@code <}{@link TArtifact }{@code >}
*
*
*/
public List> getArtifact() {
if (artifact == null) {
artifact = new ArrayList>();
}
return this.artifact;
}
/**
* Gets the value of the conversationNode 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 conversationNode property.
*
*
* For example, to add a new item, do as follows:
*
* getConversationNode().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link JAXBElement }{@code <}{@link TSubConversation }{@code >}
* {@link JAXBElement }{@code <}{@link TCallConversation }{@code >}
* {@link JAXBElement }{@code <}{@link TConversation }{@code >}
* {@link JAXBElement }{@code <}{@link TConversationNode }{@code >}
*
*
*/
public List> getConversationNode() {
if (conversationNode == null) {
conversationNode = new ArrayList>();
}
return this.conversationNode;
}
/**
* Gets the value of the conversationAssociation 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 conversationAssociation property.
*
*
* For example, to add a new item, do as follows:
*
* getConversationAssociation().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TConversationAssociation }
*
*
*/
public List getConversationAssociation() {
if (conversationAssociation == null) {
conversationAssociation = new ArrayList();
}
return this.conversationAssociation;
}
/**
* Gets the value of the participantAssociation 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 participantAssociation property.
*
*
* For example, to add a new item, do as follows:
*
* getParticipantAssociation().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TParticipantAssociation }
*
*
*/
public List getParticipantAssociation() {
if (participantAssociation == null) {
participantAssociation = new ArrayList();
}
return this.participantAssociation;
}
/**
* Gets the value of the messageFlowAssociation 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 messageFlowAssociation property.
*
*
* For example, to add a new item, do as follows:
*
* getMessageFlowAssociation().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TMessageFlowAssociation }
*
*
*/
public List getMessageFlowAssociation() {
if (messageFlowAssociation == null) {
messageFlowAssociation = new ArrayList();
}
return this.messageFlowAssociation;
}
/**
* 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 choreographyRef 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 choreographyRef property.
*
*
* For example, to add a new item, do as follows:
*
* getChoreographyRef().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link QName }
*
*
*/
public List getChoreographyRef() {
if (choreographyRef == null) {
choreographyRef = new ArrayList();
}
return this.choreographyRef;
}
/**
* Gets the value of the conversationLink 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 conversationLink property.
*
*
* For example, to add a new item, do as follows:
*
* getConversationLink().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TConversationLink }
*
*
*/
public List getConversationLink() {
if (conversationLink == null) {
conversationLink = new ArrayList();
}
return this.conversationLink;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the isClosed property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isIsClosed() {
if (isClosed == null) {
return false;
} else {
return isClosed;
}
}
/**
* Sets the value of the isClosed property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setIsClosed(Boolean value) {
this.isClosed = value;
}
}