es.us.isa.bpmn.xmlClasses.bpmn20.TDefinitions Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2012.11.08 at 10:16:40 AM GMT+01:00
//
package es.us.isa.bpmn.xmlClasses.bpmn20;
import es.us.isa.bpmn.xmlClasses.bpmndi.BPMNDiagram;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.*;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import javax.xml.namespace.QName;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* Java class for tDefinitions complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="tDefinitions">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://www.omg.org/spec/BPMN/20100524/MODEL}import" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://www.omg.org/spec/BPMN/20100524/MODEL}extension" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://www.omg.org/spec/BPMN/20100524/MODEL}rootElement" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://www.omg.org/spec/BPMN/20100524/DI}BPMNDiagram" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://www.omg.org/spec/BPMN/20100524/MODEL}relationship" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
* <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="targetNamespace" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* <attribute name="expressionLanguage" type="{http://www.w3.org/2001/XMLSchema}anyURI" default="http://www.w3.org/1999/XPath" />
* <attribute name="typeLanguage" type="{http://www.w3.org/2001/XMLSchema}anyURI" default="http://www.w3.org/2001/XMLSchema" />
* <attribute name="exporter" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="exporterVersion" type="{http://www.w3.org/2001/XMLSchema}string" />
* <anyAttribute processContents='lax' namespace='##other'/>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlRootElement(name="definitions", namespace = "http://www.omg.org/spec/BPMN/20100524/MODEL")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "tDefinitions", propOrder = {
"_import",
"extension",
"rootElement",
"bpmnDiagram",
"relationship"
})
public class TDefinitions {
@XmlElement(name = "import")
protected List _import;
protected List extension;
@XmlElementRef(name = "rootElement", namespace = "http://www.omg.org/spec/BPMN/20100524/MODEL", type = JAXBElement.class)
protected List> rootElement;
@XmlElement(name = "BPMNDiagram", namespace = "http://www.omg.org/spec/BPMN/20100524/DI")
protected List bpmnDiagram;
protected List relationship;
@XmlAttribute
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
protected String id;
@XmlAttribute
protected String name;
@XmlAttribute(required = true)
@XmlSchemaType(name = "anyURI")
protected String targetNamespace;
@XmlAttribute
@XmlSchemaType(name = "anyURI")
protected String expressionLanguage;
@XmlAttribute
@XmlSchemaType(name = "anyURI")
protected String typeLanguage;
@XmlAttribute
protected String exporter;
@XmlAttribute
protected String exporterVersion;
@XmlAnyAttribute
private Map otherAttributes = new HashMap();
/**
* Gets the value of the import 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 import property.
*
*
* For example, to add a new item, do as follows:
*
* getImport().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TImport }
*
*
*/
public List getImport() {
if (_import == null) {
_import = new ArrayList();
}
return this._import;
}
/**
* Gets the value of the extension 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 extension property.
*
*
* For example, to add a new item, do as follows:
*
* getExtension().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TExtension }
*
*
*/
public List getExtension() {
if (extension == null) {
extension = new ArrayList();
}
return this.extension;
}
/**
* Gets the value of the rootElement 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 rootElement property.
*
*
* For example, to add a new item, do as follows:
*
* getRootElement().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link JAXBElement }{@code <}{@link TCompensateEventDefinition }{@code >}
* {@link JAXBElement }{@code <}{@link TGlobalScriptTask }{@code >}
* {@link JAXBElement }{@code <}{@link TErrorEventDefinition }{@code >}
* {@link JAXBElement }{@code <}{@link TProcess }{@code >}
* {@link JAXBElement }{@code <}{@link TTimerEventDefinition }{@code >}
* {@link JAXBElement }{@code <}{@link TSignal }{@code >}
* {@link JAXBElement }{@code <}{@link TLinkEventDefinition }{@code >}
* {@link JAXBElement }{@code <}{@link TCollaboration }{@code >}
* {@link JAXBElement }{@code <}{@link TItemDefinition }{@code >}
* {@link JAXBElement }{@code <}{@link TTerminateEventDefinition }{@code >}
* {@link JAXBElement }{@code <}{@link TResource }{@code >}
* {@link JAXBElement }{@code <}{@link TCancelEventDefinition }{@code >}
* {@link JAXBElement }{@code <}{@link TGlobalBusinessRuleTask }{@code >}
* {@link JAXBElement }{@code <}{@link TRootElement }{@code >}
* {@link JAXBElement }{@code <}{@link TPartnerEntity }{@code >}
* {@link JAXBElement }{@code <}{@link TInterface }{@code >}
* {@link JAXBElement }{@code <}{@link TEscalation }{@code >}
* {@link JAXBElement }{@code <}{@link TDataStore }{@code >}
* {@link JAXBElement }{@code <}{@link TCategory }{@code >}
* {@link JAXBElement }{@code <}{@link TMessage }{@code >}
* {@link JAXBElement }{@code <}{@link TEscalationEventDefinition }{@code >}
* {@link JAXBElement }{@code <}{@link TGlobalUserTask }{@code >}
* {@link JAXBElement }{@code <}{@link TEndPoint }{@code >}
* {@link JAXBElement }{@code <}{@link TSignalEventDefinition }{@code >}
* {@link JAXBElement }{@code <}{@link TGlobalChoreographyTask }{@code >}
* {@link JAXBElement }{@code <}{@link TCorrelationProperty }{@code >}
* {@link JAXBElement }{@code <}{@link TGlobalManualTask }{@code >}
* {@link JAXBElement }{@code <}{@link TPartnerRole }{@code >}
* {@link JAXBElement }{@code <}{@link TChoreography }{@code >}
* {@link JAXBElement }{@code <}{@link TConditionalEventDefinition }{@code >}
* {@link JAXBElement }{@code <}{@link TGlobalTask }{@code >}
* {@link JAXBElement }{@code <}{@link TError }{@code >}
* {@link JAXBElement }{@code <}{@link TMessageEventDefinition }{@code >}
* {@link JAXBElement }{@code <}{@link TGlobalConversation }{@code >}
* {@link JAXBElement }{@code <}{@link TEventDefinition }{@code >}
*
*
*/
public List> getRootElement() {
if (rootElement == null) {
rootElement = new ArrayList>();
}
return this.rootElement;
}
/**
* Gets the value of the bpmnDiagram 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 bpmnDiagram property.
*
*
* For example, to add a new item, do as follows:
*
* getBPMNDiagram().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link BPMNDiagram }
*
*
*/
public List getBPMNDiagram() {
if (bpmnDiagram == null) {
bpmnDiagram = new ArrayList();
}
return this.bpmnDiagram;
}
/**
* Gets the value of the relationship 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 relationship property.
*
*
* For example, to add a new item, do as follows:
*
* getRelationship().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TRelationship }
*
*
*/
public List getRelationship() {
if (relationship == null) {
relationship = new ArrayList();
}
return this.relationship;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* 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 targetNamespace property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTargetNamespace() {
return targetNamespace;
}
/**
* Sets the value of the targetNamespace property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTargetNamespace(String value) {
this.targetNamespace = value;
}
/**
* Gets the value of the expressionLanguage property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getExpressionLanguage() {
if (expressionLanguage == null) {
return "http://www.w3.org/1999/XPath";
} else {
return expressionLanguage;
}
}
/**
* Sets the value of the expressionLanguage property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setExpressionLanguage(String value) {
this.expressionLanguage = value;
}
/**
* Gets the value of the typeLanguage property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTypeLanguage() {
if (typeLanguage == null) {
return "http://www.w3.org/2001/XMLSchema";
} else {
return typeLanguage;
}
}
/**
* Sets the value of the typeLanguage property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTypeLanguage(String value) {
this.typeLanguage = value;
}
/**
* Gets the value of the exporter property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getExporter() {
return exporter;
}
/**
* Sets the value of the exporter property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setExporter(String value) {
this.exporter = value;
}
/**
* Gets the value of the exporterVersion property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getExporterVersion() {
return exporterVersion;
}
/**
* Sets the value of the exporterVersion property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setExporterVersion(String value) {
this.exporterVersion = value;
}
/**
* Gets a map that contains attributes that aren't bound to any typed property on this class.
*
*
* the map is keyed by the name of the attribute and
* the value is the string value of the attribute.
*
* the map returned by this method is live, and you can add new attribute
* by updating the map directly. Because of this design, there's no setter.
*
*
* @return
* always non-null
*/
public Map getOtherAttributes() {
return otherAttributes;
}
}