// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2011.04.12 at 12:36:45 PM BST // package org.savara.bpmn2.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; /** * <p>Java class for tCollaboration complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <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> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "tCollaboration", propOrder = { "participant", "messageFlow", "artifact", "conversationNode", "conversationAssociation", "participantAssociation", "messageFlowAssociation", "correlationKey", "choreographyRef", "conversationLink" }) @XmlSeeAlso({ TGlobalConversation.class, TChoreography.class }) public class TCollaboration extends TRootElement { protected List<TParticipant> participant; protected List<TMessageFlow> messageFlow; @XmlElementRef(name = "artifact", namespace = "http://www.omg.org/spec/BPMN/20100524/MODEL", type = JAXBElement.class) protected List<JAXBElement<? extends TArtifact>> artifact; @XmlElementRef(name = "conversationNode", namespace = "http://www.omg.org/spec/BPMN/20100524/MODEL", type = JAXBElement.class) protected List<JAXBElement<? extends TConversationNode>> conversationNode; protected List<TConversationAssociation> conversationAssociation; protected List<TParticipantAssociation> participantAssociation; protected List<TMessageFlowAssociation> messageFlowAssociation; protected List<TCorrelationKey> correlationKey; protected List<QName> choreographyRef; protected List<TConversationLink> conversationLink; @XmlAttribute protected String name; @XmlAttribute protected Boolean isClosed; /** * Gets the value of the participant property. * * <p> * 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 <CODE>set</CODE> method for the participant property. * * <p> * For example, to add a new item, do as follows: * <pre> * getParticipant().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link TParticipant } * * */ public List<TParticipant> getParticipant() { if (participant == null) { participant = new ArrayList<TParticipant>(); } return this.participant; } /** * Gets the value of the messageFlow property. * * <p> * 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 <CODE>set</CODE> method for the messageFlow property. * * <p> * For example, to add a new item, do as follows: * <pre> * getMessageFlow().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link TMessageFlow } * * */ public List<TMessageFlow> getMessageFlow() { if (messageFlow == null) { messageFlow = new ArrayList<TMessageFlow>(); } return this.messageFlow; } /** * Gets the value of the artifact property. * * <p> * 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 <CODE>set</CODE> method for the artifact property. * * <p> * For example, to add a new item, do as follows: * <pre> * getArtifact().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link JAXBElement }{@code <}{@link TTextAnnotation }{@code >} * {@link JAXBElement }{@code <}{@link TGroup }{@code >} * {@link JAXBElement }{@code <}{@link TArtifact }{@code >} * {@link JAXBElement }{@code <}{@link TAssociation }{@code >} * * */ public List<JAXBElement<? extends TArtifact>> getArtifact() { if (artifact == null) { artifact = new ArrayList<JAXBElement<? extends TArtifact>>(); } return this.artifact; } /** * Gets the value of the conversationNode property. * * <p> * 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 <CODE>set</CODE> method for the conversationNode property. * * <p> * For example, to add a new item, do as follows: * <pre> * getConversationNode().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link JAXBElement }{@code <}{@link TSubConversation }{@code >} * {@link JAXBElement }{@code <}{@link TConversationNode }{@code >} * {@link JAXBElement }{@code <}{@link TCallConversation }{@code >} * {@link JAXBElement }{@code <}{@link TConversation }{@code >} * * */ public List<JAXBElement<? extends TConversationNode>> getConversationNode() { if (conversationNode == null) { conversationNode = new ArrayList<JAXBElement<? extends TConversationNode>>(); } return this.conversationNode; } /** * Gets the value of the conversationAssociation property. * * <p> * 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 <CODE>set</CODE> method for the conversationAssociation property. * * <p> * For example, to add a new item, do as follows: * <pre> * getConversationAssociation().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link TConversationAssociation } * * */ public List<TConversationAssociation> getConversationAssociation() { if (conversationAssociation == null) { conversationAssociation = new ArrayList<TConversationAssociation>(); } return this.conversationAssociation; } /** * Gets the value of the participantAssociation property. * * <p> * 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 <CODE>set</CODE> method for the participantAssociation property. * * <p> * For example, to add a new item, do as follows: * <pre> * getParticipantAssociation().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link TParticipantAssociation } * * */ public List<TParticipantAssociation> getParticipantAssociation() { if (participantAssociation == null) { participantAssociation = new ArrayList<TParticipantAssociation>(); } return this.participantAssociation; } /** * Gets the value of the messageFlowAssociation property. * * <p> * 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 <CODE>set</CODE> method for the messageFlowAssociation property. * * <p> * For example, to add a new item, do as follows: * <pre> * getMessageFlowAssociation().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link TMessageFlowAssociation } * * */ public List<TMessageFlowAssociation> getMessageFlowAssociation() { if (messageFlowAssociation == null) { messageFlowAssociation = new ArrayList<TMessageFlowAssociation>(); } return this.messageFlowAssociation; } /** * Gets the value of the correlationKey property. * * <p> * 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 <CODE>set</CODE> method for the correlationKey property. * * <p> * For example, to add a new item, do as follows: * <pre> * getCorrelationKey().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link TCorrelationKey } * * */ public List<TCorrelationKey> getCorrelationKey() { if (correlationKey == null) { correlationKey = new ArrayList<TCorrelationKey>(); } return this.correlationKey; } /** * Gets the value of the choreographyRef property. * * <p> * 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 <CODE>set</CODE> method for the choreographyRef property. * * <p> * For example, to add a new item, do as follows: * <pre> * getChoreographyRef().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link QName } * * */ public List<QName> getChoreographyRef() { if (choreographyRef == null) { choreographyRef = new ArrayList<QName>(); } return this.choreographyRef; } /** * Gets the value of the conversationLink property. * * <p> * 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 <CODE>set</CODE> method for the conversationLink property. * * <p> * For example, to add a new item, do as follows: * <pre> * getConversationLink().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link TConversationLink } * * */ public List<TConversationLink> getConversationLink() { if (conversationLink == null) { conversationLink = new ArrayList<TConversationLink>(); } 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; } }