[jbpm-commits] JBoss JBPM SVN: r1625 - api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb.
do-not-reply at jboss.org
do-not-reply at jboss.org
Mon Jul 14 10:05:46 EDT 2008
Author: thomas.diesler at jboss.com
Date: 2008-07-14 10:05:46 -0400 (Mon, 14 Jul 2008)
New Revision: 1625
Added:
api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBComplexGateway.java
api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBExclusiveGateway.java
api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBExecutionHandler.java
api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBFlowHandler.java
api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBHandler.java
api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBInclusiveGateway.java
api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBMessageFlow.java
api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBParallelGateway.java
api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBProcess.java
api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBSequenceFlow.java
api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBSignalHandler.java
api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/ObjectFactory.java
Log:
wipo
Added: api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBComplexGateway.java
===================================================================
--- api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBComplexGateway.java (rev 0)
+++ api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBComplexGateway.java 2008-07-14 14:05:46 UTC (rev 1625)
@@ -0,0 +1,42 @@
+/*
+ * 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.model.internal.jaxb;
+
+import javax.xml.bind.annotation.XmlType;
+
+
+// $Id$
+
+/**
+ * A Complex Gateway handles situations that are not easily handled through the other types of Gateways.
+ *
+ * Complex Gateways can also be used to combine a set of linked simple Gateways into a single,
+ * more compact situation. Modelers can provide complex expressions that determine the merging and/or
+ * splitting behavior of the Gateway.
+ *
+ * @author thomas.diesler at jboss.com
+ * @since 08-Jul-2008
+ */
+ at XmlType(name="ComplexGateway")
+public class JAXBComplexGateway extends JAXBGateway
+{
+}
\ No newline at end of file
Property changes on: api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBComplexGateway.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBExclusiveGateway.java
===================================================================
--- api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBExclusiveGateway.java (rev 0)
+++ api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBExclusiveGateway.java 2008-07-14 14:05:46 UTC (rev 1625)
@@ -0,0 +1,38 @@
+/*
+ * 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.model.internal.jaxb;
+
+//$Id$
+
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * A point in the workflow process where, based on a decision or workflow control data, one of several branches is chosen.
+ *
+ * @author thomas.diesler at jboss.com
+ * @since 08-Jul-2008
+ */
+ at XmlType(name="ExclusiveGateway")
+public class JAXBExclusiveGateway extends JAXBGateway
+{
+}
\ No newline at end of file
Property changes on: api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBExclusiveGateway.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBExecutionHandler.java
===================================================================
--- api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBExecutionHandler.java (rev 0)
+++ api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBExecutionHandler.java 2008-07-14 14:05:46 UTC (rev 1625)
@@ -0,0 +1,38 @@
+/*
+ * 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.model.internal.jaxb;
+
+//$Id$
+
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * Implement to make the FlowObject executable
+ *
+ * @author thomas.diesler at jboss.com
+ * @since 08-Jul-2008
+ */
+ at XmlType(name = "ExecutionHandler")
+public class JAXBExecutionHandler extends JAXBHandler
+{
+}
\ No newline at end of file
Property changes on: api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBExecutionHandler.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBFlowHandler.java
===================================================================
--- api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBFlowHandler.java (rev 0)
+++ api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBFlowHandler.java 2008-07-14 14:05:46 UTC (rev 1625)
@@ -0,0 +1,38 @@
+/*
+ * 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.model.internal.jaxb;
+
+//$Id$
+
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * Implement to handle the outgoing Flows for an FlowObject
+ *
+ * @author thomas.diesler at jboss.com
+ * @since 08-Jul-2008
+ */
+ at XmlType(name = "FlowHandler")
+public class JAXBFlowHandler extends JAXBHandler
+{
+}
\ No newline at end of file
Property changes on: api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBFlowHandler.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBHandler.java
===================================================================
--- api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBHandler.java (rev 0)
+++ api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBHandler.java 2008-07-14 14:05:46 UTC (rev 1625)
@@ -0,0 +1,89 @@
+/*
+ * 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.model.internal.jaxb;
+
+//$Id$
+
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+import org.jboss.bpm.NotImplementedException;
+
+/**
+ * Implement to handle the outgoing Flows for an FlowObject
+ *
+ * @author thomas.diesler at jboss.com
+ * @since 08-Jul-2008
+ */
+ at XmlType(name = "Handler")
+public abstract class JAXBHandler
+{
+ private String className;
+ private String beanRef;
+
+ public String getClassName()
+ {
+ return className;
+ }
+
+ @XmlAttribute(name = "class", required = false)
+ public void setClassName(String className)
+ {
+ this.className = className;
+ }
+
+ public String getBeanRef()
+ {
+ return beanRef;
+ }
+
+ @XmlAttribute(name = "bean", required = false)
+ public void setBeanRef(String beanRef)
+ {
+ this.beanRef = beanRef;
+ }
+
+ @SuppressWarnings("unchecked")
+ public <T> T newInstance(Class<T> clazz)
+ {
+ try
+ {
+ if (className != null)
+ {
+ ClassLoader ctxLoader = Thread.currentThread().getContextClassLoader();
+ return (T)ctxLoader.loadClass(className).newInstance();
+ }
+ else if (beanRef != null)
+ {
+ throw new NotImplementedException();
+ }
+ else
+ {
+ throw new IllegalStateException("There is no 'class' nor 'bean' attribute set for this handler");
+ }
+ }
+ catch (Exception ex)
+ {
+ throw new IllegalStateException("Cannot instanciate the handler", ex);
+ }
+ }
+}
\ No newline at end of file
Property changes on: api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBHandler.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBInclusiveGateway.java
===================================================================
--- api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBInclusiveGateway.java (rev 0)
+++ api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBInclusiveGateway.java 2008-07-14 14:05:46 UTC (rev 1625)
@@ -0,0 +1,40 @@
+/*
+ * 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.model.internal.jaxb;
+
+import javax.xml.bind.annotation.XmlType;
+
+
+// $Id$
+
+/**
+ * This Decision represents a branching point where Alternatives are based on conditional expressions contained within outgoing Sequence Flow.
+ * However, in this case, the True evaluation of one condition expression does not exclude the evaluation of other condition expressions.
+ * All Sequence Flow with a True evaluation will be traversed by a Token.
+ *
+ * @author thomas.diesler at jboss.com
+ * @since 08-Jul-2008
+ */
+ at XmlType(name="InclusiveGateway")
+public class JAXBInclusiveGateway extends JAXBGateway
+{
+}
\ No newline at end of file
Property changes on: api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBInclusiveGateway.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBMessageFlow.java
===================================================================
--- api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBMessageFlow.java (rev 0)
+++ api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBMessageFlow.java 2008-07-14 14:05:46 UTC (rev 1625)
@@ -0,0 +1,39 @@
+/*
+ * 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.model.internal.jaxb;
+
+//$Id$
+
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * A Sequence Flow is a solid graphical line that is used to show the order that Activities will be performed in a Process.
+ * Each Flow has only one source and only one target.
+ *
+ * @author thomas.diesler at jboss.com
+ * @since 08-Jul-2008
+ */
+ at XmlType(name="MessageFlow")
+public class JAXBMessageFlow extends JAXBFlow
+{
+}
\ No newline at end of file
Property changes on: api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBMessageFlow.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBParallelGateway.java
===================================================================
--- api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBParallelGateway.java (rev 0)
+++ api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBParallelGateway.java 2008-07-14 14:05:46 UTC (rev 1625)
@@ -0,0 +1,38 @@
+/*
+ * 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.model.internal.jaxb;
+
+import javax.xml.bind.annotation.XmlType;
+
+
+// $Id$
+
+/**
+ * Parallel Gateway is required when two or more Activities need to be executed in parallel.
+ *
+ * @author thomas.diesler at jboss.com
+ * @since 08-Jul-2008
+ */
+ at XmlType(name="ParallelGateway")
+public class JAXBParallelGateway extends JAXBGateway
+{
+}
\ No newline at end of file
Property changes on: api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBParallelGateway.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBProcess.java
===================================================================
--- api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBProcess.java (rev 0)
+++ api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBProcess.java 2008-07-14 14:05:46 UTC (rev 1625)
@@ -0,0 +1,64 @@
+/*
+ * 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.model.internal.jaxb;
+
+//$Id$
+
+import java.util.ArrayList;
+import java.util.List;
+
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlElements;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+/**
+ * A Process is any Activity performed within a company or organization.
+ *
+ * @author thomas.diesler at jboss.com
+ * @since 08-Jul-2008
+ */
+ at XmlType(name = "Process")
+ at XmlRootElement(name = "process")
+public class JAXBProcess extends JAXBActivity
+{
+ @XmlElements( {
+ @XmlElement(name = "start", type = JAXBStartEvent.class),
+ @XmlElement(name = "event", type = JAXBIntermediateEvent.class),
+ @XmlElement(name = "task", type = JAXBTask.class),
+ @XmlElement(name = "exclusive-gateway", type = JAXBExclusiveGateway.class),
+ @XmlElement(name = "inclusive-gateway", type = JAXBInclusiveGateway.class),
+ @XmlElement(name = "complex-gateway", type = JAXBComplexGateway.class),
+ @XmlElement(name = "parallel-gateway", type = JAXBParallelGateway.class),
+ @XmlElement(name = "sub-process", type = JAXBSubProcess.class),
+ @XmlElement(name = "end", type = JAXBEndEvent.class)
+ })
+ private List<JAXBFlowObject> flowObjects = new ArrayList<JAXBFlowObject>();
+
+ /**
+ * Get the list of flow objects
+ */
+ public List<JAXBFlowObject> getFlowObjects()
+ {
+ return flowObjects;
+ }
+}
\ No newline at end of file
Property changes on: api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBProcess.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBSequenceFlow.java
===================================================================
--- api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBSequenceFlow.java (rev 0)
+++ api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBSequenceFlow.java 2008-07-14 14:05:46 UTC (rev 1625)
@@ -0,0 +1,39 @@
+/*
+ * 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.model.internal.jaxb;
+
+//$Id$
+
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * A Sequence Flow is a solid graphical line that is used to show the order that Activities will be performed in a Process.
+ * Each Flow has only one source and only one target.
+ *
+ * @author thomas.diesler at jboss.com
+ * @since 08-Jul-2008
+ */
+ at XmlType(name="SequenceFlow")
+public class JAXBSequenceFlow extends JAXBFlow
+{
+}
\ No newline at end of file
Property changes on: api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBSequenceFlow.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBSignalHandler.java
===================================================================
--- api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBSignalHandler.java (rev 0)
+++ api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBSignalHandler.java 2008-07-14 14:05:46 UTC (rev 1625)
@@ -0,0 +1,39 @@
+/*
+ * 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.model.internal.jaxb;
+
+import javax.xml.bind.annotation.XmlType;
+
+
+
+//$Id$
+
+/**
+ * Implement to get signals on enter and exit.
+ *
+ * @author thomas.diesler at jboss.com
+ * @since 08-Jul-2008
+ */
+ at XmlType(name = "SignalHandler")
+public class JAXBSignalHandler extends JAXBHandler
+{
+}
Property changes on: api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/JAXBSignalHandler.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/ObjectFactory.java
===================================================================
--- api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/ObjectFactory.java (rev 0)
+++ api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/ObjectFactory.java 2008-07-14 14:05:46 UTC (rev 1625)
@@ -0,0 +1,131 @@
+//
+// 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.11 at 09:21:08 AM CEST
+//
+
+package org.jboss.bpm.model.internal.jaxb;
+
+import javax.xml.bind.annotation.XmlRegistry;
+
+
+/**
+ * This object contains factory methods for each Java content interface and Java element interface generated in the api.bpm.jboss.org 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
+{
+ /**
+ * Create an instance of {@link ExclusiveGatewayImpl }
+ *
+ */
+ public JAXBExclusiveGateway createExclusiveGateway()
+ {
+ return new JAXBExclusiveGateway();
+ }
+
+ /**
+ * Create an instance of {@link TaskImpl }
+ *
+ */
+ public JAXBTask createTask()
+ {
+ return new JAXBTask();
+ }
+
+ /**
+ * Create an instance of {@link ProcessImpl }
+ *
+ */
+ public JAXBProcess createProcess()
+ {
+ return new JAXBProcess();
+ }
+
+ /**
+ * Create an instance of {@link ParallelGatewayImpl }
+ *
+ */
+ public JAXBParallelGateway createParallelGateway()
+ {
+ return new JAXBParallelGateway();
+ }
+
+ /**
+ * Create an instance of {@link MessageFlowImpl }
+ *
+ */
+ public JAXBMessageFlow createMessageFlow()
+ {
+ return new JAXBMessageFlow();
+ }
+
+ /**
+ * Create an instance of {@link EndEventImpl }
+ *
+ */
+ public JAXBEndEvent createEndEvent()
+ {
+ return new JAXBEndEvent();
+ }
+
+ /**
+ * Create an instance of {@link SubProcessImpl }
+ *
+ */
+ public JAXBSubProcess createSubProcess()
+ {
+ return new JAXBSubProcess();
+ }
+
+ /**
+ * Create an instance of {@link SequenceFlowImpl }
+ *
+ */
+ public JAXBSequenceFlow createSequenceFlow()
+ {
+ return new JAXBSequenceFlow();
+ }
+
+ /**
+ * Create an instance of {@link ComplexGatewayImpl }
+ *
+ */
+ public JAXBComplexGateway createComplexGateway()
+ {
+ return new JAXBComplexGateway();
+ }
+
+ /**
+ * Create an instance of {@link InclusiveGatewayImpl }
+ *
+ */
+ public JAXBInclusiveGateway createInclusiveGateway()
+ {
+ return new JAXBInclusiveGateway();
+ }
+
+ /**
+ * Create an instance of {@link IntermediateEventImpl }
+ *
+ */
+ public JAXBIntermediateEvent createItermediateEvent()
+ {
+ return new JAXBIntermediateEvent();
+ }
+
+ /**
+ * Create an instance of {@link StartEventImpl }
+ *
+ */
+ public JAXBStartEvent createStartEvent()
+ {
+ return new JAXBStartEvent();
+ }
+}
Property changes on: api/branches/tdiesler/modules/api/src/main/java/org/jboss/bpm/model/internal/jaxb/ObjectFactory.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
More information about the jbpm-commits
mailing list