[jbpm-commits] JBoss JBPM SVN: r1671 - in api/trunk: modules/dialects and 24 other directories.
do-not-reply at jboss.org
do-not-reply at jboss.org
Thu Jul 17 12:48:55 EDT 2008
Author: thomas.diesler at jboss.com
Date: 2008-07-17 12:48:54 -0400 (Thu, 17 Jul 2008)
New Revision: 1671
Added:
api/trunk/modules/dialects/stp/
api/trunk/modules/dialects/stp/pom.xml
api/trunk/modules/dialects/stp/src/
api/trunk/modules/dialects/stp/src/main/
api/trunk/modules/dialects/stp/src/main/java/
api/trunk/modules/dialects/stp/src/main/java/org/
api/trunk/modules/dialects/stp/src/main/java/org/jboss/
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/BpmnDiagramAdapter.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/DialectHandlerImpl.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/ProcessUnmarshaller.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Activity.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ActivityType.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Artifact.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ArtifactsContainer.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Association.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/BpmnDiagram.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/DataObject.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Graph.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Group.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Identifiable.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/IdentifiableNode.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Lane.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/MessagingEdge.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/NamedBpmnObject.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ObjectFactory.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Pool.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/SequenceEdge.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/SequenceFlowConditionType.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/SubProcess.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/TextAnnotation.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Vertex.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EAnnotation.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EAttribute.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EClass.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EClassifier.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EDataType.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EEnum.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EEnumLiteral.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EFactory.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EModelElement.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/ENamedElement.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EObject.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EOperation.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EPackage.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EParameter.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EReference.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EStringToStringMapEntry.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EStructuralFeature.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/ETypedElement.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/ObjectFactory.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/package-info.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/package-info.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Add.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Any.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Delete.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Difference.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Documentation.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Extension.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Import.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/MetaModel.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Model.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/ObjectFactory.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/PackageReference.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Replace.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/XMI.java
api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/package-info.java
api/trunk/modules/dialects/stp/src/main/resources/
api/trunk/modules/dialects/stp/src/main/resources/Ecore.xsd
api/trunk/modules/dialects/stp/src/main/resources/XMI.xsd
api/trunk/modules/dialects/stp/src/main/resources/bpmn-v20071210-0-7-1.xsd
api/trunk/modules/dialects/stp/src/main/resources/bpmn-v20071210-0-7-1_mods.xsd
api/trunk/modules/dialects/stp/src/main/resources/jaxb-bindings.xml
api/trunk/modules/dialects/stp/src/test/
api/trunk/modules/dialects/stp/src/test/java/
api/trunk/modules/dialects/stp/src/test/java/org/
api/trunk/modules/dialects/stp/src/test/java/org/jboss/
api/trunk/modules/dialects/stp/src/test/java/org/jboss/bpm/
api/trunk/modules/dialects/stp/src/test/java/org/jboss/bpm/dialect/
api/trunk/modules/dialects/stp/src/test/java/org/jboss/bpm/dialect/stp/
api/trunk/modules/dialects/stp/src/test/java/org/jboss/bpm/dialect/stp/AbstractSTPDialectTest.java
api/trunk/modules/dialects/stp/src/test/java/org/jboss/bpm/dialect/stp/sequence/
api/trunk/modules/dialects/stp/src/test/java/org/jboss/bpm/dialect/stp/sequence/SequenceTest.java
api/trunk/modules/dialects/stp/src/test/resources/
api/trunk/modules/dialects/stp/src/test/resources/jbpm-beans.xml
api/trunk/modules/dialects/stp/src/test/resources/log4j.xml
api/trunk/modules/dialects/stp/src/test/resources/sequence/
api/trunk/modules/dialects/stp/src/test/resources/sequence/basic-sequence.bpmn
Modified:
api/trunk/.classpath
api/trunk/modules/testsuite/src/test/resources/jbpm-beans.xml
api/trunk/pom.xml
Log:
Add dialect stp bpmn
Modified: api/trunk/.classpath
===================================================================
--- api/trunk/.classpath 2008-07-17 14:48:17 UTC (rev 1670)
+++ api/trunk/.classpath 2008-07-17 16:48:54 UTC (rev 1671)
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="modules/api/target/classes" path="modules/api/src/main/java"/>
+ <classpathentry kind="src" path="modules/dialects/stp/src/test/java"/>
+ <classpathentry kind="src" path="modules/dialects/stp/src/main/java"/>
<classpathentry kind="src" path="modules/dialects/xpdl21/src/main/java"/>
<classpathentry kind="src" path="modules/dialects/jpdl32/src/main/java"/>
<classpathentry kind="src" path="modules/impl/src/main/java"/>
- <classpathentry kind="src" output="modules/dialects/jaxb/target/classes" path="modules/dialects/jaxb/src/main/java"/>
<classpathentry kind="src" output="modules/testsuite/target/test-classes" path="modules/testsuite/src/test/java"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
Property changes on: api/trunk/modules/dialects/stp
___________________________________________________________________
Name: svn:ignore
+ target
Added: api/trunk/modules/dialects/stp/pom.xml
===================================================================
--- api/trunk/modules/dialects/stp/pom.xml (rev 0)
+++ api/trunk/modules/dialects/stp/pom.xml 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ====================================================================== -->
+<!-- -->
+<!-- JBoss, the OpenSource J2EE webOS -->
+<!-- -->
+<!-- Distributable under LGPL license. -->
+<!-- See terms of license at http://www.gnu.org. -->
+<!-- -->
+<!-- ====================================================================== -->
+
+<!-- $Id$ -->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <name>JBoss jBPM - API Dialect STP-0.7.1</name>
+ <groupId>org.jboss.jbpm</groupId>
+ <artifactId>jbpm-api-dialect-stp</artifactId>
+ <packaging>jar</packaging>
+
+ <!-- Parent -->
+ <parent>
+ <groupId>org.jboss.jbpm</groupId>
+ <artifactId>jbpm-api-root</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <relativePath>../../pom.xml</relativePath>
+ </parent>
+
+ <!-- Dependencies -->
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.jbpm</groupId>
+ <artifactId>jbpm-api</artifactId>
+ <version>${version}</version>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-impl</artifactId>
+ </dependency>
+
+ <!-- Test Dependencies -->
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <!-- Runtime Dependencies -->
+ <dependency>
+ <groupId>org.jboss.jbpm</groupId>
+ <artifactId>jbpm-api-impl</artifactId>
+ <version>${version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.xml.bind</groupId>
+ <artifactId>jaxb-xjc</artifactId>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
+
+</project>
\ No newline at end of file
Property changes on: api/trunk/modules/dialects/stp/pom.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/BpmnDiagramAdapter.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/BpmnDiagramAdapter.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/BpmnDiagramAdapter.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,78 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bpm.dialect.stp;
+
+// $Id$
+
+import java.util.List;
+
+import org.jboss.bpm.InvalidProcessException;
+import org.jboss.bpm.dialect.stp.model.Activity;
+import org.jboss.bpm.dialect.stp.model.ActivityType;
+import org.jboss.bpm.dialect.stp.model.BpmnDiagram;
+import org.jboss.bpm.dialect.stp.model.Pool;
+import org.jboss.bpm.model.ProcessBuilder;
+import org.jboss.bpm.model.ProcessBuilderFactory;
+
+/**
+ * Adapt the jpdl-3.2 ProcessDefinition to the API Process
+ *
+ * @author thomas.diesler at jboss.com
+ * @since 18-Jun-2008
+ */
+public class BpmnDiagramAdapter
+{
+ public ProcessBuilder adaptBpmnDiagram(BpmnDiagram bpmnDiagram)
+ {
+ List<Pool> stpPools = bpmnDiagram.getPools();
+ if (stpPools == null || stpPools.size() == 0)
+ throw new IllegalStateException("Expected at least one Pool");
+ if (stpPools.size() > 1)
+ throw new IllegalStateException("Multiple Pools not supported");
+
+ Pool stpPool = stpPools.get(0);
+ ProcessBuilder builder = ProcessBuilderFactory.newInstance().newProcessBuilder(stpPool.getId());
+
+ return builder;
+ }
+
+ public void adaptActivity(ProcessBuilder builder, Activity stpActivity, String name)
+ {
+ ActivityType activityType = stpActivity.getActivityType();
+ if (activityType == ActivityType.EVENT_START_EMPTY)
+ {
+ builder.addStartEvent();
+ }
+ else if (activityType == ActivityType.EVENT_END_EMPTY)
+ {
+ builder.addEndEvent(name);
+ }
+ else if (activityType == ActivityType.TASK)
+ {
+ builder.addTask(name);
+ }
+ else
+ {
+ throw new InvalidProcessException("Unsupported activity type: " + activityType);
+ }
+ }
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/BpmnDiagramAdapter.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/DialectHandlerImpl.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/DialectHandlerImpl.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/DialectHandlerImpl.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,72 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bpm.dialect.stp;
+
+// $Id$
+
+import java.io.ByteArrayInputStream;
+import java.io.IOException;
+import java.net.URL;
+
+import javax.xml.bind.JAXBException;
+
+import org.jboss.bpm.InvalidProcessException;
+import org.jboss.bpm.client.DialectHandler;
+import org.jboss.bpm.model.Process;
+
+/**
+ * The DialectHandler converts a supported dialect to the internal Process model.
+ *
+ * @author thomas.diesler at jboss.com
+ * @since 18-Jun-2008
+ */
+public class DialectHandlerImpl implements DialectHandler
+{
+
+ public Process createProcess(String pXML)
+ {
+ try
+ {
+ ProcessUnmarshaller unmarschaller = new ProcessUnmarshaller();
+ Process proc = unmarschaller.unmarshallProcess(new ByteArrayInputStream(pXML.getBytes()));
+ return proc;
+ }
+ catch (JAXBException ex)
+ {
+ throw new InvalidProcessException("Cannot unmarschall: " + pXML, ex);
+ }
+ }
+
+ public Process createProcess(URL pURL) throws IOException
+ {
+ try
+ {
+ ProcessUnmarshaller unmarschaller = new ProcessUnmarshaller();
+ Process proc = unmarschaller.unmarshallProcess(pURL.openStream());
+ return proc;
+ }
+ catch (JAXBException ex)
+ {
+ throw new InvalidProcessException("Cannot unmarschall: " + pURL, ex);
+ }
+ }
+}
\ No newline at end of file
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/DialectHandlerImpl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/ProcessUnmarshaller.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/ProcessUnmarshaller.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/ProcessUnmarshaller.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,104 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bpm.dialect.stp;
+
+// $Id$
+
+import java.io.InputStream;
+import java.util.Iterator;
+
+import javax.xml.bind.JAXBContext;
+import javax.xml.bind.JAXBException;
+import javax.xml.bind.Unmarshaller;
+import javax.xml.namespace.QName;
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+
+import org.jboss.bpm.dialect.stp.model.Activity;
+import org.jboss.bpm.dialect.stp.model.BpmnDiagram;
+import org.jboss.bpm.dialect.stp.model.ObjectFactory;
+import org.jboss.bpm.model.Process;
+import org.jboss.bpm.model.ProcessBuilder;
+import org.jboss.util.xml.DOMUtils;
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+
+/**
+ * A JAXB unmarshaller for a Process
+ *
+ * @author thomas.diesler at jboss.com
+ * @since 08-Jul-2008
+ */
+public class ProcessUnmarshaller
+{
+ public static final String NAMESPACE_URI = "http://stp.eclipse.org/bpmn";
+
+ public Process unmarshallProcess(InputStream xml) throws JAXBException
+ {
+ JAXBContext jaxbContext = JAXBContext.newInstance(ObjectFactory.class);
+ Unmarshaller unmarshaller = jaxbContext.createUnmarshaller();
+ unmarshaller.setProperty("com.sun.xml.bind.ObjectFactory", new ObjectFactory());
+
+ // We need to unmarshall the elements one by one because the generated STP BPMN
+ // file does not contain xsd:type declarations so that JACB cannot createt the types
+ // automatically
+ DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
+ dbf.setNamespaceAware(true);
+ Document doc;
+ try
+ {
+ DocumentBuilder db = dbf.newDocumentBuilder();
+ doc = db.parse(xml);
+ }
+ catch (Exception ex)
+ {
+ throw new IllegalStateException("Cannot parse stpbpmn", ex);
+ }
+
+ Element root = doc.getDocumentElement();
+ BpmnDiagram bpmnDiagram = unmarshaller.unmarshal(root, BpmnDiagram.class).getValue();
+
+ BpmnDiagramAdapter bpmnAdapter = new BpmnDiagramAdapter();
+ ProcessBuilder builder = bpmnAdapter.adaptBpmnDiagram(bpmnDiagram);
+
+ Element stpEl = (Element)DOMUtils.getChildElements(root, "pools").next();
+ Iterator itEl = DOMUtils.getChildElements(stpEl, "vertices");
+ while (itEl.hasNext())
+ {
+ stpEl = (Element)itEl.next();
+ String xmiType = DOMUtils.getAttributeValue(stpEl, new QName("http://www.omg.org/XMI", "type"));
+ if ("bpmn:Activity".equals(xmiType))
+ {
+ Activity bpmnActivity = unmarshaller.unmarshal(stpEl, Activity.class).getValue();
+ String name = DOMUtils.getAttributeValue(stpEl, "name");
+ name = (name != null ? name : bpmnActivity.getId());
+ bpmnAdapter.adaptActivity(builder, bpmnActivity, name);
+ }
+ else
+ {
+ throw new IllegalStateException("Unsupported xmi:type: " + xmiType);
+ }
+ }
+
+ return builder.getProcess();
+ }
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/ProcessUnmarshaller.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Activity.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Activity.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Activity.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,240 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.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.XmlElementRefs;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for Activity complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Activity">
+ * <complexContent>
+ * <extension base="{http://stp.eclipse.org/bpmn}Vertex">
+ * <sequence>
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="incomingMessages" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="outgoingMessages" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
+ * </choice>
+ * <element name="groups" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="activityType" type="{http://stp.eclipse.org/bpmn}ActivityType" default="Task" />
+ * <attribute name="lane" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="looping" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="eventHandlerFor" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "Activity", propOrder = {
+ "incomingMessagesOrOutgoingMessages",
+ "groups"
+})
+ at XmlSeeAlso({
+ SubProcess.class
+})
+public class Activity
+ extends Vertex
+{
+
+ @XmlElementRefs({
+ @XmlElementRef(name = "outgoingMessages", type = JAXBElement.class),
+ @XmlElementRef(name = "incomingMessages", type = JAXBElement.class)
+ })
+ protected List<JAXBElement<String>> incomingMessagesOrOutgoingMessages;
+ @XmlSchemaType(name = "anyURI")
+ protected List<String> groups;
+ @XmlAttribute
+ protected ActivityType activityType;
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String lane;
+ @XmlAttribute
+ protected Boolean looping;
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String eventHandlerFor;
+
+ /**
+ * Gets the value of the incomingMessagesOrOutgoingMessages 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 incomingMessagesOrOutgoingMessages property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getIncomingMessagesOrOutgoingMessages().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ *
+ */
+ public List<JAXBElement<String>> getIncomingMessagesOrOutgoingMessages() {
+ if (incomingMessagesOrOutgoingMessages == null) {
+ incomingMessagesOrOutgoingMessages = new ArrayList<JAXBElement<String>>();
+ }
+ return this.incomingMessagesOrOutgoingMessages;
+ }
+
+ /**
+ * Gets the value of the groups 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 groups property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getGroups().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getGroups() {
+ if (groups == null) {
+ groups = new ArrayList<String>();
+ }
+ return this.groups;
+ }
+
+ /**
+ * Gets the value of the activityType property.
+ *
+ * @return
+ * possible object is
+ * {@link ActivityType }
+ *
+ */
+ public ActivityType getActivityType() {
+ if (activityType == null) {
+ return ActivityType.TASK;
+ } else {
+ return activityType;
+ }
+ }
+
+ /**
+ * Sets the value of the activityType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link ActivityType }
+ *
+ */
+ public void setActivityType(ActivityType value) {
+ this.activityType = value;
+ }
+
+ /**
+ * Gets the value of the lane property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLane() {
+ return lane;
+ }
+
+ /**
+ * Sets the value of the lane property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLane(String value) {
+ this.lane = value;
+ }
+
+ /**
+ * Gets the value of the looping property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isLooping() {
+ return looping;
+ }
+
+ /**
+ * Sets the value of the looping property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setLooping(Boolean value) {
+ this.looping = value;
+ }
+
+ /**
+ * Gets the value of the eventHandlerFor property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getEventHandlerFor() {
+ return eventHandlerFor;
+ }
+
+ /**
+ * Sets the value of the eventHandlerFor property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setEventHandlerFor(String value) {
+ this.eventHandlerFor = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Activity.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ActivityType.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ActivityType.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ActivityType.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,142 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ActivityType.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * <simpleType name="ActivityType">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="Task"/>
+ * <enumeration value="SubProcess"/>
+ * <enumeration value="EventStartEmpty"/>
+ * <enumeration value="EventStartMessage"/>
+ * <enumeration value="EventStartRule"/>
+ * <enumeration value="EventStartTimer"/>
+ * <enumeration value="EventStartLink"/>
+ * <enumeration value="EventStartMultiple"/>
+ * <enumeration value="EventIntermediateEmpty"/>
+ * <enumeration value="EventIntermediateMessage"/>
+ * <enumeration value="EventIntermediateTimer"/>
+ * <enumeration value="EventIntermediateError"/>
+ * <enumeration value="EventIntermediateCompensation"/>
+ * <enumeration value="EventIntermediateRule"/>
+ * <enumeration value="EventIntermediateLink"/>
+ * <enumeration value="EventIntermediateMultiple"/>
+ * <enumeration value="EventIntermediateCancel"/>
+ * <enumeration value="EventEndEmpty"/>
+ * <enumeration value="EventEndMessage"/>
+ * <enumeration value="EventEndError"/>
+ * <enumeration value="EventEndCompensation"/>
+ * <enumeration value="EventEndTerminate"/>
+ * <enumeration value="EventEndLink"/>
+ * <enumeration value="EventEndMultiple"/>
+ * <enumeration value="EventEndCancel"/>
+ * <enumeration value="GatewayDataBasedExclusive"/>
+ * <enumeration value="GatewayEventBasedExclusive"/>
+ * <enumeration value="GatewayDataBasedInclusive"/>
+ * <enumeration value="GatewayParallel"/>
+ * <enumeration value="GatewayComplex"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+ at XmlType(name = "ActivityType")
+ at XmlEnum
+public enum ActivityType {
+
+ @XmlEnumValue("Task")
+ TASK("Task"),
+ @XmlEnumValue("SubProcess")
+ SUB_PROCESS("SubProcess"),
+ @XmlEnumValue("EventStartEmpty")
+ EVENT_START_EMPTY("EventStartEmpty"),
+ @XmlEnumValue("EventStartMessage")
+ EVENT_START_MESSAGE("EventStartMessage"),
+ @XmlEnumValue("EventStartRule")
+ EVENT_START_RULE("EventStartRule"),
+ @XmlEnumValue("EventStartTimer")
+ EVENT_START_TIMER("EventStartTimer"),
+ @XmlEnumValue("EventStartLink")
+ EVENT_START_LINK("EventStartLink"),
+ @XmlEnumValue("EventStartMultiple")
+ EVENT_START_MULTIPLE("EventStartMultiple"),
+ @XmlEnumValue("EventIntermediateEmpty")
+ EVENT_INTERMEDIATE_EMPTY("EventIntermediateEmpty"),
+ @XmlEnumValue("EventIntermediateMessage")
+ EVENT_INTERMEDIATE_MESSAGE("EventIntermediateMessage"),
+ @XmlEnumValue("EventIntermediateTimer")
+ EVENT_INTERMEDIATE_TIMER("EventIntermediateTimer"),
+ @XmlEnumValue("EventIntermediateError")
+ EVENT_INTERMEDIATE_ERROR("EventIntermediateError"),
+ @XmlEnumValue("EventIntermediateCompensation")
+ EVENT_INTERMEDIATE_COMPENSATION("EventIntermediateCompensation"),
+ @XmlEnumValue("EventIntermediateRule")
+ EVENT_INTERMEDIATE_RULE("EventIntermediateRule"),
+ @XmlEnumValue("EventIntermediateLink")
+ EVENT_INTERMEDIATE_LINK("EventIntermediateLink"),
+ @XmlEnumValue("EventIntermediateMultiple")
+ EVENT_INTERMEDIATE_MULTIPLE("EventIntermediateMultiple"),
+ @XmlEnumValue("EventIntermediateCancel")
+ EVENT_INTERMEDIATE_CANCEL("EventIntermediateCancel"),
+ @XmlEnumValue("EventEndEmpty")
+ EVENT_END_EMPTY("EventEndEmpty"),
+ @XmlEnumValue("EventEndMessage")
+ EVENT_END_MESSAGE("EventEndMessage"),
+ @XmlEnumValue("EventEndError")
+ EVENT_END_ERROR("EventEndError"),
+ @XmlEnumValue("EventEndCompensation")
+ EVENT_END_COMPENSATION("EventEndCompensation"),
+ @XmlEnumValue("EventEndTerminate")
+ EVENT_END_TERMINATE("EventEndTerminate"),
+ @XmlEnumValue("EventEndLink")
+ EVENT_END_LINK("EventEndLink"),
+ @XmlEnumValue("EventEndMultiple")
+ EVENT_END_MULTIPLE("EventEndMultiple"),
+ @XmlEnumValue("EventEndCancel")
+ EVENT_END_CANCEL("EventEndCancel"),
+ @XmlEnumValue("GatewayDataBasedExclusive")
+ GATEWAY_DATA_BASED_EXCLUSIVE("GatewayDataBasedExclusive"),
+ @XmlEnumValue("GatewayEventBasedExclusive")
+ GATEWAY_EVENT_BASED_EXCLUSIVE("GatewayEventBasedExclusive"),
+ @XmlEnumValue("GatewayDataBasedInclusive")
+ GATEWAY_DATA_BASED_INCLUSIVE("GatewayDataBasedInclusive"),
+ @XmlEnumValue("GatewayParallel")
+ GATEWAY_PARALLEL("GatewayParallel"),
+ @XmlEnumValue("GatewayComplex")
+ GATEWAY_COMPLEX("GatewayComplex");
+ private final String value;
+
+ ActivityType(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static ActivityType fromValue(String v) {
+ for (ActivityType c: ActivityType.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ActivityType.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Artifact.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Artifact.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Artifact.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,112 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.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.XmlSchemaType;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for Artifact complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Artifact">
+ * <complexContent>
+ * <extension base="{http://stp.eclipse.org/bpmn}Identifiable">
+ * <sequence>
+ * <element name="associations" type="{http://stp.eclipse.org/bpmn}Association" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="artifactsContainer" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "Artifact", propOrder = {
+ "associations"
+})
+ at XmlSeeAlso({
+ Group.class,
+ TextAnnotation.class,
+ DataObject.class
+})
+public class Artifact
+ extends Identifiable
+{
+
+ protected List<Association> associations;
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String artifactsContainer;
+
+ /**
+ * Gets the value of the associations 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 associations property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAssociations().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Association }
+ *
+ *
+ */
+ public List<Association> getAssociations() {
+ if (associations == null) {
+ associations = new ArrayList<Association>();
+ }
+ return this.associations;
+ }
+
+ /**
+ * Gets the value of the artifactsContainer property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getArtifactsContainer() {
+ return artifactsContainer;
+ }
+
+ /**
+ * Sets the value of the artifactsContainer property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setArtifactsContainer(String value) {
+ this.artifactsContainer = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Artifact.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ArtifactsContainer.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ArtifactsContainer.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ArtifactsContainer.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,76 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.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.XmlType;
+
+
+/**
+ * <p>Java class for ArtifactsContainer complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="ArtifactsContainer">
+ * <complexContent>
+ * <extension base="{http://stp.eclipse.org/bpmn}NamedBpmnObject">
+ * <sequence>
+ * <element name="artifacts" type="{http://stp.eclipse.org/bpmn}Artifact" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "ArtifactsContainer", propOrder = {
+ "artifacts"
+})
+public class ArtifactsContainer
+ extends NamedBpmnObject
+{
+
+ protected List<Artifact> artifacts;
+
+ /**
+ * Gets the value of the artifacts 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 artifacts property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getArtifacts().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Artifact }
+ *
+ *
+ */
+ public List<Artifact> getArtifacts() {
+ if (artifacts == null) {
+ artifacts = new ArrayList<Artifact>();
+ }
+ return this.artifacts;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ArtifactsContainer.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Association.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Association.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Association.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,134 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import org.jboss.bpm.dialect.stp.model.ecore.EModelElement;
+
+
+/**
+ * <p>Java class for Association complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Association">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}EModelElement">
+ * <attribute name="target" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="source" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="direction">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="None"/>
+ * <enumeration value="To"/>
+ * <enumeration value="From"/>
+ * <enumeration value="Both"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "Association")
+public class Association
+ extends EModelElement
+{
+
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String target;
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String source;
+ @XmlAttribute
+ protected String direction;
+
+ /**
+ * Gets the value of the target property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTarget() {
+ return target;
+ }
+
+ /**
+ * Sets the value of the target property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTarget(String value) {
+ this.target = value;
+ }
+
+ /**
+ * Gets the value of the source property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSource() {
+ return source;
+ }
+
+ /**
+ * Sets the value of the source property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSource(String value) {
+ this.source = value;
+ }
+
+ /**
+ * Gets the value of the direction property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDirection() {
+ return direction;
+ }
+
+ /**
+ * Sets the value of the direction property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDirection(String value) {
+ this.direction = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Association.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/BpmnDiagram.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/BpmnDiagram.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/BpmnDiagram.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,163 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.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.XmlType;
+
+
+/**
+ * <p>Java class for BpmnDiagram complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="BpmnDiagram">
+ * <complexContent>
+ * <extension base="{http://stp.eclipse.org/bpmn}Identifiable">
+ * <sequence>
+ * <element name="pools" type="{http://stp.eclipse.org/bpmn}Pool" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="messages" type="{http://stp.eclipse.org/bpmn}MessagingEdge" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="title" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="author" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "BpmnDiagram", propOrder = {
+ "pools",
+ "messages"
+})
+public class BpmnDiagram
+ extends Identifiable
+{
+
+ protected List<Pool> pools;
+ protected List<MessagingEdge> messages;
+ @XmlAttribute
+ protected String title;
+ @XmlAttribute
+ protected String author;
+
+ /**
+ * Gets the value of the pools 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 pools property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getPools().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Pool }
+ *
+ *
+ */
+ public List<Pool> getPools() {
+ if (pools == null) {
+ pools = new ArrayList<Pool>();
+ }
+ return this.pools;
+ }
+
+ /**
+ * Gets the value of the messages 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 messages property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getMessages().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link MessagingEdge }
+ *
+ *
+ */
+ public List<MessagingEdge> getMessages() {
+ if (messages == null) {
+ messages = new ArrayList<MessagingEdge>();
+ }
+ return this.messages;
+ }
+
+ /**
+ * Gets the value of the title property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTitle() {
+ return title;
+ }
+
+ /**
+ * Sets the value of the title property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTitle(String value) {
+ this.title = value;
+ }
+
+ /**
+ * Gets the value of the author property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAuthor() {
+ return author;
+ }
+
+ /**
+ * Sets the value of the author property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAuthor(String value) {
+ this.author = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/BpmnDiagram.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/DataObject.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/DataObject.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/DataObject.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,39 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for DataObject complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="DataObject">
+ * <complexContent>
+ * <extension base="{http://stp.eclipse.org/bpmn}Artifact">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "DataObject")
+public class DataObject
+ extends Artifact
+{
+
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/DataObject.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Graph.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Graph.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Graph.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,112 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.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.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for Graph complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Graph">
+ * <complexContent>
+ * <extension base="{http://stp.eclipse.org/bpmn}IdentifiableNode">
+ * <sequence>
+ * <element name="vertices" type="{http://stp.eclipse.org/bpmn}Vertex" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="sequenceEdges" type="{http://stp.eclipse.org/bpmn}SequenceEdge" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "Graph", propOrder = {
+ "vertices",
+ "sequenceEdges"
+})
+ at XmlSeeAlso({
+ Pool.class
+})
+public class Graph
+ extends IdentifiableNode
+{
+
+ protected List<Vertex> vertices;
+ protected List<SequenceEdge> sequenceEdges;
+
+ /**
+ * Gets the value of the vertices 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 vertices property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getVertices().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Vertex }
+ *
+ *
+ */
+ public List<Vertex> getVertices() {
+ if (vertices == null) {
+ vertices = new ArrayList<Vertex>();
+ }
+ return this.vertices;
+ }
+
+ /**
+ * Gets the value of the sequenceEdges 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 sequenceEdges property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getSequenceEdges().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link SequenceEdge }
+ *
+ *
+ */
+ public List<SequenceEdge> getSequenceEdges() {
+ if (sequenceEdges == null) {
+ sequenceEdges = new ArrayList<SequenceEdge>();
+ }
+ return this.sequenceEdges;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Graph.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Group.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Group.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Group.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,76 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.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.XmlType;
+
+
+/**
+ * <p>Java class for Group complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Group">
+ * <complexContent>
+ * <extension base="{http://stp.eclipse.org/bpmn}Artifact">
+ * <sequence>
+ * <element name="activities" type="{http://stp.eclipse.org/bpmn}Activity" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "Group", propOrder = {
+ "activities"
+})
+public class Group
+ extends Artifact
+{
+
+ protected List<Activity> activities;
+
+ /**
+ * Gets the value of the activities 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 activities property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getActivities().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Activity }
+ *
+ *
+ */
+ public List<Activity> getActivities() {
+ if (activities == null) {
+ activities = new ArrayList<Activity>();
+ }
+ return this.activities;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Group.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Identifiable.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Identifiable.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Identifiable.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,49 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+import org.jboss.bpm.dialect.stp.model.ecore.EModelElement;
+
+
+/**
+ * <p>Java class for Identifiable complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Identifiable">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}EModelElement">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "Identifiable")
+ at XmlSeeAlso({
+ Lane.class,
+ BpmnDiagram.class,
+ MessagingEdge.class,
+ Artifact.class,
+ IdentifiableNode.class,
+ SequenceEdge.class
+})
+public class Identifiable
+ extends EModelElement
+{
+
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Identifiable.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/IdentifiableNode.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/IdentifiableNode.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/IdentifiableNode.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,83 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.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.XmlSchemaType;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for IdentifiableNode complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="IdentifiableNode">
+ * <complexContent>
+ * <extension base="{http://stp.eclipse.org/bpmn}Identifiable">
+ * <sequence>
+ * <element name="associations" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "IdentifiableNode", propOrder = {
+ "associations"
+})
+ at XmlSeeAlso({
+ Vertex.class,
+ Graph.class
+})
+public class IdentifiableNode
+ extends Identifiable
+{
+
+ @XmlSchemaType(name = "anyURI")
+ protected List<String> associations;
+
+ /**
+ * Gets the value of the associations 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 associations property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAssociations().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getAssociations() {
+ if (associations == null) {
+ associations = new ArrayList<String>();
+ }
+ return this.associations;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/IdentifiableNode.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Lane.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Lane.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Lane.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,106 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.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.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for Lane complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Lane">
+ * <complexContent>
+ * <extension base="{http://stp.eclipse.org/bpmn}Identifiable">
+ * <sequence>
+ * <element name="activities" type="{http://stp.eclipse.org/bpmn}Activity" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="pool" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "Lane", propOrder = {
+ "activities"
+})
+public class Lane
+ extends Identifiable
+{
+
+ protected List<Activity> activities;
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String pool;
+
+ /**
+ * Gets the value of the activities 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 activities property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getActivities().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Activity }
+ *
+ *
+ */
+ public List<Activity> getActivities() {
+ if (activities == null) {
+ activities = new ArrayList<Activity>();
+ }
+ return this.activities;
+ }
+
+ /**
+ * Gets the value of the pool property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPool() {
+ return pool;
+ }
+
+ /**
+ * Sets the value of the pool property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPool(String value) {
+ this.pool = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Lane.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/MessagingEdge.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/MessagingEdge.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/MessagingEdge.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,125 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for MessagingEdge complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="MessagingEdge">
+ * <complexContent>
+ * <extension base="{http://stp.eclipse.org/bpmn}Identifiable">
+ * <attribute name="bpmnDiagram" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="source" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="target" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "MessagingEdge")
+public class MessagingEdge
+ extends Identifiable
+{
+
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String bpmnDiagram;
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String source;
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String target;
+
+ /**
+ * Gets the value of the bpmnDiagram property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getBpmnDiagram() {
+ return bpmnDiagram;
+ }
+
+ /**
+ * Sets the value of the bpmnDiagram property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setBpmnDiagram(String value) {
+ this.bpmnDiagram = value;
+ }
+
+ /**
+ * Gets the value of the source property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSource() {
+ return source;
+ }
+
+ /**
+ * Sets the value of the source property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSource(String value) {
+ this.source = value;
+ }
+
+ /**
+ * Gets the value of the target property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTarget() {
+ return target;
+ }
+
+ /**
+ * Sets the value of the target property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTarget(String value) {
+ this.target = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/MessagingEdge.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/NamedBpmnObject.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/NamedBpmnObject.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/NamedBpmnObject.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,123 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for NamedBpmnObject complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="NamedBpmnObject">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="documentation" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="ncname" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "NamedBpmnObject")
+ at XmlSeeAlso({
+ ArtifactsContainer.class
+})
+public class NamedBpmnObject {
+
+ @XmlAttribute
+ protected String name;
+ @XmlAttribute
+ protected String documentation;
+ @XmlAttribute
+ protected String ncname;
+
+ /**
+ * 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 documentation property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDocumentation() {
+ return documentation;
+ }
+
+ /**
+ * Sets the value of the documentation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDocumentation(String value) {
+ this.documentation = value;
+ }
+
+ /**
+ * Gets the value of the ncname property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getNcname() {
+ return ncname;
+ }
+
+ /**
+ * Sets the value of the ncname property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setNcname(String value) {
+ this.ncname = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/NamedBpmnObject.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ObjectFactory.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ObjectFactory.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ObjectFactory.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,206 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.jboss.bpm.dialect.stp.model package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+ at XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _ActivityIncomingMessages_QNAME = new QName("", "incomingMessages");
+ private final static QName _ActivityOutgoingMessages_QNAME = new QName("", "outgoingMessages");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.jboss.bpm.dialect.stp.model
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link TextAnnotation }
+ *
+ */
+ public TextAnnotation createTextAnnotation() {
+ return new TextAnnotation();
+ }
+
+ /**
+ * Create an instance of {@link Group }
+ *
+ */
+ public Group createGroup() {
+ return new Group();
+ }
+
+ /**
+ * Create an instance of {@link Association }
+ *
+ */
+ public Association createAssociation() {
+ return new Association();
+ }
+
+ /**
+ * Create an instance of {@link Identifiable }
+ *
+ */
+ public Identifiable createIdentifiable() {
+ return new Identifiable();
+ }
+
+ /**
+ * Create an instance of {@link IdentifiableNode }
+ *
+ */
+ public IdentifiableNode createIdentifiableNode() {
+ return new IdentifiableNode();
+ }
+
+ /**
+ * Create an instance of {@link Pool }
+ *
+ */
+ public Pool createPool() {
+ return new Pool();
+ }
+
+ /**
+ * Create an instance of {@link NamedBpmnObject }
+ *
+ */
+ public NamedBpmnObject createNamedBpmnObject() {
+ return new NamedBpmnObject();
+ }
+
+ /**
+ * Create an instance of {@link BpmnDiagram }
+ *
+ */
+ public BpmnDiagram createBpmnDiagram() {
+ return new BpmnDiagram();
+ }
+
+ /**
+ * Create an instance of {@link Lane }
+ *
+ */
+ public Lane createLane() {
+ return new Lane();
+ }
+
+ /**
+ * Create an instance of {@link SequenceEdge }
+ *
+ */
+ public SequenceEdge createSequenceEdge() {
+ return new SequenceEdge();
+ }
+
+ /**
+ * Create an instance of {@link Activity }
+ *
+ */
+ public Activity createActivity() {
+ return new Activity();
+ }
+
+ /**
+ * Create an instance of {@link Artifact }
+ *
+ */
+ public Artifact createArtifact() {
+ return new Artifact();
+ }
+
+ /**
+ * Create an instance of {@link ArtifactsContainer }
+ *
+ */
+ public ArtifactsContainer createArtifactsContainer() {
+ return new ArtifactsContainer();
+ }
+
+ /**
+ * Create an instance of {@link SubProcess }
+ *
+ */
+ public SubProcess createSubProcess() {
+ return new SubProcess();
+ }
+
+ /**
+ * Create an instance of {@link DataObject }
+ *
+ */
+ public DataObject createDataObject() {
+ return new DataObject();
+ }
+
+ /**
+ * Create an instance of {@link Graph }
+ *
+ */
+ public Graph createGraph() {
+ return new Graph();
+ }
+
+ /**
+ * Create an instance of {@link MessagingEdge }
+ *
+ */
+ public MessagingEdge createMessagingEdge() {
+ return new MessagingEdge();
+ }
+
+ /**
+ * Create an instance of {@link Vertex }
+ *
+ */
+ public Vertex createVertex() {
+ return new Vertex();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "", name = "incomingMessages", scope = Activity.class)
+ public JAXBElement<String> createActivityIncomingMessages(String value) {
+ return new JAXBElement<String>(_ActivityIncomingMessages_QNAME, String.class, Activity.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "", name = "outgoingMessages", scope = Activity.class)
+ public JAXBElement<String> createActivityOutgoingMessages(String value) {
+ return new JAXBElement<String>(_ActivityOutgoingMessages_QNAME, String.class, Activity.class, value);
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ObjectFactory.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Pool.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Pool.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Pool.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,106 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.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.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for Pool complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Pool">
+ * <complexContent>
+ * <extension base="{http://stp.eclipse.org/bpmn}Graph">
+ * <sequence>
+ * <element name="lanes" type="{http://stp.eclipse.org/bpmn}Lane" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="bpmnDiagram" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "Pool", propOrder = {
+ "lanes"
+})
+public class Pool
+ extends Graph
+{
+
+ protected List<Lane> lanes;
+ @XmlAttribute
+ @XmlSchemaType(name = "anySimpleType")
+ protected String bpmnDiagram;
+
+ /**
+ * Gets the value of the lanes 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 lanes property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getLanes().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Lane }
+ *
+ *
+ */
+ public List<Lane> getLanes() {
+ if (lanes == null) {
+ lanes = new ArrayList<Lane>();
+ }
+ return this.lanes;
+ }
+
+ /**
+ * Gets the value of the bpmnDiagram property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getBpmnDiagram() {
+ return bpmnDiagram;
+ }
+
+ /**
+ * Sets the value of the bpmnDiagram property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setBpmnDiagram(String value) {
+ this.bpmnDiagram = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Pool.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/SequenceEdge.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/SequenceEdge.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/SequenceEdge.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,179 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for SequenceEdge complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="SequenceEdge">
+ * <complexContent>
+ * <extension base="{http://stp.eclipse.org/bpmn}Identifiable">
+ * <attribute name="graph" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="source" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="target" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * <attribute name="isDefault" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="conditionType" type="{http://stp.eclipse.org/bpmn}SequenceFlowConditionType" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "SequenceEdge")
+public class SequenceEdge
+ extends Identifiable
+{
+
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String graph;
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String source;
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String target;
+ @XmlAttribute
+ protected Boolean isDefault;
+ @XmlAttribute
+ protected SequenceFlowConditionType conditionType;
+
+ /**
+ * Gets the value of the graph property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getGraph() {
+ return graph;
+ }
+
+ /**
+ * Sets the value of the graph property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setGraph(String value) {
+ this.graph = value;
+ }
+
+ /**
+ * Gets the value of the source property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSource() {
+ return source;
+ }
+
+ /**
+ * Sets the value of the source property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSource(String value) {
+ this.source = value;
+ }
+
+ /**
+ * Gets the value of the target property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTarget() {
+ return target;
+ }
+
+ /**
+ * Sets the value of the target property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTarget(String value) {
+ this.target = value;
+ }
+
+ /**
+ * Gets the value of the isDefault property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isIsDefault() {
+ return isDefault;
+ }
+
+ /**
+ * Sets the value of the isDefault property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setIsDefault(Boolean value) {
+ this.isDefault = value;
+ }
+
+ /**
+ * Gets the value of the conditionType property.
+ *
+ * @return
+ * possible object is
+ * {@link SequenceFlowConditionType }
+ *
+ */
+ public SequenceFlowConditionType getConditionType() {
+ return conditionType;
+ }
+
+ /**
+ * Sets the value of the conditionType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link SequenceFlowConditionType }
+ *
+ */
+ public void setConditionType(SequenceFlowConditionType value) {
+ this.conditionType = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/SequenceEdge.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/SequenceFlowConditionType.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/SequenceFlowConditionType.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/SequenceFlowConditionType.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,61 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for SequenceFlowConditionType.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * <simpleType name="SequenceFlowConditionType">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="None"/>
+ * <enumeration value="Expression"/>
+ * <enumeration value="Default"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+ at XmlType(name = "SequenceFlowConditionType")
+ at XmlEnum
+public enum SequenceFlowConditionType {
+
+ @XmlEnumValue("None")
+ NONE("None"),
+ @XmlEnumValue("Expression")
+ EXPRESSION("Expression"),
+ @XmlEnumValue("Default")
+ DEFAULT("Default");
+ private final String value;
+
+ SequenceFlowConditionType(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static SequenceFlowConditionType fromValue(String v) {
+ for (SequenceFlowConditionType c: SequenceFlowConditionType.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/SequenceFlowConditionType.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/SubProcess.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/SubProcess.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/SubProcess.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,104 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.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.XmlType;
+
+
+/**
+ * <p>Java class for SubProcess complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="SubProcess">
+ * <complexContent>
+ * <extension base="{http://stp.eclipse.org/bpmn}Activity">
+ * <sequence>
+ * <element name="eventHandlers" type="{http://stp.eclipse.org/bpmn}Activity" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="isTransaction" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "SubProcess", propOrder = {
+ "eventHandlers"
+})
+public class SubProcess
+ extends Activity
+{
+
+ protected List<Activity> eventHandlers;
+ @XmlAttribute
+ protected Boolean isTransaction;
+
+ /**
+ * Gets the value of the eventHandlers 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 eventHandlers property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getEventHandlers().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Activity }
+ *
+ *
+ */
+ public List<Activity> getEventHandlers() {
+ if (eventHandlers == null) {
+ eventHandlers = new ArrayList<Activity>();
+ }
+ return this.eventHandlers;
+ }
+
+ /**
+ * Gets the value of the isTransaction property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isIsTransaction() {
+ return isTransaction;
+ }
+
+ /**
+ * Sets the value of the isTransaction property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setIsTransaction(Boolean value) {
+ this.isTransaction = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/SubProcess.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/TextAnnotation.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/TextAnnotation.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/TextAnnotation.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,39 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for TextAnnotation complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="TextAnnotation">
+ * <complexContent>
+ * <extension base="{http://stp.eclipse.org/bpmn}Artifact">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "TextAnnotation")
+public class TextAnnotation
+ extends Artifact
+{
+
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/TextAnnotation.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Vertex.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Vertex.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Vertex.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,144 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.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.XmlSchemaType;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for Vertex complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Vertex">
+ * <complexContent>
+ * <extension base="{http://stp.eclipse.org/bpmn}IdentifiableNode">
+ * <sequence>
+ * <element name="outgoingEdges" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="incomingEdges" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="graph" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "Vertex", propOrder = {
+ "outgoingEdges",
+ "incomingEdges"
+})
+ at XmlSeeAlso({
+ Activity.class
+})
+public class Vertex
+ extends IdentifiableNode
+{
+
+ @XmlSchemaType(name = "anyURI")
+ protected List<String> outgoingEdges;
+ @XmlSchemaType(name = "anyURI")
+ protected List<String> incomingEdges;
+ @XmlAttribute
+ @XmlSchemaType(name = "anyURI")
+ protected String graph;
+
+ /**
+ * Gets the value of the outgoingEdges 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 outgoingEdges property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getOutgoingEdges().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getOutgoingEdges() {
+ if (outgoingEdges == null) {
+ outgoingEdges = new ArrayList<String>();
+ }
+ return this.outgoingEdges;
+ }
+
+ /**
+ * Gets the value of the incomingEdges 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 incomingEdges property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getIncomingEdges().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List<String> getIncomingEdges() {
+ if (incomingEdges == null) {
+ incomingEdges = new ArrayList<String>();
+ }
+ return this.incomingEdges;
+ }
+
+ /**
+ * Gets the value of the graph property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getGraph() {
+ return graph;
+ }
+
+ /**
+ * Sets the value of the graph property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setGraph(String value) {
+ this.graph = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/Vertex.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EAnnotation.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EAnnotation.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EAnnotation.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,143 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.ecore;
+
+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.XmlElementRefs;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for EAnnotation complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="EAnnotation">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}EModelElement">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="details" type="{http://www.eclipse.org/emf/2002/Ecore}EStringToStringMapEntry"/>
+ * <element name="contents" type="{http://www.eclipse.org/emf/2002/Ecore}EObject"/>
+ * <element name="references" type="{http://www.eclipse.org/emf/2002/Ecore}EObject"/>
+ * </choice>
+ * <attribute name="source" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="references" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "EAnnotation", propOrder = {
+ "detailsOrContentsOrReferences"
+})
+public class EAnnotation
+ extends EModelElement
+{
+
+ @XmlElementRefs({
+ @XmlElementRef(name = "contents", type = JAXBElement.class),
+ @XmlElementRef(name = "references", type = JAXBElement.class),
+ @XmlElementRef(name = "details", type = JAXBElement.class)
+ })
+ protected List<JAXBElement<?>> detailsOrContentsOrReferences;
+ @XmlAttribute
+ protected String source;
+ @XmlAttribute
+ protected String references;
+
+ /**
+ * Gets the value of the detailsOrContentsOrReferences 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 detailsOrContentsOrReferences property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDetailsOrContentsOrReferences().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JAXBElement }{@code <}{@link EObject }{@code >}
+ * {@link JAXBElement }{@code <}{@link EObject }{@code >}
+ * {@link JAXBElement }{@code <}{@link EStringToStringMapEntry }{@code >}
+ *
+ *
+ */
+ public List<JAXBElement<?>> getDetailsOrContentsOrReferences() {
+ if (detailsOrContentsOrReferences == null) {
+ detailsOrContentsOrReferences = new ArrayList<JAXBElement<?>>();
+ }
+ return this.detailsOrContentsOrReferences;
+ }
+
+ /**
+ * Gets the value of the source property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSource() {
+ return source;
+ }
+
+ /**
+ * Sets the value of the source property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSource(String value) {
+ this.source = value;
+ }
+
+ /**
+ * Gets the value of the references property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getReferences() {
+ return references;
+ }
+
+ /**
+ * Sets the value of the references property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setReferences(String value) {
+ this.references = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EAnnotation.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EAttribute.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EAttribute.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EAttribute.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,67 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.ecore;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for EAttribute complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="EAttribute">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}EStructuralFeature">
+ * <attribute name="iD" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "EAttribute")
+public class EAttribute
+ extends EStructuralFeature
+{
+
+ @XmlAttribute(name = "iD")
+ protected Boolean id;
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isID() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setID(Boolean value) {
+ this.id = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EAttribute.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EClass.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EClass.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EClass.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,169 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.ecore;
+
+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.XmlElements;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for EClass complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="EClass">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}EClassifier">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="eSuperTypes" type="{http://www.eclipse.org/emf/2002/Ecore}EClass"/>
+ * <element name="eOperations" type="{http://www.eclipse.org/emf/2002/Ecore}EOperation"/>
+ * <element name="eStructuralFeatures" type="{http://www.eclipse.org/emf/2002/Ecore}EStructuralFeature"/>
+ * </choice>
+ * <attribute name="abstract" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="interface" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="eSuperTypes" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "EClass", propOrder = {
+ "eSuperTypesOrEOperationsOrEStructuralFeatures"
+})
+public class EClass
+ extends EClassifier
+{
+
+ @XmlElements({
+ @XmlElement(name = "eStructuralFeatures", type = EStructuralFeature.class),
+ @XmlElement(name = "eOperations", type = EOperation.class),
+ @XmlElement(name = "eSuperTypes", type = EClass.class)
+ })
+ protected List<ENamedElement> eSuperTypesOrEOperationsOrEStructuralFeatures;
+ @XmlAttribute(name = "abstract")
+ protected Boolean _abstract;
+ @XmlAttribute(name = "interface")
+ protected Boolean _interface;
+ @XmlAttribute
+ protected String eSuperTypes;
+
+ /**
+ * Gets the value of the eSuperTypesOrEOperationsOrEStructuralFeatures 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 eSuperTypesOrEOperationsOrEStructuralFeatures property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getESuperTypesOrEOperationsOrEStructuralFeatures().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link EStructuralFeature }
+ * {@link EOperation }
+ * {@link EClass }
+ *
+ *
+ */
+ public List<ENamedElement> getESuperTypesOrEOperationsOrEStructuralFeatures() {
+ if (eSuperTypesOrEOperationsOrEStructuralFeatures == null) {
+ eSuperTypesOrEOperationsOrEStructuralFeatures = new ArrayList<ENamedElement>();
+ }
+ return this.eSuperTypesOrEOperationsOrEStructuralFeatures;
+ }
+
+ /**
+ * Gets the value of the abstract property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isAbstract() {
+ return _abstract;
+ }
+
+ /**
+ * Sets the value of the abstract property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setAbstract(Boolean value) {
+ this._abstract = value;
+ }
+
+ /**
+ * Gets the value of the interface property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isInterface() {
+ return _interface;
+ }
+
+ /**
+ * Sets the value of the interface property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setInterface(Boolean value) {
+ this._interface = value;
+ }
+
+ /**
+ * Gets the value of the eSuperTypes property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getESuperTypes() {
+ return eSuperTypes;
+ }
+
+ /**
+ * Sets the value of the eSuperTypes property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setESuperTypes(String value) {
+ this.eSuperTypes = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EClass.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EClassifier.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EClassifier.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EClassifier.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,72 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.ecore;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for EClassifier complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="EClassifier">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}ENamedElement">
+ * <attribute name="instanceClassName" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "EClassifier")
+ at XmlSeeAlso({
+ EClass.class,
+ EDataType.class
+})
+public class EClassifier
+ extends ENamedElement
+{
+
+ @XmlAttribute
+ protected String instanceClassName;
+
+ /**
+ * Gets the value of the instanceClassName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getInstanceClassName() {
+ return instanceClassName;
+ }
+
+ /**
+ * Sets the value of the instanceClassName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setInstanceClassName(String value) {
+ this.instanceClassName = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EClassifier.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EDataType.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EDataType.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EDataType.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,71 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.ecore;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for EDataType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="EDataType">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}EClassifier">
+ * <attribute name="serializable" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "EDataType")
+ at XmlSeeAlso({
+ EEnum.class
+})
+public class EDataType
+ extends EClassifier
+{
+
+ @XmlAttribute
+ protected Boolean serializable;
+
+ /**
+ * Gets the value of the serializable property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isSerializable() {
+ return serializable;
+ }
+
+ /**
+ * Sets the value of the serializable property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setSerializable(Boolean value) {
+ this.serializable = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EDataType.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EEnum.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EEnum.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EEnum.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,76 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.ecore;
+
+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.XmlType;
+
+
+/**
+ * <p>Java class for EEnum complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="EEnum">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}EDataType">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="eLiterals" type="{http://www.eclipse.org/emf/2002/Ecore}EEnumLiteral"/>
+ * </choice>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "EEnum", propOrder = {
+ "eLiterals"
+})
+public class EEnum
+ extends EDataType
+{
+
+ protected List<EEnumLiteral> eLiterals;
+
+ /**
+ * Gets the value of the eLiterals 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 eLiterals property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getELiterals().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link EEnumLiteral }
+ *
+ *
+ */
+ public List<EEnumLiteral> getELiterals() {
+ if (eLiterals == null) {
+ eLiterals = new ArrayList<EEnumLiteral>();
+ }
+ return this.eLiterals;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EEnum.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EEnumLiteral.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EEnumLiteral.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EEnumLiteral.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,67 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.ecore;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for EEnumLiteral complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="EEnumLiteral">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}ENamedElement">
+ * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "EEnumLiteral")
+public class EEnumLiteral
+ extends ENamedElement
+{
+
+ @XmlAttribute
+ protected Integer value;
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link Integer }
+ *
+ */
+ public Integer getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ *
+ */
+ public void setValue(Integer value) {
+ this.value = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EEnumLiteral.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EFactory.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EFactory.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EFactory.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,39 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.ecore;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for EFactory complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="EFactory">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}EModelElement">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "EFactory")
+public class EFactory
+ extends EModelElement
+{
+
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EFactory.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EModelElement.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EModelElement.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EModelElement.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,86 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.ecore;
+
+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.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+import org.jboss.bpm.dialect.stp.model.Association;
+import org.jboss.bpm.dialect.stp.model.Identifiable;
+
+
+/**
+ * <p>Java class for EModelElement complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="EModelElement">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}EObject">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="eAnnotations" type="{http://www.eclipse.org/emf/2002/Ecore}EAnnotation"/>
+ * </choice>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "EModelElement", propOrder = {
+ "eAnnotations"
+})
+ at XmlSeeAlso({
+ Association.class,
+ Identifiable.class,
+ EAnnotation.class,
+ EFactory.class,
+ ENamedElement.class
+})
+public class EModelElement
+ extends EObject
+{
+
+ protected List<EAnnotation> eAnnotations;
+
+ /**
+ * Gets the value of the eAnnotations 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 eAnnotations property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getEAnnotations().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link EAnnotation }
+ *
+ *
+ */
+ public List<EAnnotation> getEAnnotations() {
+ if (eAnnotations == null) {
+ eAnnotations = new ArrayList<EAnnotation>();
+ }
+ return this.eAnnotations;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EModelElement.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/ENamedElement.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/ENamedElement.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/ENamedElement.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,74 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.ecore;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ENamedElement complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="ENamedElement">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}EModelElement">
+ * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "ENamedElement")
+ at XmlSeeAlso({
+ EPackage.class,
+ EClassifier.class,
+ ETypedElement.class,
+ EEnumLiteral.class
+})
+public class ENamedElement
+ extends EModelElement
+{
+
+ @XmlAttribute
+ protected String name;
+
+ /**
+ * 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;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/ENamedElement.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EObject.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EObject.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EObject.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,281 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.ecore;
+
+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.XmlID;
+import javax.xml.bind.annotation.XmlIDREF;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.jboss.bpm.dialect.stp.model.xmi.Extension;
+
+
+/**
+ * <p>Java class for EObject complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="EObject">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element ref="{http://www.omg.org/XMI}Extension"/>
+ * </choice>
+ * <attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/>
+ * <attribute ref="{http://www.omg.org/XMI}id"/>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "EObject", propOrder = {
+ "extension"
+})
+ at XmlSeeAlso({
+ EModelElement.class
+})
+public class EObject {
+
+ @XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI")
+ protected List<Extension> extension;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlID
+ @XmlSchemaType(name = "ID")
+ protected String id;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String version;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected QName type;
+ @XmlAttribute
+ protected String href;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ @XmlIDREF
+ @XmlSchemaType(name = "IDREF")
+ protected Object idref;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String label;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String uuid;
+
+ /**
+ * Gets the value of the extension 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 extension property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getExtension().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Extension }
+ *
+ *
+ */
+ public List<Extension> getExtension() {
+ if (extension == null) {
+ extension = new ArrayList<Extension>();
+ }
+ return this.extension;
+ }
+
+ /**
+ * 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 version property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getVersion() {
+ if (version == null) {
+ return "2.0";
+ } else {
+ return version;
+ }
+ }
+
+ /**
+ * Sets the value of the version property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setVersion(String value) {
+ this.version = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link QName }
+ *
+ */
+ public QName getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link QName }
+ *
+ */
+ public void setType(QName value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets the value of the href property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getHref() {
+ return href;
+ }
+
+ /**
+ * Sets the value of the href property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setHref(String value) {
+ this.href = value;
+ }
+
+ /**
+ * Gets the value of the idref property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ public Object getIdref() {
+ return idref;
+ }
+
+ /**
+ * Sets the value of the idref property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setIdref(Object value) {
+ this.idref = value;
+ }
+
+ /**
+ * Gets the value of the label property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLabel() {
+ return label;
+ }
+
+ /**
+ * Sets the value of the label property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLabel(String value) {
+ this.label = value;
+ }
+
+ /**
+ * Gets the value of the uuid property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getUuid() {
+ return uuid;
+ }
+
+ /**
+ * Sets the value of the uuid property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setUuid(String value) {
+ this.uuid = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EObject.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EOperation.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EOperation.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EOperation.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,112 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.ecore;
+
+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.XmlElements;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for EOperation complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="EOperation">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}ETypedElement">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="eParameters" type="{http://www.eclipse.org/emf/2002/Ecore}EParameter"/>
+ * <element name="eExceptions" type="{http://www.eclipse.org/emf/2002/Ecore}EClassifier"/>
+ * </choice>
+ * <attribute name="eExceptions" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "EOperation", propOrder = {
+ "eParametersOrEExceptions"
+})
+public class EOperation
+ extends ETypedElement
+{
+
+ @XmlElements({
+ @XmlElement(name = "eParameters", type = EParameter.class),
+ @XmlElement(name = "eExceptions", type = EClassifier.class)
+ })
+ protected List<ENamedElement> eParametersOrEExceptions;
+ @XmlAttribute
+ protected String eExceptions;
+
+ /**
+ * Gets the value of the eParametersOrEExceptions 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 eParametersOrEExceptions property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getEParametersOrEExceptions().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link EParameter }
+ * {@link EClassifier }
+ *
+ *
+ */
+ public List<ENamedElement> getEParametersOrEExceptions() {
+ if (eParametersOrEExceptions == null) {
+ eParametersOrEExceptions = new ArrayList<ENamedElement>();
+ }
+ return this.eParametersOrEExceptions;
+ }
+
+ /**
+ * Gets the value of the eExceptions property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getEExceptions() {
+ return eExceptions;
+ }
+
+ /**
+ * Sets the value of the eExceptions property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setEExceptions(String value) {
+ this.eExceptions = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EOperation.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EPackage.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EPackage.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EPackage.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,139 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.ecore;
+
+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.XmlElements;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for EPackage complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="EPackage">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}ENamedElement">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="eClassifiers" type="{http://www.eclipse.org/emf/2002/Ecore}EClassifier"/>
+ * <element name="eSubpackages" type="{http://www.eclipse.org/emf/2002/Ecore}EPackage"/>
+ * </choice>
+ * <attribute name="nsURI" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="nsPrefix" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "EPackage", propOrder = {
+ "eClassifiersOrESubpackages"
+})
+public class EPackage
+ extends ENamedElement
+{
+
+ @XmlElements({
+ @XmlElement(name = "eClassifiers", type = EClassifier.class),
+ @XmlElement(name = "eSubpackages", type = EPackage.class)
+ })
+ protected List<ENamedElement> eClassifiersOrESubpackages;
+ @XmlAttribute
+ protected String nsURI;
+ @XmlAttribute
+ protected String nsPrefix;
+
+ /**
+ * Gets the value of the eClassifiersOrESubpackages 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 eClassifiersOrESubpackages property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getEClassifiersOrESubpackages().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link EClassifier }
+ * {@link EPackage }
+ *
+ *
+ */
+ public List<ENamedElement> getEClassifiersOrESubpackages() {
+ if (eClassifiersOrESubpackages == null) {
+ eClassifiersOrESubpackages = new ArrayList<ENamedElement>();
+ }
+ return this.eClassifiersOrESubpackages;
+ }
+
+ /**
+ * Gets the value of the nsURI property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getNsURI() {
+ return nsURI;
+ }
+
+ /**
+ * Sets the value of the nsURI property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setNsURI(String value) {
+ this.nsURI = value;
+ }
+
+ /**
+ * Gets the value of the nsPrefix property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getNsPrefix() {
+ return nsPrefix;
+ }
+
+ /**
+ * Sets the value of the nsPrefix property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setNsPrefix(String value) {
+ this.nsPrefix = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EPackage.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EParameter.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EParameter.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EParameter.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,39 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.ecore;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for EParameter complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="EParameter">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}ETypedElement">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "EParameter")
+public class EParameter
+ extends ETypedElement
+{
+
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EParameter.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EReference.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EReference.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EReference.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,158 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.ecore;
+
+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.XmlType;
+
+
+/**
+ * <p>Java class for EReference complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="EReference">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}EStructuralFeature">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="eOpposite" type="{http://www.eclipse.org/emf/2002/Ecore}EReference"/>
+ * </choice>
+ * <attribute name="containment" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="resolveProxies" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="eOpposite" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "EReference", propOrder = {
+ "eOpposite"
+})
+public class EReference
+ extends EStructuralFeature
+{
+
+ protected List<EReference> eOpposite;
+ @XmlAttribute
+ protected Boolean containment;
+ @XmlAttribute
+ protected Boolean resolveProxies;
+ @XmlAttribute(name = "eOpposite")
+ protected String eOppositeAtt;
+
+ /**
+ * Gets the value of the eOpposite 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 eOpposite property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getEOpposite().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link EReference }
+ *
+ *
+ */
+ public List<EReference> getEOpposite() {
+ if (eOpposite == null) {
+ eOpposite = new ArrayList<EReference>();
+ }
+ return this.eOpposite;
+ }
+
+ /**
+ * Gets the value of the containment property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isContainment() {
+ return containment;
+ }
+
+ /**
+ * Sets the value of the containment property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setContainment(Boolean value) {
+ this.containment = value;
+ }
+
+ /**
+ * Gets the value of the resolveProxies property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isResolveProxies() {
+ return resolveProxies;
+ }
+
+ /**
+ * Sets the value of the resolveProxies property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setResolveProxies(Boolean value) {
+ this.resolveProxies = value;
+ }
+
+ /**
+ * Gets the value of the eOppositeAtt property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getEOppositeAtt() {
+ return eOppositeAtt;
+ }
+
+ /**
+ * Sets the value of the eOppositeAtt property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setEOppositeAtt(String value) {
+ this.eOppositeAtt = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EReference.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EStringToStringMapEntry.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EStringToStringMapEntry.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EStringToStringMapEntry.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,331 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.ecore;
+
+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.XmlID;
+import javax.xml.bind.annotation.XmlIDREF;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
+import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+import org.jboss.bpm.dialect.stp.model.xmi.Extension;
+
+
+/**
+ * <p>Java class for EStringToStringMapEntry complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="EStringToStringMapEntry">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element ref="{http://www.omg.org/XMI}Extension"/>
+ * </choice>
+ * <attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/>
+ * <attribute ref="{http://www.omg.org/XMI}id"/>
+ * <attribute name="key" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "EStringToStringMapEntry", propOrder = {
+ "extension"
+})
+public class EStringToStringMapEntry {
+
+ @XmlElement(name = "Extension", namespace = "http://www.omg.org/XMI")
+ protected List<Extension> extension;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlID
+ @XmlSchemaType(name = "ID")
+ protected String id;
+ @XmlAttribute
+ protected String key;
+ @XmlAttribute
+ protected String value;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String version;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected QName type;
+ @XmlAttribute
+ protected String href;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ @XmlIDREF
+ @XmlSchemaType(name = "IDREF")
+ protected Object idref;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String label;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String uuid;
+
+ /**
+ * Gets the value of the extension 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 extension property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getExtension().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Extension }
+ *
+ *
+ */
+ public List<Extension> getExtension() {
+ if (extension == null) {
+ extension = new ArrayList<Extension>();
+ }
+ return this.extension;
+ }
+
+ /**
+ * 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 key property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getKey() {
+ return key;
+ }
+
+ /**
+ * Sets the value of the key property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setKey(String value) {
+ this.key = value;
+ }
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ /**
+ * Gets the value of the version property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getVersion() {
+ if (version == null) {
+ return "2.0";
+ } else {
+ return version;
+ }
+ }
+
+ /**
+ * Sets the value of the version property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setVersion(String value) {
+ this.version = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link QName }
+ *
+ */
+ public QName getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link QName }
+ *
+ */
+ public void setType(QName value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets the value of the href property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getHref() {
+ return href;
+ }
+
+ /**
+ * Sets the value of the href property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setHref(String value) {
+ this.href = value;
+ }
+
+ /**
+ * Gets the value of the idref property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ public Object getIdref() {
+ return idref;
+ }
+
+ /**
+ * Sets the value of the idref property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setIdref(Object value) {
+ this.idref = value;
+ }
+
+ /**
+ * Gets the value of the label property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLabel() {
+ return label;
+ }
+
+ /**
+ * Sets the value of the label property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLabel(String value) {
+ this.label = value;
+ }
+
+ /**
+ * Gets the value of the uuid property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getUuid() {
+ return uuid;
+ }
+
+ /**
+ * Sets the value of the uuid property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setUuid(String value) {
+ this.uuid = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EStringToStringMapEntry.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EStructuralFeature.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EStructuralFeature.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EStructuralFeature.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,207 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.ecore;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for EStructuralFeature complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="EStructuralFeature">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}ETypedElement">
+ * <attribute name="changeable" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="volatile" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="transient" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="defaultValueLiteral" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="unsettable" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="derived" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "EStructuralFeature")
+ at XmlSeeAlso({
+ EAttribute.class,
+ EReference.class
+})
+public class EStructuralFeature
+ extends ETypedElement
+{
+
+ @XmlAttribute
+ protected Boolean changeable;
+ @XmlAttribute(name = "volatile")
+ protected Boolean _volatile;
+ @XmlAttribute(name = "transient")
+ protected Boolean _transient;
+ @XmlAttribute
+ protected String defaultValueLiteral;
+ @XmlAttribute
+ protected Boolean unsettable;
+ @XmlAttribute
+ protected Boolean derived;
+
+ /**
+ * Gets the value of the changeable property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isChangeable() {
+ return changeable;
+ }
+
+ /**
+ * Sets the value of the changeable property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setChangeable(Boolean value) {
+ this.changeable = value;
+ }
+
+ /**
+ * Gets the value of the volatile property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isVolatile() {
+ return _volatile;
+ }
+
+ /**
+ * Sets the value of the volatile property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setVolatile(Boolean value) {
+ this._volatile = value;
+ }
+
+ /**
+ * Gets the value of the transient property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isTransient() {
+ return _transient;
+ }
+
+ /**
+ * Sets the value of the transient property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setTransient(Boolean value) {
+ this._transient = value;
+ }
+
+ /**
+ * Gets the value of the defaultValueLiteral property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDefaultValueLiteral() {
+ return defaultValueLiteral;
+ }
+
+ /**
+ * Sets the value of the defaultValueLiteral property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDefaultValueLiteral(String value) {
+ this.defaultValueLiteral = value;
+ }
+
+ /**
+ * Gets the value of the unsettable property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isUnsettable() {
+ return unsettable;
+ }
+
+ /**
+ * Sets the value of the unsettable property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setUnsettable(Boolean value) {
+ this.unsettable = value;
+ }
+
+ /**
+ * Gets the value of the derived property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isDerived() {
+ return derived;
+ }
+
+ /**
+ * Sets the value of the derived property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setDerived(Boolean value) {
+ this.derived = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/EStructuralFeature.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/ETypedElement.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/ETypedElement.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/ETypedElement.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,218 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.ecore;
+
+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.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ETypedElement complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="ETypedElement">
+ * <complexContent>
+ * <extension base="{http://www.eclipse.org/emf/2002/Ecore}ENamedElement">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="eType" type="{http://www.eclipse.org/emf/2002/Ecore}EClassifier"/>
+ * </choice>
+ * <attribute name="ordered" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="unique" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * <attribute name="lowerBound" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="upperBound" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="eType" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "ETypedElement", propOrder = {
+ "eType"
+})
+ at XmlSeeAlso({
+ EParameter.class,
+ EOperation.class,
+ EStructuralFeature.class
+})
+public class ETypedElement
+ extends ENamedElement
+{
+
+ protected List<EClassifier> eType;
+ @XmlAttribute
+ protected Boolean ordered;
+ @XmlAttribute
+ protected Boolean unique;
+ @XmlAttribute
+ protected Integer lowerBound;
+ @XmlAttribute
+ protected Integer upperBound;
+ @XmlAttribute(name = "eType")
+ protected String eTypeAtt;
+
+ /**
+ * Gets the value of the eType 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 eType property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getEType().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link EClassifier }
+ *
+ *
+ */
+ public List<EClassifier> getEType() {
+ if (eType == null) {
+ eType = new ArrayList<EClassifier>();
+ }
+ return this.eType;
+ }
+
+ /**
+ * Gets the value of the ordered property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isOrdered() {
+ return ordered;
+ }
+
+ /**
+ * Sets the value of the ordered property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setOrdered(Boolean value) {
+ this.ordered = value;
+ }
+
+ /**
+ * Gets the value of the unique property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isUnique() {
+ return unique;
+ }
+
+ /**
+ * Sets the value of the unique property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setUnique(Boolean value) {
+ this.unique = value;
+ }
+
+ /**
+ * Gets the value of the lowerBound property.
+ *
+ * @return
+ * possible object is
+ * {@link Integer }
+ *
+ */
+ public Integer getLowerBound() {
+ return lowerBound;
+ }
+
+ /**
+ * Sets the value of the lowerBound property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ *
+ */
+ public void setLowerBound(Integer value) {
+ this.lowerBound = value;
+ }
+
+ /**
+ * Gets the value of the upperBound property.
+ *
+ * @return
+ * possible object is
+ * {@link Integer }
+ *
+ */
+ public Integer getUpperBound() {
+ return upperBound;
+ }
+
+ /**
+ * Sets the value of the upperBound property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ *
+ */
+ public void setUpperBound(Integer value) {
+ this.upperBound = value;
+ }
+
+ /**
+ * Gets the value of the eTypeAtt property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getETypeAtt() {
+ return eTypeAtt;
+ }
+
+ /**
+ * Sets the value of the eTypeAtt property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setETypeAtt(String value) {
+ this.eTypeAtt = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/ETypedElement.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/ObjectFactory.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/ObjectFactory.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/ObjectFactory.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,396 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.ecore;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.jboss.bpm.dialect.stp.model.ecore package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+ at XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _ETypedElement_QNAME = new QName("http://www.eclipse.org/emf/2002/Ecore", "ETypedElement");
+ private final static QName _EStructuralFeature_QNAME = new QName("http://www.eclipse.org/emf/2002/Ecore", "EStructuralFeature");
+ private final static QName _EModelElement_QNAME = new QName("http://www.eclipse.org/emf/2002/Ecore", "EModelElement");
+ private final static QName _EEnum_QNAME = new QName("http://www.eclipse.org/emf/2002/Ecore", "EEnum");
+ private final static QName _EFactory_QNAME = new QName("http://www.eclipse.org/emf/2002/Ecore", "EFactory");
+ private final static QName _EClassifier_QNAME = new QName("http://www.eclipse.org/emf/2002/Ecore", "EClassifier");
+ private final static QName _EAnnotation_QNAME = new QName("http://www.eclipse.org/emf/2002/Ecore", "EAnnotation");
+ private final static QName _ENamedElement_QNAME = new QName("http://www.eclipse.org/emf/2002/Ecore", "ENamedElement");
+ private final static QName _EOperation_QNAME = new QName("http://www.eclipse.org/emf/2002/Ecore", "EOperation");
+ private final static QName _EStringToStringMapEntry_QNAME = new QName("http://www.eclipse.org/emf/2002/Ecore", "EStringToStringMapEntry");
+ private final static QName _EReference_QNAME = new QName("http://www.eclipse.org/emf/2002/Ecore", "EReference");
+ private final static QName _EEnumLiteral_QNAME = new QName("http://www.eclipse.org/emf/2002/Ecore", "EEnumLiteral");
+ private final static QName _EParameter_QNAME = new QName("http://www.eclipse.org/emf/2002/Ecore", "EParameter");
+ private final static QName _EDataType_QNAME = new QName("http://www.eclipse.org/emf/2002/Ecore", "EDataType");
+ private final static QName _EObject_QNAME = new QName("http://www.eclipse.org/emf/2002/Ecore", "EObject");
+ private final static QName _EClass_QNAME = new QName("http://www.eclipse.org/emf/2002/Ecore", "EClass");
+ private final static QName _EPackage_QNAME = new QName("http://www.eclipse.org/emf/2002/Ecore", "EPackage");
+ private final static QName _EAttribute_QNAME = new QName("http://www.eclipse.org/emf/2002/Ecore", "EAttribute");
+ private final static QName _EAnnotationReferences_QNAME = new QName("", "references");
+ private final static QName _EAnnotationDetails_QNAME = new QName("", "details");
+ private final static QName _EAnnotationContents_QNAME = new QName("", "contents");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.jboss.bpm.dialect.stp.model.ecore
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link EClass }
+ *
+ */
+ public EClass createEClass() {
+ return new EClass();
+ }
+
+ /**
+ * Create an instance of {@link EPackage }
+ *
+ */
+ public EPackage createEPackage() {
+ return new EPackage();
+ }
+
+ /**
+ * Create an instance of {@link EEnum }
+ *
+ */
+ public EEnum createEEnum() {
+ return new EEnum();
+ }
+
+ /**
+ * Create an instance of {@link EOperation }
+ *
+ */
+ public EOperation createEOperation() {
+ return new EOperation();
+ }
+
+ /**
+ * Create an instance of {@link ETypedElement }
+ *
+ */
+ public ETypedElement createETypedElement() {
+ return new ETypedElement();
+ }
+
+ /**
+ * Create an instance of {@link EClassifier }
+ *
+ */
+ public EClassifier createEClassifier() {
+ return new EClassifier();
+ }
+
+ /**
+ * Create an instance of {@link EParameter }
+ *
+ */
+ public EParameter createEParameter() {
+ return new EParameter();
+ }
+
+ /**
+ * Create an instance of {@link EModelElement }
+ *
+ */
+ public EModelElement createEModelElement() {
+ return new EModelElement();
+ }
+
+ /**
+ * Create an instance of {@link EFactory }
+ *
+ */
+ public EFactory createEFactory() {
+ return new EFactory();
+ }
+
+ /**
+ * Create an instance of {@link EDataType }
+ *
+ */
+ public EDataType createEDataType() {
+ return new EDataType();
+ }
+
+ /**
+ * Create an instance of {@link EObject }
+ *
+ */
+ public EObject createEObject() {
+ return new EObject();
+ }
+
+ /**
+ * Create an instance of {@link EStructuralFeature }
+ *
+ */
+ public EStructuralFeature createEStructuralFeature() {
+ return new EStructuralFeature();
+ }
+
+ /**
+ * Create an instance of {@link EAnnotation }
+ *
+ */
+ public EAnnotation createEAnnotation() {
+ return new EAnnotation();
+ }
+
+ /**
+ * Create an instance of {@link EEnumLiteral }
+ *
+ */
+ public EEnumLiteral createEEnumLiteral() {
+ return new EEnumLiteral();
+ }
+
+ /**
+ * Create an instance of {@link ENamedElement }
+ *
+ */
+ public ENamedElement createENamedElement() {
+ return new ENamedElement();
+ }
+
+ /**
+ * Create an instance of {@link EReference }
+ *
+ */
+ public EReference createEReference() {
+ return new EReference();
+ }
+
+ /**
+ * Create an instance of {@link EAttribute }
+ *
+ */
+ public EAttribute createEAttribute() {
+ return new EAttribute();
+ }
+
+ /**
+ * Create an instance of {@link EStringToStringMapEntry }
+ *
+ */
+ public EStringToStringMapEntry createEStringToStringMapEntry() {
+ return new EStringToStringMapEntry();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link ETypedElement }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "ETypedElement")
+ public JAXBElement<ETypedElement> createETypedElement(ETypedElement value) {
+ return new JAXBElement<ETypedElement>(_ETypedElement_QNAME, ETypedElement.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EStructuralFeature }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EStructuralFeature")
+ public JAXBElement<EStructuralFeature> createEStructuralFeature(EStructuralFeature value) {
+ return new JAXBElement<EStructuralFeature>(_EStructuralFeature_QNAME, EStructuralFeature.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EModelElement }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EModelElement")
+ public JAXBElement<EModelElement> createEModelElement(EModelElement value) {
+ return new JAXBElement<EModelElement>(_EModelElement_QNAME, EModelElement.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EEnum }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EEnum")
+ public JAXBElement<EEnum> createEEnum(EEnum value) {
+ return new JAXBElement<EEnum>(_EEnum_QNAME, EEnum.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EFactory }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EFactory")
+ public JAXBElement<EFactory> createEFactory(EFactory value) {
+ return new JAXBElement<EFactory>(_EFactory_QNAME, EFactory.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EClassifier }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EClassifier")
+ public JAXBElement<EClassifier> createEClassifier(EClassifier value) {
+ return new JAXBElement<EClassifier>(_EClassifier_QNAME, EClassifier.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EAnnotation }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EAnnotation")
+ public JAXBElement<EAnnotation> createEAnnotation(EAnnotation value) {
+ return new JAXBElement<EAnnotation>(_EAnnotation_QNAME, EAnnotation.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link ENamedElement }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "ENamedElement")
+ public JAXBElement<ENamedElement> createENamedElement(ENamedElement value) {
+ return new JAXBElement<ENamedElement>(_ENamedElement_QNAME, ENamedElement.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EOperation }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EOperation")
+ public JAXBElement<EOperation> createEOperation(EOperation value) {
+ return new JAXBElement<EOperation>(_EOperation_QNAME, EOperation.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EStringToStringMapEntry }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EStringToStringMapEntry")
+ public JAXBElement<EStringToStringMapEntry> createEStringToStringMapEntry(EStringToStringMapEntry value) {
+ return new JAXBElement<EStringToStringMapEntry>(_EStringToStringMapEntry_QNAME, EStringToStringMapEntry.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EReference }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EReference")
+ public JAXBElement<EReference> createEReference(EReference value) {
+ return new JAXBElement<EReference>(_EReference_QNAME, EReference.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EEnumLiteral }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EEnumLiteral")
+ public JAXBElement<EEnumLiteral> createEEnumLiteral(EEnumLiteral value) {
+ return new JAXBElement<EEnumLiteral>(_EEnumLiteral_QNAME, EEnumLiteral.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EParameter }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EParameter")
+ public JAXBElement<EParameter> createEParameter(EParameter value) {
+ return new JAXBElement<EParameter>(_EParameter_QNAME, EParameter.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EDataType }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EDataType")
+ public JAXBElement<EDataType> createEDataType(EDataType value) {
+ return new JAXBElement<EDataType>(_EDataType_QNAME, EDataType.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EObject }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EObject")
+ public JAXBElement<EObject> createEObject(EObject value) {
+ return new JAXBElement<EObject>(_EObject_QNAME, EObject.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EClass }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EClass")
+ public JAXBElement<EClass> createEClass(EClass value) {
+ return new JAXBElement<EClass>(_EClass_QNAME, EClass.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EPackage }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EPackage")
+ public JAXBElement<EPackage> createEPackage(EPackage value) {
+ return new JAXBElement<EPackage>(_EPackage_QNAME, EPackage.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EAttribute }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.eclipse.org/emf/2002/Ecore", name = "EAttribute")
+ public JAXBElement<EAttribute> createEAttribute(EAttribute value) {
+ return new JAXBElement<EAttribute>(_EAttribute_QNAME, EAttribute.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EObject }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "", name = "references", scope = EAnnotation.class)
+ public JAXBElement<EObject> createEAnnotationReferences(EObject value) {
+ return new JAXBElement<EObject>(_EAnnotationReferences_QNAME, EObject.class, EAnnotation.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EStringToStringMapEntry }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "", name = "details", scope = EAnnotation.class)
+ public JAXBElement<EStringToStringMapEntry> createEAnnotationDetails(EStringToStringMapEntry value) {
+ return new JAXBElement<EStringToStringMapEntry>(_EAnnotationDetails_QNAME, EStringToStringMapEntry.class, EAnnotation.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link EObject }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "", name = "contents", scope = EAnnotation.class)
+ public JAXBElement<EObject> createEAnnotationContents(EObject value) {
+ return new JAXBElement<EObject>(_EAnnotationContents_QNAME, EObject.class, EAnnotation.class, value);
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/ObjectFactory.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/package-info.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/package-info.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/package-info.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,9 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+ at javax.xml.bind.annotation.XmlSchema(namespace = "http://www.eclipse.org/emf/2002/Ecore")
+package org.jboss.bpm.dialect.stp.model.ecore;
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/ecore/package-info.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/package-info.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/package-info.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/package-info.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,9 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+ at javax.xml.bind.annotation.XmlSchema(namespace = "http://stp.eclipse.org/bpmn")
+package org.jboss.bpm.dialect.stp.model;
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/package-info.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Add.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Add.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Add.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,105 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.xmi;
+
+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.XmlIDREF;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for Add complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Add">
+ * <complexContent>
+ * <extension base="{http://www.omg.org/XMI}Difference">
+ * <attribute name="position" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="addition" type="{http://www.w3.org/2001/XMLSchema}IDREFS" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "Add")
+public class Add
+ extends Difference
+{
+
+ @XmlAttribute
+ protected String position;
+ @XmlAttribute
+ @XmlIDREF
+ @XmlSchemaType(name = "IDREFS")
+ protected List<Object> addition;
+
+ /**
+ * Gets the value of the position property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPosition() {
+ return position;
+ }
+
+ /**
+ * Sets the value of the position property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPosition(String value) {
+ this.position = value;
+ }
+
+ /**
+ * Gets the value of the addition 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 addition property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAddition().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ *
+ *
+ */
+ public List<Object> getAddition() {
+ if (addition == null) {
+ addition = new ArrayList<Object>();
+ }
+ return this.addition;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Add.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Any.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Any.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Any.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,101 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.xmi;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for Any complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Any">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <any/>
+ * </choice>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "Any", propOrder = {
+ "any"
+})
+public class Any {
+
+ @XmlAnyElement
+ protected List<Element> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the any 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 any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Element }
+ *
+ *
+ */
+ public List<Element> getAny() {
+ if (any == null) {
+ any = new ArrayList<Element>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * 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<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Any.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Delete.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Delete.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Delete.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,39 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.xmi;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for Delete complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Delete">
+ * <complexContent>
+ * <extension base="{http://www.omg.org/XMI}Difference">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "Delete")
+public class Delete
+ extends Difference
+{
+
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Delete.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Difference.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Difference.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Difference.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,422 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.xmi;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlElementRefs;
+import javax.xml.bind.annotation.XmlIDREF;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for Difference complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Difference">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="target">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <any/>
+ * </choice>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element name="difference" type="{http://www.omg.org/XMI}Difference"/>
+ * <element name="container" type="{http://www.omg.org/XMI}Difference"/>
+ * </choice>
+ * <attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/>
+ * <attribute name="target" type="{http://www.w3.org/2001/XMLSchema}IDREFS" />
+ * <attribute name="container" type="{http://www.w3.org/2001/XMLSchema}IDREFS" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "Difference", propOrder = {
+ "targetOrDifferenceOrContainer"
+})
+ at XmlSeeAlso({
+ Replace.class,
+ Add.class,
+ Delete.class
+})
+public class Difference {
+
+ @XmlElementRefs({
+ @XmlElementRef(name = "difference", type = JAXBElement.class),
+ @XmlElementRef(name = "target", type = JAXBElement.class),
+ @XmlElementRef(name = "container", type = JAXBElement.class)
+ })
+ protected List<JAXBElement<?>> targetOrDifferenceOrContainer;
+ @XmlAttribute
+ @XmlIDREF
+ @XmlSchemaType(name = "IDREFS")
+ protected List<Object> target;
+ @XmlAttribute
+ @XmlIDREF
+ @XmlSchemaType(name = "IDREFS")
+ protected List<Object> container;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String version;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected QName type;
+ @XmlAttribute
+ protected String href;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ @XmlIDREF
+ @XmlSchemaType(name = "IDREF")
+ protected Object idref;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String label;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String uuid;
+
+ /**
+ * Gets the value of the targetOrDifferenceOrContainer 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 targetOrDifferenceOrContainer property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getTargetOrDifferenceOrContainer().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JAXBElement }{@code <}{@link Difference.Target }{@code >}
+ * {@link JAXBElement }{@code <}{@link Difference }{@code >}
+ * {@link JAXBElement }{@code <}{@link Difference }{@code >}
+ *
+ *
+ */
+ public List<JAXBElement<?>> getTargetOrDifferenceOrContainer() {
+ if (targetOrDifferenceOrContainer == null) {
+ targetOrDifferenceOrContainer = new ArrayList<JAXBElement<?>>();
+ }
+ return this.targetOrDifferenceOrContainer;
+ }
+
+ /**
+ * Gets the value of the target 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 target property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getTarget().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ *
+ *
+ */
+ public List<Object> getTarget() {
+ if (target == null) {
+ target = new ArrayList<Object>();
+ }
+ return this.target;
+ }
+
+ /**
+ * Gets the value of the container 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 container property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getContainer().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ *
+ *
+ */
+ public List<Object> getContainer() {
+ if (container == null) {
+ container = new ArrayList<Object>();
+ }
+ return this.container;
+ }
+
+ /**
+ * Gets the value of the version property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getVersion() {
+ if (version == null) {
+ return "2.0";
+ } else {
+ return version;
+ }
+ }
+
+ /**
+ * Sets the value of the version property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setVersion(String value) {
+ this.version = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link QName }
+ *
+ */
+ public QName getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link QName }
+ *
+ */
+ public void setType(QName value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets the value of the href property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getHref() {
+ return href;
+ }
+
+ /**
+ * Sets the value of the href property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setHref(String value) {
+ this.href = value;
+ }
+
+ /**
+ * Gets the value of the idref property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ public Object getIdref() {
+ return idref;
+ }
+
+ /**
+ * Sets the value of the idref property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setIdref(Object value) {
+ this.idref = value;
+ }
+
+ /**
+ * Gets the value of the label property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLabel() {
+ return label;
+ }
+
+ /**
+ * Sets the value of the label property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLabel(String value) {
+ this.label = value;
+ }
+
+ /**
+ * Gets the value of the uuid property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getUuid() {
+ return uuid;
+ }
+
+ /**
+ * Sets the value of the uuid property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setUuid(String value) {
+ this.uuid = value;
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <any/>
+ * </choice>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "any"
+ })
+ public static class Target {
+
+ @XmlAnyElement
+ protected List<Element> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the any 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 any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Element }
+ *
+ *
+ */
+ public List<Element> getAny() {
+ if (any == null) {
+ any = new ArrayList<Element>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets a map that contains attributes that aren't bound to any typed property on this class.
+ *
+ * <p>
+ * 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<QName, String> getOtherAttributes() {
+ return otherAttributes;
+ }
+
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Difference.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Documentation.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Documentation.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Documentation.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,454 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.xmi;
+
+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.XmlElementRefs;
+import javax.xml.bind.annotation.XmlIDREF;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for Documentation complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Documentation">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="contact" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="exporter" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="exporterVersion" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="longDescription" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="shortDescription" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="notice" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="owner" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </choice>
+ * <attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/>
+ * <attribute name="contact" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="exporter" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="exporterVersion" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="longDescription" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="shortDescription" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="notice" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="owner" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "Documentation", propOrder = {
+ "contactOrExporterOrExporterVersion"
+})
+public class Documentation {
+
+ @XmlElementRefs({
+ @XmlElementRef(name = "exporterVersion", type = JAXBElement.class),
+ @XmlElementRef(name = "shortDescription", type = JAXBElement.class),
+ @XmlElementRef(name = "notice", type = JAXBElement.class),
+ @XmlElementRef(name = "contact", type = JAXBElement.class),
+ @XmlElementRef(name = "owner", type = JAXBElement.class),
+ @XmlElementRef(name = "longDescription", type = JAXBElement.class),
+ @XmlElementRef(name = "exporter", type = JAXBElement.class)
+ })
+ protected List<JAXBElement<String>> contactOrExporterOrExporterVersion;
+ @XmlAttribute
+ protected String contact;
+ @XmlAttribute
+ protected String exporter;
+ @XmlAttribute
+ protected String exporterVersion;
+ @XmlAttribute
+ protected String longDescription;
+ @XmlAttribute
+ protected String shortDescription;
+ @XmlAttribute
+ protected String notice;
+ @XmlAttribute
+ protected String owner;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String version;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected QName type;
+ @XmlAttribute
+ protected String href;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ @XmlIDREF
+ @XmlSchemaType(name = "IDREF")
+ protected Object idref;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String label;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String uuid;
+
+ /**
+ * Gets the value of the contactOrExporterOrExporterVersion 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 contactOrExporterOrExporterVersion property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getContactOrExporterOrExporterVersion().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ *
+ */
+ public List<JAXBElement<String>> getContactOrExporterOrExporterVersion() {
+ if (contactOrExporterOrExporterVersion == null) {
+ contactOrExporterOrExporterVersion = new ArrayList<JAXBElement<String>>();
+ }
+ return this.contactOrExporterOrExporterVersion;
+ }
+
+ /**
+ * Gets the value of the contact property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getContact() {
+ return contact;
+ }
+
+ /**
+ * Sets the value of the contact property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setContact(String value) {
+ this.contact = 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 the value of the longDescription property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLongDescription() {
+ return longDescription;
+ }
+
+ /**
+ * Sets the value of the longDescription property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLongDescription(String value) {
+ this.longDescription = value;
+ }
+
+ /**
+ * Gets the value of the shortDescription property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getShortDescription() {
+ return shortDescription;
+ }
+
+ /**
+ * Sets the value of the shortDescription property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setShortDescription(String value) {
+ this.shortDescription = value;
+ }
+
+ /**
+ * Gets the value of the notice property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getNotice() {
+ return notice;
+ }
+
+ /**
+ * Sets the value of the notice property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setNotice(String value) {
+ this.notice = value;
+ }
+
+ /**
+ * Gets the value of the owner property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getOwner() {
+ return owner;
+ }
+
+ /**
+ * Sets the value of the owner property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setOwner(String value) {
+ this.owner = value;
+ }
+
+ /**
+ * Gets the value of the version property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getVersion() {
+ if (version == null) {
+ return "2.0";
+ } else {
+ return version;
+ }
+ }
+
+ /**
+ * Sets the value of the version property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setVersion(String value) {
+ this.version = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link QName }
+ *
+ */
+ public QName getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link QName }
+ *
+ */
+ public void setType(QName value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets the value of the href property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getHref() {
+ return href;
+ }
+
+ /**
+ * Sets the value of the href property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setHref(String value) {
+ this.href = value;
+ }
+
+ /**
+ * Gets the value of the idref property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ public Object getIdref() {
+ return idref;
+ }
+
+ /**
+ * Sets the value of the idref property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setIdref(Object value) {
+ this.idref = value;
+ }
+
+ /**
+ * Gets the value of the label property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLabel() {
+ return label;
+ }
+
+ /**
+ * Sets the value of the label property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLabel(String value) {
+ this.label = value;
+ }
+
+ /**
+ * Gets the value of the uuid property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getUuid() {
+ return uuid;
+ }
+
+ /**
+ * Sets the value of the uuid property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setUuid(String value) {
+ this.uuid = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Documentation.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Extension.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Extension.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Extension.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,299 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.xmi;
+
+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.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlIDREF;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for Extension complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Extension">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <any/>
+ * </choice>
+ * <attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/>
+ * <attribute name="extender" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="extenderID" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "Extension", propOrder = {
+ "any"
+})
+public class Extension {
+
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute
+ protected String extender;
+ @XmlAttribute
+ protected String extenderID;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String version;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected QName type;
+ @XmlAttribute
+ protected String href;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ @XmlIDREF
+ @XmlSchemaType(name = "IDREF")
+ protected Object idref;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String label;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String uuid;
+
+ /**
+ * Gets the value of the any 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 any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the extender property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getExtender() {
+ return extender;
+ }
+
+ /**
+ * Sets the value of the extender property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setExtender(String value) {
+ this.extender = value;
+ }
+
+ /**
+ * Gets the value of the extenderID property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getExtenderID() {
+ return extenderID;
+ }
+
+ /**
+ * Sets the value of the extenderID property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setExtenderID(String value) {
+ this.extenderID = value;
+ }
+
+ /**
+ * Gets the value of the version property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getVersion() {
+ if (version == null) {
+ return "2.0";
+ } else {
+ return version;
+ }
+ }
+
+ /**
+ * Sets the value of the version property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setVersion(String value) {
+ this.version = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link QName }
+ *
+ */
+ public QName getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link QName }
+ *
+ */
+ public void setType(QName value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets the value of the href property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getHref() {
+ return href;
+ }
+
+ /**
+ * Sets the value of the href property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setHref(String value) {
+ this.href = value;
+ }
+
+ /**
+ * Gets the value of the idref property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ public Object getIdref() {
+ return idref;
+ }
+
+ /**
+ * Sets the value of the idref property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setIdref(Object value) {
+ this.idref = value;
+ }
+
+ /**
+ * Gets the value of the label property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLabel() {
+ return label;
+ }
+
+ /**
+ * Sets the value of the label property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLabel(String value) {
+ this.label = value;
+ }
+
+ /**
+ * Gets the value of the uuid property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getUuid() {
+ return uuid;
+ }
+
+ /**
+ * Sets the value of the uuid property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setUuid(String value) {
+ this.uuid = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Extension.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Import.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Import.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Import.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,39 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.xmi;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for Import complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Import">
+ * <complexContent>
+ * <extension base="{http://www.omg.org/XMI}PackageReference">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "Import")
+public class Import
+ extends PackageReference
+{
+
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Import.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/MetaModel.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/MetaModel.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/MetaModel.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,39 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.xmi;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for MetaModel complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="MetaModel">
+ * <complexContent>
+ * <extension base="{http://www.omg.org/XMI}PackageReference">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "MetaModel")
+public class MetaModel
+ extends PackageReference
+{
+
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/MetaModel.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Model.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Model.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Model.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,39 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.xmi;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for Model complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Model">
+ * <complexContent>
+ * <extension base="{http://www.omg.org/XMI}PackageReference">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "Model")
+public class Model
+ extends PackageReference
+{
+
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Model.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/ObjectFactory.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/ObjectFactory.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/ObjectFactory.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,376 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.xmi;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.jboss.bpm.dialect.stp.model.xmi package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+ at XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _Extension_QNAME = new QName("http://www.omg.org/XMI", "Extension");
+ private final static QName _Delete_QNAME = new QName("http://www.omg.org/XMI", "Delete");
+ private final static QName _Add_QNAME = new QName("http://www.omg.org/XMI", "Add");
+ private final static QName _Import_QNAME = new QName("http://www.omg.org/XMI", "Import");
+ private final static QName _Model_QNAME = new QName("http://www.omg.org/XMI", "Model");
+ private final static QName _Documentation_QNAME = new QName("http://www.omg.org/XMI", "Documentation");
+ private final static QName _Replace_QNAME = new QName("http://www.omg.org/XMI", "Replace");
+ private final static QName _Difference_QNAME = new QName("http://www.omg.org/XMI", "Difference");
+ private final static QName _PackageReference_QNAME = new QName("http://www.omg.org/XMI", "PackageReference");
+ private final static QName _XMI_QNAME = new QName("http://www.omg.org/XMI", "XMI");
+ private final static QName _MetaModel_QNAME = new QName("http://www.omg.org/XMI", "MetaModel");
+ private final static QName _DocumentationExporterVersion_QNAME = new QName("", "exporterVersion");
+ private final static QName _DocumentationShortDescription_QNAME = new QName("", "shortDescription");
+ private final static QName _DocumentationOwner_QNAME = new QName("", "owner");
+ private final static QName _DocumentationLongDescription_QNAME = new QName("", "longDescription");
+ private final static QName _DocumentationExporter_QNAME = new QName("", "exporter");
+ private final static QName _DocumentationNotice_QNAME = new QName("", "notice");
+ private final static QName _DocumentationContact_QNAME = new QName("", "contact");
+ private final static QName _DifferenceDifference_QNAME = new QName("", "difference");
+ private final static QName _DifferenceContainer_QNAME = new QName("", "container");
+ private final static QName _DifferenceTarget_QNAME = new QName("", "target");
+ private final static QName _PackageReferenceName_QNAME = new QName("", "name");
+ private final static QName _PackageReferenceVersion_QNAME = new QName("", "version");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.jboss.bpm.dialect.stp.model.xmi
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link MetaModel }
+ *
+ */
+ public MetaModel createMetaModel() {
+ return new MetaModel();
+ }
+
+ /**
+ * Create an instance of {@link Import }
+ *
+ */
+ public Import createImport() {
+ return new Import();
+ }
+
+ /**
+ * Create an instance of {@link Extension }
+ *
+ */
+ public Extension createExtension() {
+ return new Extension();
+ }
+
+ /**
+ * Create an instance of {@link Model }
+ *
+ */
+ public Model createModel() {
+ return new Model();
+ }
+
+ /**
+ * Create an instance of {@link PackageReference }
+ *
+ */
+ public PackageReference createPackageReference() {
+ return new PackageReference();
+ }
+
+ /**
+ * Create an instance of {@link Add }
+ *
+ */
+ public Add createAdd() {
+ return new Add();
+ }
+
+ /**
+ * Create an instance of {@link Documentation }
+ *
+ */
+ public Documentation createDocumentation() {
+ return new Documentation();
+ }
+
+ /**
+ * Create an instance of {@link XMI }
+ *
+ */
+ public XMI createXMI() {
+ return new XMI();
+ }
+
+ /**
+ * Create an instance of {@link Difference.Target }
+ *
+ */
+ public Difference.Target createDifferenceTarget() {
+ return new Difference.Target();
+ }
+
+ /**
+ * Create an instance of {@link Replace }
+ *
+ */
+ public Replace createReplace() {
+ return new Replace();
+ }
+
+ /**
+ * Create an instance of {@link Difference }
+ *
+ */
+ public Difference createDifference() {
+ return new Difference();
+ }
+
+ /**
+ * Create an instance of {@link Delete }
+ *
+ */
+ public Delete createDelete() {
+ return new Delete();
+ }
+
+ /**
+ * Create an instance of {@link Any }
+ *
+ */
+ public Any createAny() {
+ return new Any();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Extension }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "Extension")
+ public JAXBElement<Extension> createExtension(Extension value) {
+ return new JAXBElement<Extension>(_Extension_QNAME, Extension.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Delete }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "Delete")
+ public JAXBElement<Delete> createDelete(Delete value) {
+ return new JAXBElement<Delete>(_Delete_QNAME, Delete.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Add }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "Add")
+ public JAXBElement<Add> createAdd(Add value) {
+ return new JAXBElement<Add>(_Add_QNAME, Add.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Import }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "Import")
+ public JAXBElement<Import> createImport(Import value) {
+ return new JAXBElement<Import>(_Import_QNAME, Import.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Model }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "Model")
+ public JAXBElement<Model> createModel(Model value) {
+ return new JAXBElement<Model>(_Model_QNAME, Model.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Documentation }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "Documentation")
+ public JAXBElement<Documentation> createDocumentation(Documentation value) {
+ return new JAXBElement<Documentation>(_Documentation_QNAME, Documentation.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Replace }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "Replace")
+ public JAXBElement<Replace> createReplace(Replace value) {
+ return new JAXBElement<Replace>(_Replace_QNAME, Replace.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Difference }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "Difference")
+ public JAXBElement<Difference> createDifference(Difference value) {
+ return new JAXBElement<Difference>(_Difference_QNAME, Difference.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link PackageReference }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "PackageReference")
+ public JAXBElement<PackageReference> createPackageReference(PackageReference value) {
+ return new JAXBElement<PackageReference>(_PackageReference_QNAME, PackageReference.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link XMI }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "XMI")
+ public JAXBElement<XMI> createXMI(XMI value) {
+ return new JAXBElement<XMI>(_XMI_QNAME, XMI.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link MetaModel }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.omg.org/XMI", name = "MetaModel")
+ public JAXBElement<MetaModel> createMetaModel(MetaModel value) {
+ return new JAXBElement<MetaModel>(_MetaModel_QNAME, MetaModel.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "", name = "exporterVersion", scope = Documentation.class)
+ public JAXBElement<String> createDocumentationExporterVersion(String value) {
+ return new JAXBElement<String>(_DocumentationExporterVersion_QNAME, String.class, Documentation.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "", name = "shortDescription", scope = Documentation.class)
+ public JAXBElement<String> createDocumentationShortDescription(String value) {
+ return new JAXBElement<String>(_DocumentationShortDescription_QNAME, String.class, Documentation.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "", name = "owner", scope = Documentation.class)
+ public JAXBElement<String> createDocumentationOwner(String value) {
+ return new JAXBElement<String>(_DocumentationOwner_QNAME, String.class, Documentation.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "", name = "longDescription", scope = Documentation.class)
+ public JAXBElement<String> createDocumentationLongDescription(String value) {
+ return new JAXBElement<String>(_DocumentationLongDescription_QNAME, String.class, Documentation.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "", name = "exporter", scope = Documentation.class)
+ public JAXBElement<String> createDocumentationExporter(String value) {
+ return new JAXBElement<String>(_DocumentationExporter_QNAME, String.class, Documentation.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "", name = "notice", scope = Documentation.class)
+ public JAXBElement<String> createDocumentationNotice(String value) {
+ return new JAXBElement<String>(_DocumentationNotice_QNAME, String.class, Documentation.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "", name = "contact", scope = Documentation.class)
+ public JAXBElement<String> createDocumentationContact(String value) {
+ return new JAXBElement<String>(_DocumentationContact_QNAME, String.class, Documentation.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Difference }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "", name = "difference", scope = Difference.class)
+ public JAXBElement<Difference> createDifferenceDifference(Difference value) {
+ return new JAXBElement<Difference>(_DifferenceDifference_QNAME, Difference.class, Difference.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Difference }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "", name = "container", scope = Difference.class)
+ public JAXBElement<Difference> createDifferenceContainer(Difference value) {
+ return new JAXBElement<Difference>(_DifferenceContainer_QNAME, Difference.class, Difference.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Difference.Target }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "", name = "target", scope = Difference.class)
+ public JAXBElement<Difference.Target> createDifferenceTarget(Difference.Target value) {
+ return new JAXBElement<Difference.Target>(_DifferenceTarget_QNAME, Difference.Target.class, Difference.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "", name = "name", scope = PackageReference.class)
+ public JAXBElement<String> createPackageReferenceName(String value) {
+ return new JAXBElement<String>(_PackageReferenceName_QNAME, String.class, PackageReference.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "", name = "version", scope = PackageReference.class)
+ public JAXBElement<String> createPackageReferenceVersion(String value) {
+ return new JAXBElement<String>(_PackageReferenceVersion_QNAME, String.class, PackageReference.class, value);
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/ObjectFactory.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/PackageReference.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/PackageReference.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/PackageReference.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,283 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.xmi;
+
+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.XmlElementRefs;
+import javax.xml.bind.annotation.XmlIDREF;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for PackageReference complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="PackageReference">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="version" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </choice>
+ * <attGroup ref="{http://www.omg.org/XMI}ObjectAttribs"/>
+ * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "PackageReference", propOrder = {
+ "nameOrVersion"
+})
+ at XmlSeeAlso({
+ Import.class,
+ Model.class,
+ MetaModel.class
+})
+public class PackageReference {
+
+ @XmlElementRefs({
+ @XmlElementRef(name = "name", type = JAXBElement.class),
+ @XmlElementRef(name = "version", type = JAXBElement.class)
+ })
+ protected List<JAXBElement<String>> nameOrVersion;
+ @XmlAttribute
+ protected String name;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String version;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected QName type;
+ @XmlAttribute
+ protected String href;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ @XmlIDREF
+ @XmlSchemaType(name = "IDREF")
+ protected Object idref;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String label;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String uuid;
+
+ /**
+ * Gets the value of the nameOrVersion 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 nameOrVersion property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getNameOrVersion().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ *
+ */
+ public List<JAXBElement<String>> getNameOrVersion() {
+ if (nameOrVersion == null) {
+ nameOrVersion = new ArrayList<JAXBElement<String>>();
+ }
+ return this.nameOrVersion;
+ }
+
+ /**
+ * 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 version property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getVersion() {
+ if (version == null) {
+ return "2.0";
+ } else {
+ return version;
+ }
+ }
+
+ /**
+ * Sets the value of the version property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setVersion(String value) {
+ this.version = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link QName }
+ *
+ */
+ public QName getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link QName }
+ *
+ */
+ public void setType(QName value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets the value of the href property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getHref() {
+ return href;
+ }
+
+ /**
+ * Sets the value of the href property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setHref(String value) {
+ this.href = value;
+ }
+
+ /**
+ * Gets the value of the idref property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ public Object getIdref() {
+ return idref;
+ }
+
+ /**
+ * Sets the value of the idref property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setIdref(Object value) {
+ this.idref = value;
+ }
+
+ /**
+ * Gets the value of the label property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLabel() {
+ return label;
+ }
+
+ /**
+ * Sets the value of the label property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLabel(String value) {
+ this.label = value;
+ }
+
+ /**
+ * Gets the value of the uuid property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getUuid() {
+ return uuid;
+ }
+
+ /**
+ * Sets the value of the uuid property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setUuid(String value) {
+ this.uuid = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/PackageReference.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Replace.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Replace.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Replace.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,105 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.xmi;
+
+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.XmlIDREF;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for Replace complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="Replace">
+ * <complexContent>
+ * <extension base="{http://www.omg.org/XMI}Difference">
+ * <attribute name="position" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="replacement" type="{http://www.w3.org/2001/XMLSchema}IDREFS" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "Replace")
+public class Replace
+ extends Difference
+{
+
+ @XmlAttribute
+ protected String position;
+ @XmlAttribute
+ @XmlIDREF
+ @XmlSchemaType(name = "IDREFS")
+ protected List<Object> replacement;
+
+ /**
+ * Gets the value of the position property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPosition() {
+ return position;
+ }
+
+ /**
+ * Sets the value of the position property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPosition(String value) {
+ this.position = value;
+ }
+
+ /**
+ * Gets the value of the replacement 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 replacement property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getReplacement().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ *
+ *
+ */
+ public List<Object> getReplacement() {
+ if (replacement == null) {
+ replacement = new ArrayList<Object>();
+ }
+ return this.replacement;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/Replace.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/XMI.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/XMI.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/XMI.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,246 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+
+package org.jboss.bpm.dialect.stp.model.xmi;
+
+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.XmlAnyElement;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlIDREF;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for XMI complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="XMI">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <any/>
+ * </choice>
+ * <attGroup ref="{http://www.omg.org/XMI}IdentityAttribs"/>
+ * <attGroup ref="{http://www.omg.org/XMI}LinkAttribs"/>
+ * <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}QName" />
+ * <attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}string" fixed="2.0" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "XMI", propOrder = {
+ "any"
+})
+public class XMI {
+
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected QName type;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI", required = true)
+ protected String version;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String label;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ protected String uuid;
+ @XmlAttribute
+ protected String href;
+ @XmlAttribute(namespace = "http://www.omg.org/XMI")
+ @XmlIDREF
+ @XmlSchemaType(name = "IDREF")
+ protected Object idref;
+
+ /**
+ * Gets the value of the any 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 any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ *
+ *
+ */
+ public List<Object> getAny() {
+ if (any == null) {
+ any = new ArrayList<Object>();
+ }
+ return this.any;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link QName }
+ *
+ */
+ public QName getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link QName }
+ *
+ */
+ public void setType(QName value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets the value of the version property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getVersion() {
+ if (version == null) {
+ return "2.0";
+ } else {
+ return version;
+ }
+ }
+
+ /**
+ * Sets the value of the version property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setVersion(String value) {
+ this.version = value;
+ }
+
+ /**
+ * Gets the value of the label property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getLabel() {
+ return label;
+ }
+
+ /**
+ * Sets the value of the label property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setLabel(String value) {
+ this.label = value;
+ }
+
+ /**
+ * Gets the value of the uuid property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getUuid() {
+ return uuid;
+ }
+
+ /**
+ * Sets the value of the uuid property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setUuid(String value) {
+ this.uuid = value;
+ }
+
+ /**
+ * Gets the value of the href property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getHref() {
+ return href;
+ }
+
+ /**
+ * Sets the value of the href property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setHref(String value) {
+ this.href = value;
+ }
+
+ /**
+ * Gets the value of the idref property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ public Object getIdref() {
+ return idref;
+ }
+
+ /**
+ * Sets the value of the idref property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setIdref(Object value) {
+ this.idref = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/XMI.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/package-info.java
===================================================================
--- api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/package-info.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/package-info.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,9 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// 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: 2008.07.17 at 06:01:54 PM CEST
+//
+
+ at javax.xml.bind.annotation.XmlSchema(namespace = "http://www.omg.org/XMI")
+package org.jboss.bpm.dialect.stp.model.xmi;
Property changes on: api/trunk/modules/dialects/stp/src/main/java/org/jboss/bpm/dialect/stp/model/xmi/package-info.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/resources/Ecore.xsd
===================================================================
--- api/trunk/modules/dialects/stp/src/main/resources/Ecore.xsd (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/resources/Ecore.xsd 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,190 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema targetNamespace="http://www.eclipse.org/emf/2002/Ecore" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:xmi="http://www.omg.org/XMI"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <xsd:import namespace="http://www.omg.org/XMI" schemaLocation="./XMI.xsd" />
+ <xsd:complexType name="EAttribute">
+ <xsd:complexContent>
+ <xsd:extension base="ecore:EStructuralFeature">
+ <xsd:attribute name="iD" type="xsd:boolean" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="EAttribute" type="ecore:EAttribute" />
+ <xsd:complexType name="EAnnotation">
+ <xsd:complexContent>
+ <xsd:extension base="ecore:EModelElement">
+ <xsd:choice maxOccurs="unbounded" minOccurs="0">
+ <xsd:element name="details" type="ecore:EStringToStringMapEntry" />
+ <xsd:element name="contents" type="ecore:EObject" />
+ <xsd:element name="references" type="ecore:EObject" />
+ </xsd:choice>
+ <xsd:attribute name="source" type="xsd:string" />
+ <xsd:attribute name="references" type="xsd:string" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="EAnnotation" type="ecore:EAnnotation" />
+ <xsd:complexType name="EClass">
+ <xsd:complexContent>
+ <xsd:extension base="ecore:EClassifier">
+ <xsd:choice maxOccurs="unbounded" minOccurs="0">
+ <xsd:element name="eSuperTypes" type="ecore:EClass" />
+ <xsd:element name="eOperations" type="ecore:EOperation" />
+ <xsd:element name="eStructuralFeatures" type="ecore:EStructuralFeature" />
+ </xsd:choice>
+ <xsd:attribute name="abstract" type="xsd:boolean" />
+ <xsd:attribute name="interface" type="xsd:boolean" />
+ <xsd:attribute name="eSuperTypes" type="xsd:string" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="EClass" type="ecore:EClass" />
+ <xsd:complexType name="EClassifier">
+ <xsd:complexContent>
+ <xsd:extension base="ecore:ENamedElement">
+ <xsd:attribute name="instanceClassName" type="xsd:string" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="EClassifier" type="ecore:EClassifier" />
+ <xsd:complexType name="EDataType">
+ <xsd:complexContent>
+ <xsd:extension base="ecore:EClassifier">
+ <xsd:attribute name="serializable" type="xsd:boolean" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="EDataType" type="ecore:EDataType" />
+ <xsd:complexType name="EEnum">
+ <xsd:complexContent>
+ <xsd:extension base="ecore:EDataType">
+ <xsd:choice maxOccurs="unbounded" minOccurs="0">
+ <xsd:element name="eLiterals" type="ecore:EEnumLiteral" />
+ </xsd:choice>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="EEnum" type="ecore:EEnum" />
+ <xsd:complexType name="EEnumLiteral">
+ <xsd:complexContent>
+ <xsd:extension base="ecore:ENamedElement">
+ <xsd:attribute name="value" type="xsd:int" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="EEnumLiteral" type="ecore:EEnumLiteral" />
+ <xsd:complexType name="EFactory">
+ <xsd:complexContent>
+ <xsd:extension base="ecore:EModelElement" />
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="EFactory" type="ecore:EFactory" />
+ <xsd:complexType name="EModelElement">
+ <xsd:complexContent>
+ <xsd:extension base="ecore:EObject">
+ <xsd:choice maxOccurs="unbounded" minOccurs="0">
+ <xsd:element name="eAnnotations" type="ecore:EAnnotation" />
+ </xsd:choice>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="EModelElement" type="ecore:EModelElement" />
+ <xsd:complexType name="ENamedElement">
+ <xsd:complexContent>
+ <xsd:extension base="ecore:EModelElement">
+ <xsd:attribute name="name" type="xsd:string" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="ENamedElement" type="ecore:ENamedElement" />
+ <xsd:complexType name="EObject">
+ <xsd:choice maxOccurs="unbounded" minOccurs="0">
+ <xsd:element ref="xmi:Extension" />
+ </xsd:choice>
+ <xsd:attribute ref="xmi:id" />
+ <xsd:attributeGroup ref="xmi:ObjectAttribs" />
+ </xsd:complexType>
+ <xsd:element name="EObject" type="ecore:EObject" />
+ <xsd:complexType name="EOperation">
+ <xsd:complexContent>
+ <xsd:extension base="ecore:ETypedElement">
+ <xsd:choice maxOccurs="unbounded" minOccurs="0">
+ <xsd:element name="eParameters" type="ecore:EParameter" />
+ <xsd:element name="eExceptions" type="ecore:EClassifier" />
+ </xsd:choice>
+ <xsd:attribute name="eExceptions" type="xsd:string" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="EOperation" type="ecore:EOperation" />
+ <xsd:complexType name="EPackage">
+ <xsd:complexContent>
+ <xsd:extension base="ecore:ENamedElement">
+ <xsd:choice maxOccurs="unbounded" minOccurs="0">
+ <xsd:element name="eClassifiers" type="ecore:EClassifier" />
+ <xsd:element name="eSubpackages" type="ecore:EPackage" />
+ </xsd:choice>
+ <xsd:attribute name="nsURI" type="xsd:string" />
+ <xsd:attribute name="nsPrefix" type="xsd:string" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="EPackage" type="ecore:EPackage" />
+ <xsd:complexType name="EParameter">
+ <xsd:complexContent>
+ <xsd:extension base="ecore:ETypedElement" />
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="EParameter" type="ecore:EParameter" />
+ <xsd:complexType name="EReference">
+ <xsd:complexContent>
+ <xsd:extension base="ecore:EStructuralFeature">
+ <xsd:choice maxOccurs="unbounded" minOccurs="0">
+ <xsd:element name="eOpposite" type="ecore:EReference" />
+ </xsd:choice>
+ <xsd:attribute name="containment" type="xsd:boolean" />
+ <xsd:attribute name="resolveProxies" type="xsd:boolean" />
+ <xsd:attribute name="eOpposite" type="xsd:string" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="EReference" type="ecore:EReference" />
+ <xsd:complexType name="EStructuralFeature">
+ <xsd:complexContent>
+ <xsd:extension base="ecore:ETypedElement">
+ <xsd:attribute name="changeable" type="xsd:boolean" />
+ <xsd:attribute name="volatile" type="xsd:boolean" />
+ <xsd:attribute name="transient" type="xsd:boolean" />
+ <xsd:attribute name="defaultValueLiteral" type="xsd:string" />
+ <xsd:attribute name="unsettable" type="xsd:boolean" />
+ <xsd:attribute name="derived" type="xsd:boolean" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="EStructuralFeature" type="ecore:EStructuralFeature" />
+ <xsd:complexType name="ETypedElement">
+ <xsd:complexContent>
+ <xsd:extension base="ecore:ENamedElement">
+ <xsd:choice maxOccurs="unbounded" minOccurs="0">
+ <xsd:element name="eType" type="ecore:EClassifier" />
+ </xsd:choice>
+ <xsd:attribute name="ordered" type="xsd:boolean" />
+ <xsd:attribute name="unique" type="xsd:boolean" />
+ <xsd:attribute name="lowerBound" type="xsd:int" />
+ <xsd:attribute name="upperBound" type="xsd:int" />
+ <xsd:attribute name="eType" type="xsd:string" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="ETypedElement" type="ecore:ETypedElement" />
+ <xsd:complexType name="EStringToStringMapEntry">
+ <xsd:choice maxOccurs="unbounded" minOccurs="0">
+ <xsd:element ref="xmi:Extension" />
+ </xsd:choice>
+ <xsd:attribute ref="xmi:id" />
+ <xsd:attributeGroup ref="xmi:ObjectAttribs" />
+ <xsd:attribute name="key" type="xsd:string" />
+ <xsd:attribute name="value" type="xsd:string" />
+ </xsd:complexType>
+ <xsd:element name="EStringToStringMapEntry" type="ecore:EStringToStringMapEntry" />
+</xsd:schema>
\ No newline at end of file
Property changes on: api/trunk/modules/dialects/stp/src/main/resources/Ecore.xsd
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/resources/XMI.xsd
===================================================================
--- api/trunk/modules/dialects/stp/src/main/resources/XMI.xsd (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/resources/XMI.xsd 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,132 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema targetNamespace="http://www.omg.org/XMI" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <xsd:attribute name="id" type="xsd:ID" />
+ <xsd:attributeGroup name="IdentityAttribs">
+ <xsd:attribute form="qualified" name="label" type="xsd:string" use="optional" />
+ <xsd:attribute form="qualified" name="uuid" type="xsd:string" use="optional" />
+ </xsd:attributeGroup>
+ <xsd:attributeGroup name="LinkAttribs">
+ <xsd:attribute name="href" type="xsd:string" use="optional" />
+ <xsd:attribute form="qualified" name="idref" type="xsd:IDREF" use="optional" />
+ </xsd:attributeGroup>
+ <xsd:attributeGroup name="ObjectAttribs">
+ <xsd:attributeGroup ref="xmi:IdentityAttribs" />
+ <xsd:attributeGroup ref="xmi:LinkAttribs" />
+ <xsd:attribute fixed="2.0" form="qualified" name="version" type="xsd:string" use="optional" />
+ <xsd:attribute form="qualified" name="type" type="xsd:QName" use="optional" />
+ </xsd:attributeGroup>
+ <xsd:complexType name="XMI">
+ <xsd:choice maxOccurs="unbounded" minOccurs="0">
+ <xsd:any processContents="strict" />
+ </xsd:choice>
+ <xsd:attributeGroup ref="xmi:IdentityAttribs" />
+ <xsd:attributeGroup ref="xmi:LinkAttribs" />
+ <xsd:attribute form="qualified" name="type" type="xsd:QName" use="optional" />
+ <xsd:attribute fixed="2.0" form="qualified" name="version" type="xsd:string" use="required" />
+ </xsd:complexType>
+ <xsd:element name="XMI" type="xmi:XMI" />
+ <xsd:complexType name="PackageReference">
+ <xsd:choice maxOccurs="unbounded" minOccurs="0">
+ <xsd:element name="name" type="xsd:string" />
+ <xsd:element name="version" type="xsd:string" />
+ </xsd:choice>
+ <xsd:attributeGroup ref="xmi:ObjectAttribs" />
+ <xsd:attribute name="name" type="xsd:string" use="optional" />
+ </xsd:complexType>
+ <xsd:element name="PackageReference" type="xmi:PackageReference" />
+ <xsd:complexType name="Model">
+ <xsd:complexContent>
+ <xsd:extension base="xmi:PackageReference" />
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="Model" type="xmi:Model" />
+ <xsd:complexType name="Import">
+ <xsd:complexContent>
+ <xsd:extension base="xmi:PackageReference" />
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="Import" type="xmi:Import" />
+ <xsd:complexType name="MetaModel">
+ <xsd:complexContent>
+ <xsd:extension base="xmi:PackageReference" />
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="MetaModel" type="xmi:MetaModel" />
+ <xsd:complexType name="Documentation">
+ <xsd:choice maxOccurs="unbounded" minOccurs="0">
+ <xsd:element name="contact" type="xsd:string" />
+ <xsd:element name="exporter" type="xsd:string" />
+ <xsd:element name="exporterVersion" type="xsd:string" />
+ <xsd:element name="longDescription" type="xsd:string" />
+ <xsd:element name="shortDescription" type="xsd:string" />
+ <xsd:element name="notice" type="xsd:string" />
+ <xsd:element name="owner" type="xsd:string" />
+ </xsd:choice>
+ <xsd:attributeGroup ref="xmi:ObjectAttribs" />
+ <xsd:attribute name="contact" type="xsd:string" use="optional" />
+ <xsd:attribute name="exporter" type="xsd:string" use="optional" />
+ <xsd:attribute name="exporterVersion" type="xsd:string" use="optional" />
+ <xsd:attribute name="longDescription" type="xsd:string" use="optional" />
+ <xsd:attribute name="shortDescription" type="xsd:string" use="optional" />
+ <xsd:attribute name="notice" type="xsd:string" use="optional" />
+ <xsd:attribute name="owner" type="xsd:string" use="optional" />
+ </xsd:complexType>
+ <xsd:element name="Documentation" type="xmi:Documentation" />
+ <xsd:complexType name="Extension">
+ <xsd:choice maxOccurs="unbounded" minOccurs="0">
+ <xsd:any processContents="lax" />
+ </xsd:choice>
+ <xsd:attributeGroup ref="xmi:ObjectAttribs" />
+ <xsd:attribute name="extender" type="xsd:string" use="optional" />
+ <xsd:attribute name="extenderID" type="xsd:string" use="optional" />
+ </xsd:complexType>
+ <xsd:element name="Extension" type="xmi:Extension" />
+ <xsd:complexType name="Difference">
+ <xsd:choice maxOccurs="unbounded" minOccurs="0">
+ <xsd:element name="target">
+ <xsd:complexType>
+ <xsd:choice maxOccurs="unbounded" minOccurs="0">
+ <xsd:any processContents="skip" />
+ </xsd:choice>
+ <xsd:anyAttribute processContents="skip" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="difference" type="xmi:Difference" />
+ <xsd:element name="container" type="xmi:Difference" />
+ </xsd:choice>
+ <xsd:attributeGroup ref="xmi:ObjectAttribs" />
+ <xsd:attribute name="target" type="xsd:IDREFS" use="optional" />
+ <xsd:attribute name="container" type="xsd:IDREFS" use="optional" />
+ </xsd:complexType>
+ <xsd:element name="Difference" type="xmi:Difference" />
+ <xsd:complexType name="Add">
+ <xsd:complexContent>
+ <xsd:extension base="xmi:Difference">
+ <xsd:attribute name="position" type="xsd:string" use="optional" />
+ <xsd:attribute name="addition" type="xsd:IDREFS" use="optional" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="Add" type="xmi:Add" />
+ <xsd:complexType name="Replace">
+ <xsd:complexContent>
+ <xsd:extension base="xmi:Difference">
+ <xsd:attribute name="position" type="xsd:string" use="optional" />
+ <xsd:attribute name="replacement" type="xsd:IDREFS" use="optional" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="Replace" type="xmi:Replace" />
+ <xsd:complexType name="Delete">
+ <xsd:complexContent>
+ <xsd:extension base="xmi:Difference" />
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:element name="Delete" type="xmi:Delete" />
+ <xsd:complexType name="Any">
+ <xsd:choice maxOccurs="unbounded" minOccurs="0">
+ <xsd:any processContents="skip" />
+ </xsd:choice>
+ <xsd:anyAttribute processContents="skip" />
+ </xsd:complexType>
+</xsd:schema>
\ No newline at end of file
Property changes on: api/trunk/modules/dialects/stp/src/main/resources/XMI.xsd
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/resources/bpmn-v20071210-0-7-1.xsd
===================================================================
--- api/trunk/modules/dialects/stp/src/main/resources/bpmn-v20071210-0-7-1.xsd (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/resources/bpmn-v20071210-0-7-1.xsd 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,312 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Taken from SVN tag v20071210-0-7-1
+
+ http://dev.eclipse.org/svnroot/stp/tags/v20071210-0-7-1/org.eclipse.stp.bpmn/org.eclipse.stp.bpmn/model/bpmn.xsd
+-->
+<xsd:schema xmlns:bpmn="http://stp.eclipse.org/bpmn" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://stp.eclipse.org/bpmn">
+ <xsd:import schemaLocation="platform:/plugin/org.eclipse.emf.ecore/model/Ecore.xsd" namespace="http://www.eclipse.org/emf/2002/Ecore" />
+ <!--
+ Copyright (c) 2006-2007, Intalio Inc. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public
+ License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html Contributors: Intalio Inc. - initial API and
+ implementation
+ -->
+ <!-- has an ID accessible from the API for identification purpose
+ extends EModelElement so that it accepts EAnnotations
+ that are used instead of properties -->
+ <xsd:complexType name="Identifiable">
+ <xsd:complexContent>
+ <xsd:extension base="ecore:EModelElement">
+ <xsd:attribute name="ID" type="xsd:ID" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+<!-- equivalent to a marker interface used for both vertex and graph -->
+ <xsd:complexType name="IdentifiableNode">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Identifiable">
+ <xsd:sequence>
+ <xsd:element ecore:opposite="target" maxOccurs="unbounded" minOccurs="0" name="associations" ecore:reference="bpmn:Association" type="xsd:anyURI" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="NamedBpmnObject">
+ <xsd:attribute name="name" type="xsd:string" />
+ <xsd:attribute name="documentation" type="xsd:string" />
+ <xsd:attribute name="ncname" type="xsd:string" />
+ </xsd:complexType>
+
+
+<!-- abstract objects that define a graph one graph per pool or sub-process
+also contains artifacts -->
+ <xsd:complexType name="Graph" ecore:implements="bpmn:ArtifactsContainer">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:IdentifiableNode">
+ <xsd:sequence>
+ <xsd:element ecore:opposite="graph" maxOccurs="unbounded" minOccurs="0" name="vertices" type="bpmn:Vertex" />
+ <xsd:element ecore:opposite="graph" maxOccurs="unbounded" minOccurs="0" name="sequenceEdges" type="bpmn:SequenceEdge" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="Vertex">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:IdentifiableNode">
+ <xsd:sequence>
+ <xsd:element ecore:opposite="source" ecore:reference="bpmn:SequenceEdge" maxOccurs="unbounded" minOccurs="0" name="outgoingEdges" type="xsd:anyURI" />
+ <xsd:element ecore:opposite="target" ecore:reference="bpmn:SequenceEdge" maxOccurs="unbounded" minOccurs="0" name="incomingEdges" type="xsd:anyURI" />
+ </xsd:sequence>
+ <xsd:attribute ecore:opposite="vertices" ecore:reference="bpmn:Graph" name="graph" type="xsd:anyURI" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="SequenceEdge" ecore:implements="bpmn:NamedBpmnObject">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Identifiable">
+ <xsd:attribute ecore:opposite="sequenceEdges" ecore:reference="bpmn:Graph" name="graph" type="xsd:anyURI" />
+ <xsd:attribute ecore:opposite="outgoingSequenceEdges" ecore:reference="bpmn:Vertex" name="source" type="xsd:anyURI" />
+ <xsd:attribute ecore:opposite="incomingSequenceEdges" ecore:reference="bpmn:Vertex" name="target" type="xsd:anyURI" />
+ <xsd:attribute name="isDefault" type="xsd:boolean" />
+ <xsd:attribute name="conditionType" type="bpmn:SequenceFlowConditionType" />
+ <!--xsd:attributeGroup ref="bpmn:base"/-->
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+<!-- end of abstract objects that define a graph -->
+
+ <!-- root contains pools, messages and artifacts -->
+ <xsd:complexType name="BpmnDiagram" ecore:implements="bpmn:ArtifactsContainer">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Identifiable">
+ <xsd:sequence>
+ <xsd:element ecore:opposite="bpmnDiagram" maxOccurs="unbounded" minOccurs="0" name="pools" type="bpmn:Pool" />
+ <xsd:element ecore:opposite="bpmnDiagram" maxOccurs="unbounded" minOccurs="0" name="messages" type="bpmn:MessagingEdge" />
+ </xsd:sequence>
+ <xsd:attribute name="title" type="xsd:string" />
+ <xsd:attribute name="author" type="xsd:string" />
+ <!--xsd:attributeGroup ref="bpmn:base"/-->
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <!-- pool is jus a graph with a reference to the bpmnDiagram -->
+ <xsd:complexType name="Pool" ecore:implements="bpmn:NamedBpmnObject">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Graph">
+ <xsd:sequence>
+ <xsd:element ecore:opposite="pool" maxOccurs="unbounded" minOccurs="0" name="lanes" type="bpmn:Lane" />
+ </xsd:sequence>
+ <xsd:attribute ecore:opposite="pools" ecore:reference="bpmn:BpmnDiagram" name="bpmnDiagram" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <!--
+ activities are a specialization of a vertex they have messaging abilities and doc and name activities can pretty much morph into any bpmn node. the schema does not
+ enforce much. This is to keep a pretty generic model that hopefully won't move too much The drawback is that the code generated needs to be customized with a lot of
+ structural constraints. The advantage is that it will be possible to morph nodes into one another in the diagram
+ -->
+ <xsd:complexType name="Activity" ecore:implements="bpmn:NamedBpmnObject">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Vertex">
+ <xsd:sequence>
+ <!-- see page 5 of http://www.eclipse.org/modeling/emf/docs/overviews/FeatureMap.pdf -->
+ <xsd:choice maxOccurs="unbounded" minOccurs="0" ecore:name="orderedMessages">
+ <xsd:element ecore:reference="bpmn:MessagingEdge" ecore:opposite="target" maxOccurs="unbounded" minOccurs="0" name="incomingMessages" type="xsd:anyURI" />
+ <xsd:element ecore:reference="bpmn:MessagingEdge" ecore:opposite="source" maxOccurs="unbounded" minOccurs="0" name="outgoingMessages" type="xsd:anyURI" />
+ </xsd:choice>
+ <xsd:element ecore:opposite="groups" ecore:reference="bpmn:Group" maxOccurs="unbounded" minOccurs="0" name="groups" type="xsd:anyURI" />
+ </xsd:sequence>
+ <!-- the type of activity -->
+ <xsd:attribute default="Task" name="activityType" type="bpmn:ActivityType" />
+ <!-- the lane reference (optional) -->
+ <xsd:attribute ecore:opposite="activities" ecore:reference="bpmn:Lane" name="lane" type="xsd:anyURI" use="optional" />
+ <!--
+ should it carry the loop decoration? Note: we do _not_ define the type of loop here. That belongs to the data-editor that is specific to the target language
+ -->
+ <xsd:attribute name="looping" type="xsd:boolean" />
+ <!-- points to the sub-process that this intermediary event is defined for. In all other cases it is null. -->
+ <xsd:attribute ecore:opposite="eventHandlers" ecore:reference="bpmn:SubProcess" name="eventHandlerFor" type="xsd:anyURI" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <!--
+ sub process are vertex amongst the enclosing sub process or pool and at the same time they are also a graph they also holds a lits of event handlers shape
+ -->
+ <xsd:complexType ecore:implements="bpmn:Graph" name="SubProcess">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Activity">
+ <!-- intermediate events on the border of the shape -->
+ <xsd:sequence>
+ <xsd:element ecore:opposite="eventHandlerFor" maxOccurs="unbounded" minOccurs="0" name="eventHandlers" type="bpmn:Activity" />
+ </xsd:sequence>
+ <!--
+ should it carry the transaction decoration? Note: we do _not_ define the type of loop here. That belongs to the data-editor that is specific to the target
+ language
+ -->
+ <xsd:attribute name="isTransaction" type="xsd:boolean" />
+ <!-- defaults the type of activity -->
+ <xsd:attribute fixed="SubProcess" name="activityType" type="bpmn:ActivityType" />
+ <!-- the state: collapsed, expanded or maximized is in the notation model -->
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <!-- messaging edges are completly different -->
+ <xsd:complexType name="MessagingEdge" ecore:implements="bpmn:NamedBpmnObject">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Identifiable">
+ <!-- the messaging edges in this diagram -->
+ <xsd:attribute ecore:opposite="messages" ecore:reference="bpmn:BpmnDiagram" name="bpmnDiagram" type="xsd:anyURI" />
+ <xsd:attribute ecore:opposite="outgoingMessages" ecore:reference="bpmn:Activity" name="source" type="xsd:anyURI" />
+ <xsd:attribute ecore:opposite="incomingMessages" ecore:reference="bpmn:Activity" name="target" type="xsd:anyURI" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <!-- lanes -->
+ <xsd:complexType name="Lane" ecore:implements="bpmn:NamedBpmnObject">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Identifiable">
+ <xsd:sequence>
+ <xsd:element ecore:reference="bpmn:Activity" maxOccurs="unbounded" minOccurs="0" name="activities" type="bpmn:Activity" />
+ </xsd:sequence>
+ <xsd:attribute ecore:opposite="lanes" ecore:reference="bpmn:Pool" name="pool" type="xsd:anyURI" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+<!-- various types of activities -->
+ <xsd:simpleType name="ActivityType">
+ <xsd:restriction base="xsd:string">
+
+ <!-- activity, subprocess -->
+ <xsd:enumeration value="Task" />
+ <xsd:enumeration value="SubProcess" />
+
+ <!-- start events -->
+ <xsd:enumeration value="EventStartEmpty" />
+ <xsd:enumeration value="EventStartMessage" />
+ <xsd:enumeration value="EventStartRule" />
+ <xsd:enumeration value="EventStartTimer" />
+ <xsd:enumeration value="EventStartLink" />
+ <xsd:enumeration value="EventStartMultiple" />
+
+ <!-- intermediate event -->
+ <xsd:enumeration value="EventIntermediateEmpty" />
+ <xsd:enumeration value="EventIntermediateMessage" />
+ <xsd:enumeration value="EventIntermediateTimer" />
+ <xsd:enumeration value="EventIntermediateError" />
+ <xsd:enumeration value="EventIntermediateCompensation" />
+ <xsd:enumeration value="EventIntermediateRule" />
+ <xsd:enumeration value="EventIntermediateLink" />
+ <xsd:enumeration value="EventIntermediateMultiple" />
+ <xsd:enumeration value="EventIntermediateCancel" />
+
+ <!-- end events -->
+ <xsd:enumeration value="EventEndEmpty" />
+ <xsd:enumeration value="EventEndMessage" />
+ <xsd:enumeration value="EventEndError" />
+ <xsd:enumeration value="EventEndCompensation" />
+ <xsd:enumeration value="EventEndTerminate" />
+ <xsd:enumeration value="EventEndLink" />
+ <xsd:enumeration value="EventEndMultiple" />
+ <xsd:enumeration value="EventEndCancel" />
+
+ <!-- gateways -->
+ <xsd:enumeration value="GatewayDataBasedExclusive" />
+ <xsd:enumeration value="GatewayEventBasedExclusive" />
+ <xsd:enumeration value="GatewayDataBasedInclusive" />
+ <xsd:enumeration value="GatewayParallel" />
+ <xsd:enumeration value="GatewayComplex" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ <xsd:simpleType name="SequenceFlowConditionType">
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="None" />
+ <xsd:enumeration value="Expression" />
+ <xsd:enumeration value="Default" />
+ </xsd:restriction>
+ </xsd:simpleType>
+
+ <!-- association connection -->
+ <xsd:complexType name="Association">
+ <xsd:complexContent>
+ <xsd:extension base="ecore:EModelElement">
+ <!-- we only support association from an
+ identifiable-node (pool, activity, sub-process) to an artifact -->
+ <xsd:attribute ecore:opposite="associations" ecore:reference="bpmn:IdentifiableNode" name="target" type="xsd:anyURI" />
+ <xsd:attribute ecore:opposite="associations" ecore:reference="bpmn:Artifact" name="source" type="xsd:anyURI" />
+ <xsd:attribute name="direction">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="None" />
+ <xsd:enumeration value="To" />
+ <xsd:enumeration value="From" />
+ <xsd:enumeration value="Both" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+
+<!-- Containment for the artifacts -->
+ <xsd:complexType name="ArtifactsContainer" ecore:abstract="true">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:NamedBpmnObject">
+ <xsd:sequence>
+ <xsd:element ecore:opposite="artifactsContainer" maxOccurs="unbounded" minOccurs="0" name="artifacts" type="bpmn:Artifact" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <!-- artifact (abstract)
+ the artifact is the containment for the associations
+ the artifact is either a textAnnotation, a dataobject or a group. -->
+ <xsd:complexType name="Artifact" ecore:implements="bpmn:NamedBpmnObject">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Identifiable">
+ <xsd:sequence>
+ <!-- multiple associations for a single artifact
+ for example a single correlation artifact can be used
+ for correlating 0-n messaging tasks -->
+ <xsd:element ecore:opposite="source" maxOccurs="unbounded" minOccurs="0" name="associations" type="bpmn:Association" />
+ </xsd:sequence>
+ <xsd:attribute ecore:opposite="artifacts" ecore:reference="bpmn:ArtifactsContainer" name="artifactsContainer" type="xsd:anyURI" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="TextAnnotation">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Artifact">
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="DataObject">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Artifact">
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <!-- Just like lanes, groups are some other kind of containments
+ though in terms of object model, we cannot have an object belong to
+ multiple containers -->
+ <xsd:complexType name="Group">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Artifact">
+ <!-- already a name on the Identifiable -->
+ <!-- The spec does not specify this but how
+ else would you group things at the semantic level? -->
+ <xsd:sequence>
+ <xsd:element ecore:opposite="groups" ecore:reference="bpmn:Activity" maxOccurs="unbounded" minOccurs="0" name="activities" type="bpmn:Activity" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+</xsd:schema>
\ No newline at end of file
Property changes on: api/trunk/modules/dialects/stp/src/main/resources/bpmn-v20071210-0-7-1.xsd
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/resources/bpmn-v20071210-0-7-1_mods.xsd
===================================================================
--- api/trunk/modules/dialects/stp/src/main/resources/bpmn-v20071210-0-7-1_mods.xsd (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/resources/bpmn-v20071210-0-7-1_mods.xsd 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,312 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Taken from SVN tag v20071210-0-7-1
+
+ http://dev.eclipse.org/svnroot/stp/tags/v20071210-0-7-1/org.eclipse.stp.bpmn/org.eclipse.stp.bpmn/model/bpmn.xsd
+-->
+<xsd:schema xmlns:bpmn="http://stp.eclipse.org/bpmn" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://stp.eclipse.org/bpmn">
+ <xsd:import schemaLocation="./Ecore.xsd" namespace="http://www.eclipse.org/emf/2002/Ecore" />
+ <!--
+ Copyright (c) 2006-2007, Intalio Inc. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public
+ License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html Contributors: Intalio Inc. - initial API and
+ implementation
+ -->
+ <!-- has an ID accessible from the API for identification purpose
+ extends EModelElement so that it accepts EAnnotations
+ that are used instead of properties -->
+ <xsd:complexType name="Identifiable">
+ <xsd:complexContent>
+ <xsd:extension base="ecore:EModelElement">
+ <!-- xsd:attribute name="ID" type="xsd:ID" / -->
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+<!-- equivalent to a marker interface used for both vertex and graph -->
+ <xsd:complexType name="IdentifiableNode">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Identifiable">
+ <xsd:sequence>
+ <xsd:element ecore:opposite="target" maxOccurs="unbounded" minOccurs="0" name="associations" ecore:reference="bpmn:Association" type="xsd:anyURI" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="NamedBpmnObject">
+ <xsd:attribute name="name" type="xsd:string" />
+ <xsd:attribute name="documentation" type="xsd:string" />
+ <xsd:attribute name="ncname" type="xsd:string" />
+ </xsd:complexType>
+
+
+<!-- abstract objects that define a graph one graph per pool or sub-process
+also contains artifacts -->
+ <xsd:complexType name="Graph" ecore:implements="bpmn:ArtifactsContainer">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:IdentifiableNode">
+ <xsd:sequence>
+ <xsd:element ecore:opposite="graph" maxOccurs="unbounded" minOccurs="0" name="vertices" type="bpmn:Vertex" />
+ <xsd:element ecore:opposite="graph" maxOccurs="unbounded" minOccurs="0" name="sequenceEdges" type="bpmn:SequenceEdge" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="Vertex">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:IdentifiableNode">
+ <xsd:sequence>
+ <xsd:element ecore:opposite="source" ecore:reference="bpmn:SequenceEdge" maxOccurs="unbounded" minOccurs="0" name="outgoingEdges" type="xsd:anyURI" />
+ <xsd:element ecore:opposite="target" ecore:reference="bpmn:SequenceEdge" maxOccurs="unbounded" minOccurs="0" name="incomingEdges" type="xsd:anyURI" />
+ </xsd:sequence>
+ <xsd:attribute ecore:opposite="vertices" ecore:reference="bpmn:Graph" name="graph" type="xsd:anyURI" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="SequenceEdge" ecore:implements="bpmn:NamedBpmnObject">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Identifiable">
+ <xsd:attribute ecore:opposite="sequenceEdges" ecore:reference="bpmn:Graph" name="graph" type="xsd:anyURI" />
+ <xsd:attribute ecore:opposite="outgoingSequenceEdges" ecore:reference="bpmn:Vertex" name="source" type="xsd:anyURI" />
+ <xsd:attribute ecore:opposite="incomingSequenceEdges" ecore:reference="bpmn:Vertex" name="target" type="xsd:anyURI" />
+ <xsd:attribute name="isDefault" type="xsd:boolean" />
+ <xsd:attribute name="conditionType" type="bpmn:SequenceFlowConditionType" />
+ <!--xsd:attributeGroup ref="bpmn:base"/-->
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+<!-- end of abstract objects that define a graph -->
+
+ <!-- root contains pools, messages and artifacts -->
+ <xsd:complexType name="BpmnDiagram" ecore:implements="bpmn:ArtifactsContainer">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Identifiable">
+ <xsd:sequence>
+ <xsd:element ecore:opposite="bpmnDiagram" maxOccurs="unbounded" minOccurs="0" name="pools" type="bpmn:Pool" />
+ <xsd:element ecore:opposite="bpmnDiagram" maxOccurs="unbounded" minOccurs="0" name="messages" type="bpmn:MessagingEdge" />
+ </xsd:sequence>
+ <xsd:attribute name="title" type="xsd:string" />
+ <xsd:attribute name="author" type="xsd:string" />
+ <!--xsd:attributeGroup ref="bpmn:base"/-->
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <!-- pool is jus a graph with a reference to the bpmnDiagram -->
+ <xsd:complexType name="Pool" ecore:implements="bpmn:NamedBpmnObject">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Graph">
+ <xsd:sequence>
+ <xsd:element ecore:opposite="pool" maxOccurs="unbounded" minOccurs="0" name="lanes" type="bpmn:Lane" />
+ </xsd:sequence>
+ <xsd:attribute ecore:opposite="pools" ecore:reference="bpmn:BpmnDiagram" name="bpmnDiagram" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <!--
+ activities are a specialization of a vertex they have messaging abilities and doc and name activities can pretty much morph into any bpmn node. the schema does not
+ enforce much. This is to keep a pretty generic model that hopefully won't move too much The drawback is that the code generated needs to be customized with a lot of
+ structural constraints. The advantage is that it will be possible to morph nodes into one another in the diagram
+ -->
+ <xsd:complexType name="Activity" ecore:implements="bpmn:NamedBpmnObject">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Vertex">
+ <xsd:sequence>
+ <!-- see page 5 of http://www.eclipse.org/modeling/emf/docs/overviews/FeatureMap.pdf -->
+ <xsd:choice maxOccurs="unbounded" minOccurs="0" ecore:name="orderedMessages">
+ <xsd:element ecore:reference="bpmn:MessagingEdge" ecore:opposite="target" maxOccurs="unbounded" minOccurs="0" name="incomingMessages" type="xsd:anyURI" />
+ <xsd:element ecore:reference="bpmn:MessagingEdge" ecore:opposite="source" maxOccurs="unbounded" minOccurs="0" name="outgoingMessages" type="xsd:anyURI" />
+ </xsd:choice>
+ <xsd:element ecore:opposite="groups" ecore:reference="bpmn:Group" maxOccurs="unbounded" minOccurs="0" name="groups" type="xsd:anyURI" />
+ </xsd:sequence>
+ <!-- the type of activity -->
+ <xsd:attribute default="Task" name="activityType" type="bpmn:ActivityType" />
+ <!-- the lane reference (optional) -->
+ <xsd:attribute ecore:opposite="activities" ecore:reference="bpmn:Lane" name="lane" type="xsd:anyURI" use="optional" />
+ <!--
+ should it carry the loop decoration? Note: we do _not_ define the type of loop here. That belongs to the data-editor that is specific to the target language
+ -->
+ <xsd:attribute name="looping" type="xsd:boolean" />
+ <!-- points to the sub-process that this intermediary event is defined for. In all other cases it is null. -->
+ <xsd:attribute ecore:opposite="eventHandlers" ecore:reference="bpmn:SubProcess" name="eventHandlerFor" type="xsd:anyURI" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <!--
+ sub process are vertex amongst the enclosing sub process or pool and at the same time they are also a graph they also holds a lits of event handlers shape
+ -->
+ <xsd:complexType ecore:implements="bpmn:Graph" name="SubProcess">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Activity">
+ <!-- intermediate events on the border of the shape -->
+ <xsd:sequence>
+ <xsd:element ecore:opposite="eventHandlerFor" maxOccurs="unbounded" minOccurs="0" name="eventHandlers" type="bpmn:Activity" />
+ </xsd:sequence>
+ <!--
+ should it carry the transaction decoration? Note: we do _not_ define the type of loop here. That belongs to the data-editor that is specific to the target
+ language
+ -->
+ <xsd:attribute name="isTransaction" type="xsd:boolean" />
+ <!-- defaults the type of activity -->
+ <!--xsd:attribute fixed="SubProcess" name="activityType" type="bpmn:ActivityType" /-->
+ <!-- the state: collapsed, expanded or maximized is in the notation model -->
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <!-- messaging edges are completly different -->
+ <xsd:complexType name="MessagingEdge" ecore:implements="bpmn:NamedBpmnObject">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Identifiable">
+ <!-- the messaging edges in this diagram -->
+ <xsd:attribute ecore:opposite="messages" ecore:reference="bpmn:BpmnDiagram" name="bpmnDiagram" type="xsd:anyURI" />
+ <xsd:attribute ecore:opposite="outgoingMessages" ecore:reference="bpmn:Activity" name="source" type="xsd:anyURI" />
+ <xsd:attribute ecore:opposite="incomingMessages" ecore:reference="bpmn:Activity" name="target" type="xsd:anyURI" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <!-- lanes -->
+ <xsd:complexType name="Lane" ecore:implements="bpmn:NamedBpmnObject">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Identifiable">
+ <xsd:sequence>
+ <xsd:element ecore:reference="bpmn:Activity" maxOccurs="unbounded" minOccurs="0" name="activities" type="bpmn:Activity" />
+ </xsd:sequence>
+ <xsd:attribute ecore:opposite="lanes" ecore:reference="bpmn:Pool" name="pool" type="xsd:anyURI" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+<!-- various types of activities -->
+ <xsd:simpleType name="ActivityType">
+ <xsd:restriction base="xsd:string">
+
+ <!-- activity, subprocess -->
+ <xsd:enumeration value="Task" />
+ <xsd:enumeration value="SubProcess" />
+
+ <!-- start events -->
+ <xsd:enumeration value="EventStartEmpty" />
+ <xsd:enumeration value="EventStartMessage" />
+ <xsd:enumeration value="EventStartRule" />
+ <xsd:enumeration value="EventStartTimer" />
+ <xsd:enumeration value="EventStartLink" />
+ <xsd:enumeration value="EventStartMultiple" />
+
+ <!-- intermediate event -->
+ <xsd:enumeration value="EventIntermediateEmpty" />
+ <xsd:enumeration value="EventIntermediateMessage" />
+ <xsd:enumeration value="EventIntermediateTimer" />
+ <xsd:enumeration value="EventIntermediateError" />
+ <xsd:enumeration value="EventIntermediateCompensation" />
+ <xsd:enumeration value="EventIntermediateRule" />
+ <xsd:enumeration value="EventIntermediateLink" />
+ <xsd:enumeration value="EventIntermediateMultiple" />
+ <xsd:enumeration value="EventIntermediateCancel" />
+
+ <!-- end events -->
+ <xsd:enumeration value="EventEndEmpty" />
+ <xsd:enumeration value="EventEndMessage" />
+ <xsd:enumeration value="EventEndError" />
+ <xsd:enumeration value="EventEndCompensation" />
+ <xsd:enumeration value="EventEndTerminate" />
+ <xsd:enumeration value="EventEndLink" />
+ <xsd:enumeration value="EventEndMultiple" />
+ <xsd:enumeration value="EventEndCancel" />
+
+ <!-- gateways -->
+ <xsd:enumeration value="GatewayDataBasedExclusive" />
+ <xsd:enumeration value="GatewayEventBasedExclusive" />
+ <xsd:enumeration value="GatewayDataBasedInclusive" />
+ <xsd:enumeration value="GatewayParallel" />
+ <xsd:enumeration value="GatewayComplex" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ <xsd:simpleType name="SequenceFlowConditionType">
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="None" />
+ <xsd:enumeration value="Expression" />
+ <xsd:enumeration value="Default" />
+ </xsd:restriction>
+ </xsd:simpleType>
+
+ <!-- association connection -->
+ <xsd:complexType name="Association">
+ <xsd:complexContent>
+ <xsd:extension base="ecore:EModelElement">
+ <!-- we only support association from an
+ identifiable-node (pool, activity, sub-process) to an artifact -->
+ <xsd:attribute ecore:opposite="associations" ecore:reference="bpmn:IdentifiableNode" name="target" type="xsd:anyURI" />
+ <xsd:attribute ecore:opposite="associations" ecore:reference="bpmn:Artifact" name="source" type="xsd:anyURI" />
+ <xsd:attribute name="direction">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="None" />
+ <xsd:enumeration value="To" />
+ <xsd:enumeration value="From" />
+ <xsd:enumeration value="Both" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+
+<!-- Containment for the artifacts -->
+ <xsd:complexType name="ArtifactsContainer" ecore:abstract="true">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:NamedBpmnObject">
+ <xsd:sequence>
+ <xsd:element ecore:opposite="artifactsContainer" maxOccurs="unbounded" minOccurs="0" name="artifacts" type="bpmn:Artifact" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <!-- artifact (abstract)
+ the artifact is the containment for the associations
+ the artifact is either a textAnnotation, a dataobject or a group. -->
+ <xsd:complexType name="Artifact" ecore:implements="bpmn:NamedBpmnObject">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Identifiable">
+ <xsd:sequence>
+ <!-- multiple associations for a single artifact
+ for example a single correlation artifact can be used
+ for correlating 0-n messaging tasks -->
+ <xsd:element ecore:opposite="source" maxOccurs="unbounded" minOccurs="0" name="associations" type="bpmn:Association" />
+ </xsd:sequence>
+ <xsd:attribute ecore:opposite="artifacts" ecore:reference="bpmn:ArtifactsContainer" name="artifactsContainer" type="xsd:anyURI" />
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="TextAnnotation">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Artifact">
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+ <xsd:complexType name="DataObject">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Artifact">
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+
+ <!-- Just like lanes, groups are some other kind of containments
+ though in terms of object model, we cannot have an object belong to
+ multiple containers -->
+ <xsd:complexType name="Group">
+ <xsd:complexContent>
+ <xsd:extension base="bpmn:Artifact">
+ <!-- already a name on the Identifiable -->
+ <!-- The spec does not specify this but how
+ else would you group things at the semantic level? -->
+ <xsd:sequence>
+ <xsd:element ecore:opposite="groups" ecore:reference="bpmn:Activity" maxOccurs="unbounded" minOccurs="0" name="activities" type="bpmn:Activity" />
+ </xsd:sequence>
+ </xsd:extension>
+ </xsd:complexContent>
+ </xsd:complexType>
+</xsd:schema>
\ No newline at end of file
Property changes on: api/trunk/modules/dialects/stp/src/main/resources/bpmn-v20071210-0-7-1_mods.xsd
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/main/resources/jaxb-bindings.xml
===================================================================
--- api/trunk/modules/dialects/stp/src/main/resources/jaxb-bindings.xml (rev 0)
+++ api/trunk/modules/dialects/stp/src/main/resources/jaxb-bindings.xml 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,23 @@
+<jxb:bindings version='1.0' xmlns:jxb='http://java.sun.com/xml/ns/jaxb' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xpdl="http://www.wfmc.org/2008/XPDL2.1">
+ <jxb:bindings schemaLocation="bpmn-v20071210-0-7-1_mods.xsd" node="/xsd:schema">
+ <jxb:schemaBindings>
+ <jxb:package name="org.jboss.bpm.dialect.stp.model" />
+ </jxb:schemaBindings>
+ </jxb:bindings>
+ <jxb:bindings schemaLocation="Ecore.xsd" node="/xsd:schema">
+ <jxb:schemaBindings>
+ <jxb:package name="org.jboss.bpm.dialect.stp.model.ecore" />
+ </jxb:schemaBindings>
+ <jxb:bindings node="//xsd:complexType[@name='ETypedElement']//xsd:attribute[@name='eType']">
+ <jxb:property name="eTypeAtt" />
+ </jxb:bindings>
+ <jxb:bindings node="//xsd:complexType[@name='EReference']//xsd:attribute[@name='eOpposite']">
+ <jxb:property name="eOppositeAtt" />
+ </jxb:bindings>
+ </jxb:bindings>
+ <jxb:bindings schemaLocation="XMI.xsd" node="/xsd:schema">
+ <jxb:schemaBindings>
+ <jxb:package name="org.jboss.bpm.dialect.stp.model.xmi" />
+ </jxb:schemaBindings>
+ </jxb:bindings>
+</jxb:bindings>
\ No newline at end of file
Property changes on: api/trunk/modules/dialects/stp/src/main/resources/jaxb-bindings.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/test/java/org/jboss/bpm/dialect/stp/AbstractSTPDialectTest.java
===================================================================
--- api/trunk/modules/dialects/stp/src/test/java/org/jboss/bpm/dialect/stp/AbstractSTPDialectTest.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/test/java/org/jboss/bpm/dialect/stp/AbstractSTPDialectTest.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,50 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bpm.dialect.stp;
+
+//$Id$
+
+import org.jboss.bpm.test.DefaultEngineTestCase;
+
+/**
+ * @author thomas.diesler at jboss.com
+ * @since 03-Jul-2008
+ */
+public abstract class AbstractSTPDialectTest extends DefaultEngineTestCase
+{
+ private String dialect;
+
+ @Override
+ protected void setUp() throws Exception
+ {
+ super.setUp();
+ dialect = System.getProperty("jbpm.dialect", "api10");
+ System.setProperty("jbpm.dialect", "stp");
+ }
+
+ @Override
+ protected void tearDown() throws Exception
+ {
+ System.setProperty("jbpm.dialect", dialect);
+ super.tearDown();
+ }
+}
Property changes on: api/trunk/modules/dialects/stp/src/test/java/org/jboss/bpm/dialect/stp/AbstractSTPDialectTest.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/test/java/org/jboss/bpm/dialect/stp/sequence/SequenceTest.java
===================================================================
--- api/trunk/modules/dialects/stp/src/test/java/org/jboss/bpm/dialect/stp/sequence/SequenceTest.java (rev 0)
+++ api/trunk/modules/dialects/stp/src/test/java/org/jboss/bpm/dialect/stp/sequence/SequenceTest.java 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,51 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.bpm.dialect.stp.sequence;
+
+// $Id$
+
+import java.net.URL;
+
+import org.jboss.bpm.client.ProcessManager;
+import org.jboss.bpm.dialect.stp.AbstractSTPDialectTest;
+import org.jboss.bpm.model.Process;
+
+/**
+ * Test the basic execution sequence
+ *
+ * @author thomas.diesler at jboss.com
+ * @since 03-Jul-2008
+ */
+public class SequenceTest extends AbstractSTPDialectTest
+{
+ /**
+ * Test a basic sequence
+ */
+ public void testBasicSequence() throws Exception
+ {
+ URL jpdlURL = getResourceURL("sequence/basic-sequence.bpmn");
+
+ // Create a Process through the ProcessManager
+ ProcessManager pm = ProcessManager.locateProcessManager();
+ Process proc = pm.createProcess(jpdlURL);
+ }
+}
Property changes on: api/trunk/modules/dialects/stp/src/test/java/org/jboss/bpm/dialect/stp/sequence/SequenceTest.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/test/resources/jbpm-beans.xml
===================================================================
--- api/trunk/modules/dialects/stp/src/test/resources/jbpm-beans.xml (rev 0)
+++ api/trunk/modules/dialects/stp/src/test/resources/jbpm-beans.xml 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,36 @@
+<deployment xmlns="urn:jboss:bean-deployer:2.0">
+
+ <!-- The KernelLocator -->
+ <bean name="KernelLocator" class="org.jboss.kernel.plugins.util.KernelLocator"/>
+
+ <!-- The ProcessEngine -->
+ <bean name="jBPMProcessEngine" class="org.jboss.bpm.client.internal.ProcessEngineImpl">
+ <property name="processManager"><inject bean="jBPMProcessManager"/></property>
+ <property name="executionManager"><inject bean="jBPMExecutionManager"/></property>
+ <property name="signalManager"><inject bean="jBPMSignalManager"/></property>
+ </bean>
+
+ <!-- The ProcessBuilderFactory -->
+ <bean name="jBPMProcessBuilderFactory" class="org.jboss.bpm.model.internal.ProcessBuilderFactoryImpl"/>
+
+ <!-- The ProcessManager -->
+ <bean name="jBPMProcessManager" class="org.jboss.bpm.client.internal.ProcessManagerImpl">
+ <property name="processEngine"><inject bean="jBPMProcessEngine" state="Instantiated"/></property>
+ <property name="dialectHandlers">
+ <map keyClass="java.lang.String" valueClass="org.jboss.bpm.client.DialectHandler">
+ <entry><key>stp</key><value><inject bean="jBPMDialectHandlerSTP"/></value></entry>
+ </map>
+ </property>
+ </bean>
+ <bean name="jBPMDialectHandlerSTP" class="org.jboss.bpm.dialect.stp.DialectHandlerImpl"/>
+
+ <!-- The ExecutionManager -->
+ <bean name="jBPMExecutionManager" class="org.jboss.bpm.client.internal.ExecutionManagerImpl">
+ <property name="processEngine"><inject bean="jBPMProcessEngine" state="Instantiated"/></property>
+ </bean>
+
+ <!-- The SignalManager -->
+ <bean name="jBPMSignalManager" class="org.jboss.bpm.client.internal.SignalManagerImpl">
+ <property name="processEngine"><inject bean="jBPMProcessEngine" state="Instantiated"/></property>
+ </bean>
+</deployment>
\ No newline at end of file
Property changes on: api/trunk/modules/dialects/stp/src/test/resources/jbpm-beans.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/test/resources/log4j.xml
===================================================================
--- api/trunk/modules/dialects/stp/src/test/resources/log4j.xml (rev 0)
+++ api/trunk/modules/dialects/stp/src/test/resources/log4j.xml 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
+
+ <!-- ================================= -->
+ <!-- Preserve messages in a local file -->
+ <!-- ================================= -->
+
+ <appender name="FILE" class="org.apache.log4j.FileAppender">
+ <param name="File" value="${log4j.output.dir}/test.log"/>
+ <param name="Append" value="false"/>
+ <layout class="org.apache.log4j.PatternLayout">
+ <!-- The default pattern: Date Priority [Category] Message\n -->
+ <param name="ConversionPattern" value="%d %-5p [%c:%L] %m%n"/>
+ </layout>
+ </appender>
+
+ <!-- ============================== -->
+ <!-- Append messages to the console -->
+ <!-- ============================== -->
+
+ <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
+ <param name="Target" value="System.out" />
+ <param name="Threshold" value="INFO" />
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern" value="%d{HH:mm:ss,SSS} [%t] %-5p %C{1} : %m%n" />
+ </layout>
+ </appender>
+
+ <!-- ================ -->
+ <!-- Limit categories -->
+ <!-- ================ -->
+
+ <category name="org.jbpm">
+ <priority value="DEBUG" />
+ </category>
+
+ <category name="org.hibernate">
+ <priority value="INFO" />
+ </category>
+
+ <!-- hide optimistic locking failures -->
+ <category name="org.hibernate.event.def.AbstractFlushingEventListener">
+ <priority value="FATAL" />
+ </category>
+
+ <!-- ======================= -->
+ <!-- Setup the Root category -->
+ <!-- ======================= -->
+
+ <root>
+ <!--appender-ref ref="CONSOLE"/-->
+ <appender-ref ref="FILE"/>
+ </root>
+
+</log4j:configuration>
Property changes on: api/trunk/modules/dialects/stp/src/test/resources/log4j.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/stp/src/test/resources/sequence/basic-sequence.bpmn
===================================================================
--- api/trunk/modules/dialects/stp/src/test/resources/sequence/basic-sequence.bpmn (rev 0)
+++ api/trunk/modules/dialects/stp/src/test/resources/sequence/basic-sequence.bpmn 2008-07-17 16:48:54 UTC (rev 1671)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<bpmn:BpmnDiagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:bpmn="http://stp.eclipse.org/bpmn" xmi:id="_UstEIE3nEd2LNJlZf0NQOw" iD="_UspZwE3nEd2LNJlZf0NQOw">
+ <pools xmi:type="bpmn:Pool" xmi:id="_Ut2ToE3nEd2LNJlZf0NQOw" iD="_Ut1skE3nEd2LNJlZf0NQOw" name="Pool">
+ <vertices xmi:type="bpmn:Activity" xmi:id="_UuUNsU3nEd2LNJlZf0NQOw" iD="_UuUNsE3nEd2LNJlZf0NQOw" outgoingEdges="_c8S7wU3nEd2LNJlZf0NQOw" incomingEdges="_bWie4E3nEd2LNJlZf0NQOw" name="StateA" activityType="Task"/>
+ <vertices xmi:type="bpmn:Activity" xmi:id="_aeNvwE3nEd2LNJlZf0NQOw" iD="_aeNIsE3nEd2LNJlZf0NQOw" outgoingEdges="_bWie4E3nEd2LNJlZf0NQOw" activityType="EventStartEmpty"/>
+ <vertices xmi:type="bpmn:Activity" xmi:id="_cUlbgU3nEd2LNJlZf0NQOw" iD="_cUlbgE3nEd2LNJlZf0NQOw" incomingEdges="_c8S7wU3nEd2LNJlZf0NQOw" activityType="EventEndEmpty"/>
+ <sequenceEdges xmi:type="bpmn:SequenceEdge" xmi:id="_bWie4E3nEd2LNJlZf0NQOw" iD="_bWh30E3nEd2LNJlZf0NQOw" source="_aeNvwE3nEd2LNJlZf0NQOw" target="_UuUNsU3nEd2LNJlZf0NQOw"/>
+ <sequenceEdges xmi:type="bpmn:SequenceEdge" xmi:id="_c8S7wU3nEd2LNJlZf0NQOw" iD="_c8S7wE3nEd2LNJlZf0NQOw" source="_UuUNsU3nEd2LNJlZf0NQOw" target="_cUlbgU3nEd2LNJlZf0NQOw"/>
+ </pools>
+</bpmn:BpmnDiagram>
Modified: api/trunk/modules/testsuite/src/test/resources/jbpm-beans.xml
===================================================================
--- api/trunk/modules/testsuite/src/test/resources/jbpm-beans.xml 2008-07-17 14:48:17 UTC (rev 1670)
+++ api/trunk/modules/testsuite/src/test/resources/jbpm-beans.xml 2008-07-17 16:48:54 UTC (rev 1671)
@@ -20,11 +20,15 @@
<map keyClass="java.lang.String" valueClass="org.jboss.bpm.client.DialectHandler">
<entry><key>api10</key><value><inject bean="jBPMDialectHandlerAPI10"/></value></entry>
<entry><key>jpdl32</key><value><inject bean="jBPMDialectHandlerJPDL32"/></value></entry>
+ <entry><key>stp</key><value><inject bean="jBPMDialectHandlerSTP"/></value></entry>
+ <entry><key>xpdl32</key><value><inject bean="jBPMDialectHandlerXPDL21"/></value></entry>
</map>
</property>
</bean>
<bean name="jBPMDialectHandlerAPI10" class="org.jboss.bpm.dialect.api10.DialectHandlerImpl"/>
<bean name="jBPMDialectHandlerJPDL32" class="org.jboss.bpm.dialect.jpdl32.DialectHandlerImpl"/>
+ <bean name="jBPMDialectHandlerSTP" class="org.jboss.bpm.dialect.stp.DialectHandlerImpl"/>
+ <bean name="jBPMDialectHandlerXPDL21" class="org.jboss.bpm.dialect.xpdl21.DialectHandlerImpl"/>
<!-- The ExecutionManager -->
<bean name="jBPMExecutionManager" class="org.jboss.bpm.client.internal.ExecutionManagerImpl">
Modified: api/trunk/pom.xml
===================================================================
--- api/trunk/pom.xml 2008-07-17 14:48:17 UTC (rev 1670)
+++ api/trunk/pom.xml 2008-07-17 16:48:54 UTC (rev 1671)
@@ -35,6 +35,7 @@
<module>modules/impl</module>
<module>modules/dialects/api10</module>
<module>modules/dialects/jpdl32</module>
+ <module>modules/dialects/stp</module>
<module>modules/dialects/xpdl21</module>
<module>modules/testsuite</module>
</modules>
More information about the jbpm-commits
mailing list