[jbpm-commits] JBoss JBPM SVN: r1662 - in api/trunk: modules/api/src/main/java/org/jboss/bpm/client and 20 other directories.
do-not-reply at jboss.org
do-not-reply at jboss.org
Thu Jul 17 05:21:11 EDT 2008
Author: thomas.diesler at jboss.com
Date: 2008-07-17 05:21:11 -0400 (Thu, 17 Jul 2008)
New Revision: 1662
Added:
api/trunk/modules/api/src/main/java/org/jboss/bpm/client/DialectHandler.java
api/trunk/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/DialectHandlerImpl.java
api/trunk/modules/dialects/jpdl32/
api/trunk/modules/dialects/jpdl32/pom.xml
api/trunk/modules/dialects/jpdl32/src/
api/trunk/modules/dialects/jpdl32/src/main/
api/trunk/modules/dialects/jpdl32/src/main/java/
api/trunk/modules/dialects/jpdl32/src/main/java/org/
api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/
api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/
api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/
api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/
api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/DialectHandlerImpl.java
api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/ProcessDefinitionAdapter.java
api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/ProcessUnmarshaller.java
api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/
api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/BindingType.java
api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/BooleanType.java
api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/ConfigType.java
api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/Delegation.java
api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Action.java
api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Assignment.java
api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32CancelTimer.java
api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32CreateTimer.java
api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Decision.java
api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32EndState.java
api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Event.java
api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32ExceptionHandler.java
api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Fork.java
api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Join.java
api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Mail.java
api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32MailNode.java
api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Node.java
api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32ProcessDefinition.java
api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32ProcessState.java
api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Script.java
api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32StartState.java
api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32State.java
api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32SuperState.java
api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Swimlane.java
api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Task.java
api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32TaskNode.java
api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Timer.java
api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Transition.java
api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Variable.java
api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/ObjectFactory.java
api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/package-info.java
api/trunk/modules/dialects/jpdl32/src/main/resources/
api/trunk/modules/dialects/jpdl32/src/main/resources/jaxb-bindings.xml
api/trunk/modules/dialects/jpdl32/src/main/resources/jpdl-3.2.xsd
api/trunk/modules/impl/src/main/java/org/jboss/bpm/client/internal/ProcessManagerImpl.java
Removed:
api/trunk/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/ProcessManagerImpl.java
api/trunk/modules/dialects/jaxb/src/test/
Modified:
api/trunk/.classpath
api/trunk/modules/api/src/main/java/org/jboss/bpm/client/ProcessManager.java
api/trunk/modules/api/src/main/java/org/jboss/bpm/model/ProcessBuilder.java
api/trunk/modules/dialects/jaxb/pom.xml
api/trunk/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/ProcessAdapter.java
api/trunk/modules/impl/src/main/java/org/jboss/bpm/model/internal/ProcessBuilderImpl.java
api/trunk/modules/testsuite/pom.xml
api/trunk/modules/testsuite/src/test/resources/jbpm-beans.xml
api/trunk/pom.xml
Log:
Add jpdl-3.2 dialect
Modified: api/trunk/.classpath
===================================================================
--- api/trunk/.classpath 2008-07-17 07:01:28 UTC (rev 1661)
+++ api/trunk/.classpath 2008-07-17 09:21:11 UTC (rev 1662)
@@ -1,6 +1,7 @@
<?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/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"/>
Added: api/trunk/modules/api/src/main/java/org/jboss/bpm/client/DialectHandler.java
===================================================================
--- api/trunk/modules/api/src/main/java/org/jboss/bpm/client/DialectHandler.java (rev 0)
+++ api/trunk/modules/api/src/main/java/org/jboss/bpm/client/DialectHandler.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -0,0 +1,49 @@
+/*
+ * 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.client;
+
+import java.io.IOException;
+import java.net.URL;
+
+import org.jboss.bpm.model.Process;
+
+// $Id$
+
+/**
+ * The DialectHandler converts a supported dialect to the internal Process model.
+ *
+ * @author thomas.diesler at jboss.com
+ * @since 18-Jun-2008
+ */
+public interface DialectHandler
+{
+ /**
+ * Create a {@link Process} from a descriptor.
+ */
+ Process createProcess(String pXML);
+
+ /**
+ * Create a {@link Process} from a descriptor URL.
+ */
+ Process createProcess(URL pURL) throws IOException;
+
+}
Property changes on: api/trunk/modules/api/src/main/java/org/jboss/bpm/client/DialectHandler.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Modified: api/trunk/modules/api/src/main/java/org/jboss/bpm/client/ProcessManager.java
===================================================================
--- api/trunk/modules/api/src/main/java/org/jboss/bpm/client/ProcessManager.java 2008-07-17 07:01:28 UTC (rev 1661)
+++ api/trunk/modules/api/src/main/java/org/jboss/bpm/client/ProcessManager.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -26,7 +26,9 @@
import java.io.IOException;
import java.net.URL;
import java.util.Collections;
+import java.util.HashMap;
import java.util.HashSet;
+import java.util.Map;
import java.util.Set;
import org.apache.commons.logging.Log;
@@ -47,6 +49,8 @@
// Injected through the MC
protected ProcessEngine engine;
+ // The map of registerd dialect handlers
+ protected Map<String, DialectHandler> dialectHandlers = new HashMap<String, DialectHandler>();
// The set of process definitions
private Set<Process> procs = new HashSet<Process>();
@@ -83,7 +87,7 @@
if (engine.isPrepareForShutdown())
throw new EngineShutdownException("Cannot create new Process while engine is shutting down");
- Process proc = createProcessOverride(procDescriptor);
+ Process proc = getDialectHandler().createProcess(procDescriptor);
registerProcess(proc);
return proc;
}
@@ -96,22 +100,12 @@
if (engine.isPrepareForShutdown())
throw new EngineShutdownException("Cannot create new Process while engine is shutting down");
- Process proc = createProcessOverride(procURL);
+ Process proc = getDialectHandler().createProcess(procURL);
registerProcess(proc);
return proc;
}
/**
- * Override to implement Process creation
- */
- protected abstract Process createProcessOverride(String pXML);
-
- /**
- * Override to implement Process creation
- */
- protected abstract Process createProcessOverride(URL pURL) throws IOException;
-
- /**
* Get the set of registered Processes
*/
public Set<Process> getProcesses()
@@ -153,4 +147,15 @@
{
procs.remove(proc.getName());
}
+
+ // Get the handler for the current dialect
+ private DialectHandler getDialectHandler()
+ {
+ String dialect = System.getProperty("jbpm.dialect", "api10");
+ DialectHandler dialectHandler = dialectHandlers.get(dialect);
+ if (dialectHandler == null)
+ throw new IllegalStateException("No dialect handler registered for: " + dialect);
+
+ return dialectHandler;
+ }
}
\ No newline at end of file
Modified: api/trunk/modules/api/src/main/java/org/jboss/bpm/model/ProcessBuilder.java
===================================================================
--- api/trunk/modules/api/src/main/java/org/jboss/bpm/model/ProcessBuilder.java 2008-07-17 07:01:28 UTC (rev 1661)
+++ api/trunk/modules/api/src/main/java/org/jboss/bpm/model/ProcessBuilder.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -111,63 +111,4 @@
* Add an {@link SignalHandler} with a given Class
*/
ProcessBuilder addSignalHandler(Class<?> clazz);
-
- // ==============
-
- /**
- * Create a {@link Process}.
- */
- Process createProcess(String name);
-
- /**
- * Create a {@link SubProcess} with a given name
- */
- SubProcess createSubProcess(String name);
-
- /**
- * Create a {@link StartEvent}
- */
- StartEvent createStartEvent();
-
- /**
- * Create an {@link IntermediateEvent} with a given name
- */
- IntermediateEvent createIntermediateEvent(String name);
-
- /**
- * Create an {@link EndEvent} with a given name
- */
- EndEvent createEndEvent(String name);
-
- /**
- * Create a {@link Task} with a given name
- */
- Task createTask(String name);
-
- /**
- * Create an {@link ExclusiveGateway} with a given name
- */
- ExclusiveGateway createExclusiveGateway(String name);
-
- /**
- * Create an {@link InclusiveGateway} with a given name
- */
- InclusiveGateway createInclusiveGateway(String name);
-
- /**
- * Create a {@link ComplexGateway} with a given name
- */
- ComplexGateway createComplexGateway(String name);
-
- /**
- * Create a {@link ParallelGateway} with a given name
- */
- ParallelGateway createParallelGateway(String name);
-
- /**
- * Add a {@link FlowObject} create by one of the create methods.
- * @param fo
- * @return
- */
- FlowObject addFlowObject(FlowObject fo);
}
\ No newline at end of file
Modified: api/trunk/modules/dialects/jaxb/pom.xml
===================================================================
--- api/trunk/modules/dialects/jaxb/pom.xml 2008-07-17 07:01:28 UTC (rev 1661)
+++ api/trunk/modules/dialects/jaxb/pom.xml 2008-07-17 09:21:11 UTC (rev 1662)
@@ -12,7 +12,7 @@
<!-- $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 JAXB</name>
+ <name>JBoss jBPM - API Dialect API-1.0</name>
<groupId>org.jboss.jbpm</groupId>
<artifactId>jbpm-api-dialect-jaxb</artifactId>
<packaging>jar</packaging>
Copied: api/trunk/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/DialectHandlerImpl.java (from rev 1661, api/trunk/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/ProcessManagerImpl.java)
===================================================================
--- api/trunk/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/DialectHandlerImpl.java (rev 0)
+++ api/trunk/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/DialectHandlerImpl.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -0,0 +1,76 @@
+/*
+ * 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.jaxb;
+
+// $Id$
+
+import java.io.IOException;
+import java.io.InputStreamReader;
+import java.io.StringReader;
+import java.net.URL;
+
+import javax.xml.bind.JAXBException;
+
+import org.jboss.bpm.InvalidProcessException;
+import org.jboss.bpm.client.DialectHandler;
+import org.jboss.bpm.dialect.jaxb.model.JAXBProcess;
+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();
+ JAXBProcess jaxbProc = unmarschaller.unmarshallProcess(new StringReader(pXML));
+ Process proc = new ProcessAdapter().adaptProcess(jaxbProc);
+ return proc;
+ }
+ catch (JAXBException ex)
+ {
+ throw new InvalidProcessException("Cannot unmarschall: " + pXML, ex);
+ }
+ }
+
+ public Process createProcess(URL pURL) throws IOException
+ {
+ try
+ {
+ ProcessUnmarshaller unmarschaller = new ProcessUnmarshaller();
+ JAXBProcess jaxbProc = unmarschaller.unmarshallProcess(new InputStreamReader(pURL.openStream()));
+ Process proc = new ProcessAdapter().adaptProcess(jaxbProc);
+ return proc;
+ }
+ catch (JAXBException ex)
+ {
+ throw new InvalidProcessException("Cannot unmarschall: " + pURL, ex);
+ }
+ }
+}
\ No newline at end of file
Modified: api/trunk/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/ProcessAdapter.java
===================================================================
--- api/trunk/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/ProcessAdapter.java 2008-07-17 07:01:28 UTC (rev 1661)
+++ api/trunk/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/ProcessAdapter.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -30,7 +30,6 @@
import org.jboss.bpm.dialect.jaxb.model.JAXBExclusiveGateway;
import org.jboss.bpm.dialect.jaxb.model.JAXBFlow;
import org.jboss.bpm.dialect.jaxb.model.JAXBFlowObject;
-import org.jboss.bpm.dialect.jaxb.model.JAXBGateway;
import org.jboss.bpm.dialect.jaxb.model.JAXBHandler;
import org.jboss.bpm.dialect.jaxb.model.JAXBInclusiveGateway;
import org.jboss.bpm.dialect.jaxb.model.JAXBIntermediateEvent;
@@ -39,17 +38,9 @@
import org.jboss.bpm.dialect.jaxb.model.JAXBStartEvent;
import org.jboss.bpm.dialect.jaxb.model.JAXBSubProcess;
import org.jboss.bpm.dialect.jaxb.model.JAXBTask;
-import org.jboss.bpm.model.EndEvent;
-import org.jboss.bpm.model.Event;
-import org.jboss.bpm.model.FlowObject;
-import org.jboss.bpm.model.Gateway;
-import org.jboss.bpm.model.IntermediateEvent;
import org.jboss.bpm.model.Process;
import org.jboss.bpm.model.ProcessBuilder;
import org.jboss.bpm.model.ProcessBuilderFactory;
-import org.jboss.bpm.model.StartEvent;
-import org.jboss.bpm.model.SubProcess;
-import org.jboss.bpm.model.Task;
/**
* Adapt the JAXBProcess to the API Process
@@ -59,112 +50,113 @@
*/
public class ProcessAdapter
{
- private ProcessBuilder builder;
-
public Process adaptProcess(JAXBProcess jaxbProc)
{
- builder = ProcessBuilderFactory.newInstance().newProcessBuilder(jaxbProc.getName());
+ ProcessBuilder builder = ProcessBuilderFactory.newInstance().newProcessBuilder(jaxbProc.getName());
for (JAXBFlowObject jaxbFlowObject : jaxbProc.getFlowObjects())
{
- FlowObject apiFlowObject;
if (jaxbFlowObject instanceof JAXBStartEvent)
{
- StartEvent event = builder.createStartEvent();
- apiFlowObject = adaptStartEvent(event, (JAXBStartEvent)jaxbFlowObject);
+ adaptStartEvent(builder, (JAXBStartEvent)jaxbFlowObject);
}
else if (jaxbFlowObject instanceof JAXBIntermediateEvent)
{
- IntermediateEvent event = builder.createIntermediateEvent(((JAXBIntermediateEvent)jaxbFlowObject).getName());
- apiFlowObject = adaptIntermediateEvent(event, (JAXBIntermediateEvent)jaxbFlowObject);
+ adaptIntermediateEvent(builder, (JAXBIntermediateEvent)jaxbFlowObject);
}
else if (jaxbFlowObject instanceof JAXBEndEvent)
{
- EndEvent event = builder.createEndEvent(((JAXBEndEvent)jaxbFlowObject).getName());
- apiFlowObject = adaptEndEvent(event, (JAXBEndEvent)jaxbFlowObject);
+ adaptEndEvent(builder, (JAXBEndEvent)jaxbFlowObject);
}
else if (jaxbFlowObject instanceof JAXBSubProcess)
{
- SubProcess subproc = builder.createSubProcess(((JAXBSubProcess)jaxbFlowObject).getName());
- apiFlowObject = adaptSubProcess(subproc, (JAXBSubProcess)jaxbFlowObject);
+ adaptSubProcess(builder, (JAXBSubProcess)jaxbFlowObject);
}
else if (jaxbFlowObject instanceof JAXBTask)
{
- Task task = builder.createTask(((JAXBTask)jaxbFlowObject).getName());
- apiFlowObject = adaptTask(task, (JAXBTask)jaxbFlowObject);
+ adaptTask(builder, (JAXBTask)jaxbFlowObject);
}
else if (jaxbFlowObject instanceof JAXBExclusiveGateway)
{
- Gateway gateway = builder.createExclusiveGateway(((JAXBGateway)jaxbFlowObject).getName());
- apiFlowObject = adaptGateway(gateway, (JAXBGateway)jaxbFlowObject);
+ adaptExclusiveGateway(builder, (JAXBExclusiveGateway)jaxbFlowObject);
}
else if (jaxbFlowObject instanceof JAXBInclusiveGateway)
{
- Gateway gateway = builder.createInclusiveGateway(((JAXBGateway)jaxbFlowObject).getName());
- apiFlowObject = adaptGateway(gateway, (JAXBGateway)jaxbFlowObject);
+ adaptInclusiveGateway(builder, (JAXBInclusiveGateway)jaxbFlowObject);
}
else if (jaxbFlowObject instanceof JAXBComplexGateway)
{
- Gateway gateway = builder.createComplexGateway(((JAXBGateway)jaxbFlowObject).getName());
- apiFlowObject = adaptGateway(gateway, (JAXBGateway)jaxbFlowObject);
+ adaptComplexGateway(builder, (JAXBComplexGateway)jaxbFlowObject);
}
else if (jaxbFlowObject instanceof JAXBParallelGateway)
{
- Gateway gateway = builder.createParallelGateway(((JAXBGateway)jaxbFlowObject).getName());
- apiFlowObject = adaptGateway(gateway, (JAXBGateway)jaxbFlowObject);
+ adaptParallelGateway(builder, (JAXBParallelGateway)jaxbFlowObject);
}
else
{
throw new InvalidProcessException("Unsupported type: " + jaxbFlowObject);
}
- builder.addFlowObject(apiFlowObject);
}
Process proc = builder.getProcess();
return proc;
}
- private Gateway adaptGateway(Gateway gateway, JAXBGateway jaxb)
+ private void adaptExclusiveGateway(ProcessBuilder builder, JAXBExclusiveGateway jaxb)
{
+ builder.addExclusiveGateway(jaxb.getName());
for(JAXBFlow flow : jaxb.getOutFlows())
- {
builder.addSequenceFlow(flow.getTargetName());
- }
- return gateway;
}
- private Task adaptTask(Task task, JAXBTask jaxb)
+ private void adaptInclusiveGateway(ProcessBuilder builder, JAXBInclusiveGateway jaxb)
{
+ builder.addInclusiveGateway(jaxb.getName());
+ for(JAXBFlow flow : jaxb.getOutFlows())
+ builder.addSequenceFlow(flow.getTargetName());
+ }
+
+ private void adaptComplexGateway(ProcessBuilder builder, JAXBComplexGateway jaxb)
+ {
+ builder.addComplexGateway(jaxb.getName());
+ for(JAXBFlow flow : jaxb.getOutFlows())
+ builder.addSequenceFlow(flow.getTargetName());
+ }
+
+ private void adaptParallelGateway(ProcessBuilder builder, JAXBParallelGateway jaxb)
+ {
+ builder.addParallelGateway(jaxb.getName());
+ for(JAXBFlow flow : jaxb.getOutFlows())
+ builder.addSequenceFlow(flow.getTargetName());
+ }
+
+ private void adaptTask(ProcessBuilder builder, JAXBTask jaxb)
+ {
String targetName = jaxb.getOutFlow().getTargetName();
- builder.addSequenceFlow(targetName);
+ builder.addTask(jaxb.getName()).addSequenceFlow(targetName);
JAXBHandler jaxbHandler = jaxb.getExecutionHandler();
if (jaxbHandler != null)
- {
builder.addExecutionHandler(loadHandler(jaxbHandler.getClassName()));
- }
- return task;
}
- private Event adaptStartEvent(StartEvent event, JAXBStartEvent jaxb)
+ private void adaptStartEvent(ProcessBuilder builder, JAXBStartEvent jaxb)
{
String targetName = jaxb.getOutFlow().getTargetName();
- builder.addSequenceFlow(targetName);
- return event;
+ builder.addStartEvent().addSequenceFlow(targetName);
}
- private Event adaptIntermediateEvent(IntermediateEvent event, JAXBIntermediateEvent jaxb)
+ private void adaptIntermediateEvent(ProcessBuilder builder, JAXBIntermediateEvent jaxb)
{
String targetName = jaxb.getOutFlow().getTargetName();
- builder.addSequenceFlow(targetName);
- return event;
+ builder.addItermediateEvent(jaxb.getName()).addSequenceFlow(targetName);
}
- private Event adaptEndEvent(EndEvent event, JAXBEndEvent jaxb)
+ private void adaptEndEvent(ProcessBuilder builder, JAXBEndEvent jaxb)
{
- return event;
+ builder.addEndEvent(jaxb.getName());
}
- private SubProcess adaptSubProcess(SubProcess subproc, JAXBSubProcess jaxb)
+ private void adaptSubProcess(ProcessBuilder builder, JAXBSubProcess jaxb)
{
throw new NotImplementedException();
}
Deleted: api/trunk/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/ProcessManagerImpl.java
===================================================================
--- api/trunk/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/ProcessManagerImpl.java 2008-07-17 07:01:28 UTC (rev 1661)
+++ api/trunk/modules/dialects/jaxb/src/main/java/org/jboss/bpm/dialect/jaxb/ProcessManagerImpl.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -1,88 +0,0 @@
-/*
- * 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.jaxb;
-
-// $Id$
-
-import java.io.IOException;
-import java.io.InputStreamReader;
-import java.io.StringReader;
-import java.net.URL;
-
-import javax.xml.bind.JAXBException;
-
-import org.jboss.bpm.InvalidProcessException;
-import org.jboss.bpm.client.ProcessEngine;
-import org.jboss.bpm.client.ProcessManager;
-import org.jboss.bpm.dialect.jaxb.model.JAXBProcess;
-import org.jboss.bpm.model.Process;
-
-/**
- * The process manager is the entry point to create, find and otherwise manage processes.
- *
- * @author thomas.diesler at jboss.com
- * @since 18-Jun-2008
- */
-public class ProcessManagerImpl extends ProcessManager
-{
- public void setProcessEngine(ProcessEngine engine)
- {
- this.engine = engine;
- }
-
- /**
- * Override to implement process definition creation
- */
- public Process createProcessOverride(String pXML)
- {
- try
- {
- ProcessUnmarshaller unmarschaller = new ProcessUnmarshaller();
- JAXBProcess jaxbProc = unmarschaller.unmarshallProcess(new StringReader(pXML));
- Process proc = new ProcessAdapter().adaptProcess(jaxbProc);
- return proc;
- }
- catch (JAXBException ex)
- {
- throw new InvalidProcessException("Cannot unmarschall: " + pXML, ex);
- }
- }
-
- /**
- * Override to implement process definition creation
- */
- public Process createProcessOverride(URL pURL) throws IOException
- {
- try
- {
- ProcessUnmarshaller unmarschaller = new ProcessUnmarshaller();
- JAXBProcess jaxbProc = unmarschaller.unmarshallProcess(new InputStreamReader(pURL.openStream()));
- Process proc = new ProcessAdapter().adaptProcess(jaxbProc);
- return proc;
- }
- catch (JAXBException ex)
- {
- throw new InvalidProcessException("Cannot unmarschall: " + pURL, ex);
- }
- }
-
-}
\ No newline at end of file
Added: api/trunk/modules/dialects/jpdl32/pom.xml
===================================================================
--- api/trunk/modules/dialects/jpdl32/pom.xml (rev 0)
+++ api/trunk/modules/dialects/jpdl32/pom.xml 2008-07-17 09:21:11 UTC (rev 1662)
@@ -0,0 +1,38 @@
+<?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 jPDL-3.2</name>
+ <groupId>org.jboss.jbpm</groupId>
+ <artifactId>jbpm-api-dialect-jpdl32</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>
+ <scope>compile</scope>
+ </dependency>
+ </dependencies>
+
+</project>
\ No newline at end of file
Property changes on: api/trunk/modules/dialects/jpdl32/pom.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/DialectHandlerImpl.java
===================================================================
--- api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/DialectHandlerImpl.java (rev 0)
+++ api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/DialectHandlerImpl.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -0,0 +1,76 @@
+/*
+ * 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.jpdl32;
+
+// $Id$
+
+import java.io.IOException;
+import java.io.InputStreamReader;
+import java.io.StringReader;
+import java.net.URL;
+
+import javax.xml.bind.JAXBException;
+
+import org.jboss.bpm.InvalidProcessException;
+import org.jboss.bpm.client.DialectHandler;
+import org.jboss.bpm.dialect.jpdl32.jaxb.JPDL32ProcessDefinition;
+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();
+ JPDL32ProcessDefinition jaxbProc = unmarschaller.unmarshallProcess(new StringReader(pXML));
+ Process proc = new ProcessDefinitionAdapter().adaptProcessDefinition(jaxbProc);
+ return proc;
+ }
+ catch (JAXBException ex)
+ {
+ throw new InvalidProcessException("Cannot unmarschall: " + pXML, ex);
+ }
+ }
+
+ public Process createProcess(URL pURL) throws IOException
+ {
+ try
+ {
+ ProcessUnmarshaller unmarschaller = new ProcessUnmarshaller();
+ JPDL32ProcessDefinition jaxbProc = unmarschaller.unmarshallProcess(new InputStreamReader(pURL.openStream()));
+ Process proc = new ProcessDefinitionAdapter().adaptProcessDefinition(jaxbProc);
+ 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/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/DialectHandlerImpl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/ProcessDefinitionAdapter.java
===================================================================
--- api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/ProcessDefinitionAdapter.java (rev 0)
+++ api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/ProcessDefinitionAdapter.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -0,0 +1,141 @@
+/*
+ * 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.jpdl32;
+
+// $Id$
+
+import java.util.List;
+
+import org.jboss.bpm.InvalidProcessException;
+import org.jboss.bpm.dialect.jpdl32.jaxb.JPDL32Action;
+import org.jboss.bpm.dialect.jpdl32.jaxb.JPDL32EndState;
+import org.jboss.bpm.dialect.jpdl32.jaxb.JPDL32Event;
+import org.jboss.bpm.dialect.jpdl32.jaxb.JPDL32ProcessDefinition;
+import org.jboss.bpm.dialect.jpdl32.jaxb.JPDL32StartState;
+import org.jboss.bpm.dialect.jpdl32.jaxb.JPDL32State;
+import org.jboss.bpm.dialect.jpdl32.jaxb.JPDL32Transition;
+import org.jboss.bpm.model.Process;
+import org.jboss.bpm.model.ProcessBuilder;
+import org.jboss.bpm.model.ProcessBuilderFactory;
+import org.jboss.bpm.runtime.ExecutionHandler;
+
+/**
+ * Adapt the jpdl-3.2 ProcessDefinition to the API Process
+ *
+ * @author thomas.diesler at jboss.com
+ * @since 18-Jun-2008
+ */
+public class ProcessDefinitionAdapter
+{
+ public Process adaptProcessDefinition(JPDL32ProcessDefinition jpdlProcDef)
+ {
+ ProcessBuilder builder = ProcessBuilderFactory.newInstance().newProcessBuilder(jpdlProcDef.getName());
+ for (Object jpdlObj : jpdlProcDef.getDescriptionOrSwimlaneOrStartState())
+ {
+ if (jpdlObj instanceof JPDL32StartState)
+ {
+ adaptStartState(builder, (JPDL32StartState)jpdlObj);
+ }
+ else if (jpdlObj instanceof JPDL32State)
+ {
+ adaptState(builder, (JPDL32State)jpdlObj);
+ }
+ else if (jpdlObj instanceof JPDL32EndState)
+ {
+ adaptEndState(builder, (JPDL32EndState)jpdlObj);
+ }
+ else
+ {
+ throw new InvalidProcessException("Unsupported type: " + jpdlObj);
+ }
+ }
+
+ Process proc = builder.getProcess();
+ return proc;
+ }
+
+ private void adaptStartState(ProcessBuilder builder, JPDL32StartState jpdlStart)
+ {
+ builder.addStartEvent();
+ adaptTransitions(builder, jpdlStart.getDescriptionOrTaskOrTransition());
+ }
+
+ private void adaptEndState(ProcessBuilder builder, JPDL32EndState jpdlEnd)
+ {
+ builder.addEndEvent(jpdlEnd.getName());
+ }
+
+ private void adaptState(ProcessBuilder builder, JPDL32State jpdlState)
+ {
+ builder.addTask(jpdlState.getName());
+ adaptTransitions(builder, jpdlState.getDescriptionOrEventOrExceptionHandler());
+
+ for (Object jpdlObj : jpdlState.getDescriptionOrEventOrExceptionHandler())
+ {
+ if (jpdlObj instanceof JPDL32Event)
+ {
+ JPDL32Event jpdlEvent = (JPDL32Event)jpdlObj;
+ if (jpdlEvent.getType().equals("node-enter"))
+ {
+ for (Object jpdlAux : jpdlEvent.getActionOrScriptOrCreateTimer())
+ {
+ if (jpdlAux instanceof JPDL32Action)
+ {
+ JPDL32Action jpdlAction = (JPDL32Action)jpdlAux;
+ Class<?> handler = loadHandler(jpdlAction.getClazz());
+ if (ExecutionHandler.class.isAssignableFrom(handler) == false)
+ throw new InvalidProcessException("Node action is not of type ExecutionHandler");
+
+ builder.addExecutionHandler(handler);
+ }
+ }
+ }
+ }
+ }
+ }
+
+ private void adaptTransitions(ProcessBuilder builder, List<Object> list)
+ {
+ for (Object subEl : list)
+ {
+ if (subEl instanceof JPDL32Transition)
+ {
+ JPDL32Transition trans = (JPDL32Transition)subEl;
+ String targetName = trans.getTo();
+ builder.addSequenceFlow(targetName);
+ }
+ }
+ }
+
+ private Class<?> loadHandler(String className)
+ {
+ try
+ {
+ ClassLoader ctxLoader = Thread.currentThread().getContextClassLoader();
+ return ctxLoader.loadClass(className);
+ }
+ catch (ClassNotFoundException e)
+ {
+ throw new IllegalStateException("Cannot load handler class: " + className);
+ }
+ }
+}
Property changes on: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/ProcessDefinitionAdapter.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/ProcessUnmarshaller.java
===================================================================
--- api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/ProcessUnmarshaller.java (rev 0)
+++ api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/ProcessUnmarshaller.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -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.jpdl32;
+
+// $Id$
+
+import java.io.Reader;
+
+import javax.xml.bind.JAXBContext;
+import javax.xml.bind.JAXBException;
+import javax.xml.bind.Unmarshaller;
+
+import org.jboss.bpm.dialect.jpdl32.jaxb.JPDL32ProcessDefinition;
+import org.jboss.bpm.dialect.jpdl32.jaxb.ObjectFactory;
+
+/**
+ * A JAXB unmarshaller for a Process
+ *
+ * @author thomas.diesler at jboss.com
+ * @since 08-Jul-2008
+ */
+public class ProcessUnmarshaller
+{
+ public JPDL32ProcessDefinition unmarshallProcess(Reader xml) throws JAXBException
+ {
+ JAXBContext jaxbContext = JAXBContext.newInstance(ObjectFactory.class);
+ Unmarshaller unmarshaller = jaxbContext.createUnmarshaller();
+ unmarshaller.setProperty("com.sun.xml.bind.ObjectFactory",new ObjectFactory());
+ JPDL32ProcessDefinition proc = (JPDL32ProcessDefinition)unmarshaller.unmarshal(xml);
+ return proc;
+ }
+}
Property changes on: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/ProcessUnmarshaller.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/BindingType.java
===================================================================
--- api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/BindingType.java (rev 0)
+++ api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/BindingType.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -0,0 +1,58 @@
+//
+// 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 09:51:16 AM CEST
+//
+
+
+package org.jboss.bpm.dialect.jpdl32.jaxb;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for bindingType.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * <simpleType name="bindingType">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="late"/>
+ * <enumeration value="early"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+ at XmlType(name = "bindingType")
+ at XmlEnum
+public enum BindingType {
+
+ @XmlEnumValue("late")
+ LATE("late"),
+ @XmlEnumValue("early")
+ EARLY("early");
+ private final String value;
+
+ BindingType(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static BindingType fromValue(String v) {
+ for (BindingType c: BindingType.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
Property changes on: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/BindingType.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/BooleanType.java
===================================================================
--- api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/BooleanType.java (rev 0)
+++ api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/BooleanType.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -0,0 +1,70 @@
+//
+// 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 09:51:16 AM CEST
+//
+
+
+package org.jboss.bpm.dialect.jpdl32.jaxb;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for booleanType.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * <simpleType name="booleanType">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="yes"/>
+ * <enumeration value="no"/>
+ * <enumeration value="true"/>
+ * <enumeration value="false"/>
+ * <enumeration value="on"/>
+ * <enumeration value="off"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+ at XmlType(name = "booleanType")
+ at XmlEnum
+public enum BooleanType {
+
+ @XmlEnumValue("yes")
+ YES("yes"),
+ @XmlEnumValue("no")
+ NO("no"),
+ @XmlEnumValue("true")
+ TRUE("true"),
+ @XmlEnumValue("false")
+ FALSE("false"),
+ @XmlEnumValue("on")
+ ON("on"),
+ @XmlEnumValue("off")
+ OFF("off");
+ private final String value;
+
+ BooleanType(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static BooleanType fromValue(String v) {
+ for (BooleanType c: BooleanType.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
Property changes on: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/BooleanType.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/ConfigType.java
===================================================================
--- api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/ConfigType.java (rev 0)
+++ api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/ConfigType.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -0,0 +1,64 @@
+//
+// 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 09:51:16 AM CEST
+//
+
+
+package org.jboss.bpm.dialect.jpdl32.jaxb;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for configType.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * <simpleType name="configType">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="field"/>
+ * <enumeration value="bean"/>
+ * <enumeration value="constructor"/>
+ * <enumeration value="configuration-property"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+ at XmlType(name = "configType")
+ at XmlEnum
+public enum ConfigType {
+
+ @XmlEnumValue("field")
+ FIELD("field"),
+ @XmlEnumValue("bean")
+ BEAN("bean"),
+ @XmlEnumValue("constructor")
+ CONSTRUCTOR("constructor"),
+ @XmlEnumValue("configuration-property")
+ CONFIGURATION_PROPERTY("configuration-property");
+ private final String value;
+
+ ConfigType(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static ConfigType fromValue(String v) {
+ for (ConfigType c: ConfigType.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
Property changes on: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/ConfigType.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/Delegation.java
===================================================================
--- api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/Delegation.java (rev 0)
+++ api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/Delegation.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -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 09:51:16 AM CEST
+//
+
+
+package org.jboss.bpm.dialect.jpdl32.jaxb;
+
+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.XmlMixed;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for delegation complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="delegation">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="config-type" type="{http://www.w3.org/2001/XMLSchema}string" default="field" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "delegation", propOrder = {
+ "content"
+})
+ at XmlSeeAlso({
+ JPDL32Assignment.class
+})
+public class Delegation {
+
+ @XmlMixed
+ @XmlAnyElement(lax = true)
+ protected List<Object> content;
+ @XmlAttribute(name = "class")
+ protected String clazz;
+ @XmlAttribute(name = "config-type")
+ protected String configType;
+
+ /**
+ * Gets the value of the content 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 content property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getContent().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ * {@link String }
+ *
+ *
+ */
+ public List<Object> getContent() {
+ if (content == null) {
+ content = new ArrayList<Object>();
+ }
+ return this.content;
+ }
+
+ /**
+ * Gets the value of the clazz property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getClazz() {
+ return clazz;
+ }
+
+ /**
+ * Sets the value of the clazz property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setClazz(String value) {
+ this.clazz = value;
+ }
+
+ /**
+ * Gets the value of the configType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getConfigType() {
+ if (configType == null) {
+ return "field";
+ } else {
+ return configType;
+ }
+ }
+
+ /**
+ * Sets the value of the configType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setConfigType(String value) {
+ this.configType = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/Delegation.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Action.java
===================================================================
--- api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Action.java (rev 0)
+++ api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Action.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -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 09:51:16 AM CEST
+//
+
+
+package org.jboss.bpm.dialect.jpdl32.jaxb;
+
+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.XmlMixed;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import org.w3c.dom.Element;
+
+
+/**
+ * <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">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="config-type" type="{http://www.w3.org/2001/XMLSchema}string" default="field" />
+ * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="ref-name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="accept-propagated-events" type="{urn:jbpm.org:jpdl-3.2}booleanType" default="true" />
+ * <attribute name="expression" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="async" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "content"
+})
+ at XmlRootElement(name = "action")
+public class JPDL32Action {
+
+ @XmlMixed
+ @XmlAnyElement(lax = true)
+ protected List<Object> content;
+ @XmlAttribute(name = "class")
+ protected String clazz;
+ @XmlAttribute(name = "config-type")
+ protected String configType;
+ @XmlAttribute
+ protected String name;
+ @XmlAttribute(name = "ref-name")
+ protected String refName;
+ @XmlAttribute(name = "accept-propagated-events")
+ protected BooleanType acceptPropagatedEvents;
+ @XmlAttribute
+ protected String expression;
+ @XmlAttribute
+ protected String async;
+
+ /**
+ * Gets the value of the content 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 content property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getContent().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ * {@link String }
+ *
+ *
+ */
+ public List<Object> getContent() {
+ if (content == null) {
+ content = new ArrayList<Object>();
+ }
+ return this.content;
+ }
+
+ /**
+ * Gets the value of the clazz property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getClazz() {
+ return clazz;
+ }
+
+ /**
+ * Sets the value of the clazz property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setClazz(String value) {
+ this.clazz = value;
+ }
+
+ /**
+ * Gets the value of the configType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getConfigType() {
+ if (configType == null) {
+ return "field";
+ } else {
+ return configType;
+ }
+ }
+
+ /**
+ * Sets the value of the configType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setConfigType(String value) {
+ this.configType = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the refName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRefName() {
+ return refName;
+ }
+
+ /**
+ * Sets the value of the refName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRefName(String value) {
+ this.refName = value;
+ }
+
+ /**
+ * Gets the value of the acceptPropagatedEvents property.
+ *
+ * @return
+ * possible object is
+ * {@link BooleanType }
+ *
+ */
+ public BooleanType getAcceptPropagatedEvents() {
+ if (acceptPropagatedEvents == null) {
+ return BooleanType.TRUE;
+ } else {
+ return acceptPropagatedEvents;
+ }
+ }
+
+ /**
+ * Sets the value of the acceptPropagatedEvents property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BooleanType }
+ *
+ */
+ public void setAcceptPropagatedEvents(BooleanType value) {
+ this.acceptPropagatedEvents = value;
+ }
+
+ /**
+ * Gets the value of the expression property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getExpression() {
+ return expression;
+ }
+
+ /**
+ * Sets the value of the expression property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setExpression(String value) {
+ this.expression = value;
+ }
+
+ /**
+ * Gets the value of the async property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAsync() {
+ return async;
+ }
+
+ /**
+ * Sets the value of the async property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAsync(String value) {
+ this.async = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Action.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Assignment.java
===================================================================
--- api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Assignment.java (rev 0)
+++ api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Assignment.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -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 09:51:16 AM CEST
+//
+
+
+package org.jboss.bpm.dialect.jpdl32.jaxb;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <extension base="{urn:jbpm.org:jpdl-3.2}delegation">
+ * <attribute name="expression" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="actor-id" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="pooled-actors" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "")
+ at XmlRootElement(name = "assignment")
+public class JPDL32Assignment
+ extends Delegation
+{
+
+ @XmlAttribute
+ protected String expression;
+ @XmlAttribute(name = "actor-id")
+ protected String actorId;
+ @XmlAttribute(name = "pooled-actors")
+ protected String pooledActors;
+
+ /**
+ * Gets the value of the expression property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getExpression() {
+ return expression;
+ }
+
+ /**
+ * Sets the value of the expression property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setExpression(String value) {
+ this.expression = value;
+ }
+
+ /**
+ * Gets the value of the actorId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getActorId() {
+ return actorId;
+ }
+
+ /**
+ * Sets the value of the actorId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setActorId(String value) {
+ this.actorId = value;
+ }
+
+ /**
+ * Gets the value of the pooledActors property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPooledActors() {
+ return pooledActors;
+ }
+
+ /**
+ * Sets the value of the pooledActors property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPooledActors(String value) {
+ this.pooledActors = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Assignment.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32CancelTimer.java
===================================================================
--- api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32CancelTimer.java (rev 0)
+++ api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32CancelTimer.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -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 09:51:16 AM CEST
+//
+
+
+package org.jboss.bpm.dialect.jpdl32.jaxb;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <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">
+ * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "")
+ at XmlRootElement(name = "cancel-timer")
+public class JPDL32CancelTimer {
+
+ @XmlAttribute(required = true)
+ 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/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32CancelTimer.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32CreateTimer.java
===================================================================
--- api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32CreateTimer.java (rev 0)
+++ api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32CreateTimer.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -0,0 +1,205 @@
+//
+// 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 09:51:16 AM CEST
+//
+
+
+package org.jboss.bpm.dialect.jpdl32.jaxb;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <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 minOccurs="0">
+ * <element ref="{urn:jbpm.org:jpdl-3.2}action"/>
+ * <element ref="{urn:jbpm.org:jpdl-3.2}script"/>
+ * </choice>
+ * <attribute name="duedate" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="repeat" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="transition" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "action",
+ "script"
+})
+ at XmlRootElement(name = "create-timer")
+public class JPDL32CreateTimer {
+
+ protected JPDL32Action action;
+ protected JPDL32Script script;
+ @XmlAttribute(required = true)
+ protected String duedate;
+ @XmlAttribute
+ protected String name;
+ @XmlAttribute
+ protected String repeat;
+ @XmlAttribute
+ protected String transition;
+
+ /**
+ * Gets the value of the action property.
+ *
+ * @return
+ * possible object is
+ * {@link JPDL32Action }
+ *
+ */
+ public JPDL32Action getAction() {
+ return action;
+ }
+
+ /**
+ * Sets the value of the action property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JPDL32Action }
+ *
+ */
+ public void setAction(JPDL32Action value) {
+ this.action = value;
+ }
+
+ /**
+ * Gets the value of the script property.
+ *
+ * @return
+ * possible object is
+ * {@link JPDL32Script }
+ *
+ */
+ public JPDL32Script getScript() {
+ return script;
+ }
+
+ /**
+ * Sets the value of the script property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JPDL32Script }
+ *
+ */
+ public void setScript(JPDL32Script value) {
+ this.script = value;
+ }
+
+ /**
+ * Gets the value of the duedate property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDuedate() {
+ return duedate;
+ }
+
+ /**
+ * Sets the value of the duedate property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDuedate(String value) {
+ this.duedate = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the repeat property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRepeat() {
+ return repeat;
+ }
+
+ /**
+ * Sets the value of the repeat property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRepeat(String value) {
+ this.repeat = value;
+ }
+
+ /**
+ * Gets the value of the transition property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTransition() {
+ return transition;
+ }
+
+ /**
+ * Sets the value of the transition property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTransition(String value) {
+ this.transition = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32CreateTimer.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Decision.java
===================================================================
--- api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Decision.java (rev 0)
+++ api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Decision.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -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 09:51:16 AM CEST
+//
+
+
+package org.jboss.bpm.dialect.jpdl32.jaxb;
+
+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.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <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">
+ * <element ref="{urn:jbpm.org:jpdl-3.2}description"/>
+ * <element name="handler" type="{urn:jbpm.org:jpdl-3.2}delegation"/>
+ * <element ref="{urn:jbpm.org:jpdl-3.2}event"/>
+ * <element ref="{urn:jbpm.org:jpdl-3.2}exception-handler"/>
+ * <element ref="{urn:jbpm.org:jpdl-3.2}transition"/>
+ * </choice>
+ * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="expression" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="async" type="{http://www.w3.org/2001/XMLSchema}string" default="false" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "descriptionOrHandlerOrEvent"
+})
+ at XmlRootElement(name = "decision")
+public class JPDL32Decision {
+
+ @XmlElements({
+ @XmlElement(name = "handler", type = Delegation.class),
+ @XmlElement(name = "event", type = JPDL32Event.class),
+ @XmlElement(name = "transition", type = JPDL32Transition.class),
+ @XmlElement(name = "exception-handler", type = JPDL32ExceptionHandler.class),
+ @XmlElement(name = "description", type = String.class)
+ })
+ protected List<Object> descriptionOrHandlerOrEvent;
+ @XmlAttribute(required = true)
+ protected String name;
+ @XmlAttribute
+ protected String expression;
+ @XmlAttribute
+ protected String async;
+
+ /**
+ * Gets the value of the descriptionOrHandlerOrEvent 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 descriptionOrHandlerOrEvent property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDescriptionOrHandlerOrEvent().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Delegation }
+ * {@link JPDL32Event }
+ * {@link JPDL32Transition }
+ * {@link JPDL32ExceptionHandler }
+ * {@link String }
+ *
+ *
+ */
+ public List<Object> getDescriptionOrHandlerOrEvent() {
+ if (descriptionOrHandlerOrEvent == null) {
+ descriptionOrHandlerOrEvent = new ArrayList<Object>();
+ }
+ return this.descriptionOrHandlerOrEvent;
+ }
+
+ /**
+ * 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 expression property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getExpression() {
+ return expression;
+ }
+
+ /**
+ * Sets the value of the expression property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setExpression(String value) {
+ this.expression = value;
+ }
+
+ /**
+ * Gets the value of the async property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAsync() {
+ if (async == null) {
+ return "false";
+ } else {
+ return async;
+ }
+ }
+
+ /**
+ * Sets the value of the async property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAsync(String value) {
+ this.async = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Decision.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32EndState.java
===================================================================
--- api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32EndState.java (rev 0)
+++ api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32EndState.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -0,0 +1,146 @@
+//
+// 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 09:51:16 AM CEST
+//
+
+
+package org.jboss.bpm.dialect.jpdl32.jaxb;
+
+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.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <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">
+ * <element ref="{urn:jbpm.org:jpdl-3.2}description"/>
+ * <element ref="{urn:jbpm.org:jpdl-3.2}event"/>
+ * <element ref="{urn:jbpm.org:jpdl-3.2}exception-handler"/>
+ * </choice>
+ * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="end-complete-process" type="{urn:jbpm.org:jpdl-3.2}booleanType" default="false" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "descriptionOrEventOrExceptionHandler"
+})
+ at XmlRootElement(name = "end-state")
+public class JPDL32EndState {
+
+ @XmlElements({
+ @XmlElement(name = "description", type = String.class),
+ @XmlElement(name = "event", type = JPDL32Event.class),
+ @XmlElement(name = "exception-handler", type = JPDL32ExceptionHandler.class)
+ })
+ protected List<Object> descriptionOrEventOrExceptionHandler;
+ @XmlAttribute(required = true)
+ protected String name;
+ @XmlAttribute(name = "end-complete-process")
+ protected BooleanType endCompleteProcess;
+
+ /**
+ * Gets the value of the descriptionOrEventOrExceptionHandler 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 descriptionOrEventOrExceptionHandler property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDescriptionOrEventOrExceptionHandler().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ * {@link JPDL32Event }
+ * {@link JPDL32ExceptionHandler }
+ *
+ *
+ */
+ public List<Object> getDescriptionOrEventOrExceptionHandler() {
+ if (descriptionOrEventOrExceptionHandler == null) {
+ descriptionOrEventOrExceptionHandler = new ArrayList<Object>();
+ }
+ return this.descriptionOrEventOrExceptionHandler;
+ }
+
+ /**
+ * 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 endCompleteProcess property.
+ *
+ * @return
+ * possible object is
+ * {@link BooleanType }
+ *
+ */
+ public BooleanType getEndCompleteProcess() {
+ if (endCompleteProcess == null) {
+ return BooleanType.FALSE;
+ } else {
+ return endCompleteProcess;
+ }
+ }
+
+ /**
+ * Sets the value of the endCompleteProcess property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BooleanType }
+ *
+ */
+ public void setEndCompleteProcess(BooleanType value) {
+ this.endCompleteProcess = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32EndState.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Event.java
===================================================================
--- api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Event.java (rev 0)
+++ api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Event.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -0,0 +1,145 @@
+//
+// 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 09:51:16 AM CEST
+//
+
+
+package org.jboss.bpm.dialect.jpdl32.jaxb;
+
+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.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <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">
+ * <group ref="{urn:jbpm.org:jpdl-3.2}action-elements"/>
+ * </choice>
+ * <attribute name="type" use="required">
+ * <simpleType>
+ * <union>
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * </restriction>
+ * </simpleType>
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="node-enter"/>
+ * <enumeration value="node-leave"/>
+ * <enumeration value="process-start"/>
+ * <enumeration value="process-end"/>
+ * <enumeration value="task-create"/>
+ * <enumeration value="task-assign"/>
+ * <enumeration value="task-start"/>
+ * <enumeration value="task-end"/>
+ * <enumeration value="before-signal"/>
+ * <enumeration value="after-signal"/>
+ * <enumeration value="superstate-enter"/>
+ * <enumeration value="superstate-leave"/>
+ * <enumeration value="timer-create"/>
+ * <enumeration value="subprocess-created"/>
+ * <enumeration value="subprocess-end"/>
+ * </restriction>
+ * </simpleType>
+ * </union>
+ * </simpleType>
+ * </attribute>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "actionOrScriptOrCreateTimer"
+})
+ at XmlRootElement(name = "event")
+public class JPDL32Event {
+
+ @XmlElements({
+ @XmlElement(name = "mail", type = JPDL32Mail.class),
+ @XmlElement(name = "create-timer", type = JPDL32CreateTimer.class),
+ @XmlElement(name = "action", type = JPDL32Action.class),
+ @XmlElement(name = "cancel-timer", type = JPDL32CancelTimer.class),
+ @XmlElement(name = "script", type = JPDL32Script.class)
+ })
+ protected List<Object> actionOrScriptOrCreateTimer;
+ @XmlAttribute(required = true)
+ protected String type;
+
+ /**
+ * Gets the value of the actionOrScriptOrCreateTimer 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 actionOrScriptOrCreateTimer property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getActionOrScriptOrCreateTimer().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JPDL32Mail }
+ * {@link JPDL32CreateTimer }
+ * {@link JPDL32Action }
+ * {@link JPDL32CancelTimer }
+ * {@link JPDL32Script }
+ *
+ *
+ */
+ public List<Object> getActionOrScriptOrCreateTimer() {
+ if (actionOrScriptOrCreateTimer == null) {
+ actionOrScriptOrCreateTimer = new ArrayList<Object>();
+ }
+ return this.actionOrScriptOrCreateTimer;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setType(String value) {
+ this.type = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Event.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32ExceptionHandler.java
===================================================================
--- api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32ExceptionHandler.java (rev 0)
+++ api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32ExceptionHandler.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -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 09:51:16 AM CEST
+//
+
+
+package org.jboss.bpm.dialect.jpdl32.jaxb;
+
+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.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <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">
+ * <element ref="{urn:jbpm.org:jpdl-3.2}action"/>
+ * <element ref="{urn:jbpm.org:jpdl-3.2}script"/>
+ * </choice>
+ * <attribute name="exception-class" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "actionOrScript"
+})
+ at XmlRootElement(name = "exception-handler")
+public class JPDL32ExceptionHandler {
+
+ @XmlElements({
+ @XmlElement(name = "action", type = JPDL32Action.class),
+ @XmlElement(name = "script", type = JPDL32Script.class)
+ })
+ protected List<Object> actionOrScript;
+ @XmlAttribute(name = "exception-class")
+ protected String exceptionClass;
+
+ /**
+ * Gets the value of the actionOrScript 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 actionOrScript property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getActionOrScript().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JPDL32Action }
+ * {@link JPDL32Script }
+ *
+ *
+ */
+ public List<Object> getActionOrScript() {
+ if (actionOrScript == null) {
+ actionOrScript = new ArrayList<Object>();
+ }
+ return this.actionOrScript;
+ }
+
+ /**
+ * Gets the value of the exceptionClass property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getExceptionClass() {
+ return exceptionClass;
+ }
+
+ /**
+ * Sets the value of the exceptionClass property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setExceptionClass(String value) {
+ this.exceptionClass = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32ExceptionHandler.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Fork.java
===================================================================
--- api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Fork.java (rev 0)
+++ api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Fork.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -0,0 +1,151 @@
+//
+// 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 09:51:16 AM CEST
+//
+
+
+package org.jboss.bpm.dialect.jpdl32.jaxb;
+
+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.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <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">
+ * <element ref="{urn:jbpm.org:jpdl-3.2}script"/>
+ * <group ref="{urn:jbpm.org:jpdl-3.2}node-content-elements"/>
+ * </choice>
+ * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="async" type="{http://www.w3.org/2001/XMLSchema}string" default="false" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "scriptOrDescriptionOrEvent"
+})
+ at XmlRootElement(name = "fork")
+public class JPDL32Fork {
+
+ @XmlElements({
+ @XmlElement(name = "timer", type = JPDL32Timer.class),
+ @XmlElement(name = "description", type = String.class),
+ @XmlElement(name = "transition", type = JPDL32Transition.class),
+ @XmlElement(name = "script", type = JPDL32Script.class),
+ @XmlElement(name = "exception-handler", type = JPDL32ExceptionHandler.class),
+ @XmlElement(name = "event", type = JPDL32Event.class)
+ })
+ protected List<Object> scriptOrDescriptionOrEvent;
+ @XmlAttribute(required = true)
+ protected String name;
+ @XmlAttribute
+ protected String async;
+
+ /**
+ * Gets the value of the scriptOrDescriptionOrEvent 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 scriptOrDescriptionOrEvent property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getScriptOrDescriptionOrEvent().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JPDL32Timer }
+ * {@link String }
+ * {@link JPDL32Transition }
+ * {@link JPDL32Script }
+ * {@link JPDL32ExceptionHandler }
+ * {@link JPDL32Event }
+ *
+ *
+ */
+ public List<Object> getScriptOrDescriptionOrEvent() {
+ if (scriptOrDescriptionOrEvent == null) {
+ scriptOrDescriptionOrEvent = new ArrayList<Object>();
+ }
+ return this.scriptOrDescriptionOrEvent;
+ }
+
+ /**
+ * 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 async property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAsync() {
+ if (async == null) {
+ return "false";
+ } else {
+ return async;
+ }
+ }
+
+ /**
+ * Sets the value of the async property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAsync(String value) {
+ this.async = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Fork.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Join.java
===================================================================
--- api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Join.java (rev 0)
+++ api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Join.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -0,0 +1,148 @@
+//
+// 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 09:51:16 AM CEST
+//
+
+
+package org.jboss.bpm.dialect.jpdl32.jaxb;
+
+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.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <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">
+ * <group ref="{urn:jbpm.org:jpdl-3.2}node-content-elements"/>
+ * </choice>
+ * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="async" type="{http://www.w3.org/2001/XMLSchema}string" default="false" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "descriptionOrEventOrExceptionHandler"
+})
+ at XmlRootElement(name = "join")
+public class JPDL32Join {
+
+ @XmlElements({
+ @XmlElement(name = "transition", type = JPDL32Transition.class),
+ @XmlElement(name = "event", type = JPDL32Event.class),
+ @XmlElement(name = "exception-handler", type = JPDL32ExceptionHandler.class),
+ @XmlElement(name = "description", type = String.class),
+ @XmlElement(name = "timer", type = JPDL32Timer.class)
+ })
+ protected List<Object> descriptionOrEventOrExceptionHandler;
+ @XmlAttribute(required = true)
+ protected String name;
+ @XmlAttribute
+ protected String async;
+
+ /**
+ * Gets the value of the descriptionOrEventOrExceptionHandler 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 descriptionOrEventOrExceptionHandler property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDescriptionOrEventOrExceptionHandler().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JPDL32Transition }
+ * {@link JPDL32Event }
+ * {@link JPDL32ExceptionHandler }
+ * {@link String }
+ * {@link JPDL32Timer }
+ *
+ *
+ */
+ public List<Object> getDescriptionOrEventOrExceptionHandler() {
+ if (descriptionOrEventOrExceptionHandler == null) {
+ descriptionOrEventOrExceptionHandler = new ArrayList<Object>();
+ }
+ return this.descriptionOrEventOrExceptionHandler;
+ }
+
+ /**
+ * 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 async property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAsync() {
+ if (async == null) {
+ return "false";
+ } else {
+ return async;
+ }
+ }
+
+ /**
+ * Sets the value of the async property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAsync(String value) {
+ this.async = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Join.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Mail.java
===================================================================
--- api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Mail.java (rev 0)
+++ api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Mail.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -0,0 +1,279 @@
+//
+// 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 09:51:16 AM CEST
+//
+
+
+package org.jboss.bpm.dialect.jpdl32.jaxb;
+
+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.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <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">
+ * <element ref="{urn:jbpm.org:jpdl-3.2}subject"/>
+ * <element ref="{urn:jbpm.org:jpdl-3.2}text"/>
+ * </choice>
+ * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="async" type="{http://www.w3.org/2001/XMLSchema}string" default="false" />
+ * <attribute name="template" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="actors" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="to" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="subject" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="text" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "subjectOrText"
+})
+ at XmlRootElement(name = "mail")
+public class JPDL32Mail {
+
+ @XmlElementRefs({
+ @XmlElementRef(name = "subject", namespace = "urn:jbpm.org:jpdl-3.2", type = JAXBElement.class),
+ @XmlElementRef(name = "text", namespace = "urn:jbpm.org:jpdl-3.2", type = JAXBElement.class)
+ })
+ protected List<JAXBElement<String>> subjectOrText;
+ @XmlAttribute(required = true)
+ protected String name;
+ @XmlAttribute
+ protected String async;
+ @XmlAttribute
+ protected String template;
+ @XmlAttribute
+ protected String actors;
+ @XmlAttribute
+ protected String to;
+ @XmlAttribute
+ protected String subject;
+ @XmlAttribute
+ protected String text;
+
+ /**
+ * Gets the value of the subjectOrText 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 subjectOrText property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getSubjectOrText().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>> getSubjectOrText() {
+ if (subjectOrText == null) {
+ subjectOrText = new ArrayList<JAXBElement<String>>();
+ }
+ return this.subjectOrText;
+ }
+
+ /**
+ * 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 async property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAsync() {
+ if (async == null) {
+ return "false";
+ } else {
+ return async;
+ }
+ }
+
+ /**
+ * Sets the value of the async property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAsync(String value) {
+ this.async = value;
+ }
+
+ /**
+ * Gets the value of the template property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTemplate() {
+ return template;
+ }
+
+ /**
+ * Sets the value of the template property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTemplate(String value) {
+ this.template = value;
+ }
+
+ /**
+ * Gets the value of the actors property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getActors() {
+ return actors;
+ }
+
+ /**
+ * Sets the value of the actors property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setActors(String value) {
+ this.actors = value;
+ }
+
+ /**
+ * Gets the value of the to property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTo() {
+ return to;
+ }
+
+ /**
+ * Sets the value of the to property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTo(String value) {
+ this.to = value;
+ }
+
+ /**
+ * Gets the value of the subject property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSubject() {
+ return subject;
+ }
+
+ /**
+ * Sets the value of the subject property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSubject(String value) {
+ this.subject = value;
+ }
+
+ /**
+ * Gets the value of the text property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getText() {
+ return text;
+ }
+
+ /**
+ * Sets the value of the text property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setText(String value) {
+ this.text = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Mail.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32MailNode.java
===================================================================
--- api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32MailNode.java (rev 0)
+++ api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32MailNode.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -0,0 +1,290 @@
+//
+// 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 09:51:16 AM CEST
+//
+
+
+package org.jboss.bpm.dialect.jpdl32.jaxb;
+
+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.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <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">
+ * <element ref="{urn:jbpm.org:jpdl-3.2}subject"/>
+ * <element ref="{urn:jbpm.org:jpdl-3.2}text"/>
+ * <group ref="{urn:jbpm.org:jpdl-3.2}node-content-elements"/>
+ * </choice>
+ * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="async" type="{http://www.w3.org/2001/XMLSchema}string" default="false" />
+ * <attribute name="template" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="actors" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="to" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="subject" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="text" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "subjectOrTextOrDescription"
+})
+ at XmlRootElement(name = "mail-node")
+public class JPDL32MailNode {
+
+ @XmlElementRefs({
+ @XmlElementRef(name = "subject", namespace = "urn:jbpm.org:jpdl-3.2", type = JAXBElement.class),
+ @XmlElementRef(name = "description", namespace = "urn:jbpm.org:jpdl-3.2", type = JAXBElement.class),
+ @XmlElementRef(name = "transition", namespace = "urn:jbpm.org:jpdl-3.2", type = JPDL32Transition.class),
+ @XmlElementRef(name = "text", namespace = "urn:jbpm.org:jpdl-3.2", type = JAXBElement.class),
+ @XmlElementRef(name = "event", namespace = "urn:jbpm.org:jpdl-3.2", type = JPDL32Event.class),
+ @XmlElementRef(name = "timer", namespace = "urn:jbpm.org:jpdl-3.2", type = JPDL32Timer.class),
+ @XmlElementRef(name = "exception-handler", namespace = "urn:jbpm.org:jpdl-3.2", type = JPDL32ExceptionHandler.class)
+ })
+ protected List<Object> subjectOrTextOrDescription;
+ @XmlAttribute(required = true)
+ protected String name;
+ @XmlAttribute
+ protected String async;
+ @XmlAttribute
+ protected String template;
+ @XmlAttribute
+ protected String actors;
+ @XmlAttribute
+ protected String to;
+ @XmlAttribute
+ protected String subject;
+ @XmlAttribute
+ protected String text;
+
+ /**
+ * Gets the value of the subjectOrTextOrDescription 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 subjectOrTextOrDescription property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getSubjectOrTextOrDescription().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 JPDL32Transition }
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JPDL32Event }
+ * {@link JPDL32Timer }
+ * {@link JPDL32ExceptionHandler }
+ *
+ *
+ */
+ public List<Object> getSubjectOrTextOrDescription() {
+ if (subjectOrTextOrDescription == null) {
+ subjectOrTextOrDescription = new ArrayList<Object>();
+ }
+ return this.subjectOrTextOrDescription;
+ }
+
+ /**
+ * 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 async property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAsync() {
+ if (async == null) {
+ return "false";
+ } else {
+ return async;
+ }
+ }
+
+ /**
+ * Sets the value of the async property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAsync(String value) {
+ this.async = value;
+ }
+
+ /**
+ * Gets the value of the template property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTemplate() {
+ return template;
+ }
+
+ /**
+ * Sets the value of the template property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTemplate(String value) {
+ this.template = value;
+ }
+
+ /**
+ * Gets the value of the actors property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getActors() {
+ return actors;
+ }
+
+ /**
+ * Sets the value of the actors property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setActors(String value) {
+ this.actors = value;
+ }
+
+ /**
+ * Gets the value of the to property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTo() {
+ return to;
+ }
+
+ /**
+ * Sets the value of the to property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTo(String value) {
+ this.to = value;
+ }
+
+ /**
+ * Gets the value of the subject property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSubject() {
+ return subject;
+ }
+
+ /**
+ * Sets the value of the subject property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSubject(String value) {
+ this.subject = value;
+ }
+
+ /**
+ * Gets the value of the text property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getText() {
+ return text;
+ }
+
+ /**
+ * Sets the value of the text property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setText(String value) {
+ this.text = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32MailNode.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Node.java
===================================================================
--- api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Node.java (rev 0)
+++ api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Node.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -0,0 +1,285 @@
+//
+// 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 09:51:16 AM CEST
+//
+
+
+package org.jboss.bpm.dialect.jpdl32.jaxb;
+
+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.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <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">
+ * <sequence>
+ * <choice minOccurs="0">
+ * <group ref="{urn:jbpm.org:jpdl-3.2}action-elements"/>
+ * </choice>
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <group ref="{urn:jbpm.org:jpdl-3.2}node-content-elements"/>
+ * </choice>
+ * </sequence>
+ * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="async" type="{http://www.w3.org/2001/XMLSchema}string" default="false" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "action",
+ "script",
+ "createTimer",
+ "cancelTimer",
+ "mail",
+ "descriptionOrEventOrExceptionHandler"
+})
+ at XmlRootElement(name = "node")
+public class JPDL32Node {
+
+ protected JPDL32Action action;
+ protected JPDL32Script script;
+ @XmlElement(name = "create-timer")
+ protected JPDL32CreateTimer createTimer;
+ @XmlElement(name = "cancel-timer")
+ protected JPDL32CancelTimer cancelTimer;
+ protected JPDL32Mail mail;
+ @XmlElements({
+ @XmlElement(name = "transition", type = JPDL32Transition.class),
+ @XmlElement(name = "event", type = JPDL32Event.class),
+ @XmlElement(name = "description", type = String.class),
+ @XmlElement(name = "timer", type = JPDL32Timer.class),
+ @XmlElement(name = "exception-handler", type = JPDL32ExceptionHandler.class)
+ })
+ protected List<Object> descriptionOrEventOrExceptionHandler;
+ @XmlAttribute(required = true)
+ protected String name;
+ @XmlAttribute
+ protected String async;
+
+ /**
+ * Gets the value of the action property.
+ *
+ * @return
+ * possible object is
+ * {@link JPDL32Action }
+ *
+ */
+ public JPDL32Action getAction() {
+ return action;
+ }
+
+ /**
+ * Sets the value of the action property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JPDL32Action }
+ *
+ */
+ public void setAction(JPDL32Action value) {
+ this.action = value;
+ }
+
+ /**
+ * Gets the value of the script property.
+ *
+ * @return
+ * possible object is
+ * {@link JPDL32Script }
+ *
+ */
+ public JPDL32Script getScript() {
+ return script;
+ }
+
+ /**
+ * Sets the value of the script property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JPDL32Script }
+ *
+ */
+ public void setScript(JPDL32Script value) {
+ this.script = value;
+ }
+
+ /**
+ * Gets the value of the createTimer property.
+ *
+ * @return
+ * possible object is
+ * {@link JPDL32CreateTimer }
+ *
+ */
+ public JPDL32CreateTimer getCreateTimer() {
+ return createTimer;
+ }
+
+ /**
+ * Sets the value of the createTimer property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JPDL32CreateTimer }
+ *
+ */
+ public void setCreateTimer(JPDL32CreateTimer value) {
+ this.createTimer = value;
+ }
+
+ /**
+ * Gets the value of the cancelTimer property.
+ *
+ * @return
+ * possible object is
+ * {@link JPDL32CancelTimer }
+ *
+ */
+ public JPDL32CancelTimer getCancelTimer() {
+ return cancelTimer;
+ }
+
+ /**
+ * Sets the value of the cancelTimer property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JPDL32CancelTimer }
+ *
+ */
+ public void setCancelTimer(JPDL32CancelTimer value) {
+ this.cancelTimer = value;
+ }
+
+ /**
+ * Gets the value of the mail property.
+ *
+ * @return
+ * possible object is
+ * {@link JPDL32Mail }
+ *
+ */
+ public JPDL32Mail getMail() {
+ return mail;
+ }
+
+ /**
+ * Sets the value of the mail property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JPDL32Mail }
+ *
+ */
+ public void setMail(JPDL32Mail value) {
+ this.mail = value;
+ }
+
+ /**
+ * Gets the value of the descriptionOrEventOrExceptionHandler 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 descriptionOrEventOrExceptionHandler property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDescriptionOrEventOrExceptionHandler().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JPDL32Transition }
+ * {@link JPDL32Event }
+ * {@link String }
+ * {@link JPDL32Timer }
+ * {@link JPDL32ExceptionHandler }
+ *
+ *
+ */
+ public List<Object> getDescriptionOrEventOrExceptionHandler() {
+ if (descriptionOrEventOrExceptionHandler == null) {
+ descriptionOrEventOrExceptionHandler = new ArrayList<Object>();
+ }
+ return this.descriptionOrEventOrExceptionHandler;
+ }
+
+ /**
+ * 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 async property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAsync() {
+ if (async == null) {
+ return "false";
+ } else {
+ return async;
+ }
+ }
+
+ /**
+ * Sets the value of the async property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAsync(String value) {
+ this.async = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Node.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32ProcessDefinition.java
===================================================================
--- api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32ProcessDefinition.java (rev 0)
+++ api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32ProcessDefinition.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -0,0 +1,156 @@
+//
+// 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 09:51:16 AM CEST
+//
+
+
+package org.jboss.bpm.dialect.jpdl32.jaxb;
+
+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.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <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">
+ * <element ref="{urn:jbpm.org:jpdl-3.2}description"/>
+ * <element ref="{urn:jbpm.org:jpdl-3.2}swimlane"/>
+ * <element ref="{urn:jbpm.org:jpdl-3.2}start-state"/>
+ * <group ref="{urn:jbpm.org:jpdl-3.2}node-elements"/>
+ * <group ref="{urn:jbpm.org:jpdl-3.2}action-elements"/>
+ * <element ref="{urn:jbpm.org:jpdl-3.2}event"/>
+ * <element ref="{urn:jbpm.org:jpdl-3.2}exception-handler"/>
+ * <element ref="{urn:jbpm.org:jpdl-3.2}task"/>
+ * </choice>
+ * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "descriptionOrSwimlaneOrStartState"
+})
+ at XmlRootElement(name = "process-definition")
+public class JPDL32ProcessDefinition {
+
+ @XmlElements({
+ @XmlElement(name = "decision", type = JPDL32Decision.class),
+ @XmlElement(name = "task", type = JPDL32Task.class),
+ @XmlElement(name = "mail", type = JPDL32Mail.class),
+ @XmlElement(name = "exception-handler", type = JPDL32ExceptionHandler.class),
+ @XmlElement(name = "action", type = JPDL32Action.class),
+ @XmlElement(name = "create-timer", type = JPDL32CreateTimer.class),
+ @XmlElement(name = "state", type = JPDL32State.class),
+ @XmlElement(name = "task-node", type = JPDL32TaskNode.class),
+ @XmlElement(name = "super-state", type = JPDL32SuperState.class),
+ @XmlElement(name = "join", type = JPDL32Join.class),
+ @XmlElement(name = "event", type = JPDL32Event.class),
+ @XmlElement(name = "end-state", type = JPDL32EndState.class),
+ @XmlElement(name = "swimlane", type = JPDL32Swimlane.class),
+ @XmlElement(name = "cancel-timer", type = JPDL32CancelTimer.class),
+ @XmlElement(name = "script", type = JPDL32Script.class),
+ @XmlElement(name = "node", type = JPDL32Node.class),
+ @XmlElement(name = "fork", type = JPDL32Fork.class),
+ @XmlElement(name = "description", type = String.class),
+ @XmlElement(name = "start-state", type = JPDL32StartState.class),
+ @XmlElement(name = "process-state", type = JPDL32ProcessState.class),
+ @XmlElement(name = "mail-node", type = JPDL32MailNode.class)
+ })
+ protected List<Object> descriptionOrSwimlaneOrStartState;
+ @XmlAttribute(required = true)
+ protected String name;
+
+ /**
+ * Gets the value of the descriptionOrSwimlaneOrStartState 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 descriptionOrSwimlaneOrStartState property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDescriptionOrSwimlaneOrStartState().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JPDL32Decision }
+ * {@link JPDL32Task }
+ * {@link JPDL32Mail }
+ * {@link JPDL32ExceptionHandler }
+ * {@link JPDL32Action }
+ * {@link JPDL32CreateTimer }
+ * {@link JPDL32State }
+ * {@link JPDL32TaskNode }
+ * {@link JPDL32SuperState }
+ * {@link JPDL32Join }
+ * {@link JPDL32Event }
+ * {@link JPDL32EndState }
+ * {@link JPDL32Swimlane }
+ * {@link JPDL32CancelTimer }
+ * {@link JPDL32Script }
+ * {@link JPDL32Node }
+ * {@link JPDL32Fork }
+ * {@link String }
+ * {@link JPDL32StartState }
+ * {@link JPDL32ProcessState }
+ * {@link JPDL32MailNode }
+ *
+ *
+ */
+ public List<Object> getDescriptionOrSwimlaneOrStartState() {
+ if (descriptionOrSwimlaneOrStartState == null) {
+ descriptionOrSwimlaneOrStartState = new ArrayList<Object>();
+ }
+ return this.descriptionOrSwimlaneOrStartState;
+ }
+
+ /**
+ * 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/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32ProcessDefinition.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32ProcessState.java
===================================================================
--- api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32ProcessState.java (rev 0)
+++ api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32ProcessState.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -0,0 +1,297 @@
+//
+// 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 09:51:16 AM CEST
+//
+
+
+package org.jboss.bpm.dialect.jpdl32.jaxb;
+
+import java.math.BigInteger;
+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.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <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">
+ * <element name="sub-process">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}integer" />
+ * <attribute name="binding" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <element ref="{urn:jbpm.org:jpdl-3.2}variable"/>
+ * <group ref="{urn:jbpm.org:jpdl-3.2}node-content-elements"/>
+ * </choice>
+ * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="async" type="{http://www.w3.org/2001/XMLSchema}string" default="false" />
+ * <attribute name="binding" type="{urn:jbpm.org:jpdl-3.2}bindingType" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "subProcessOrVariableOrDescription"
+})
+ at XmlRootElement(name = "process-state")
+public class JPDL32ProcessState {
+
+ @XmlElements({
+ @XmlElement(name = "sub-process", type = JPDL32ProcessState.SubProcess.class),
+ @XmlElement(name = "timer", type = JPDL32Timer.class),
+ @XmlElement(name = "variable", type = JPDL32Variable.class),
+ @XmlElement(name = "event", type = JPDL32Event.class),
+ @XmlElement(name = "transition", type = JPDL32Transition.class),
+ @XmlElement(name = "exception-handler", type = JPDL32ExceptionHandler.class),
+ @XmlElement(name = "description", type = String.class)
+ })
+ protected List<Object> subProcessOrVariableOrDescription;
+ @XmlAttribute(required = true)
+ protected String name;
+ @XmlAttribute
+ protected String async;
+ @XmlAttribute
+ protected BindingType binding;
+
+ /**
+ * Gets the value of the subProcessOrVariableOrDescription 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 subProcessOrVariableOrDescription property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getSubProcessOrVariableOrDescription().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JPDL32ProcessState.SubProcess }
+ * {@link JPDL32Timer }
+ * {@link JPDL32Variable }
+ * {@link JPDL32Event }
+ * {@link JPDL32Transition }
+ * {@link JPDL32ExceptionHandler }
+ * {@link String }
+ *
+ *
+ */
+ public List<Object> getSubProcessOrVariableOrDescription() {
+ if (subProcessOrVariableOrDescription == null) {
+ subProcessOrVariableOrDescription = new ArrayList<Object>();
+ }
+ return this.subProcessOrVariableOrDescription;
+ }
+
+ /**
+ * 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 async property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAsync() {
+ if (async == null) {
+ return "false";
+ } else {
+ return async;
+ }
+ }
+
+ /**
+ * Sets the value of the async property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAsync(String value) {
+ this.async = value;
+ }
+
+ /**
+ * Gets the value of the binding property.
+ *
+ * @return
+ * possible object is
+ * {@link BindingType }
+ *
+ */
+ public BindingType getBinding() {
+ return binding;
+ }
+
+ /**
+ * Sets the value of the binding property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BindingType }
+ *
+ */
+ public void setBinding(BindingType value) {
+ this.binding = 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">
+ * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}integer" />
+ * <attribute name="binding" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class SubProcess {
+
+ @XmlAttribute(required = true)
+ protected String name;
+ @XmlAttribute
+ protected BigInteger version;
+ @XmlAttribute
+ protected String binding;
+
+ /**
+ * 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 BigInteger }
+ *
+ */
+ public BigInteger getVersion() {
+ return version;
+ }
+
+ /**
+ * Sets the value of the version property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BigInteger }
+ *
+ */
+ public void setVersion(BigInteger value) {
+ this.version = value;
+ }
+
+ /**
+ * Gets the value of the binding property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getBinding() {
+ return binding;
+ }
+
+ /**
+ * Sets the value of the binding property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setBinding(String value) {
+ this.binding = value;
+ }
+
+ }
+
+}
Property changes on: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32ProcessState.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Script.java
===================================================================
--- api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Script.java (rev 0)
+++ api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Script.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -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 09:51:16 AM CEST
+//
+
+
+package org.jboss.bpm.dialect.jpdl32.jaxb;
+
+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.XmlMixed;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import org.w3c.dom.Element;
+
+
+/**
+ * <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">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="accept-propagated-events" type="{urn:jbpm.org:jpdl-3.2}booleanType" default="true" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "content"
+})
+ at XmlRootElement(name = "script")
+public class JPDL32Script {
+
+ @XmlMixed
+ @XmlAnyElement(lax = true)
+ protected List<Object> content;
+ @XmlAttribute
+ protected String name;
+ @XmlAttribute(name = "accept-propagated-events")
+ protected BooleanType acceptPropagatedEvents;
+
+ /**
+ * Gets the value of the content 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 content property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getContent().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ * {@link String }
+ *
+ *
+ */
+ public List<Object> getContent() {
+ if (content == null) {
+ content = new ArrayList<Object>();
+ }
+ return this.content;
+ }
+
+ /**
+ * 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 acceptPropagatedEvents property.
+ *
+ * @return
+ * possible object is
+ * {@link BooleanType }
+ *
+ */
+ public BooleanType getAcceptPropagatedEvents() {
+ if (acceptPropagatedEvents == null) {
+ return BooleanType.TRUE;
+ } else {
+ return acceptPropagatedEvents;
+ }
+ }
+
+ /**
+ * Sets the value of the acceptPropagatedEvents property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BooleanType }
+ *
+ */
+ public void setAcceptPropagatedEvents(BooleanType value) {
+ this.acceptPropagatedEvents = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Script.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32StartState.java
===================================================================
--- api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32StartState.java (rev 0)
+++ api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32StartState.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -0,0 +1,121 @@
+//
+// 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 09:51:16 AM CEST
+//
+
+
+package org.jboss.bpm.dialect.jpdl32.jaxb;
+
+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.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <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">
+ * <element ref="{urn:jbpm.org:jpdl-3.2}description"/>
+ * <element ref="{urn:jbpm.org:jpdl-3.2}task"/>
+ * <element ref="{urn:jbpm.org:jpdl-3.2}transition"/>
+ * <element ref="{urn:jbpm.org:jpdl-3.2}event"/>
+ * <element ref="{urn:jbpm.org:jpdl-3.2}exception-handler"/>
+ * </choice>
+ * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "descriptionOrTaskOrTransition"
+})
+ at XmlRootElement(name = "start-state")
+public class JPDL32StartState {
+
+ @XmlElements({
+ @XmlElement(name = "exception-handler", type = JPDL32ExceptionHandler.class),
+ @XmlElement(name = "event", type = JPDL32Event.class),
+ @XmlElement(name = "task", type = JPDL32Task.class),
+ @XmlElement(name = "transition", type = JPDL32Transition.class),
+ @XmlElement(name = "description", type = String.class)
+ })
+ protected List<Object> descriptionOrTaskOrTransition;
+ @XmlAttribute
+ protected String name;
+
+ /**
+ * Gets the value of the descriptionOrTaskOrTransition 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 descriptionOrTaskOrTransition property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDescriptionOrTaskOrTransition().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JPDL32ExceptionHandler }
+ * {@link JPDL32Event }
+ * {@link JPDL32Task }
+ * {@link JPDL32Transition }
+ * {@link String }
+ *
+ *
+ */
+ public List<Object> getDescriptionOrTaskOrTransition() {
+ if (descriptionOrTaskOrTransition == null) {
+ descriptionOrTaskOrTransition = new ArrayList<Object>();
+ }
+ return this.descriptionOrTaskOrTransition;
+ }
+
+ /**
+ * 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/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32StartState.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32State.java
===================================================================
--- api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32State.java (rev 0)
+++ api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32State.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -0,0 +1,148 @@
+//
+// 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 09:51:16 AM CEST
+//
+
+
+package org.jboss.bpm.dialect.jpdl32.jaxb;
+
+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.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <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">
+ * <group ref="{urn:jbpm.org:jpdl-3.2}node-content-elements"/>
+ * </choice>
+ * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="async" type="{http://www.w3.org/2001/XMLSchema}string" default="false" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "descriptionOrEventOrExceptionHandler"
+})
+ at XmlRootElement(name = "state")
+public class JPDL32State {
+
+ @XmlElements({
+ @XmlElement(name = "description", type = String.class),
+ @XmlElement(name = "transition", type = JPDL32Transition.class),
+ @XmlElement(name = "timer", type = JPDL32Timer.class),
+ @XmlElement(name = "exception-handler", type = JPDL32ExceptionHandler.class),
+ @XmlElement(name = "event", type = JPDL32Event.class)
+ })
+ protected List<Object> descriptionOrEventOrExceptionHandler;
+ @XmlAttribute(required = true)
+ protected String name;
+ @XmlAttribute
+ protected String async;
+
+ /**
+ * Gets the value of the descriptionOrEventOrExceptionHandler 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 descriptionOrEventOrExceptionHandler property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDescriptionOrEventOrExceptionHandler().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ * {@link JPDL32Transition }
+ * {@link JPDL32Timer }
+ * {@link JPDL32ExceptionHandler }
+ * {@link JPDL32Event }
+ *
+ *
+ */
+ public List<Object> getDescriptionOrEventOrExceptionHandler() {
+ if (descriptionOrEventOrExceptionHandler == null) {
+ descriptionOrEventOrExceptionHandler = new ArrayList<Object>();
+ }
+ return this.descriptionOrEventOrExceptionHandler;
+ }
+
+ /**
+ * 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 async property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAsync() {
+ if (async == null) {
+ return "false";
+ } else {
+ return async;
+ }
+ }
+
+ /**
+ * Sets the value of the async property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAsync(String value) {
+ this.async = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32State.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32SuperState.java
===================================================================
--- api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32SuperState.java (rev 0)
+++ api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32SuperState.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -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 09:51:16 AM CEST
+//
+
+
+package org.jboss.bpm.dialect.jpdl32.jaxb;
+
+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.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <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">
+ * <group ref="{urn:jbpm.org:jpdl-3.2}node-elements"/>
+ * <group ref="{urn:jbpm.org:jpdl-3.2}node-content-elements"/>
+ * </choice>
+ * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="async" type="{http://www.w3.org/2001/XMLSchema}string" default="false" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "nodeOrStateOrTaskNode"
+})
+ at XmlRootElement(name = "super-state")
+public class JPDL32SuperState {
+
+ @XmlElements({
+ @XmlElement(name = "end-state", type = JPDL32EndState.class),
+ @XmlElement(name = "state", type = JPDL32State.class),
+ @XmlElement(name = "transition", type = JPDL32Transition.class),
+ @XmlElement(name = "exception-handler", type = JPDL32ExceptionHandler.class),
+ @XmlElement(name = "process-state", type = JPDL32ProcessState.class),
+ @XmlElement(name = "task-node", type = JPDL32TaskNode.class),
+ @XmlElement(name = "node", type = JPDL32Node.class),
+ @XmlElement(name = "join", type = JPDL32Join.class),
+ @XmlElement(name = "mail-node", type = JPDL32MailNode.class),
+ @XmlElement(name = "timer", type = JPDL32Timer.class),
+ @XmlElement(name = "event", type = JPDL32Event.class),
+ @XmlElement(name = "decision", type = JPDL32Decision.class),
+ @XmlElement(name = "fork", type = JPDL32Fork.class),
+ @XmlElement(name = "description", type = String.class),
+ @XmlElement(name = "super-state", type = JPDL32SuperState.class)
+ })
+ protected List<Object> nodeOrStateOrTaskNode;
+ @XmlAttribute(required = true)
+ protected String name;
+ @XmlAttribute
+ protected String async;
+
+ /**
+ * Gets the value of the nodeOrStateOrTaskNode 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 nodeOrStateOrTaskNode property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getNodeOrStateOrTaskNode().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JPDL32EndState }
+ * {@link JPDL32State }
+ * {@link JPDL32Transition }
+ * {@link JPDL32ExceptionHandler }
+ * {@link JPDL32ProcessState }
+ * {@link JPDL32TaskNode }
+ * {@link JPDL32Node }
+ * {@link JPDL32Join }
+ * {@link JPDL32MailNode }
+ * {@link JPDL32Timer }
+ * {@link JPDL32Event }
+ * {@link JPDL32Decision }
+ * {@link JPDL32Fork }
+ * {@link String }
+ * {@link JPDL32SuperState }
+ *
+ *
+ */
+ public List<Object> getNodeOrStateOrTaskNode() {
+ if (nodeOrStateOrTaskNode == null) {
+ nodeOrStateOrTaskNode = new ArrayList<Object>();
+ }
+ return this.nodeOrStateOrTaskNode;
+ }
+
+ /**
+ * 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 async property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAsync() {
+ if (async == null) {
+ return "false";
+ } else {
+ return async;
+ }
+ }
+
+ /**
+ * Sets the value of the async property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAsync(String value) {
+ this.async = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32SuperState.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Swimlane.java
===================================================================
--- api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Swimlane.java (rev 0)
+++ api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Swimlane.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -0,0 +1,97 @@
+//
+// 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 09:51:16 AM CEST
+//
+
+
+package org.jboss.bpm.dialect.jpdl32.jaxb;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <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">
+ * <sequence minOccurs="0">
+ * <element ref="{urn:jbpm.org:jpdl-3.2}assignment"/>
+ * </sequence>
+ * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "assignment"
+})
+ at XmlRootElement(name = "swimlane")
+public class JPDL32Swimlane {
+
+ protected JPDL32Assignment assignment;
+ @XmlAttribute(required = true)
+ protected String name;
+
+ /**
+ * Gets the value of the assignment property.
+ *
+ * @return
+ * possible object is
+ * {@link JPDL32Assignment }
+ *
+ */
+ public JPDL32Assignment getAssignment() {
+ return assignment;
+ }
+
+ /**
+ * Sets the value of the assignment property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JPDL32Assignment }
+ *
+ */
+ public void setAssignment(JPDL32Assignment value) {
+ this.assignment = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Swimlane.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Task.java
===================================================================
--- api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Task.java (rev 0)
+++ api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Task.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -0,0 +1,416 @@
+//
+// 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 09:51:16 AM CEST
+//
+
+
+package org.jboss.bpm.dialect.jpdl32.jaxb;
+
+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.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <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">
+ * <element ref="{urn:jbpm.org:jpdl-3.2}description"/>
+ * <element ref="{urn:jbpm.org:jpdl-3.2}assignment"/>
+ * <element ref="{urn:jbpm.org:jpdl-3.2}controller"/>
+ * <element ref="{urn:jbpm.org:jpdl-3.2}event"/>
+ * <element ref="{urn:jbpm.org:jpdl-3.2}timer"/>
+ * <element name="reminder">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="duedate" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="repeat" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * </choice>
+ * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="blocking" type="{urn:jbpm.org:jpdl-3.2}booleanType" default="false" />
+ * <attribute name="signalling" type="{urn:jbpm.org:jpdl-3.2}booleanType" default="true" />
+ * <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="duedate" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="swimlane" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="priority" type="{urn:jbpm.org:jpdl-3.2}priorityType" default="normal" />
+ * <attribute name="notify" type="{urn:jbpm.org:jpdl-3.2}booleanType" default="false" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "descriptionOrAssignmentOrController"
+})
+ at XmlRootElement(name = "task")
+public class JPDL32Task {
+
+ @XmlElements({
+ @XmlElement(name = "controller", type = Delegation.class),
+ @XmlElement(name = "assignment", type = JPDL32Assignment.class),
+ @XmlElement(name = "timer", type = JPDL32Timer.class),
+ @XmlElement(name = "description", type = String.class),
+ @XmlElement(name = "event", type = JPDL32Event.class),
+ @XmlElement(name = "reminder", type = JPDL32Task.Reminder.class)
+ })
+ protected List<Object> descriptionOrAssignmentOrController;
+ @XmlAttribute
+ protected String name;
+ @XmlAttribute
+ protected BooleanType blocking;
+ @XmlAttribute
+ protected BooleanType signalling;
+ @XmlAttribute
+ protected String description;
+ @XmlAttribute
+ protected String duedate;
+ @XmlAttribute
+ protected String swimlane;
+ @XmlAttribute
+ protected String priority;
+ @XmlAttribute
+ protected BooleanType notify;
+
+ /**
+ * Gets the value of the descriptionOrAssignmentOrController 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 descriptionOrAssignmentOrController property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDescriptionOrAssignmentOrController().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Delegation }
+ * {@link JPDL32Assignment }
+ * {@link JPDL32Timer }
+ * {@link String }
+ * {@link JPDL32Event }
+ * {@link JPDL32Task.Reminder }
+ *
+ *
+ */
+ public List<Object> getDescriptionOrAssignmentOrController() {
+ if (descriptionOrAssignmentOrController == null) {
+ descriptionOrAssignmentOrController = new ArrayList<Object>();
+ }
+ return this.descriptionOrAssignmentOrController;
+ }
+
+ /**
+ * 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 blocking property.
+ *
+ * @return
+ * possible object is
+ * {@link BooleanType }
+ *
+ */
+ public BooleanType getBlocking() {
+ if (blocking == null) {
+ return BooleanType.FALSE;
+ } else {
+ return blocking;
+ }
+ }
+
+ /**
+ * Sets the value of the blocking property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BooleanType }
+ *
+ */
+ public void setBlocking(BooleanType value) {
+ this.blocking = value;
+ }
+
+ /**
+ * Gets the value of the signalling property.
+ *
+ * @return
+ * possible object is
+ * {@link BooleanType }
+ *
+ */
+ public BooleanType getSignalling() {
+ if (signalling == null) {
+ return BooleanType.TRUE;
+ } else {
+ return signalling;
+ }
+ }
+
+ /**
+ * Sets the value of the signalling property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BooleanType }
+ *
+ */
+ public void setSignalling(BooleanType value) {
+ this.signalling = value;
+ }
+
+ /**
+ * Gets the value of the description property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDescription() {
+ return description;
+ }
+
+ /**
+ * Sets the value of the description property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDescription(String value) {
+ this.description = value;
+ }
+
+ /**
+ * Gets the value of the duedate property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDuedate() {
+ return duedate;
+ }
+
+ /**
+ * Sets the value of the duedate property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDuedate(String value) {
+ this.duedate = value;
+ }
+
+ /**
+ * Gets the value of the swimlane property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSwimlane() {
+ return swimlane;
+ }
+
+ /**
+ * Sets the value of the swimlane property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSwimlane(String value) {
+ this.swimlane = value;
+ }
+
+ /**
+ * Gets the value of the priority property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPriority() {
+ if (priority == null) {
+ return "normal";
+ } else {
+ return priority;
+ }
+ }
+
+ /**
+ * Sets the value of the priority property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPriority(String value) {
+ this.priority = value;
+ }
+
+ /**
+ * Gets the value of the notify property.
+ *
+ * @return
+ * possible object is
+ * {@link BooleanType }
+ *
+ */
+ public BooleanType getNotify() {
+ if (notify == null) {
+ return BooleanType.FALSE;
+ } else {
+ return notify;
+ }
+ }
+
+ /**
+ * Sets the value of the notify property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BooleanType }
+ *
+ */
+ public void setNotify(BooleanType value) {
+ this.notify = 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">
+ * <attribute name="duedate" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="repeat" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Reminder {
+
+ @XmlAttribute(required = true)
+ protected String duedate;
+ @XmlAttribute
+ protected String repeat;
+
+ /**
+ * Gets the value of the duedate property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDuedate() {
+ return duedate;
+ }
+
+ /**
+ * Sets the value of the duedate property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDuedate(String value) {
+ this.duedate = value;
+ }
+
+ /**
+ * Gets the value of the repeat property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRepeat() {
+ return repeat;
+ }
+
+ /**
+ * Sets the value of the repeat property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRepeat(String value) {
+ this.repeat = value;
+ }
+
+ }
+
+}
Property changes on: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Task.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32TaskNode.java
===================================================================
--- api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32TaskNode.java (rev 0)
+++ api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32TaskNode.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -0,0 +1,255 @@
+//
+// 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 09:51:16 AM CEST
+//
+
+
+package org.jboss.bpm.dialect.jpdl32.jaxb;
+
+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.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <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">
+ * <element ref="{urn:jbpm.org:jpdl-3.2}task"/>
+ * <group ref="{urn:jbpm.org:jpdl-3.2}node-content-elements"/>
+ * </choice>
+ * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="create-tasks" type="{urn:jbpm.org:jpdl-3.2}booleanType" default="true" />
+ * <attribute name="end-tasks" type="{urn:jbpm.org:jpdl-3.2}booleanType" default="false" />
+ * <attribute name="signal" default="last">
+ * <simpleType>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="unsynchronized"/>
+ * <enumeration value="never"/>
+ * <enumeration value="first"/>
+ * <enumeration value="first-wait"/>
+ * <enumeration value="last"/>
+ * <enumeration value="last-wait"/>
+ * </restriction>
+ * </simpleType>
+ * </attribute>
+ * <attribute name="async" type="{http://www.w3.org/2001/XMLSchema}string" default="false" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "taskOrDescriptionOrEvent"
+})
+ at XmlRootElement(name = "task-node")
+public class JPDL32TaskNode {
+
+ @XmlElements({
+ @XmlElement(name = "exception-handler", type = JPDL32ExceptionHandler.class),
+ @XmlElement(name = "timer", type = JPDL32Timer.class),
+ @XmlElement(name = "task", type = JPDL32Task.class),
+ @XmlElement(name = "transition", type = JPDL32Transition.class),
+ @XmlElement(name = "description", type = String.class),
+ @XmlElement(name = "event", type = JPDL32Event.class)
+ })
+ protected List<Object> taskOrDescriptionOrEvent;
+ @XmlAttribute(required = true)
+ protected String name;
+ @XmlAttribute(name = "create-tasks")
+ protected BooleanType createTasks;
+ @XmlAttribute(name = "end-tasks")
+ protected BooleanType endTasks;
+ @XmlAttribute
+ protected String signal;
+ @XmlAttribute
+ protected String async;
+
+ /**
+ * Gets the value of the taskOrDescriptionOrEvent 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 taskOrDescriptionOrEvent property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getTaskOrDescriptionOrEvent().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JPDL32ExceptionHandler }
+ * {@link JPDL32Timer }
+ * {@link JPDL32Task }
+ * {@link JPDL32Transition }
+ * {@link String }
+ * {@link JPDL32Event }
+ *
+ *
+ */
+ public List<Object> getTaskOrDescriptionOrEvent() {
+ if (taskOrDescriptionOrEvent == null) {
+ taskOrDescriptionOrEvent = new ArrayList<Object>();
+ }
+ return this.taskOrDescriptionOrEvent;
+ }
+
+ /**
+ * 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 createTasks property.
+ *
+ * @return
+ * possible object is
+ * {@link BooleanType }
+ *
+ */
+ public BooleanType getCreateTasks() {
+ if (createTasks == null) {
+ return BooleanType.TRUE;
+ } else {
+ return createTasks;
+ }
+ }
+
+ /**
+ * Sets the value of the createTasks property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BooleanType }
+ *
+ */
+ public void setCreateTasks(BooleanType value) {
+ this.createTasks = value;
+ }
+
+ /**
+ * Gets the value of the endTasks property.
+ *
+ * @return
+ * possible object is
+ * {@link BooleanType }
+ *
+ */
+ public BooleanType getEndTasks() {
+ if (endTasks == null) {
+ return BooleanType.FALSE;
+ } else {
+ return endTasks;
+ }
+ }
+
+ /**
+ * Sets the value of the endTasks property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BooleanType }
+ *
+ */
+ public void setEndTasks(BooleanType value) {
+ this.endTasks = value;
+ }
+
+ /**
+ * Gets the value of the signal property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSignal() {
+ if (signal == null) {
+ return "last";
+ } else {
+ return signal;
+ }
+ }
+
+ /**
+ * Sets the value of the signal property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSignal(String value) {
+ this.signal = value;
+ }
+
+ /**
+ * Gets the value of the async property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAsync() {
+ if (async == null) {
+ return "false";
+ } else {
+ return async;
+ }
+ }
+
+ /**
+ * Sets the value of the async property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAsync(String value) {
+ this.async = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32TaskNode.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Timer.java
===================================================================
--- api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Timer.java (rev 0)
+++ api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Timer.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -0,0 +1,285 @@
+//
+// 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 09:51:16 AM CEST
+//
+
+
+package org.jboss.bpm.dialect.jpdl32.jaxb;
+
+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.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <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 minOccurs="0">
+ * <group ref="{urn:jbpm.org:jpdl-3.2}action-elements"/>
+ * </choice>
+ * <attribute name="duedate" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="repeat" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="transition" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "action",
+ "script",
+ "createTimer",
+ "cancelTimer",
+ "mail"
+})
+ at XmlRootElement(name = "timer")
+public class JPDL32Timer {
+
+ protected JPDL32Action action;
+ protected JPDL32Script script;
+ @XmlElement(name = "create-timer")
+ protected JPDL32CreateTimer createTimer;
+ @XmlElement(name = "cancel-timer")
+ protected JPDL32CancelTimer cancelTimer;
+ protected JPDL32Mail mail;
+ @XmlAttribute(required = true)
+ protected String duedate;
+ @XmlAttribute
+ protected String name;
+ @XmlAttribute
+ protected String repeat;
+ @XmlAttribute
+ protected String transition;
+
+ /**
+ * Gets the value of the action property.
+ *
+ * @return
+ * possible object is
+ * {@link JPDL32Action }
+ *
+ */
+ public JPDL32Action getAction() {
+ return action;
+ }
+
+ /**
+ * Sets the value of the action property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JPDL32Action }
+ *
+ */
+ public void setAction(JPDL32Action value) {
+ this.action = value;
+ }
+
+ /**
+ * Gets the value of the script property.
+ *
+ * @return
+ * possible object is
+ * {@link JPDL32Script }
+ *
+ */
+ public JPDL32Script getScript() {
+ return script;
+ }
+
+ /**
+ * Sets the value of the script property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JPDL32Script }
+ *
+ */
+ public void setScript(JPDL32Script value) {
+ this.script = value;
+ }
+
+ /**
+ * Gets the value of the createTimer property.
+ *
+ * @return
+ * possible object is
+ * {@link JPDL32CreateTimer }
+ *
+ */
+ public JPDL32CreateTimer getCreateTimer() {
+ return createTimer;
+ }
+
+ /**
+ * Sets the value of the createTimer property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JPDL32CreateTimer }
+ *
+ */
+ public void setCreateTimer(JPDL32CreateTimer value) {
+ this.createTimer = value;
+ }
+
+ /**
+ * Gets the value of the cancelTimer property.
+ *
+ * @return
+ * possible object is
+ * {@link JPDL32CancelTimer }
+ *
+ */
+ public JPDL32CancelTimer getCancelTimer() {
+ return cancelTimer;
+ }
+
+ /**
+ * Sets the value of the cancelTimer property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JPDL32CancelTimer }
+ *
+ */
+ public void setCancelTimer(JPDL32CancelTimer value) {
+ this.cancelTimer = value;
+ }
+
+ /**
+ * Gets the value of the mail property.
+ *
+ * @return
+ * possible object is
+ * {@link JPDL32Mail }
+ *
+ */
+ public JPDL32Mail getMail() {
+ return mail;
+ }
+
+ /**
+ * Sets the value of the mail property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JPDL32Mail }
+ *
+ */
+ public void setMail(JPDL32Mail value) {
+ this.mail = value;
+ }
+
+ /**
+ * Gets the value of the duedate property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDuedate() {
+ return duedate;
+ }
+
+ /**
+ * Sets the value of the duedate property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDuedate(String value) {
+ this.duedate = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the repeat property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRepeat() {
+ return repeat;
+ }
+
+ /**
+ * Sets the value of the repeat property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRepeat(String value) {
+ this.repeat = value;
+ }
+
+ /**
+ * Gets the value of the transition property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTransition() {
+ return transition;
+ }
+
+ /**
+ * Sets the value of the transition property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTransition(String value) {
+ this.transition = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Timer.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Transition.java
===================================================================
--- api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Transition.java (rev 0)
+++ api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Transition.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -0,0 +1,257 @@
+//
+// 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 09:51:16 AM CEST
+//
+
+
+package org.jboss.bpm.dialect.jpdl32.jaxb;
+
+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.XmlElement;
+import javax.xml.bind.annotation.XmlElements;
+import javax.xml.bind.annotation.XmlMixed;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import org.w3c.dom.Element;
+
+
+/**
+ * <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">
+ * <element ref="{urn:jbpm.org:jpdl-3.2}description"/>
+ * <element name="condition">
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence maxOccurs="unbounded" minOccurs="0">
+ * <any/>
+ * </sequence>
+ * <attribute name="expression" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </element>
+ * <group ref="{urn:jbpm.org:jpdl-3.2}action-elements"/>
+ * <element ref="{urn:jbpm.org:jpdl-3.2}exception-handler"/>
+ * </choice>
+ * <attribute name="to" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "descriptionOrConditionOrAction"
+})
+ at XmlRootElement(name = "transition")
+public class JPDL32Transition {
+
+ @XmlElements({
+ @XmlElement(name = "exception-handler", type = JPDL32ExceptionHandler.class),
+ @XmlElement(name = "script", type = JPDL32Script.class),
+ @XmlElement(name = "action", type = JPDL32Action.class),
+ @XmlElement(name = "condition", type = JPDL32Transition.Condition.class),
+ @XmlElement(name = "cancel-timer", type = JPDL32CancelTimer.class),
+ @XmlElement(name = "mail", type = JPDL32Mail.class),
+ @XmlElement(name = "description", type = String.class),
+ @XmlElement(name = "create-timer", type = JPDL32CreateTimer.class)
+ })
+ protected List<Object> descriptionOrConditionOrAction;
+ @XmlAttribute(required = true)
+ protected String to;
+ @XmlAttribute
+ protected String name;
+
+ /**
+ * Gets the value of the descriptionOrConditionOrAction 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 descriptionOrConditionOrAction property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDescriptionOrConditionOrAction().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JPDL32ExceptionHandler }
+ * {@link JPDL32Script }
+ * {@link JPDL32Action }
+ * {@link JPDL32Transition.Condition }
+ * {@link JPDL32CancelTimer }
+ * {@link JPDL32Mail }
+ * {@link String }
+ * {@link JPDL32CreateTimer }
+ *
+ *
+ */
+ public List<Object> getDescriptionOrConditionOrAction() {
+ if (descriptionOrConditionOrAction == null) {
+ descriptionOrConditionOrAction = new ArrayList<Object>();
+ }
+ return this.descriptionOrConditionOrAction;
+ }
+
+ /**
+ * Gets the value of the to property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTo() {
+ return to;
+ }
+
+ /**
+ * Sets the value of the to property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTo(String value) {
+ this.to = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+
+ /**
+ * <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">
+ * <sequence maxOccurs="unbounded" minOccurs="0">
+ * <any/>
+ * </sequence>
+ * <attribute name="expression" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "content"
+ })
+ public static class Condition {
+
+ @XmlMixed
+ @XmlAnyElement(lax = true)
+ protected List<Object> content;
+ @XmlAttribute
+ protected String expression;
+
+ /**
+ * Gets the value of the content 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 content property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getContent().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Object }
+ * {@link Element }
+ * {@link String }
+ *
+ *
+ */
+ public List<Object> getContent() {
+ if (content == null) {
+ content = new ArrayList<Object>();
+ }
+ return this.content;
+ }
+
+ /**
+ * Gets the value of the expression property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getExpression() {
+ return expression;
+ }
+
+ /**
+ * Sets the value of the expression property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setExpression(String value) {
+ this.expression = value;
+ }
+
+ }
+
+}
Property changes on: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Transition.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Variable.java
===================================================================
--- api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Variable.java (rev 0)
+++ api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Variable.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -0,0 +1,166 @@
+//
+// 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 09:51:16 AM CEST
+//
+
+
+package org.jboss.bpm.dialect.jpdl32.jaxb;
+
+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.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import org.w3c.dom.Element;
+
+
+/**
+ * <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">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="access" type="{http://www.w3.org/2001/XMLSchema}string" default="read,write" />
+ * <attribute name="mapped-name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "any"
+})
+ at XmlRootElement(name = "variable")
+public class JPDL32Variable {
+
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(required = true)
+ protected String name;
+ @XmlAttribute
+ protected String access;
+ @XmlAttribute(name = "mapped-name")
+ protected String mappedName;
+
+ /**
+ * 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 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 access property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getAccess() {
+ if (access == null) {
+ return "read,write";
+ } else {
+ return access;
+ }
+ }
+
+ /**
+ * Sets the value of the access property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAccess(String value) {
+ this.access = value;
+ }
+
+ /**
+ * Gets the value of the mappedName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getMappedName() {
+ return mappedName;
+ }
+
+ /**
+ * Sets the value of the mappedName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setMappedName(String value) {
+ this.mappedName = value;
+ }
+
+}
Property changes on: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/JPDL32Variable.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/ObjectFactory.java
===================================================================
--- api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/ObjectFactory.java (rev 0)
+++ api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/ObjectFactory.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -0,0 +1,344 @@
+//
+// 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 09:51:16 AM CEST
+//
+
+
+package org.jboss.bpm.dialect.jpdl32.jaxb;
+
+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.jpdl32.jaxb 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 _Controller_QNAME = new QName("urn:jbpm.org:jpdl-3.2", "controller");
+ private final static QName _Text_QNAME = new QName("urn:jbpm.org:jpdl-3.2", "text");
+ private final static QName _Template_QNAME = new QName("urn:jbpm.org:jpdl-3.2", "template");
+ private final static QName _To_QNAME = new QName("urn:jbpm.org:jpdl-3.2", "to");
+ private final static QName _Description_QNAME = new QName("urn:jbpm.org:jpdl-3.2", "description");
+ private final static QName _Subject_QNAME = new QName("urn:jbpm.org:jpdl-3.2", "subject");
+ private final static QName _Recipients_QNAME = new QName("urn:jbpm.org:jpdl-3.2", "recipients");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.jboss.bpm.dialect.jpdl32.jaxb
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link JPDL32State }
+ *
+ */
+ public JPDL32State createJPDL32State() {
+ return new JPDL32State();
+ }
+
+ /**
+ * Create an instance of {@link JPDL32Transition }
+ *
+ */
+ public JPDL32Transition createJPDL32Transition() {
+ return new JPDL32Transition();
+ }
+
+ /**
+ * Create an instance of {@link JPDL32TaskNode }
+ *
+ */
+ public JPDL32TaskNode createJPDL32TaskNode() {
+ return new JPDL32TaskNode();
+ }
+
+ /**
+ * Create an instance of {@link JPDL32Decision }
+ *
+ */
+ public JPDL32Decision createJPDL32Decision() {
+ return new JPDL32Decision();
+ }
+
+ /**
+ * Create an instance of {@link JPDL32Fork }
+ *
+ */
+ public JPDL32Fork createJPDL32Fork() {
+ return new JPDL32Fork();
+ }
+
+ /**
+ * Create an instance of {@link JPDL32Event }
+ *
+ */
+ public JPDL32Event createJPDL32Event() {
+ return new JPDL32Event();
+ }
+
+ /**
+ * Create an instance of {@link JPDL32SuperState }
+ *
+ */
+ public JPDL32SuperState createJPDL32SuperState() {
+ return new JPDL32SuperState();
+ }
+
+ /**
+ * Create an instance of {@link JPDL32StartState }
+ *
+ */
+ public JPDL32StartState createJPDL32StartState() {
+ return new JPDL32StartState();
+ }
+
+ /**
+ * Create an instance of {@link JPDL32Variable }
+ *
+ */
+ public JPDL32Variable createJPDL32Variable() {
+ return new JPDL32Variable();
+ }
+
+ /**
+ * Create an instance of {@link JPDL32Join }
+ *
+ */
+ public JPDL32Join createJPDL32Join() {
+ return new JPDL32Join();
+ }
+
+ /**
+ * Create an instance of {@link JPDL32CreateTimer }
+ *
+ */
+ public JPDL32CreateTimer createJPDL32CreateTimer() {
+ return new JPDL32CreateTimer();
+ }
+
+ /**
+ * Create an instance of {@link JPDL32ProcessState.SubProcess }
+ *
+ */
+ public JPDL32ProcessState.SubProcess createJPDL32ProcessStateSubProcess() {
+ return new JPDL32ProcessState.SubProcess();
+ }
+
+ /**
+ * Create an instance of {@link JPDL32Timer }
+ *
+ */
+ public JPDL32Timer createJPDL32Timer() {
+ return new JPDL32Timer();
+ }
+
+ /**
+ * Create an instance of {@link JPDL32Swimlane }
+ *
+ */
+ public JPDL32Swimlane createJPDL32Swimlane() {
+ return new JPDL32Swimlane();
+ }
+
+ /**
+ * Create an instance of {@link JPDL32Transition.Condition }
+ *
+ */
+ public JPDL32Transition.Condition createJPDL32TransitionCondition() {
+ return new JPDL32Transition.Condition();
+ }
+
+ /**
+ * Create an instance of {@link JPDL32CancelTimer }
+ *
+ */
+ public JPDL32CancelTimer createJPDL32CancelTimer() {
+ return new JPDL32CancelTimer();
+ }
+
+ /**
+ * Create an instance of {@link Delegation }
+ *
+ */
+ public Delegation createDelegation() {
+ return new Delegation();
+ }
+
+ /**
+ * Create an instance of {@link JPDL32Task.Reminder }
+ *
+ */
+ public JPDL32Task.Reminder createJPDL32TaskReminder() {
+ return new JPDL32Task.Reminder();
+ }
+
+ /**
+ * Create an instance of {@link JPDL32Assignment }
+ *
+ */
+ public JPDL32Assignment createJPDL32Assignment() {
+ return new JPDL32Assignment();
+ }
+
+ /**
+ * Create an instance of {@link JPDL32Action }
+ *
+ */
+ public JPDL32Action createJPDL32Action() {
+ return new JPDL32Action();
+ }
+
+ /**
+ * Create an instance of {@link JPDL32EndState }
+ *
+ */
+ public JPDL32EndState createJPDL32EndState() {
+ return new JPDL32EndState();
+ }
+
+ /**
+ * Create an instance of {@link JPDL32ExceptionHandler }
+ *
+ */
+ public JPDL32ExceptionHandler createJPDL32ExceptionHandler() {
+ return new JPDL32ExceptionHandler();
+ }
+
+ /**
+ * Create an instance of {@link JPDL32MailNode }
+ *
+ */
+ public JPDL32MailNode createJPDL32MailNode() {
+ return new JPDL32MailNode();
+ }
+
+ /**
+ * Create an instance of {@link JPDL32ProcessState }
+ *
+ */
+ public JPDL32ProcessState createJPDL32ProcessState() {
+ return new JPDL32ProcessState();
+ }
+
+ /**
+ * Create an instance of {@link JPDL32Node }
+ *
+ */
+ public JPDL32Node createJPDL32Node() {
+ return new JPDL32Node();
+ }
+
+ /**
+ * Create an instance of {@link JPDL32ProcessDefinition }
+ *
+ */
+ public JPDL32ProcessDefinition createJPDL32ProcessDefinition() {
+ return new JPDL32ProcessDefinition();
+ }
+
+ /**
+ * Create an instance of {@link JPDL32Script }
+ *
+ */
+ public JPDL32Script createJPDL32Script() {
+ return new JPDL32Script();
+ }
+
+ /**
+ * Create an instance of {@link JPDL32Mail }
+ *
+ */
+ public JPDL32Mail createJPDL32Mail() {
+ return new JPDL32Mail();
+ }
+
+ /**
+ * Create an instance of {@link JPDL32Task }
+ *
+ */
+ public JPDL32Task createJPDL32Task() {
+ return new JPDL32Task();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Delegation }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:jbpm.org:jpdl-3.2", name = "controller")
+ public JAXBElement<Delegation> createController(Delegation value) {
+ return new JAXBElement<Delegation>(_Controller_QNAME, Delegation.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:jbpm.org:jpdl-3.2", name = "text")
+ public JAXBElement<String> createText(String value) {
+ return new JAXBElement<String>(_Text_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:jbpm.org:jpdl-3.2", name = "template")
+ public JAXBElement<String> createTemplate(String value) {
+ return new JAXBElement<String>(_Template_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:jbpm.org:jpdl-3.2", name = "to")
+ public JAXBElement<String> createTo(String value) {
+ return new JAXBElement<String>(_To_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:jbpm.org:jpdl-3.2", name = "description")
+ public JAXBElement<String> createDescription(String value) {
+ return new JAXBElement<String>(_Description_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:jbpm.org:jpdl-3.2", name = "subject")
+ public JAXBElement<String> createSubject(String value) {
+ return new JAXBElement<String>(_Subject_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "urn:jbpm.org:jpdl-3.2", name = "recipients")
+ public JAXBElement<String> createRecipients(String value) {
+ return new JAXBElement<String>(_Recipients_QNAME, String.class, null, value);
+ }
+
+}
Property changes on: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/ObjectFactory.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/package-info.java
===================================================================
--- api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/package-info.java (rev 0)
+++ api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/package-info.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -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 09:51:16 AM CEST
+//
+
+ at javax.xml.bind.annotation.XmlSchema(namespace = "urn:jbpm.org:jpdl-3.2", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package org.jboss.bpm.dialect.jpdl32.jaxb;
Property changes on: api/trunk/modules/dialects/jpdl32/src/main/java/org/jboss/bpm/dialect/jpdl32/jaxb/package-info.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/jpdl32/src/main/resources/jaxb-bindings.xml
===================================================================
--- api/trunk/modules/dialects/jpdl32/src/main/resources/jaxb-bindings.xml (rev 0)
+++ api/trunk/modules/dialects/jpdl32/src/main/resources/jaxb-bindings.xml 2008-07-17 09:21:11 UTC (rev 1662)
@@ -0,0 +1,10 @@
+<jxb:bindings version='1.0' xmlns:jxb='http://java.sun.com/xml/ns/jaxb' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <jxb:bindings schemaLocation="jpdl-3.2.xsd" node="/xsd:schema">
+ <jxb:schemaBindings>
+ <jxb:package name="org.jboss.bpm.dialect.jpdl32.model" />
+ <jxb:nameXmlTransform>
+ <jxb:elementName prefix="JPDL32" />
+ </jxb:nameXmlTransform>
+ </jxb:schemaBindings>
+ </jxb:bindings>
+</jxb:bindings>
\ No newline at end of file
Property changes on: api/trunk/modules/dialects/jpdl32/src/main/resources/jaxb-bindings.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/dialects/jpdl32/src/main/resources/jpdl-3.2.xsd
===================================================================
--- api/trunk/modules/dialects/jpdl32/src/main/resources/jpdl-3.2.xsd (rev 0)
+++ api/trunk/modules/dialects/jpdl32/src/main/resources/jpdl-3.2.xsd 2008-07-17 09:21:11 UTC (rev 1662)
@@ -0,0 +1,499 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<xs:schema xmlns= "urn:jbpm.org:jpdl-3.2"
+ targetNamespace="urn:jbpm.org:jpdl-3.2"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified">
+
+ <!-- PROCESS-DEFINITION -->
+ <!-- ################## -->
+ <xs:element name="process-definition">
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="description" />
+ <xs:element ref="swimlane" />
+ <xs:element ref="start-state" />
+ <xs:group ref="node-elements"/>
+ <xs:group ref="action-elements" />
+ <xs:element ref="event" />
+ <xs:element ref="exception-handler" />
+ <xs:element ref="task" />
+ </xs:choice>
+ <xs:attribute name="name" type="xs:string" use="required" />
+ </xs:complexType>
+ </xs:element>
+
+ <!-- SWIMLANE -->
+ <!-- ######## -->
+ <xs:element name="swimlane">
+ <xs:complexType>
+ <xs:sequence minOccurs="0" maxOccurs="1">
+ <xs:element ref="assignment"/>
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:string" use="required" />
+ </xs:complexType>
+ </xs:element>
+
+ <!-- NODES -->
+ <!-- ##### -->
+ <xs:element name="start-state">
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="description" />
+ <xs:element ref="task"/>
+ <xs:element ref="transition"/>
+ <xs:element ref="event"/>
+ <xs:element ref="exception-handler"/>
+ </xs:choice>
+ <xs:attribute name="name" type="xs:string"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="end-state">
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="description" />
+ <xs:element ref="event"/>
+ <xs:element ref="exception-handler"/>
+ </xs:choice>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="end-complete-process" type="booleanType" use="optional" default="false"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="decision">
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="description" />
+ <xs:element name="handler" type="delegation" />
+ <xs:element ref="event"/>
+ <xs:element ref="exception-handler"/>
+ <xs:element ref="transition"/>
+ </xs:choice>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="expression" type="xs:string" />
+ <xs:attribute name="async" type="xs:string" default="false" />
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="fork">
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="script" />
+ <xs:group ref="node-content-elements" />
+ </xs:choice>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="async" type="xs:string" default="false" />
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="join">
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:group ref="node-content-elements" />
+ </xs:choice>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="async" type="xs:string" default="false" />
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="node">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:choice minOccurs="0" maxOccurs="1">
+ <xs:group ref="action-elements" />
+ </xs:choice>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:group ref="node-content-elements" />
+ </xs:choice>
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="async" type="xs:string" default="false" />
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="process-state">
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element name="sub-process">
+ <xs:complexType>
+ <xs:attribute name="name" type="xs:string"
+ use="required" />
+ <xs:attribute name="version" type="xs:integer" />
+ <xs:attribute name="binding" type="xs:string" />
+ </xs:complexType>
+ </xs:element>
+ <xs:element ref="variable" />
+ <xs:group ref="node-content-elements" />
+ </xs:choice>
+ <xs:attribute name="name" type="xs:string" use="required" />
+ <xs:attribute name="async" type="xs:string" default="false" />
+ <xs:attribute name="binding" type="bindingType"></xs:attribute>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="state">
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:group ref="node-content-elements"/>
+ </xs:choice>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="async" type="xs:string" default="false" />
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="super-state">
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:group ref="node-elements"/>
+ <xs:group ref="node-content-elements"/>
+ </xs:choice>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="async" type="xs:string" default="false" />
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="task-node">
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="task" />
+ <xs:group ref="node-content-elements" />
+ </xs:choice>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="create-tasks" type="booleanType" default="true" />
+ <xs:attribute name="end-tasks" type="booleanType" default="false" />
+ <xs:attribute name="signal" default="last">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="unsynchronized"/>
+ <xs:enumeration value="never"/>
+ <xs:enumeration value="first"/>
+ <xs:enumeration value="first-wait"/>
+ <xs:enumeration value="last"/>
+ <xs:enumeration value="last-wait"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ <xs:attribute name="async" type="xs:string" default="false" />
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="mail-node">
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="subject" />
+ <xs:element ref="text" />
+ <xs:group ref="node-content-elements"/>
+ </xs:choice>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="async" type="xs:string" default="false" />
+ <xs:attribute name="template" type="xs:string"/>
+ <xs:attribute name="actors" type="xs:string"/>
+ <xs:attribute name="to" type="xs:string"/>
+ <xs:attribute name="subject" type="xs:string"/>
+ <xs:attribute name="text" type="xs:string"/>
+ </xs:complexType>
+ </xs:element>
+
+
+ <!-- TRANSITION -->
+ <!-- ########## -->
+ <xs:element name="transition">
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="description" />
+ <xs:element name="condition">
+ <xs:complexType mixed="true">
+ <xs:sequence minOccurs="0" maxOccurs="unbounded">
+ <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xs:sequence>
+ <xs:attribute name="expression" type="xs:string" />
+ </xs:complexType>
+ </xs:element>
+ <xs:group ref="action-elements"/>
+ <xs:element ref="exception-handler" />
+ </xs:choice>
+ <xs:attribute name="to" type="xs:string" use="required" />
+ <xs:attribute name="name" type="xs:string" />
+ </xs:complexType>
+ </xs:element>
+
+ <!-- ACTIONS -->
+ <!-- ####### -->
+ <xs:element name="action">
+ <xs:complexType mixed="true">
+ <xs:sequence>
+ <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xs:sequence>
+ <xs:attribute name="class" type="xs:string" />
+ <xs:attribute name="config-type" default="field" type="xs:string" />
+ <xs:attribute name="name" type="xs:string" />
+ <xs:attribute name="ref-name" type="xs:string" />
+ <xs:attribute name="accept-propagated-events" type="booleanType" default="true" />
+ <xs:attribute name="expression" type="xs:string" />
+ <xs:attribute name="async" type="xs:string" />
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="cancel-timer">
+ <xs:complexType>
+ <xs:attribute name="name" type="xs:string" use="required" />
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="create-timer">
+ <xs:complexType>
+ <xs:choice minOccurs="0">
+ <xs:element ref="action"/>
+ <xs:element ref="script"/>
+ </xs:choice>
+ <xs:attribute name="duedate" type="xs:string" use="required" />
+ <xs:attribute name="name" type="xs:string" />
+ <xs:attribute name="repeat" type="xs:string" />
+ <xs:attribute name="transition" type="xs:string" />
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="script">
+ <xs:complexType mixed="true">
+ <xs:sequence>
+ <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:string" />
+ <xs:attribute name="accept-propagated-events" type="booleanType" default="true" />
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="mail">
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="subject" />
+ <xs:element ref="text" />
+ </xs:choice>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="async" type="xs:string" default="false" />
+ <xs:attribute name="template" type="xs:string"/>
+ <xs:attribute name="actors" type="xs:string"/>
+ <xs:attribute name="to" type="xs:string"/>
+ <xs:attribute name="subject" type="xs:string"/>
+ <xs:attribute name="text" type="xs:string"/>
+ </xs:complexType>
+ </xs:element>
+
+ <!-- EVENT -->
+ <!-- ##### -->
+ <xs:element name="event">
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:group ref="action-elements"/>
+ </xs:choice>
+ <xs:attribute name="type" use="required">
+ <xs:simpleType>
+ <xs:union>
+ <xs:simpleType>
+ <xs:restriction base="xs:string"/>
+ </xs:simpleType>
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="node-enter"/>
+ <xs:enumeration value="node-leave"/>
+ <xs:enumeration value="process-start"/>
+ <xs:enumeration value="process-end"/>
+ <xs:enumeration value="task-create"/>
+ <xs:enumeration value="task-assign"/>
+ <xs:enumeration value="task-start"/>
+ <xs:enumeration value="task-end"/>
+ <xs:enumeration value="before-signal"/>
+ <xs:enumeration value="after-signal"/>
+ <xs:enumeration value="superstate-enter"/>
+ <xs:enumeration value="superstate-leave"/>
+ <xs:enumeration value="timer-create"/>
+ <xs:enumeration value="subprocess-created"/>
+ <xs:enumeration value="subprocess-end"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:union>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:complexType>
+ </xs:element>
+
+ <!-- EXCEPTION-HANDLER -->
+ <!-- ################# -->
+ <xs:element name="exception-handler">
+ <xs:complexType>
+ <xs:choice minOccurs="1" maxOccurs="unbounded">
+ <xs:element ref="action"/>
+ <xs:element ref="script"/>
+ </xs:choice>
+ <xs:attribute name="exception-class" type="xs:string"/>
+ </xs:complexType>
+ </xs:element>
+
+ <!-- TASK -->
+ <!-- #### -->
+ <xs:element name="task">
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="description" />
+ <xs:element ref="assignment"/>
+ <xs:element ref="controller"/>
+ <xs:element ref="event"/>
+ <xs:element ref="timer"/>
+ <xs:element name="reminder">
+ <xs:complexType>
+ <xs:attribute name="duedate" type="xs:string" use="required" />
+ <xs:attribute name="repeat" type="xs:string" />
+ </xs:complexType>
+ </xs:element>
+ </xs:choice>
+ <xs:attribute name="name" type="xs:string" />
+ <xs:attribute name="blocking" type="booleanType" default="false"/>
+ <xs:attribute name="signalling" type="booleanType" default="true"/>
+ <xs:attribute name="description" type="xs:string" />
+ <xs:attribute name="duedate" type="xs:string" />
+ <xs:attribute name="swimlane" type="xs:string" />
+ <xs:attribute name="priority" type="priorityType" default="normal" />
+ <xs:attribute name="notify" type="booleanType" default="false"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="controller" type="delegation" />
+
+ <xs:element name="assignment">
+ <xs:complexType>
+ <xs:complexContent>
+ <xs:extension base="delegation">
+ <xs:attribute name="expression" type="xs:string" />
+ <xs:attribute name="actor-id" type="xs:string" />
+ <xs:attribute name="pooled-actors" type="xs:string" />
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+
+ <!-- TIMER -->
+ <!-- ##### -->
+ <xs:element name="timer">
+ <xs:complexType>
+ <xs:choice minOccurs="0" maxOccurs="1">
+ <xs:group ref="action-elements" />
+ </xs:choice>
+ <xs:attribute name="duedate" type="xs:string" use="required" />
+ <xs:attribute name="name" type="xs:string" />
+ <xs:attribute name="repeat" type="xs:string" />
+ <xs:attribute name="transition" type="xs:string" />
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="variable">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="access" type="xs:string" default="read,write"/>
+ <xs:attribute name="mapped-name" type="xs:string" />
+ </xs:complexType>
+ </xs:element>
+
+ <!-- MAIL -->
+ <!-- #### -->
+ <xs:element name="to" type="xs:string"/>
+ <xs:element name="recipients" type="xs:string"/>
+ <xs:element name="subject" type="xs:string"/>
+ <xs:element name="text" type="xs:string"/>
+ <xs:element name="template" type="xs:string"/>
+
+ <!-- TYPES AND GROUPS -->
+ <!-- ################ -->
+
+ <xs:element name="description" type="xs:string" />
+
+ <xs:complexType name="delegation" mixed="true">
+ <xs:sequence>
+ <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+ </xs:sequence>
+ <xs:attribute name="class" type="xs:string" />
+ <xs:attribute name="config-type" default="field" type="xs:string" />
+ </xs:complexType>
+
+ <xs:simpleType name="configType">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="field"/>
+ <xs:enumeration value="bean"/>
+ <xs:enumeration value="constructor"/>
+ <xs:enumeration value="configuration-property"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="booleanType">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="yes"/>
+ <xs:enumeration value="no"/>
+ <xs:enumeration value="true"/>
+ <xs:enumeration value="false"/>
+ <xs:enumeration value="on"/>
+ <xs:enumeration value="off"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="priorityType">
+ <xs:union>
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="highest"/>
+ <xs:enumeration value="high"/>
+ <xs:enumeration value="normal"/>
+ <xs:enumeration value="low"/>
+ <xs:enumeration value="lowest"/>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:simpleType>
+ <xs:restriction base="xs:int"/>
+ </xs:simpleType>
+ </xs:union>
+ </xs:simpleType>
+
+ <xs:group name="node-elements">
+ <xs:choice>
+ <xs:element ref="node"/>
+ <xs:element ref="state"/>
+ <xs:element ref="task-node"/>
+ <xs:element ref="super-state"/>
+ <xs:element ref="process-state"/>
+ <xs:element ref="fork"/>
+ <xs:element ref="join"/>
+ <xs:element ref="decision"/>
+ <xs:element ref="end-state"/>
+ <xs:element ref="mail-node"/>
+ </xs:choice>
+ </xs:group>
+
+ <xs:group name="action-elements">
+ <xs:choice>
+ <xs:element ref="action"/>
+ <xs:element ref="script"/>
+ <xs:element ref="create-timer"/>
+ <xs:element ref="cancel-timer"/>
+ <xs:element ref="mail"/>
+ </xs:choice>
+ </xs:group>
+
+ <xs:group name="node-content-elements">
+ <xs:choice>
+ <xs:element ref="description" />
+ <xs:element ref="event"/>
+ <xs:element ref="exception-handler"/>
+ <xs:element ref="timer"/>
+ <xs:element ref="transition"/>
+ </xs:choice>
+ </xs:group>
+
+ <xs:simpleType name="bindingType">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="late"></xs:enumeration>
+ <xs:enumeration value="early"></xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+</xs:schema>
Property changes on: api/trunk/modules/dialects/jpdl32/src/main/resources/jpdl-3.2.xsd
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/trunk/modules/impl/src/main/java/org/jboss/bpm/client/internal/ProcessManagerImpl.java
===================================================================
--- api/trunk/modules/impl/src/main/java/org/jboss/bpm/client/internal/ProcessManagerImpl.java (rev 0)
+++ api/trunk/modules/impl/src/main/java/org/jboss/bpm/client/internal/ProcessManagerImpl.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -0,0 +1,49 @@
+/*
+ * 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.client.internal;
+
+// $Id$
+
+import java.util.Map;
+
+import org.jboss.bpm.client.DialectHandler;
+import org.jboss.bpm.client.ProcessEngine;
+import org.jboss.bpm.client.ProcessManager;
+
+/**
+ * The process manager is the entry point to create, find and otherwise manage processes.
+ *
+ * @author thomas.diesler at jboss.com
+ * @since 18-Jun-2008
+ */
+public class ProcessManagerImpl extends ProcessManager
+{
+ public void setProcessEngine(ProcessEngine engine)
+ {
+ this.engine = engine;
+ }
+
+ public void setDialectHandlers(Map<String, DialectHandler> dialectHandlers)
+ {
+ this.dialectHandlers = dialectHandlers;
+ }
+}
Property changes on: api/trunk/modules/impl/src/main/java/org/jboss/bpm/client/internal/ProcessManagerImpl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Modified: api/trunk/modules/impl/src/main/java/org/jboss/bpm/model/internal/ProcessBuilderImpl.java
===================================================================
--- api/trunk/modules/impl/src/main/java/org/jboss/bpm/model/internal/ProcessBuilderImpl.java 2008-07-17 07:01:28 UTC (rev 1661)
+++ api/trunk/modules/impl/src/main/java/org/jboss/bpm/model/internal/ProcessBuilderImpl.java 2008-07-17 09:21:11 UTC (rev 1662)
@@ -23,18 +23,8 @@
//$Id$
-import org.jboss.bpm.model.ComplexGateway;
-import org.jboss.bpm.model.EndEvent;
-import org.jboss.bpm.model.ExclusiveGateway;
-import org.jboss.bpm.model.FlowObject;
-import org.jboss.bpm.model.InclusiveGateway;
-import org.jboss.bpm.model.IntermediateEvent;
-import org.jboss.bpm.model.ParallelGateway;
import org.jboss.bpm.model.Process;
import org.jboss.bpm.model.ProcessBuilder;
-import org.jboss.bpm.model.StartEvent;
-import org.jboss.bpm.model.SubProcess;
-import org.jboss.bpm.model.Task;
import org.jboss.bpm.runtime.ExecutionHandler;
import org.jboss.bpm.runtime.FlowHandler;
import org.jboss.bpm.runtime.SignalHandler;
@@ -201,72 +191,4 @@
}
return this;
}
-
- // ============================
-
- public Process createProcess(String name)
- {
- proc = new ProcessImpl(name);
- return proc;
- }
-
- public SubProcess createSubProcess(String name)
- {
- flowObject = new SubProcessImpl(name);
- return (SubProcess)flowObject;
- }
-
- public StartEvent createStartEvent()
- {
- flowObject = new StartEventImpl();
- return (StartEvent)flowObject;
- }
-
- public IntermediateEvent createIntermediateEvent(String name)
- {
- flowObject = new IntermediateEventImpl(name);
- return (IntermediateEvent)flowObject;
- }
-
- public EndEvent createEndEvent(String name)
- {
- flowObject = new EndEventImpl(name);
- return (EndEvent)flowObject;
- }
-
- public ExclusiveGateway createExclusiveGateway(String name)
- {
- flowObject = new ExclusiveGatewayImpl(name);
- return (ExclusiveGateway)flowObject;
- }
-
- public InclusiveGateway createInclusiveGateway(String name)
- {
- flowObject = new InclusiveGatewayImpl(name);
- return (InclusiveGateway)flowObject;
- }
-
- public ComplexGateway createComplexGateway(String name)
- {
- flowObject = new ComplexGatewayImpl(name);
- return (ComplexGateway)flowObject;
- }
-
- public ParallelGateway createParallelGateway(String name)
- {
- flowObject = new ParallelGatewayImpl(name);
- return (ParallelGateway)flowObject;
- }
-
- public Task createTask(String name)
- {
- flowObject = new TaskImpl(name);
- return (Task)flowObject;
- }
-
- public FlowObject addFlowObject(FlowObject fo)
- {
- proc.addFlowObject(fo);
- return fo;
- }
}
\ No newline at end of file
Modified: api/trunk/modules/testsuite/pom.xml
===================================================================
--- api/trunk/modules/testsuite/pom.xml 2008-07-17 07:01:28 UTC (rev 1661)
+++ api/trunk/modules/testsuite/pom.xml 2008-07-17 09:21:11 UTC (rev 1662)
@@ -31,18 +31,12 @@
<!-- Compile Dependencies -->
<dependency>
<groupId>org.jboss.jbpm</groupId>
- <artifactId>jbpm-api-dialect-jaxb</artifactId>
+ <artifactId>jbpm-api</artifactId>
<version>${version}</version>
</dependency>
<!-- Test Dependencies -->
<dependency>
- <groupId>org.jboss.jbpm</groupId>
- <artifactId>jbpm-api-impl</artifactId>
- <version>${version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
@@ -52,6 +46,26 @@
<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>org.jboss.jbpm</groupId>
+ <artifactId>jbpm-api-dialect-jaxb</artifactId>
+ <version>${version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.jbpm</groupId>
+ <artifactId>jbpm-api-dialect-jpdl32</artifactId>
+ <version>${version}</version>
+ <scope>runtime</scope>
+ </dependency>
</dependencies>
<!-- Plugins -->
Modified: api/trunk/modules/testsuite/src/test/resources/jbpm-beans.xml
===================================================================
--- api/trunk/modules/testsuite/src/test/resources/jbpm-beans.xml 2008-07-17 07:01:28 UTC (rev 1661)
+++ api/trunk/modules/testsuite/src/test/resources/jbpm-beans.xml 2008-07-17 09:21:11 UTC (rev 1662)
@@ -14,9 +14,17 @@
<bean name="jBPMProcessBuilderFactory" class="org.jboss.bpm.model.internal.ProcessBuilderFactoryImpl"/>
<!-- The ProcessManager -->
- <bean name="jBPMProcessManager" class="org.jboss.bpm.dialect.jaxb.ProcessManagerImpl">
+ <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>api10</key><value><inject bean="jBPMDialectHandlerAPI10"/></value></entry>
+ <entry><key>jpdl32</key><value><inject bean="jBPMDialectHandlerJPDL32"/></value></entry>
+ </map>
+ </property>
</bean>
+ <bean name="jBPMDialectHandlerAPI10" class="org.jboss.bpm.dialect.jaxb.DialectHandlerImpl"/>
+ <bean name="jBPMDialectHandlerJPDL32" class="org.jboss.bpm.dialect.jpdl32.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 07:01:28 UTC (rev 1661)
+++ api/trunk/pom.xml 2008-07-17 09:21:11 UTC (rev 1662)
@@ -34,6 +34,7 @@
<module>modules/api</module>
<module>modules/impl</module>
<module>modules/dialects/jaxb</module>
+ <module>modules/dialects/jpdl32</module>
<module>modules/testsuite</module>
</modules>
More information about the jbpm-commits
mailing list