JBoss Tools SVN: r29209 - workspace/bbrodt.
by jbosstools-commits@lists.jboss.org
Author: bbrodt
Date: 2011-02-17 17:24:58 -0500 (Thu, 17 Feb 2011)
New Revision: 29209
Added:
workspace/bbrodt/org.eclipse.bpel.jboss.riftsaw.runtime/
Log:
Initial import.
15 years, 1 month
JBoss Tools SVN: r29208 - workspace/bbrodt.
by jbosstools-commits@lists.jboss.org
Author: bbrodt
Date: 2011-02-17 17:24:19 -0500 (Thu, 17 Feb 2011)
New Revision: 29208
Added:
workspace/bbrodt/org.eclipse.bpel.common.ui/
Log:
Initial import.
15 years, 1 month
JBoss Tools SVN: r29207 - workspace/bbrodt.
by jbosstools-commits@lists.jboss.org
Author: bbrodt
Date: 2011-02-17 17:23:43 -0500 (Thu, 17 Feb 2011)
New Revision: 29207
Added:
workspace/bbrodt/org.eclipse.bpel.common.model/
Log:
Initial import.
15 years, 1 month
JBoss Tools SVN: r29206 - workspace/bbrodt.
by jbosstools-commits@lists.jboss.org
Author: bbrodt
Date: 2011-02-17 17:23:04 -0500 (Thu, 17 Feb 2011)
New Revision: 29206
Added:
workspace/bbrodt/org.eclipse.bpel.cheatsheet/
Log:
Initial import.
15 years, 1 month
JBoss Tools SVN: r29205 - in workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui: META-INF and 14 other directories.
by jbosstools-commits@lists.jboss.org
Author: bbrodt
Date: 2011-02-17 17:22:01 -0500 (Thu, 17 Feb 2011)
New Revision: 29205
Added:
workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/.classpath
workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/.project
workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/META-INF/
workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/META-INF/MANIFEST.MF
workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/build.properties
workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/icons/
workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/icons/obj16/
workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/icons/obj16/checked.gif
workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/icons/obj16/ode.gif
workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/icons/obj16/unchecked.gif
workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/plugin.properties
workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/plugin.xml
workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/
workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/
workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/
workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/
workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/
workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/
workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/
workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/
workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/Activator.java
workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/editors/
workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/editors/ODEDeployMultiPageEditor.java
workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/editors/ODEDeployMultiPageEditorContributor.java
workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/pages/
workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/pages/ProcessPage.java
workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/pages/ServiceCellEditor.java
workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/util/
workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/util/DeployResourceSetImpl.java
workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/util/DeployUtils.java
workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/util/InterfaceTableListener.java
workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/wizards/
workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/wizards/NewODEDeployWizard.java
workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/wizards/ODEDeployWizardPage.java
Modified:
workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/
Log:
Property changes on: workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui
___________________________________________________________________
Added: svn:ignore
+ bin
Added: workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/.classpath
===================================================================
--- workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/.classpath (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/.classpath 2011-02-17 22:22:01 UTC (rev 29205)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Added: workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/.project
===================================================================
--- workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/.project (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/.project 2011-02-17 22:22:01 UTC (rev 29205)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.bpel.apache.ode.deploy.ui</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
+ </natures>
+</projectDescription>
Added: workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/META-INF/MANIFEST.MF
===================================================================
--- workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/META-INF/MANIFEST.MF (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/META-INF/MANIFEST.MF 2011-02-17 22:22:01 UTC (rev 29205)
@@ -0,0 +1,27 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %pluginName
+Bundle-SymbolicName: org.eclipse.bpel.apache.ode.deploy.ui; singleton:=true
+Bundle-Version: 0.6.0.qualifier
+Bundle-Activator: org.eclipse.bpel.apache.ode.deploy.ui.Activator
+Require-Bundle: org.eclipse.ui;bundle-version="[3.4.0,4.0.0)",
+ org.eclipse.core.runtime;bundle-version="[3.4.0,4.0.0)",
+ org.eclipse.jface.text;bundle-version="[3.4.0,4.0.0)",
+ org.eclipse.core.resources;bundle-version="[3.4.0,4.0.0)",
+ org.eclipse.ui.editors;bundle-version="[3.4.0,4.0.0)",
+ org.eclipse.ui.ide;bundle-version="[3.4.0,4.0.0)",
+ org.eclipse.ui.forms;bundle-version="[3.3.100,4.0.0)",
+ org.eclipse.bpel.apache.ode.deploy.model;bundle-version="[0.4.0,2.0.0)",
+ org.eclipse.bpel.model;bundle-version="[0.4.0,2.0.0)",
+ org.eclipse.wst.wsdl,
+ org.eclipse.xsd;bundle-version="[2.4.0,3.0.0)",
+ javax.wsdl;bundle-version="[1.5.0,1.6.0)",
+ org.eclipse.core.databinding;bundle-version="[1.1.0,2.0.0)",
+ org.eclipse.jface.databinding,
+ org.eclipse.emf.edit.ui;bundle-version="[2.4.0,3.0.0)",
+ org.eclipse.bpel.ui;bundle-version="[0.4.0,2.0.0)",
+ org.eclipse.jdt.core;bundle-version="[3.5.0,4.0.0)",
+ org.eclipse.wst.common.modulecore
+Bundle-ActivationPolicy: lazy
+Bundle-Vendor: %providerName
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
Added: workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/build.properties
===================================================================
--- workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/build.properties (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/build.properties 2011-02-17 22:22:01 UTC (rev 29205)
@@ -0,0 +1,6 @@
+source.. = src/
+output.. = bin/
+bin.includes = plugin.xml,\
+ META-INF/,\
+ .,\
+ icons/
Added: workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/icons/obj16/checked.gif
===================================================================
(Binary files differ)
Property changes on: workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/icons/obj16/checked.gif
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/icons/obj16/ode.gif
===================================================================
(Binary files differ)
Property changes on: workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/icons/obj16/ode.gif
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/icons/obj16/unchecked.gif
===================================================================
(Binary files differ)
Property changes on: workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/icons/obj16/unchecked.gif
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/plugin.properties
===================================================================
--- workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/plugin.properties (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/plugin.properties 2011-02-17 22:22:01 UTC (rev 29205)
@@ -0,0 +1,30 @@
+###############################################################################
+# Copyright (c) 2010 JBoss by Red Hat and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+# JBoss by Red Hat - subsequent contributions and maintenance
+###############################################################################
+# <copyright>
+# </copyright>
+#
+# $Id: plugin.properties,v 1.1 2008/08/12 17:27:58 smoser Exp $
+
+# ====================================================================
+# To code developer:
+# Do NOT change the properties between this line and the
+# "%%% END OF TRANSLATED PROPERTIES %%%" line.
+# Make a new property name, append to the end of the file and change
+# the code to use the new property.
+# ====================================================================
+
+# ====================================================================
+# %%% END OF TRANSLATED PROPERTIES %%%
+# ====================================================================
+
+pluginName = ODE Deploy Descriptor UI Plug-in
+providerName = JBoss by Red Hat
Added: workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/plugin.xml
===================================================================
--- workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/plugin.xml (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/plugin.xml 2011-02-17 22:22:01 UTC (rev 29205)
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.2"?>
+<plugin>
+
+ <extension
+ point="org.eclipse.ui.editors">
+ <editor
+ class="org.eclipse.bpel.apache.ode.deploy.ui.editors.ODEDeployMultiPageEditor"
+ contributorClass="org.eclipse.bpel.apache.ode.deploy.ui.editors.ODEDeployMultiPageEditorContributor"
+ filenames="bpel-deploy.xml,deploy.xml"
+ icon="icons/obj16/ode.gif"
+ id="org.eclipse.bpel.apache.ode.deploy.ui.editors.ODEDeployMultiPageEditor"
+ name="ODE Deployment Descriptor Editor">
+ <contentTypeBinding
+ contentTypeId="org.eclipse.bpel.apache.ode.deploy.ui.content-type">
+ </contentTypeBinding>
+ </editor>
+ </extension>
+
+ <extension
+ point="org.eclipse.ui.newWizards">
+ <wizard
+ name="Apache ODE Deployment Descriptor"
+ icon="icons/obj16/ode.gif"
+ category="org.eclipse.bpel.wizards"
+ class="org.eclipse.bpel.apache.ode.deploy.ui.wizards.NewODEDeployWizard"
+ id="org.eclipse.bpel.apache.ode.deploy.ui.wizards.NewODEDeployWizard">
+ </wizard>
+ </extension>
+ <extension
+ point="org.eclipse.core.runtime.contentTypes">
+ <content-type
+ base-type="org.eclipse.core.runtime.xml"
+ default-charset="UTF-8"
+ file-names="deploy.xml,bpel-deploy.xml"
+ id="org.eclipse.bpel.apache.ode.deploy.ui.content-type"
+ name="ODE BPEL Deployment Descriptor"
+ priority="normal">
+ </content-type>
+ </extension>
+ <extension
+ point="org.eclipse.ui.decorators">
+ <decorator
+ adaptable="true"
+ icon="icons/obj16/ode.gif"
+ id="org.eclipse.bpel.apache.ode.deploy.ui.icondecorator"
+ label="ODE DD Resource Decorator"
+ lightweight="true"
+ location="TOP_LEFT"
+ state="true">
+ <enablement>
+ <and>
+ <objectClass
+ name="org.eclipse.core.resources.IFile">
+ </objectClass>
+ <objectState
+ name="contentTypeId"
+ value="org.eclipse.bpel.apache.ode.deploy.ui.content-type">
+ </objectState>
+ </and>
+ </enablement>
+ </decorator>
+ </extension>
+
+</plugin>
Added: workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/Activator.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/Activator.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/Activator.java 2011-02-17 22:22:01 UTC (rev 29205)
@@ -0,0 +1,94 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.ui;
+
+import org.eclipse.jface.resource.ImageDescriptor;
+import org.eclipse.jface.resource.ImageRegistry;
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ *
+ * @author Tammo van Lessen (IAAS)
+ * @author Simon Moser (IBM)
+ */
+public class Activator extends AbstractUIPlugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "org.eclipse.bpel.apache.ode.deploy.ui"; //$NON-NLS-1$
+
+ // The editor ID
+ public static final String EDITOR_ID = "org.eclipse.bpel.apache.ode.deploy.ui.editors.ODEDeployMultiPageEditor"; //$NON-NLS-1$
+
+ // The shared instance
+ private static Activator plugin;
+
+ // shared images
+ public static final String IMG_ODE = "ode16"; //$NON-NLS-1$
+ public static final String IMG_CHECKED = "checked"; //$NON-NLS-1$
+ public static final String IMG_UNCHECKED = "unchecked"; //$NON-NLS-1$
+
+ /**
+ * The constructor
+ */
+ public Activator() {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static Activator getDefault() {
+ return plugin;
+ }
+
+ /**
+ * Returns an image descriptor for the image file at the given
+ * plug-in relative path
+ *
+ * @param path the path
+ * @return the image descriptor
+ */
+ public static ImageDescriptor getImageDescriptor(String path) {
+ return imageDescriptorFromPlugin(PLUGIN_ID, path);
+ }
+
+ @Override
+ protected void initializeImageRegistry(ImageRegistry reg) {
+ super.initializeImageRegistry(reg);
+ reg.put(IMG_ODE, getImageDescriptor("icons/obj16/ode.gif")); //$NON-NLS-1$
+ reg.put(IMG_CHECKED, getImageDescriptor("icons/obj16/checked.gif")); //$NON-NLS-1$
+ reg.put(IMG_UNCHECKED, getImageDescriptor("icons/obj16/unchecked.gif")); //$NON-NLS-1$
+ }
+
+
+}
Added: workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/editors/ODEDeployMultiPageEditor.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/editors/ODEDeployMultiPageEditor.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/editors/ODEDeployMultiPageEditor.java 2011-02-17 22:22:01 UTC (rev 29205)
@@ -0,0 +1,282 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.ui.editors;
+
+import java.io.IOException;
+import java.util.Collections;
+import java.util.EventObject;
+import java.util.HashMap;
+import java.util.Hashtable;
+import java.util.Vector;
+
+import org.eclipse.bpel.apache.ode.deploy.model.dd.DocumentRoot;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.TDeployment;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.util.ddResourceFactoryImpl;
+import org.eclipse.bpel.apache.ode.deploy.ui.pages.ProcessPage;
+import org.eclipse.bpel.apache.ode.deploy.ui.util.DeployUtils;
+import org.eclipse.bpel.model.BPELFactory;
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.resources.IResourceVisitor;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.emf.common.command.BasicCommandStack;
+import org.eclipse.emf.common.command.CommandStackListener;
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.common.util.URI;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.resource.Resource;
+import org.eclipse.emf.edit.domain.AdapterFactoryEditingDomain;
+import org.eclipse.emf.edit.domain.EditingDomain;
+import org.eclipse.emf.edit.domain.IEditingDomainProvider;
+import org.eclipse.emf.edit.provider.ComposedAdapterFactory;
+import org.eclipse.emf.edit.ui.util.EditUIUtil;
+import org.eclipse.ui.IEditorInput;
+import org.eclipse.ui.IEditorPart;
+import org.eclipse.ui.IEditorSite;
+import org.eclipse.ui.IFileEditorInput;
+import org.eclipse.ui.PartInitException;
+import org.eclipse.ui.forms.editor.FormEditor;
+
+/**
+ * A multipage editor for Apache ODE deployment descriptors.
+ *
+ * @author Tammo van Lessen (IAAS)
+ * @author Simon Moser (IBM)
+ */
+public class ODEDeployMultiPageEditor extends FormEditor implements
+ IEditingDomainProvider {
+
+ // Display this in title if no BPEL process files are found in current directory
+ private final static String NO_PROCESSES_FOUND = " *** No Processes Found *** ";
+ private boolean readOnly = false;
+ // https://jira.jboss.org/jira/browse/JBIDE-6230
+ // if BPEL processes were added or deleted, DD model is not in sync and needs to be saved
+ private boolean modelInSync = true;
+ protected TDeployment deployDescriptor = null;
+
+ protected AdapterFactoryEditingDomain editingDomain;
+ protected ComposedAdapterFactory adapterFactory;
+
+ /**
+ * Creates a multi-page editor example.
+ */
+ public ODEDeployMultiPageEditor() {
+ super();
+ initializeEditingDomain();
+ }
+
+ /**
+ * Saves the deployment descriptor
+ */
+ public void doSave(IProgressMonitor monitor) {
+ commitPages(true);
+ saveDeploymentDescriptor();
+ ((BasicCommandStack) editingDomain.getCommandStack()).saveIsDone();
+ modelInSync = true;
+ firePropertyChange(IEditorPart.PROP_DIRTY);
+ }
+
+ /**
+ * SaveAs is not supported.
+ */
+ public void doSaveAs() {
+ throw new UnsupportedOperationException("SaveAs is not allowed."); //$NON-NLS-1$
+ }
+
+ /**
+ * The implementation of this method checks that the input is an instance of
+ * <code>IFileEditorInput</code> and creates the data model.
+ */
+ public void init(IEditorSite site, IEditorInput editorInput)
+ throws PartInitException {
+ super.init(site, editorInput);
+ setPartName(editorInput.getName());
+
+ if (!(editorInput instanceof IFileEditorInput)) {
+ throw new PartInitException(
+ "Invalid Input: Must be IFileEditorInput"); //$NON-NLS-1$
+ }
+
+ createModel();
+ }
+
+ public boolean isSaveAsAllowed() {
+ return false;
+ }
+
+ public void saveDeploymentDescriptor() {
+ try {
+ // https://jira.jboss.org/jira/browse/JBIDE-6006
+ // editor will be "read only" if there are no BPEL resources to process
+ if (!readOnly)
+ deployDescriptor.eResource().save(null);
+ } catch (IOException e1) {
+ e1.printStackTrace();
+ }
+ }
+
+ protected org.eclipse.bpel.model.Process loadBPEL(IFile bpelFile) {
+ IPath fullProcessPath = bpelFile.getFullPath();
+ URI uri = URI.createPlatformResourceURI(fullProcessPath.toString(), false);
+ Resource bpelResource = editingDomain.getResourceSet().getResource(uri, true);
+
+ try {
+ bpelResource.load(Collections.EMPTY_MAP);
+ EList<EObject> contents = bpelResource.getContents();
+ if (!contents.isEmpty()) {
+ return (org.eclipse.bpel.model.Process) contents.get(0);
+ }
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+
+ return null;
+
+ }
+
+ @Override
+ protected void addPages() {
+ try {
+ for (ProcessType pt : deployDescriptor.getProcess()) {
+ addPage(new ProcessPage(this, pt));
+ }
+ } catch (PartInitException e) {
+ // ~
+ }
+ }
+
+ public TDeployment getDeploymentModel() {
+ return deployDescriptor;
+ }
+
+ protected void initializeEditingDomain() {
+ adapterFactory = new ComposedAdapterFactory(
+ ComposedAdapterFactory.Descriptor.Registry.INSTANCE);
+
+ // Create the command stack that will notify this editor as commands are
+ // executed.
+ BasicCommandStack commandStack = new BasicCommandStack();
+
+ // Add a listener to set the most recent command's affected objects to
+ // be the selection of the viewer with focus.
+ commandStack.addCommandStackListener(new CommandStackListener() {
+ public void commandStackChanged(final EventObject event) {
+ getContainer().getDisplay().asyncExec(new Runnable() {
+ public void run() {
+ editorDirtyStateChanged();
+ }
+ });
+ }
+ });
+
+ // Create the editing domain with a special command stack.
+ editingDomain = new AdapterFactoryEditingDomain(adapterFactory,
+ commandStack, new HashMap<Resource, Boolean>());
+ }
+
+ public EditingDomain getEditingDomain() {
+ return editingDomain;
+ }
+
+ @Override
+ public boolean isDirty() {
+ return !readOnly &&
+ (
+ ((BasicCommandStack) editingDomain.getCommandStack()).isSaveNeeded() ||
+ !modelInSync
+ );
+ }
+
+ @Override
+ public void setFocus() {
+ if (getActivePage() != -1 && getControl(getActivePage()) != null) {
+ getControl(getActivePage()).setFocus();
+ }
+ }
+
+ protected void createModel() throws PartInitException {
+ URI resourceURI = EditUIUtil.getURI(getEditorInput());
+ Resource resource = null;
+
+ ddResourceFactoryImpl fac = new ddResourceFactoryImpl();
+ resource = fac.createResource(resourceURI);
+ editingDomain.getResourceSet().getResources().add(resource);
+ try {
+ resource.load(Collections.EMPTY_MAP);
+
+ EList<EObject> contents = resource.getContents();
+ if (!contents.isEmpty() && contents.get(0) instanceof DocumentRoot) {
+ deployDescriptor = ((DocumentRoot) contents.get(0)).getDeploy();
+
+ populateModel();
+ }
+ } catch (CoreException e) {
+ throw new PartInitException(e.getStatus());
+ } catch (IOException e) {
+ throw new PartInitException(e.getMessage(), e);
+ }
+ if (deployDescriptor.getProcess().isEmpty()) {
+ // https://jira.jboss.org/jira/browse/JBIDE-6006
+ // add a process stub to DD so the editor doesn't crash
+ org.eclipse.bpel.model.Process p = BPELFactory.eINSTANCE.createProcess();
+ p.setName(NO_PROCESSES_FOUND);
+ ProcessType pt = DeployUtils.createProcessStub(p);
+ deployDescriptor.getProcess().add(pt);
+ // set model
+ pt.setModel(p);
+ readOnly = true; // can't save editor anyway
+ modelInSync = true; // so it might as well be in sync
+ }
+ }
+
+ public void populateModel() throws CoreException {
+ final Vector<ProcessType> processesFound = new Vector<ProcessType>();
+ ((IFileEditorInput) getEditorInput()).getFile().getProject().accept(new IResourceVisitor() {
+ public boolean visit(IResource bpelfile) throws CoreException {
+ // https://jira.jboss.org/jira/browse/JBIDE-6006
+ if (DeployUtils.isBPELFile(bpelfile)) {
+ org.eclipse.bpel.model.Process p = DeployUtils.loadBPEL((IFile) bpelfile, editingDomain.getResourceSet());
+ if (p != null) {
+ // add process to DD unless it is not already there.
+ ProcessType pt = DeployUtils.findProcessTypeInDD(p, deployDescriptor);
+ if (pt == null) {
+ pt = DeployUtils.createProcessStub(p);
+ deployDescriptor.getProcess().add(pt);
+ modelInSync = false; // need to do a save
+ }
+ // set model
+ pt.setModel(p);
+ processesFound.add(pt);
+ }
+ }
+ return true;
+ }
+ });
+ // https://jira.jboss.org/jira/browse/JBIDE-6230
+ // figure out which BPEL processes are missing from the workspace
+ // and remove them from the DD model
+ Vector<ProcessType> processesToDelete = new Vector<ProcessType>();
+ for(ProcessType pt : deployDescriptor.getProcess())
+ {
+ if (!processesFound.contains(pt))
+ processesToDelete.add(pt);
+ }
+ if ( processesToDelete.size()>0)
+ {
+ deployDescriptor.getProcess().removeAll(processesToDelete);
+ modelInSync = false; // need to do a save
+ }
+ }
+}
Added: workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/editors/ODEDeployMultiPageEditorContributor.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/editors/ODEDeployMultiPageEditorContributor.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/editors/ODEDeployMultiPageEditorContributor.java 2011-02-17 22:22:01 UTC (rev 29205)
@@ -0,0 +1,41 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.ui.editors;
+
+import org.eclipse.emf.edit.ui.action.EditingDomainActionBarContributor;
+import org.eclipse.jface.action.IMenuManager;
+import org.eclipse.jface.action.IToolBarManager;
+
+/**
+ * No-op editor contributor
+ * @author Tammo van Lessen (IAAS)
+ * @author Simon Moser (IBM)
+ */
+public class ODEDeployMultiPageEditorContributor extends EditingDomainActionBarContributor {
+
+ public ODEDeployMultiPageEditorContributor() {
+ super();
+ createActions();
+ }
+
+ private void createActions() {
+ // new actions go here
+ }
+
+ public void contributeToMenu(IMenuManager manager) {
+ // contribute here
+ }
+
+ public void contributeToToolBar(IToolBarManager manager) {
+ // contribute here
+ }
+}
Added: workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/pages/ProcessPage.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/pages/ProcessPage.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/pages/ProcessPage.java 2011-02-17 22:22:01 UTC (rev 29205)
@@ -0,0 +1,1007 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.ui.pages;
+
+import java.text.MessageFormat;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+
+import javax.wsdl.Binding;
+import javax.xml.namespace.QName;
+
+import org.eclipse.bpel.apache.ode.deploy.model.dd.GenerateType;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.TInvoke;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.TProcessEvents;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.TProvide;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.TScopeEvents;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.TService;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.ddFactory;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage;
+import org.eclipse.bpel.apache.ode.deploy.ui.Activator;
+import org.eclipse.bpel.apache.ode.deploy.ui.editors.ODEDeployMultiPageEditor;
+import org.eclipse.bpel.apache.ode.deploy.ui.util.DeployResourceSetImpl;
+import org.eclipse.bpel.apache.ode.deploy.ui.util.DeployUtils;
+import org.eclipse.bpel.model.BPELFactory;
+import org.eclipse.bpel.model.PartnerLink;
+import org.eclipse.bpel.model.PartnerLinks;
+import org.eclipse.bpel.model.Process;
+import org.eclipse.bpel.model.Scope;
+import org.eclipse.bpel.ui.BPELMultipageEditorPart;
+import org.eclipse.bpel.ui.BPELUIPlugin;
+import org.eclipse.bpel.ui.IBPELUIConstants;
+import org.eclipse.bpel.ui.util.BPELUtil;
+import org.eclipse.bpel.ui.util.IModelVisitor;
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.resources.IResourceChangeEvent;
+import org.eclipse.core.resources.IResourceChangeListener;
+import org.eclipse.core.resources.IResourceDelta;
+import org.eclipse.core.resources.IResourceDeltaVisitor;
+import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.emf.common.command.Command;
+import org.eclipse.emf.common.command.CompoundCommand;
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.common.util.URI;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.resource.ResourceSet;
+import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
+import org.eclipse.emf.edit.command.AddCommand;
+import org.eclipse.emf.edit.command.RemoveCommand;
+import org.eclipse.emf.edit.command.SetCommand;
+import org.eclipse.emf.edit.domain.EditingDomain;
+import org.eclipse.jface.dialogs.Dialog;
+import org.eclipse.jface.dialogs.IMessageProvider;
+import org.eclipse.jface.viewers.ArrayContentProvider;
+import org.eclipse.jface.viewers.CellEditor;
+import org.eclipse.jface.viewers.CheckboxCellEditor;
+import org.eclipse.jface.viewers.CheckboxTableViewer;
+import org.eclipse.jface.viewers.ColumnLabelProvider;
+import org.eclipse.jface.viewers.EditingSupport;
+import org.eclipse.jface.viewers.ICellModifier;
+import org.eclipse.jface.viewers.ISelectionChangedListener;
+import org.eclipse.jface.viewers.IStructuredContentProvider;
+import org.eclipse.jface.viewers.ITableLabelProvider;
+import org.eclipse.jface.viewers.LabelProvider;
+import org.eclipse.jface.viewers.OwnerDrawLabelProvider;
+import org.eclipse.jface.viewers.SelectionChangedEvent;
+import org.eclipse.jface.viewers.TableViewer;
+import org.eclipse.jface.viewers.TableViewerColumn;
+import org.eclipse.jface.viewers.Viewer;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.events.SelectionAdapter;
+import org.eclipse.swt.events.SelectionEvent;
+import org.eclipse.swt.graphics.Image;
+import org.eclipse.swt.graphics.Rectangle;
+import org.eclipse.swt.layout.GridData;
+import org.eclipse.swt.layout.GridLayout;
+import org.eclipse.swt.layout.RowLayout;
+import org.eclipse.swt.widgets.Button;
+import org.eclipse.swt.widgets.Combo;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Display;
+import org.eclipse.swt.widgets.Event;
+import org.eclipse.swt.widgets.Item;
+import org.eclipse.swt.widgets.Table;
+import org.eclipse.swt.widgets.TableColumn;
+import org.eclipse.swt.widgets.TableItem;
+import org.eclipse.ui.IFileEditorInput;
+import org.eclipse.ui.forms.IManagedForm;
+import org.eclipse.ui.forms.SectionPart;
+import org.eclipse.ui.forms.editor.FormEditor;
+import org.eclipse.ui.forms.editor.FormPage;
+import org.eclipse.ui.forms.events.HyperlinkAdapter;
+import org.eclipse.ui.forms.events.HyperlinkEvent;
+import org.eclipse.ui.forms.widgets.Form;
+import org.eclipse.ui.forms.widgets.FormToolkit;
+import org.eclipse.ui.forms.widgets.ScrolledForm;
+import org.eclipse.ui.forms.widgets.Section;
+import org.eclipse.wst.wsdl.Port;
+import org.eclipse.wst.wsdl.Service;
+
+/**
+ * Main process page, renders UI for all relevant deployment settings.
+ *
+ * @author Simon Moser (IBM)
+ * @author Tammo van Lessen (IAAS)
+ */
+public class ProcessPage extends FormPage implements IResourceChangeListener {
+ public static final int PARTNER_LINK_COLUMN = 0;
+ public static final int PORT_COLUMN = 1;
+ public static final int SERVICE_COLUMN = 2;
+ public static final int BINDING_COLUMN = 3;
+
+ public static final String INSTANCE_LIFECYCLE_NAME = "instanceLifecycle"; //$NON-NLS-1$
+ public static final String ACTIVITY_LIFECYCLE_NAME = "activityLifecycle"; //$NON-NLS-1$
+ public static final String DATA_HANDLING_NAME = "dataHandling"; //$NON-NLS-1$
+ public static final String SCOPE_HANDLING_NAME = "scopeHandling"; //$NON-NLS-1$
+ public static final String CORRELATION_NAME = "correlation"; //$NON-NLS-1$
+
+ public static final String[] PROCESS_STATUS = new String[] {"activated", "deactivated", "retired"};
+ public static final int STATUS_ACTIVATED = 0;
+ public static final int STATUS_DEACTIVATED = 1;
+ public static final int STATUS_RETIRED = 2;
+
+ public static final Map<String, String> eventNameById = new HashMap<String, String>();
+ static {
+ eventNameById.put(INSTANCE_LIFECYCLE_NAME, "Instance life cycle");
+ eventNameById.put(ACTIVITY_LIFECYCLE_NAME, "Activity life cycle");
+ eventNameById.put(DATA_HANDLING_NAME, "Data handling");
+ eventNameById.put(SCOPE_HANDLING_NAME, "Scope handling");
+ eventNameById.put(CORRELATION_NAME, "Correlation");
+ }
+
+ protected ODEDeployMultiPageEditor editor;
+ protected ProcessType processType;
+ protected FormToolkit toolkit;
+ private EditingDomain domain;
+ private TableViewer scopeTableViewer;
+ private Form mainform;
+ // https://jira.jboss.org/browse/JBIDE-6786
+ // we will manage this for ServiceCellEditor and PortTypeLabelProvider
+ private ResourceSetImpl resourceSet = null;
+
+ public ProcessPage(FormEditor editor, ProcessType pt) {
+ super(editor, "ODED" + pt.getName().toString(), pt.getName().getLocalPart()); //$NON-NLS-1$
+ this.processType = pt;
+ this.editor = (ODEDeployMultiPageEditor)editor;
+
+ ResourcesPlugin.getWorkspace().addResourceChangeListener(this, IResourceChangeEvent.POST_CHANGE);
+
+ this.domain = this.editor.getEditingDomain();
+ // https://jira.jboss.org/browse/JBIDE-6786
+ resourceSet = new DeployResourceSetImpl();
+ }
+
+ @Override
+ protected void createFormContent(IManagedForm managedForm) {
+ toolkit = managedForm.getToolkit();
+ ScrolledForm form = managedForm.getForm();
+ form.setText(MessageFormat.format("Process {0} - {1}", processType.getName().getLocalPart(), processType.getName().getNamespaceURI()));
+ toolkit.decorateFormHeading(form.getForm());
+ mainform = form.getForm();
+ mainform.addMessageHyperlinkListener(new HyperlinkAdapter() {
+ @Override
+ public void linkActivated(HyperlinkEvent e) {
+ refreshModel();
+ }
+
+ });
+
+ form.setImage(BPELUIPlugin.INSTANCE.getImage(IBPELUIConstants.ICON_PROCESS_32));
+
+ RowLayout layout = new RowLayout();
+ layout.wrap = false;
+ layout.pack = true;
+ layout.justify = false;
+ layout.fill = true;
+ layout.type = SWT.VERTICAL;
+ layout.marginLeft = 5;
+ layout.marginTop = 5;
+ layout.marginRight = 5;
+ layout.marginBottom = 5;
+ layout.spacing = 5;
+
+ form.getBody().setLayout(layout);
+ Dialog.applyDialogFont(form.getBody());
+
+ Composite client = createSection(form.getBody(), "General", null, 1);
+
+ final Composite statusArea = new Composite(client, SWT.NONE);
+ statusArea.setLayout(new GridLayout(2, false));
+ toolkit.createLabel(statusArea, "This process is ");
+ final Combo comboStatus = new Combo(statusArea, SWT.READ_ONLY);
+ toolkit.adapt(comboStatus);
+ comboStatus.setItems(PROCESS_STATUS);
+ if (processType.isActive()) {
+ comboStatus.select(STATUS_ACTIVATED);
+ } else {
+ if (processType.isRetired()) {
+ comboStatus.select(STATUS_RETIRED);
+ } else {
+ comboStatus.select(STATUS_DEACTIVATED);
+ }
+ }
+ comboStatus.addSelectionListener(new SelectionAdapter() {
+
+ @Override
+ public void widgetSelected(SelectionEvent e) {
+ Command setActiveCommand = SetCommand.create(domain, processType, ddPackage.eINSTANCE.getProcessType_Active(), comboStatus.getSelectionIndex() == STATUS_ACTIVATED);
+ Command setRetiredCommand = SetCommand.create(domain, processType, ddPackage.eINSTANCE.getProcessType_Retired(), comboStatus.getSelectionIndex() == STATUS_RETIRED);
+ CompoundCommand compoundCommand = new CompoundCommand();
+ compoundCommand.append(setActiveCommand);
+ compoundCommand.append(setRetiredCommand);
+ domain.getCommandStack().execute(compoundCommand);
+ }
+ });
+
+ final Button btnRunInMemory = toolkit.createButton(client, "Run this process in memory", SWT.CHECK);
+ btnRunInMemory.setToolTipText("Define a process as being executed only in-memory. This gives better performance, but the processes cannot be queried by using the ODE Management API.");
+ btnRunInMemory.setSelection(processType.isInMemory());
+ btnRunInMemory.addSelectionListener(new SelectionAdapter() {
+
+ @Override
+ public void widgetSelected(SelectionEvent e) {
+ Command setInMemoryCommand = SetCommand.create(domain, processType, ddPackage.eINSTANCE.getProcessType_InMemory(), btnRunInMemory.getSelection());
+ domain.getCommandStack().execute(setInMemoryCommand);
+ }
+
+ });
+
+ String serviceDescription = "The table contains interfaces the process provides. Specify the service, port and binding you want to use for each PartnerLink listed";
+ createInterfaceWidget(form.getBody(), processType, managedForm, "Inbound Interfaces (Services)", serviceDescription, true);
+ String invokeDescription = "The table contains interfaces the process invokes. Specify the service, port and binding you want to use for each PartnerLink listed";
+ createInterfaceWidget(form.getBody(), processType, managedForm, "Outbound Interfaces (Invokes)", invokeDescription, false);
+
+ createProcessMonitoringSection(form.getBody());
+ createScopeMonitoringSection(form.getBody());
+
+ form.reflow(true);
+ }
+
+ private void createInterfaceWidget(Composite fClient, ProcessType current, final IManagedForm managedForm, String title, String description, boolean isInbound) {
+
+ // Set column names
+ String[] columnNames = new String[] {
+ //"Partner Link (click on entry to open definition)",
+ "Partner Link",
+ "Associated Port",
+ "Related Service",
+ "Binding Used"
+ };
+
+ Section section = toolkit.createSection(fClient, Section.TWISTIE | Section.EXPANDED | Section.DESCRIPTION | Section.TITLE_BAR);
+ section.setText(title);
+ section.setDescription(description);
+ section.marginHeight = 5;
+
+ Composite client = toolkit.createComposite(section, SWT.WRAP);
+ GridLayout layout = new GridLayout();
+ layout.marginWidth = 2;
+ layout.marginHeight = 2;
+ client.setLayout(layout);
+ final Table t = toolkit.createTable(client, SWT.SINGLE | SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL | SWT.FULL_SELECTION | SWT.HIDE_SELECTION);
+
+ TableColumn tc1 = new TableColumn(t, SWT.CENTER);
+ tc1.setText(columnNames[0]);
+
+ TableColumn tc2 = new TableColumn(t, SWT.CENTER);
+ tc2.setText(columnNames[1]);
+
+ TableColumn tc3 = new TableColumn(t, SWT.CENTER);
+ tc3.setText(columnNames[2]);
+
+ TableColumn tc4 = new TableColumn(t, SWT.CENTER);
+ tc4.setText(columnNames[3]);
+
+ t.setHeaderVisible(true);
+ t.setLinesVisible(true);
+
+ GridData gd = new GridData(GridData.FILL_BOTH);
+ t.setLayoutData(gd);
+ toolkit.paintBordersFor(client);
+
+ section.setClient(client);
+ final SectionPart spart = new SectionPart(section);
+ managedForm.addPart(spart);
+
+
+ URI deployDescriptorURI = current.eResource().getURI();
+ IFile ddFile = DeployUtils.getIFileForURI(deployDescriptorURI);
+
+ TableViewer viewer = new TableViewer(t);
+ viewer.setUseHashlookup(true);
+ viewer.setColumnProperties(columnNames);
+ viewer.setContentProvider(new PortTypeContentProvider(isInbound));
+ // https://jira.jboss.org/browse/JBIDE-6786
+ viewer.setLabelProvider(new PortTypeLabelProvider(ddFile.getProject(), resourceSet));
+ viewer.setInput(current);
+
+ for (int i = 0, n = t.getColumnCount(); i < n; i++) {
+ t.getColumn(i).pack();
+ }
+
+ // Create the cell editors
+ CellEditor[] editors = new CellEditor[columnNames.length];
+
+ // TODO: Column 1 : HyperLink Listener
+// final TableEditor editor = new TableEditor(t);
+// editor.horizontalAlignment = SWT.LEFT;
+// editor.grabHorizontal = true;
+// IWorkbenchPage wbPage= getEditor().getSite().getPage();
+// InterfaceTableListener tableListener = new InterfaceTableListener(current, t, editor, toolkit, wbPage, isInbound);
+// t.addListener(SWT.MouseDown, tableListener);
+
+ // Column 2 : Associate Service (ComboBox)
+ // https://jira.jboss.org/browse/JBIDE-6786
+ ServiceCellEditor sCellEditor = new ServiceCellEditor(t, ddFile.getProject(), resourceSet);
+ editors[1] = sCellEditor;
+
+ // Assign the cell editors to the viewer
+ viewer.setCellEditors(editors);
+
+ // Set the cell modifier for the viewer
+ viewer.setCellModifier(new InterfaceWidgetCellModifier(viewer, columnNames));
+
+ }
+
+
+ class InterfaceWidgetCellModifier implements ICellModifier {
+ private Viewer viewer;
+ private String[] columnNames;
+
+ public InterfaceWidgetCellModifier(Viewer viewer, String[] columnNames) {
+ this.viewer = viewer;
+ this.columnNames = columnNames;
+ }
+
+ public boolean canModify(Object element, String property) {
+ if (property.equals(columnNames[1])) {
+ return true;
+ }
+ return false;
+ }
+
+ public Object getValue(Object element, String property) {
+ if (!property.equals(columnNames[1])) {
+ return null;
+ }
+ if (element instanceof TProvide) {
+ TProvide provide = (TProvide) element;
+ return provide.getService();
+ }
+ else if (element instanceof TInvoke) {
+ TInvoke invoke = (TInvoke) element;
+ return invoke.getService();
+ }
+ else {
+ return null;
+ }
+
+ }
+
+ public void modify(Object element, String property, Object value) {
+ assert element instanceof Item;
+ if (!property.equals(columnNames[1])) {
+ return;
+ }
+
+ Item item = (Item) element;
+ Object o = item.getData();
+ if (o instanceof TProvide) {
+ TProvide provide = (TProvide) o;
+
+ TService service = provide.getService();
+ if (service == null) {
+ service = ddFactory.eINSTANCE.createTService();
+ provide.setService(service);
+ }
+
+ if (value == null) {
+ Command unsetServiceCommand = SetCommand.create(domain, service, ddPackage.eINSTANCE.getTService_Name(), SetCommand.UNSET_VALUE);
+ Command unsetPortCommand = SetCommand.create(domain, service, ddPackage.eINSTANCE.getTService_Port(), SetCommand.UNSET_VALUE);
+ CompoundCommand compoundCommand = new CompoundCommand();
+ compoundCommand.append(unsetServiceCommand);
+ compoundCommand.append(unsetPortCommand);
+ domain.getCommandStack().execute(compoundCommand);
+ }
+ else {
+ Port port = (Port) value;
+ String portName = port.getName();
+
+ Command setPortCommand = SetCommand.create(domain, service, ddPackage.eINSTANCE.getTService_Port(), portName);
+
+ Service wsdlService = (Service) port.eContainer();
+ QName qname = wsdlService.getQName();
+ Command setServiceCommand = SetCommand.create(domain, service, ddPackage.eINSTANCE.getTService_Name(), qname);
+
+
+ CompoundCommand compoundCommand = new CompoundCommand();
+ compoundCommand.append(setServiceCommand);
+ compoundCommand.append(setPortCommand);
+
+ domain.getCommandStack().execute(compoundCommand);
+ }
+ }
+ else if (o instanceof TInvoke) {
+ TInvoke invoke = (TInvoke) o;
+
+ TService service = invoke.getService();
+ if (service == null) {
+ service = ddFactory.eINSTANCE.createTService();
+ invoke.setService(service);
+ }
+
+ if (value == null) {
+ Command unsetServiceCommand = SetCommand.create(domain, service, ddPackage.eINSTANCE.getTService_Name(), SetCommand.UNSET_VALUE);
+ Command unsetPortCommand = SetCommand.create(domain, service, ddPackage.eINSTANCE.getTService_Port(), SetCommand.UNSET_VALUE);
+ CompoundCommand compoundCommand = new CompoundCommand();
+ compoundCommand.append(unsetServiceCommand);
+ compoundCommand.append(unsetPortCommand);
+ domain.getCommandStack().execute(compoundCommand);
+ }
+ else {
+ Port port = (Port) value;
+ String portName = port.getName();
+
+ Command setPortCommand = SetCommand.create(domain, service, ddPackage.eINSTANCE.getTService_Port(), portName);
+
+ Service wsdlService = (Service) port.eContainer();
+ QName qname = wsdlService.getQName();
+ Command setServiceCommand = SetCommand.create(domain, service, ddPackage.eINSTANCE.getTService_Name(), qname);
+
+
+ CompoundCommand compoundCommand = new CompoundCommand();
+ compoundCommand.append(setServiceCommand);
+ compoundCommand.append(setPortCommand);
+
+ domain.getCommandStack().execute(compoundCommand);
+ }
+ }
+
+ viewer.refresh();
+ }
+
+ }
+
+ private Composite createSection(Composite parent, String title, String desc, int numColumns) {
+
+ Section section = null;
+ if (desc != null) {
+ section = toolkit.createSection(parent, Section.TWISTIE | Section.TITLE_BAR | Section.DESCRIPTION | Section.EXPANDED);
+ section.setDescription(desc);
+ } else {
+ section = toolkit.createSection(parent, Section.TWISTIE | Section.TITLE_BAR | Section.EXPANDED);
+ }
+ section.setText(title);
+
+ Composite client = toolkit.createComposite(section);
+ GridLayout layout = new GridLayout();
+ layout.marginWidth = layout.marginHeight = 0;
+ layout.numColumns = numColumns;
+ client.setLayout(layout);
+ section.setClient(client);
+
+ return client;
+ }
+
+ private void createProcessMonitoringSection(Composite parent) {
+ final Composite client = createSection(parent, "Process-level Monitoring Events", null, 2);
+ final Composite group = toolkit.createComposite(client);
+ group.setLayout(new RowLayout(SWT.VERTICAL));
+ GridData gd = new GridData();
+ gd.verticalAlignment = SWT.BEGINNING;
+ gd.horizontalIndent = 5;
+ group.setLayoutData(gd);
+
+ final Button btnNone = toolkit.createButton(group, "None", SWT.RADIO);
+ final Button btnAll = toolkit.createButton(group, "All", SWT.RADIO);
+ final Button btnSelected = toolkit.createButton(group, "Selected", SWT.RADIO);
+
+ Composite wrapper = toolkit.createComposite(client);
+ wrapper.setLayout(new RowLayout());
+ final CheckboxTableViewer ctv = CheckboxTableViewer.newCheckList(wrapper, SWT.NONE);
+ wrapper.setLayoutData(gd);
+ toolkit.paintBordersFor(wrapper);
+
+ ctv.setContentProvider(new ArrayContentProvider());
+ ctv.setLabelProvider(new LabelProvider() {
+
+ @Override
+ public String getText(Object element) {
+ return eventNameById.get(element);
+ }
+
+ });
+ ctv.setInput(new String[] {INSTANCE_LIFECYCLE_NAME, ACTIVITY_LIFECYCLE_NAME,
+ DATA_HANDLING_NAME, SCOPE_HANDLING_NAME, CORRELATION_NAME});
+
+ //create defaulting process event settings
+ if (processType.getProcessEvents() == null) {
+ TProcessEvents pe = ddFactory.eINSTANCE.createTProcessEvents();
+ pe.setGenerate(GenerateType.ALL);
+ processType.setProcessEvents(pe);
+ }
+
+ if (processType.getProcessEvents().isSetGenerate()) {
+ switch (processType.getProcessEvents().getGenerate()) {
+ case ALL:
+ btnAll.setSelection(true);
+ ctv.getControl().setEnabled(false);
+ break;
+ case NONE:
+ btnNone.setSelection(true);
+ ctv.getControl().setEnabled(false);
+ break;
+ }
+ } else {
+ btnSelected.setSelection(true);
+ ctv.getControl().setEnabled(true);
+ }
+
+ final SelectionAdapter sa = new SelectionAdapter(){
+ @Override
+ public void widgetSelected(SelectionEvent e) {
+ if (btnAll == e.getSource()) {
+ ctv.getControl().setEnabled(false);
+ Command command = SetCommand.create(domain, processType.getProcessEvents(), ddPackage.eINSTANCE.getTProcessEvents_Generate(), GenerateType.ALL);
+ domain.getCommandStack().execute(command);
+ } else if (btnNone == e.getSource()) {
+ ctv.getControl().setEnabled(false);
+ Command command = SetCommand.create(domain, processType.getProcessEvents(), ddPackage.eINSTANCE.getTProcessEvents_Generate(), GenerateType.NONE);
+ domain.getCommandStack().execute(command);
+ } else {
+ ctv.getControl().setEnabled(true);
+ Command command = SetCommand.create(domain, processType.getProcessEvents(), ddPackage.eINSTANCE.getTProcessEvents_Generate(), SetCommand.UNSET_VALUE);
+ domain.getCommandStack().execute(command);
+ }
+ }
+ };
+
+ btnAll.addSelectionListener(sa);
+ btnNone.addSelectionListener(sa);
+ btnSelected.addSelectionListener(sa);
+
+ ctv.setCheckedElements(processType.getProcessEvents().getEnableEvent().toArray());
+ final ISelectionChangedListener scl = new ISelectionChangedListener() {
+
+ public void selectionChanged(SelectionChangedEvent event) {
+ Command command = SetCommand.create(domain, processType.getProcessEvents(), ddPackage.eINSTANCE.getTEnableEventList_EnableEvent(), Arrays.asList(ctv.getCheckedElements()));
+ domain.getCommandStack().execute(command);
+ }
+
+ };
+
+ ctv.addSelectionChangedListener(scl);
+ }
+
+ private void createScopeMonitoringSection(Composite parent) {
+ Composite client = createSection(parent, "Scope-level Monitoring Events", null, 1);
+
+ scopeTableViewer = new TableViewer(toolkit.createTable(client, SWT.SINGLE | SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL |
+ SWT.FULL_SELECTION | SWT.HIDE_SELECTION));
+ Table table = scopeTableViewer.getTable();
+ scopeTableViewer.setContentProvider(new ScopeMonitoringEventContentProvider());
+ scopeTableViewer.setUseHashlookup(true);
+ TableViewerColumn column = new TableViewerColumn(scopeTableViewer, SWT.NONE);
+ column.getColumn().setText("Scope");
+ column.setLabelProvider(new ColumnLabelProvider() {
+
+ @Override
+ public String getText(Object element) {
+ return ((Scope)element).getName();
+ }
+
+ @Override
+ public Image getImage(Object element) {
+ return BPELUIPlugin.INSTANCE.getImage(IBPELUIConstants.ICON_SCOPE_16);
+ }
+ });
+
+ String[] columns = new String[] {INSTANCE_LIFECYCLE_NAME, ACTIVITY_LIFECYCLE_NAME, DATA_HANDLING_NAME, SCOPE_HANDLING_NAME, CORRELATION_NAME};
+ for (String columnId : columns) {
+ column = new TableViewerColumn(scopeTableViewer, SWT.NONE);
+ column.getColumn().setText(eventNameById.get(columnId));
+ column.setLabelProvider(new ScopeEventCheckboxColumnLabelProvider(columnId));
+ column.setEditingSupport(new ScopeEventEditingSupport(scopeTableViewer, columnId));
+ }
+
+ OwnerDrawLabelProvider.setUpOwnerDraw(scopeTableViewer);
+
+ table.setHeaderVisible(true);
+ table.setLinesVisible(true);
+
+ scopeTableViewer.setInput(processType);
+
+ for (int i = 0, n = table.getColumnCount(); i < n; i++) {
+ table.getColumn(i).pack();
+ }
+ }
+
+ class PortTypeLabelProvider extends LabelProvider implements ITableLabelProvider {
+
+ protected IProject bpelProject = null;
+ protected ResourceSetImpl resourceSet = null;
+
+ public PortTypeLabelProvider(IProject bpelProject, ResourceSetImpl resourceSet){
+ this.bpelProject = bpelProject;
+ // https://jira.jboss.org/browse/JBIDE-6786
+ // ProcessPage allocates the resourceSet - this should never be null!
+ if (resourceSet != null) {
+ this.resourceSet = resourceSet;
+ }
+ else {
+ this.resourceSet = new ResourceSetImpl();
+ }
+ }
+
+ public String getColumnText(Object obj, int index) {
+
+ if (obj instanceof TProvide && index == PARTNER_LINK_COLUMN){
+ TProvide current = (TProvide) obj;
+ return current.getPartnerLink();
+ }
+ else if (obj instanceof TProvide && index == SERVICE_COLUMN){
+ TProvide current = (TProvide) obj;
+ TService service = current.getService();
+ if (service != null) {
+ QName serviceQName = service.getName();
+ if (serviceQName != null) {
+ return serviceQName.toString();
+ }
+ }
+ }
+ else if (obj instanceof TProvide && index == PORT_COLUMN){
+ TProvide current = (TProvide) obj;
+ TService service = current.getService();
+ if (service != null) {
+ String portName = service.getPort();
+ if (portName != null) {
+ return portName;
+ }
+ }
+ }
+ else if (obj instanceof TProvide && index == BINDING_COLUMN){
+ TProvide current = (TProvide) obj;
+ TService service = current.getService();
+ if (service != null) {
+ String portName = service.getPort();
+ if (portName != null) {
+ Port port = DeployUtils.findPortByName(portName, this.bpelProject, this.resourceSet);
+ if (port != null) {
+ Binding binding = port.getBinding();
+ QName bindingQName = binding.getQName();
+ if (bindingQName != null) {
+ return bindingQName.getLocalPart();
+ }
+ }
+ }
+ }
+ }
+
+ if (obj instanceof TInvoke && index == PARTNER_LINK_COLUMN){
+ TInvoke current = (TInvoke) obj;
+ return current.getPartnerLink();
+ }
+ else if (obj instanceof TInvoke && index == SERVICE_COLUMN){
+ TInvoke current = (TInvoke) obj;
+ TService service = current.getService();
+ if (service != null) {
+ QName serviceQName = service.getName();
+ if (serviceQName != null) {
+ return serviceQName.toString();
+ }
+ }
+ }
+ else if (obj instanceof TInvoke && index == PORT_COLUMN){
+ TInvoke current = (TInvoke) obj;
+ TService service = current.getService();
+ if (service != null) {
+ String portName = service.getPort();
+ if (portName != null) {
+ return portName;
+ }
+ }
+ }
+ else if (obj instanceof TInvoke && index == BINDING_COLUMN){
+ TInvoke current = (TInvoke) obj;
+ TService service = current.getService();
+ if (service != null) {
+ String portName = service.getPort();
+ if (portName != null) {
+ Port port = DeployUtils.findPortByName(portName, this.bpelProject, this.resourceSet);
+ if (port != null) {
+ Binding binding = port.getBinding();
+ QName bindingQName = binding.getQName();
+ if (bindingQName != null) {
+ return bindingQName.getLocalPart();
+ }
+ }
+ }
+ }
+ }
+
+ return DeployUtils.NONE_STRING;
+ }
+
+ public Image getColumnImage(Object obj, int index) {
+ return null;
+ }
+ }
+
+ class PortTypeContentProvider implements IStructuredContentProvider {
+
+ protected boolean forInbound = false;
+
+ public PortTypeContentProvider(boolean bForInbound){
+ forInbound = bForInbound;
+ }
+
+ public Object[] getElements(Object inputElement) {
+
+ try
+ {
+ if (inputElement instanceof ProcessType){
+ ProcessType type = (ProcessType) inputElement;
+ if (forInbound){
+ EList<TProvide> provide = type.getProvide();
+
+ if (provide.isEmpty()){
+ Process process = type.getModel();
+ PartnerLinks pls = process.getPartnerLinks();
+ EList<PartnerLink> plList = pls.getChildren();
+ for (Iterator<PartnerLink> iterator = plList.iterator(); iterator.hasNext();) {
+ PartnerLink current = (PartnerLink) iterator.next();
+ if (current.getMyRole() != null){
+ TProvide currentProvide = ddFactory.eINSTANCE.createTProvide();
+ currentProvide.setPartnerLink(current.getName());
+ provide.add(currentProvide);
+ }
+ }
+ }
+
+ return provide.toArray();
+ }
+ else {
+ EList<TInvoke> invoke = type.getInvoke();
+
+ if (invoke.isEmpty()){
+ Process process = type.getModel();
+ PartnerLinks pls = process.getPartnerLinks();
+ if (pls != null) {
+ EList<PartnerLink> plList = pls.getChildren();
+ for (Iterator<PartnerLink> iterator = plList.iterator(); iterator
+ .hasNext();) {
+ PartnerLink current = (PartnerLink) iterator
+ .next();
+ if (current.getPartnerRole() != null) {
+ TInvoke currentInvoke = ddFactory.eINSTANCE
+ .createTInvoke();
+ currentInvoke.setPartnerLink(current
+ .getName());
+ invoke.add(currentInvoke);
+ }
+ }
+ }
+ }
+
+ return invoke.toArray();
+ }
+ }
+ }
+ catch(NullPointerException ex)
+ {
+ }
+ // https://jira.jboss.org/jira/browse/JBIDE-6006
+ // create a stub invoke so the editor doesn't crash
+ return new TInvoke[] { ddFactory.eINSTANCE.createTInvoke() };
+ }
+
+ public void dispose() {
+ }
+ public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
+ }
+ }
+
+ class ScopeMonitoringEventContentProvider implements IStructuredContentProvider {
+
+ public Object[] getElements(Object inputElement) {
+ final List<Object> scopes = new ArrayList<Object>();
+
+ BPELUtil.visitModelDepthFirst(processType.getModel(), new IModelVisitor() {
+ public boolean visit(Object modelObject) {
+ if ((modelObject instanceof Scope) &&
+ (((Scope)modelObject).getName() != null)) {
+ scopes.add(modelObject);
+ }
+ return true;
+ }
+ });
+
+ return scopes.toArray();
+ }
+
+ public void dispose() {}
+
+ public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {}
+
+ }
+
+ protected void refreshModel() {
+
+ try {
+ editor.populateModel();
+ scopeTableViewer.refresh();
+ mainform.setMessage(null);
+ } catch (CoreException e) {
+ e.printStackTrace();
+ }
+ }
+
+ public void resourceChanged(IResourceChangeEvent event) {
+
+ IResourceDeltaVisitor rdv = new IResourceDeltaVisitor() {
+ public boolean visit(IResourceDelta delta) {
+ IResource res = delta.getResource();
+ // https://jira.jboss.org/jira/browse/JBIDE-6006
+ if (DeployUtils.isBPELFile(res)) {
+ Display.getDefault().syncExec(new Runnable() {
+ public void run() {
+ mainform.setMessage("Associated BPEL and/or WSDL has been changed, click to update!", IMessageProvider.WARNING);
+ }
+ });
+ }
+ // https://jira.jboss.org/browse/JBIDE-7477
+ // close editor when file is deleted
+ else {
+ IFile editorFile = ((IFileEditorInput)getEditorInput()).getFile();
+ IResource target = delta.getResource();
+ if (delta.getKind() == IResourceDelta.REMOVED &&
+ target instanceof IFile &&
+ editorFile.equals(target))
+ {
+ // Close the editor if its input file has been moved or deleted.
+ Display display = getSite().getShell().getDisplay();
+ display.asyncExec(new Runnable() {
+ public void run() {
+ getSite().getPage().closeEditor(ProcessPage.this.editor, false);
+ }
+ });
+ }
+ }
+
+ return true; // visit the children
+ }
+ };
+ try {
+ event.getDelta().accept(rdv);
+ } catch (CoreException e) {
+ //ignore
+ }
+ }
+
+ @Override
+ public void dispose() {
+ ResourcesPlugin.getWorkspace().removeResourceChangeListener(this);
+ super.dispose();
+ }
+
+ class ScopeEventEditingSupport extends EditingSupport {
+
+ private String eventType;
+ private CheckboxCellEditor checkboxCellEditor;
+ public ScopeEventEditingSupport(TableViewer viewer, String eventType) {
+ super(viewer);
+ this.eventType = eventType;
+ this.checkboxCellEditor = new CheckboxCellEditor(viewer.getTable());
+ }
+
+ @Override
+ protected boolean canEdit(Object element) {
+ String scName = ((Scope)element).getName();
+ return scName != null && !"".equals(scName); //$NON-NLS-1$
+ }
+
+ @Override
+ protected CellEditor getCellEditor(Object element) {
+ return checkboxCellEditor;
+ }
+
+ @Override
+ protected Object getValue(Object element) {
+ String scName = ((Scope)element).getName();
+ for (TScopeEvents se : processType.getProcessEvents().getScopeEvents()) {
+ if (scName.equals(se.getName()) &&
+ se.getEnableEvent().contains(eventType)) {
+ return true;
+ }
+ }
+ return false;
+ }
+
+ @Override
+ protected void setValue(Object element, Object value) {
+ String scName = ((Scope)element).getName();
+ TScopeEvents match = null;
+ for (TScopeEvents se : processType.getProcessEvents().getScopeEvents()) {
+ if (scName.equals(se.getName())) {
+ match = se;
+ break;
+ }
+ }
+
+ if (match == null) {
+ match = ddFactory.eINSTANCE.createTScopeEvents();
+ match.setName(scName);
+ processType.getProcessEvents().getScopeEvents().add(match);
+ }
+
+ if (((Boolean)value).booleanValue()) {
+ if (!match.getEnableEvent().contains(eventType)) {
+ Command command = AddCommand.create(domain, match, ddPackage.eINSTANCE.getTEnableEventList_EnableEvent(), eventType);
+ domain.getCommandStack().execute(command);
+ }
+ } else {
+ Command command = RemoveCommand.create(domain, match, ddPackage.eINSTANCE.getTEnableEventList_EnableEvent(), eventType);
+ domain.getCommandStack().execute(command);
+ }
+
+ getViewer().refresh();
+ }
+ }
+
+ class ScopeEventCheckboxColumnLabelProvider extends OwnerDrawLabelProvider {
+
+ private String eventType;
+
+ public ScopeEventCheckboxColumnLabelProvider(String eventType) {
+ this.eventType = eventType;
+ }
+
+ protected void measure(Event event, Object element) {
+ Image img = getImage(element);
+ event.setBounds(new Rectangle(event.x, event.y, img.getBounds().width,
+ img.getBounds().height));
+
+ }
+
+ protected void paint(Event event, Object element) {
+
+ Image img = getImage(element);
+
+ if (img != null) {
+ Rectangle bounds = ((TableItem) event.item)
+ .getBounds(event.index);
+ Rectangle imgBounds = img.getBounds();
+ bounds.width /= 2;
+ bounds.width -= imgBounds.width / 2;
+ bounds.height /= 2;
+ bounds.height -= imgBounds.height / 2;
+
+ int x = bounds.width > 0 ? bounds.x + bounds.width : bounds.x;
+ int y = bounds.height > 0 ? bounds.y + bounds.height : bounds.y;
+
+ event.gc.drawImage(img, x, y);
+ }
+ }
+
+
+ public Image getImage(Object element) {
+ if (isChecked(element)) {
+ return Activator.getDefault().getImageRegistry().get(Activator.IMG_CHECKED);
+ } else {
+ return Activator.getDefault().getImageRegistry().get(Activator.IMG_UNCHECKED);
+ }
+ }
+
+ public boolean isChecked(Object element) {
+ String scName = ((Scope)element).getName();
+ for (TScopeEvents se : processType.getProcessEvents().getScopeEvents()) {
+ if (se.getName().equals(scName) &&
+ se.getEnableEvent().contains(eventType)) {
+ return true;
+ }
+ }
+ return false;
+ }
+
+ }
+
+
+}
\ No newline at end of file
Added: workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/pages/ServiceCellEditor.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/pages/ServiceCellEditor.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/pages/ServiceCellEditor.java 2011-02-17 22:22:01 UTC (rev 29205)
@@ -0,0 +1,134 @@
+package org.eclipse.bpel.apache.ode.deploy.ui.pages;
+
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+
+import org.eclipse.bpel.apache.ode.deploy.model.dd.TService;
+import org.eclipse.bpel.apache.ode.deploy.ui.util.DeployUtils;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.emf.ecore.resource.ResourceSet;
+import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
+import org.eclipse.jface.viewers.ComboBoxCellEditor;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.custom.CCombo;
+import org.eclipse.swt.widgets.Table;
+import org.eclipse.wst.wsdl.Definition;
+import org.eclipse.wst.wsdl.Port;
+import org.eclipse.wst.wsdl.Service;
+
+/**
+ * In-place editor for WSDL services in tables.
+ *
+ * @author Simon Moser (IBM)
+ */
+public class ServiceCellEditor extends ComboBoxCellEditor {
+
+ IProject bpelProject = null;
+ ResourceSet resourceSet = null;
+ List<Port> portList = null;
+
+ public ServiceCellEditor(Table parent, IProject bpelProject, ResourceSet resourceSet)
+ {
+ super(parent, new String[]{}, SWT.READ_ONLY);
+ this.bpelProject = bpelProject;
+ if (resourceSet != null) {
+ this.resourceSet = resourceSet;
+ }
+ else {
+ this.resourceSet = new ResourceSetImpl();
+ }
+ }
+
+ @Override
+ protected Object doGetValue() {
+
+ Integer integer = (Integer) super.doGetValue();
+
+ CCombo combo = (CCombo) getControl();
+ String string = combo.getItem(integer.intValue());
+
+ Port port = findPortByName(string);
+
+ return port;
+ }
+
+ private Port findPortByName(String string) {
+
+ for (Iterator<Port> iterator = portList.iterator(); iterator.hasNext();) {
+ Port currentPort = iterator.next();
+ if (currentPort.getName().equals(string)){
+ return currentPort;
+ }
+ }
+
+ return null;
+ }
+
+ @SuppressWarnings("unchecked") //$NON-NLS-1$
+ @Override
+ protected void doSetValue(Object value) {
+
+ List<Service> serviceList = new ArrayList();
+ portList = new ArrayList<Port>();
+
+ //load WSDL's
+ List<Definition> wsdlDefs = DeployUtils.loadAllWSDLFromProject(this.bpelProject, this.resourceSet);
+ //Assemble All Services from WSDL's
+ for (Iterator<Definition> iterator = wsdlDefs.iterator(); iterator.hasNext();) {
+ Definition current = (Definition) iterator.next();
+ Map services = current.getServices();
+ if (!services.isEmpty()){
+ Collection values = services.values();
+ for (Iterator<Service> iterator2 = values.iterator(); iterator2.hasNext();) {
+ Service name = iterator2.next();
+ serviceList.add(name);
+ }
+ }
+ }
+
+ //now we have all services in a List .. get All Ports from these services
+ for (Iterator<Service> iterator = serviceList.iterator(); iterator.hasNext();) {
+ Service currentService = iterator.next();
+ Map portMap = currentService.getPorts();
+ Collection<Port> ports = portMap.values();
+ portList.addAll(ports);
+ }
+
+ String[] items = new String[portList.size() + 1];
+ items[0] = DeployUtils.NONE_STRING;
+
+ for (int i=1; i<portList.size()+1; i++){
+ Port currentPort = (Port) portList.get(i-1);
+ items[i] = currentPort.getName();
+ }
+
+ setItems(items);
+
+ if (value != null){
+ TService service = (TService) value;
+ for (int i = 0; i < portList.size(); i++) {
+ Port p = portList.get(i);
+ if (p.getName().equals(service.getPort()) &&
+ ((Service)p.getContainer()).getQName().equals(service.getName())) {
+ super.doSetValue(i+1);
+ return;
+ }
+ }
+ }
+ super.doSetValue(0);
+ }
+}
Added: workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/util/DeployResourceSetImpl.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/util/DeployResourceSetImpl.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/util/DeployResourceSetImpl.java 2011-02-17 22:22:01 UTC (rev 29205)
@@ -0,0 +1,43 @@
+/*******************************************************************************
+ * Copyright (c) 2006 Oracle Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle Corporation - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.bpel.apache.ode.deploy.ui.util;
+
+import org.eclipse.bpel.model.resource.BPELResourceSetImpl;
+import org.eclipse.emf.common.util.URI;
+import org.eclipse.emf.ecore.resource.Resource;
+
+/**
+ * @author Bob Brodt (bbrodt(a)redhat.com)
+ * @date Aug 10, 2010
+ */
+
+@SuppressWarnings("nls")
+public class DeployResourceSetImpl extends BPELResourceSetImpl {
+
+ public DeployResourceSetImpl() {
+ super();
+ }
+
+ @Override
+ public Resource getResource(URI uri, boolean loadOnDemand) {
+ String name = uri.toString().toLowerCase();
+ // revert https://jira.jboss.org/browse/JBIDE-6825
+ if (name.endsWith("wsdl"))
+ return getResource(uri,true,"wsdl");
+ if (name.endsWith("wsil"))
+ return getResource(uri,true,"wsil");
+ if (name.endsWith(".xsd"))
+ return getResource(uri,true,"xsd");
+ if (name.endsWith(".bpel"))
+ return getResource(uri,true,"bpel");
+ return super.getResource(uri,loadOnDemand);
+ }
+}
Added: workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/util/DeployUtils.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/util/DeployUtils.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/util/DeployUtils.java 2011-02-17 22:22:01 UTC (rev 29205)
@@ -0,0 +1,390 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.ui.util;
+
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.Collections;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+
+import javax.xml.namespace.QName;
+
+import org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.TDeployment;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.ddFactory;
+import org.eclipse.bpel.model.Process;
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.resources.IResourceVisitor;
+import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.core.runtime.Path;
+import org.eclipse.core.runtime.content.IContentDescription;
+import org.eclipse.core.runtime.content.IContentType;
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.common.util.URI;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EcorePackage;
+import org.eclipse.emf.ecore.resource.Resource;
+import org.eclipse.emf.ecore.resource.ResourceSet;
+import org.eclipse.jdt.core.IJavaProject;
+import org.eclipse.jdt.core.IPackageFragmentRoot;
+import org.eclipse.jdt.core.JavaCore;
+import org.eclipse.jdt.core.JavaModelException;
+import org.eclipse.wst.common.componentcore.ComponentCore;
+import org.eclipse.wst.common.componentcore.ModuleCoreNature;
+import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
+import org.eclipse.wst.wsdl.Definition;
+import org.eclipse.wst.wsdl.Port;
+import org.eclipse.wst.wsdl.Service;
+
+/**
+ * @author Simon Moser (IBM)
+ * @author Tammo van Lessen (IAAS)
+ */
+public class DeployUtils {
+
+ public static final String URL_PREFIX_FILE = "file"; //$NON-NLS-1$
+ public static final String URL_PREFIX_PLATFORM = "platform"; //$NON-NLS-1$
+ public static final String URL_PREFIX_RESOURCE = "resource"; //$NON-NLS-1$
+ public static final String NONE_STRING = "-- none -- "; //$NON-NLS-1$
+ public static final String BPEL_CONTENT_TYPE = "org.eclipse.bpel.contenttype"; //$NON-NLS-1$
+
+ public static ProcessType findProcessTypeInDD(
+ org.eclipse.bpel.model.Process process, TDeployment dd) {
+ for (ProcessType pt : dd.getProcess()) {
+ if (pt.getName().getLocalPart().equals(process.getName())
+ && pt.getName().getNamespaceURI().equals(
+ process.getTargetNamespace())) {
+ return pt;
+ }
+ }
+ return null;
+ }
+
+ public static ProcessType createProcessStub(
+ org.eclipse.bpel.model.Process process) {
+ ProcessType pt = ddFactory.eINSTANCE.createProcessType();
+ QName processQName = new QName(process.getTargetNamespace(), process
+ .getName());
+ pt.setName(processQName);
+ return pt;
+ }
+
+ public static QName getQNameFromSerialzedForm(String qNameAsString) {
+
+ int pos = qNameAsString.lastIndexOf("}"); //$NON-NLS-1$
+
+ String ns = qNameAsString.substring(1, pos);
+ String name = qNameAsString.substring(pos + 1, qNameAsString.length());
+
+ QName qName = new QName(ns, name);
+
+ return qName;
+ }
+
+ @SuppressWarnings("unchecked")//$NON-NLS-1$
+ public static Port findPortByName(String name, IProject bpelProject,
+ ResourceSet resourceSet) {
+
+ List serviceList = new ArrayList();
+ List portList = new ArrayList();
+
+ List<Definition> wsdlDefs = DeployUtils.loadAllWSDLFromProject(
+ bpelProject, resourceSet);
+ // Assemble All Services from WSDL's
+ for (Iterator<Definition> iterator = wsdlDefs.iterator(); iterator
+ .hasNext();) {
+ Definition current = (Definition) iterator.next();
+ Map services = current.getServices();
+ if (!services.isEmpty()) {
+ Collection values = services.values();
+ for (Iterator iterator2 = values.iterator(); iterator2
+ .hasNext();) {
+ Service name2 = (Service) iterator2.next();
+ serviceList.add(name2);
+ }
+ }
+ }
+
+ // now we have all services in a List .. get All Ports from these
+ // services
+ for (Iterator iterator = serviceList.iterator(); iterator.hasNext();) {
+ Service currentService = (Service) iterator.next();
+ Map portMap = currentService.getPorts();
+ Collection ports = portMap.values();
+ portList.addAll(ports);
+ }
+
+ for (Iterator iterator = portList.iterator(); iterator.hasNext();) {
+ Port currentPort = (Port) iterator.next();
+ if (currentPort.getName().equals(name)) {
+ return currentPort;
+ }
+ }
+
+ return null;
+
+ }
+
+ public static Process loadBPEL(IFile bpelFile, ResourceSet resourceSet) {
+
+ IPath fullProcessPath = bpelFile.getFullPath();
+ URI uri = URI.createPlatformResourceURI(fullProcessPath.toString(),
+ false);
+ Resource bpelResource = resourceSet.getResource(uri, true);
+
+ EcorePackage instance = EcorePackage.eINSTANCE;
+ instance.eAdapters();
+
+ try {
+ if (bpelResource.isLoaded()) {
+ bpelResource.unload();
+ }
+ bpelResource.load(Collections.EMPTY_MAP);
+ EList<EObject> contents = bpelResource.getContents();
+ if (!contents.isEmpty()) {
+ return (Process) contents.get(0);
+ }
+ } catch (Exception e) {
+ // swallow exception
+ }
+
+ return null;
+ }
+
+ public static Definition loadWSDL(IFile wsdlFile, ResourceSet resourceSet) {
+
+ IPath fullProcessPath = wsdlFile.getFullPath();
+ URI uri = URI.createPlatformResourceURI(fullProcessPath.toString(),
+ false);
+ Resource wsdlResource = resourceSet.getResource(uri, true);
+
+ EcorePackage instance = EcorePackage.eINSTANCE;
+ instance.eAdapters();
+
+ try {
+ wsdlResource.load(Collections.EMPTY_MAP);
+ EList<EObject> contents = wsdlResource.getContents();
+ if (!contents.isEmpty()) {
+ return (Definition) contents.get(0);
+ }
+ } catch (Exception e) {
+ // swallow exception
+ }
+
+ return null;
+ }
+
+ public static List<Definition> loadAllWSDLFromProject(IProject project,
+ ResourceSet resourceSet) {
+ List<Definition> wsdlFiles = new ArrayList<Definition>();
+
+ List<IFile> allFiles = DeployUtils.getAllFilesInProject(project);
+
+ for (IFile file : allFiles) {
+
+ if ("wsdl".equalsIgnoreCase(file.getFileExtension())) { //$NON-NLS-1$
+ // load it
+ Definition currentDef = loadWSDL(file, resourceSet);
+ // stuff it in wsdlFiles
+ wsdlFiles.add(currentDef);
+ }
+ }
+
+ // https://jira.jboss.org/browse/JBIDE-6786
+ // Add WSDLs that were resolved as imports, to the list
+ for (Resource res : resourceSet.getResources())
+ {
+ // https://jira.jboss.org/browse/JBIDE-6613
+ // fix a dumb mistake: XSDs don't have Definitions
+ // and will cause this to throw a class cast exception
+ Object obj = res.getContents().get(0);
+ if ( obj instanceof Definition )
+ {
+ Definition def = (Definition)obj;
+ if (!wsdlFiles.contains(def))
+ wsdlFiles.add(def);
+ }
+ }
+
+ return wsdlFiles;
+ }
+
+ public static List<Process> loadAllBPELFromProject(IProject project,
+ ResourceSet resourceSet) {
+ List<Process> bpelFiles = new ArrayList<Process>();
+
+ List<IFile> allFiles = DeployUtils.getAllFilesInProject(project);
+
+ for (IFile file : allFiles) {
+
+ // https://jira.jboss.org/jira/browse/JBIDE-6006
+ if (DeployUtils.isBPELFile(file)) {
+ // load it
+ Process currentProcess = loadBPEL(file, resourceSet);
+ // https://jira.jboss.org/browse/JBIDE-6613
+ // make sure the BPEL is valid.
+ if (currentProcess!=null)
+ // stuff it in bpelFiles
+ bpelFiles.add(currentProcess);
+ }
+ }
+
+ return bpelFiles;
+ }
+
+ public static List<IFile> getAllFilesInProject(IProject project) {
+
+ final List<IFile> files = new ArrayList<IFile>();
+ IResourceVisitor visitor = new IResourceVisitor() {
+ public boolean visit(org.eclipse.core.resources.IResource resource)
+ throws org.eclipse.core.runtime.CoreException {
+ if (resource.getType() == IResource.FILE) {
+ files.add((IFile) resource);
+ }
+ return true;
+ }
+ };
+ try {
+ IResource[] reses = project.getFolder(getWebContentRootPath(project)).members();
+ for (IResource res : reses) {
+ res.accept(visitor);
+
+ }
+ } catch (CoreException e) {
+ e.printStackTrace();
+ }
+ return files;
+ }
+
+ public static IResource[] getSourceContainers(IProject project) {
+ IJavaProject jProject = JavaCore.create(project);
+ if (jProject == null)
+ return new IResource[0];
+ List<IResource> list = new ArrayList<IResource>();
+
+ IPackageFragmentRoot[] roots;
+ try {
+ roots = jProject.getPackageFragmentRoots();
+ for (int i = 0; i < roots.length; i++) {
+ if (roots[i].getKind() != IPackageFragmentRoot.K_SOURCE)
+ continue;
+ IResource resource = roots[i].getResource();
+ list.add(resource);
+ // if (null != resource) {
+ // IVirtualResource[] vResources =
+ // ComponentCore.createResources(resource);
+ // boolean found = false;
+ // for (int j = 0; !found && j < vResources.length; j++) {
+ // if (vResources[j].getComponent().equals(vc)) {
+ // if (!list.contains(roots[i]))
+ // list.add(roots[i]);
+ // found = true;
+ // }
+ // }
+ // }
+ }
+ } catch (JavaModelException e) {
+ // Logger.getLogger().logError(e);
+ }
+ return (IResource[]) list.toArray(new IResource[list.size()]);
+ }
+
+ public static IFile getIFileForURI(URI uri) {
+
+ if (uri == null)
+ return null;
+
+ String filePath = null;
+ String scheme = uri.scheme();
+
+ if (URL_PREFIX_FILE.equals(scheme)) {
+ filePath = uri.toFileString();
+ } else if (URL_PREFIX_PLATFORM.equals(scheme) && uri.segmentCount() > 1
+ && URL_PREFIX_RESOURCE.equals(uri.segment(0))) {
+ StringBuffer platformResourcePath = new StringBuffer();
+ for (int i = 1, size = uri.segmentCount(); i < size; ++i) {
+ platformResourcePath.append('/');
+ platformResourcePath.append(uri.segment(i));
+ }
+ filePath = URI.decode(platformResourcePath.toString());
+ }
+
+ if (filePath == null)
+ return null;
+
+ IFile file = null;
+
+ if (URL_PREFIX_FILE.equals(scheme)) { // 44110
+ if (uri.device() != null) {
+ filePath = filePath.substring(filePath.indexOf(uri.device()));
+ }
+ file = ResourcesPlugin.getWorkspace().getRoot().getFileForLocation(
+ new Path(filePath));
+ } else
+ file = ResourcesPlugin.getWorkspace().getRoot().getFile(
+ new Path(filePath));
+
+ return file;
+ }
+
+ // https://jira.jboss.org/jira/browse/JBIDE-6006
+ public static boolean isBPELFile(IResource res)
+ {
+ try
+ {
+ if (res.getType() == IResource.FILE) {
+ // check if file was recognized by eclipse BPEL editor
+ IContentDescription desc = ((IFile) res).getContentDescription();
+ if (desc != null) {
+ IContentType type = desc.getContentType();
+ if (type.getId().equals(BPEL_CONTENT_TYPE))
+ return true;
+ }
+
+ // https://jira.jboss.org/browse/JBIDE-6006
+ // this causes all kinds of nasty stack traces - see https://jira.jboss.org/browse/JBIDE-6093
+ // since this version of the ODE deployment editor is part of the same feature as the BPEL editor
+ // plugin, we'll go on the assumption that they will always be installed together. You'd have to
+ // something pretty dangerous to install one without the other.
+ // maybe the eclipse BPEL editor is not installed?
+ // fall back to using '.bpel' file extension
+ //if ("bpel".equals(((IFile)res).getFileExtension()))
+ // return true;
+ }
+ }
+ catch(Exception ex)
+ {
+ }
+ return false;
+ }
+
+ public static IPath getWebContentRootPath(IProject project) {
+ if (project == null)
+ return null;
+
+ if (!ModuleCoreNature.isFlexibleProject(project))
+ return null;
+
+ IPath path = null;
+ IVirtualComponent component = ComponentCore.createComponent(project);
+ if (component != null && component.exists()) {
+ path = component.getRootFolder().getProjectRelativePath();
+ }
+ return path;
+ }
+}
Added: workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/util/InterfaceTableListener.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/util/InterfaceTableListener.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/util/InterfaceTableListener.java 2011-02-17 22:22:01 UTC (rev 29205)
@@ -0,0 +1,168 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.ui.util;
+
+import java.util.Iterator;
+
+import org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType;
+import org.eclipse.bpel.apache.ode.deploy.ui.pages.ProcessPage;
+import org.eclipse.bpel.model.PartnerLink;
+import org.eclipse.bpel.model.PartnerLinks;
+import org.eclipse.bpel.model.partnerlinktype.Role;
+import org.eclipse.core.resources.IFile;
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.ecore.resource.Resource;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.custom.TableEditor;
+import org.eclipse.swt.graphics.Point;
+import org.eclipse.swt.graphics.Rectangle;
+import org.eclipse.swt.widgets.Event;
+import org.eclipse.swt.widgets.Listener;
+import org.eclipse.swt.widgets.Table;
+import org.eclipse.swt.widgets.TableItem;
+import org.eclipse.swt.widgets.Text;
+import org.eclipse.ui.IWorkbenchPage;
+import org.eclipse.ui.PartInitException;
+import org.eclipse.ui.forms.events.HyperlinkAdapter;
+import org.eclipse.ui.forms.events.HyperlinkEvent;
+import org.eclipse.ui.forms.events.IHyperlinkListener;
+import org.eclipse.ui.forms.widgets.FormToolkit;
+import org.eclipse.ui.forms.widgets.Hyperlink;
+import org.eclipse.ui.ide.IDE;
+import org.eclipse.wst.wsdl.PortType;
+
+public class InterfaceTableListener implements Listener {
+
+ protected ProcessType processType = null;
+ protected Table table = null;
+ protected TableEditor editor = null;
+ protected FormToolkit toolkit = null;
+ protected IWorkbenchPage page = null;
+ protected boolean isInbound = false;
+
+ public InterfaceTableListener(ProcessType fProcessType, Table fTable, TableEditor fEditor, FormToolkit fToolkit, IWorkbenchPage fPage, boolean bIsInbound){
+ processType = fProcessType;
+ table = fTable;
+ editor = fEditor;
+ toolkit = fToolkit;
+ page = fPage;
+ isInbound = bIsInbound;
+ }
+
+ public void handleEvent(Event event) {
+ Rectangle clientArea = table.getClientArea();
+ Point pt = new Point(event.x, event.y);
+ int index = table.getTopIndex();
+ while (index < table.getItemCount()) {
+ boolean visible = false;
+ final TableItem item = table.getItem(index);
+ for (int i = 0; i < table.getColumnCount(); i++) {
+ Rectangle rect = item.getBounds(i);
+ if (rect.contains(pt)) {
+
+ final int column = i;
+
+ System.out.println("A cell in column " + (i+1) + " has been pressed");
+
+ if (i == ProcessPage.PARTNER_LINK_COLUMN) {
+ System.out.println("PORT_TYPE_COLUMN has been pressed");
+ final Hyperlink link = toolkit.createHyperlink(table, "", SWT.NONE); //$NON-NLS-1$
+ IHyperlinkListener listener = new HyperlinkAdapter(){
+ public void linkActivated(HyperlinkEvent e) {
+
+ System.out.println("Hyper clicked!");
+
+ String partnerLinkName = e.getLabel();
+ PartnerLink theOne = null;
+
+ PartnerLinks partnerLinksElm = processType.getModel().getPartnerLinks();
+ EList<PartnerLink> partnerLinks = partnerLinksElm.getChildren();
+ for (Iterator<PartnerLink> iterator = partnerLinks.iterator(); iterator.hasNext();) {
+ PartnerLink currentPL = iterator.next();
+ if (currentPL.getName().equals(partnerLinkName)){
+ theOne = currentPL;
+ break;
+ }
+ }
+
+ if (theOne != null) {
+
+ Role role = null;
+
+ if (isInbound) {
+ role = theOne.getMyRole();
+ }
+ else {
+ role = theOne.getPartnerRole();
+ }
+
+ if (role != null) {
+ PortType portType = (PortType) role.getPortType();
+ Resource resource = portType.eResource();
+ IFile file = DeployUtils.getIFileForURI(resource.getURI());;
+ try {
+ IDE.openEditor(page, file);
+ }
+ catch (PartInitException e1) {
+ e1.printStackTrace();
+ }
+ }
+ }
+ }
+ };
+ link.addHyperlinkListener(listener);
+ editor.setEditor(link, item, i);
+ link.setText(item.getText(i));
+ link.setFocus();
+ }
+ else {
+ final Text text = new Text(table, SWT.NONE);
+ Listener textListener = new Listener() {
+ public void handleEvent(final Event e) {
+ switch (e.type) {
+ case SWT.FocusOut:
+ item.setText(column, text.getText());
+ text.dispose();
+ break;
+ case SWT.Traverse:
+ switch (e.detail) {
+ case SWT.TRAVERSE_RETURN:
+ item.setText(column, text.getText());
+ // FALL THROUGH
+ case SWT.TRAVERSE_ESCAPE:
+ text.dispose();
+ e.doit = false;
+ }
+ break;
+ }
+ }
+ };
+ text.addListener(SWT.FocusOut, textListener);
+ text.addListener(SWT.Traverse, textListener);
+ editor.setEditor(text, item, i);
+ text.setText(item.getText(i));
+ text.selectAll();
+ text.setFocus();
+ }
+
+ return;
+ }
+ if (!visible && rect.intersects(clientArea)) {
+ visible = true;
+ }
+ }
+ if (!visible)
+ return;
+ index++;
+ }
+ }
+}
Added: workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/wizards/NewODEDeployWizard.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/wizards/NewODEDeployWizard.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/wizards/NewODEDeployWizard.java 2011-02-17 22:22:01 UTC (rev 29205)
@@ -0,0 +1,199 @@
+package org.eclipse.bpel.apache.ode.deploy.ui.wizards;
+
+import java.io.IOException;
+import java.lang.reflect.InvocationTargetException;
+import java.util.Iterator;
+import java.util.List;
+
+import org.eclipse.bpel.apache.ode.deploy.model.dd.DocumentRoot;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.TDeployment;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.ddFactory;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.util.ddResourceFactoryImpl;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.util.ddResourceImpl;
+import org.eclipse.bpel.apache.ode.deploy.ui.Activator;
+import org.eclipse.bpel.apache.ode.deploy.ui.util.DeployUtils;
+import org.eclipse.bpel.model.Process;
+import org.eclipse.core.resources.IContainer;
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.resources.IWorkspaceRoot;
+import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.Path;
+import org.eclipse.core.runtime.Status;
+import org.eclipse.emf.common.util.URI;
+import org.eclipse.emf.ecore.resource.Resource;
+import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
+import org.eclipse.jface.dialogs.MessageDialog;
+import org.eclipse.jface.operation.IRunnableWithProgress;
+import org.eclipse.jface.viewers.ISelection;
+import org.eclipse.jface.viewers.IStructuredSelection;
+import org.eclipse.jface.wizard.Wizard;
+import org.eclipse.ui.INewWizard;
+import org.eclipse.ui.IWorkbench;
+import org.eclipse.ui.IWorkbenchPage;
+import org.eclipse.ui.IWorkbenchWizard;
+import org.eclipse.ui.PartInitException;
+import org.eclipse.ui.PlatformUI;
+import org.eclipse.ui.ide.IDE;
+
+/**
+ * Wizard that enables creating new deployment descriptors for Apache ODE.
+ *
+ * @author Simon Moser (IBM)
+ * @author Tammo van Lessen (IAAS)
+ */
+public class NewODEDeployWizard extends Wizard implements INewWizard {
+ private ODEDeployWizardPage page;
+ private ISelection selection;
+
+ /**
+ * Constructor for NewODEDeployWizard.
+ */
+ public NewODEDeployWizard() {
+ super();
+ setNeedsProgressMonitor(true);
+ }
+
+ /**
+ * Adding the page to the wizard.
+ */
+
+ public void addPages() {
+ page = new ODEDeployWizardPage(selection);
+ addPage(page);
+ }
+
+ /**
+ * This method is called when 'Finish' button is pressed in
+ * the wizard. We will create an operation and run it
+ * using wizard as execution context.
+ */
+ public boolean performFinish() {
+ final String containerName = page.getContainerName();
+ final String fileName = page.getFileName();
+ IRunnableWithProgress op = new IRunnableWithProgress() {
+ public void run(IProgressMonitor monitor) throws InvocationTargetException {
+ try {
+ doFinish(containerName, fileName, monitor);
+ } catch (CoreException e) {
+ throw new InvocationTargetException(e);
+ } finally {
+ monitor.done();
+ }
+ }
+ };
+ try {
+ getContainer().run(true, false, op);
+ } catch (InterruptedException e) {
+ return false;
+ } catch (InvocationTargetException e) {
+ Throwable realException = e.getTargetException();
+ MessageDialog.openError(getShell(), "Error", realException.getMessage());
+ return false;
+ }
+ return true;
+ }
+
+ /**
+ * The worker method. It will find the container, create the
+ * file if missing or just replace its contents, and open
+ * the editor on the newly created file.
+ */
+
+ private void doFinish(
+ String containerName,
+ String fileName,
+ IProgressMonitor monitor)
+ throws CoreException {
+
+ // create a sample file
+ monitor.beginTask("Creating " + fileName, 2);
+ IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
+ IResource resource = root.findMember(new Path(containerName));
+ if (!resource.exists() || !(resource instanceof IContainer)) {
+ throwCoreException("Container \"" + containerName + "\" does not exist.");
+ }
+ IContainer container = (IContainer) resource;
+ final IFile file = container.getFile(new Path(fileName));
+
+ try {
+ Resource emfResource = createBaseDeploymentDescriptor(file);
+ emfResource.save(null);
+ }
+ catch (IOException e) {
+ throwCoreException(e.getMessage());
+ }
+
+ monitor.worked(1);
+ monitor.setTaskName("Opening file for editing...");
+ getShell().getDisplay().asyncExec(new Runnable() {
+ public void run() {
+ IWorkbenchPage page =
+ PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
+ try {
+ IDE.openEditor(page, file, Activator.EDITOR_ID, true);
+ } catch (PartInitException e) {
+ }
+ }
+ });
+ monitor.worked(1);
+ }
+
+
+ /**
+ * Purpose of this method is to create a new empty deployment descriptor
+ * in the targetDir
+ */
+ public Resource createBaseDeploymentDescriptor(IFile file)
+ {
+ URI fileURI = URI.createURI(file.getFullPath().toString());
+
+ //generate Resource Factory
+ ddResourceFactoryImpl fac = new ddResourceFactoryImpl();
+ //URI ddFileLocation = URI.createFileURI(this.deployDirectory + System.getProperty("file.separator") + DD_FILENAME );
+
+ ddResourceImpl ddResource = (ddResourceImpl) fac.createResource(fileURI);
+ ddResource.setEncoding("UTF-8");
+ DocumentRoot rootElm = ddFactory.eINSTANCE.createDocumentRoot();
+ TDeployment deployElement = ddFactory.eINSTANCE.createTDeployment();
+ rootElm.setDeploy(deployElement);
+ ddResource.getContents().add(rootElm);
+
+ //bugzilla 250057: parse the project, and if we find a BPEL file, create
+ //a base "process" tag that has
+ // <active>true</active>
+ // <retired>false</retired>
+ IProject project = file.getProject();
+ List<Process> processes = DeployUtils.loadAllBPELFromProject(project, new ResourceSetImpl());
+ for (Iterator iterator = processes.iterator(); iterator.hasNext();) {
+ Process process = (Process) iterator.next();
+ ProcessType pt = DeployUtils.createProcessStub(process);
+ pt.setActive(true);
+ pt.setRetired(false);
+ pt.setModel(process);
+ deployElement.getProcess().add(pt);
+ }
+
+ return ddResource;
+ }
+
+ private void throwCoreException(String message) throws CoreException {
+ IStatus status =
+ new Status(IStatus.ERROR, "org.eclipse.bpel.apache.ode.deploy.ui", IStatus.OK, message, null);
+ throw new CoreException(status);
+ }
+
+ /**
+ * We will accept the selection in the workbench to see if
+ * we can initialize from it.
+ * @see IWorkbenchWizard#init(IWorkbench, IStructuredSelection)
+ */
+ public void init(IWorkbench workbench, IStructuredSelection selection) {
+ this.selection = selection;
+ }
+}
\ No newline at end of file
Added: workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/wizards/ODEDeployWizardPage.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/wizards/ODEDeployWizardPage.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/src/org/eclipse/bpel/apache/ode/deploy/ui/wizards/ODEDeployWizardPage.java 2011-02-17 22:22:01 UTC (rev 29205)
@@ -0,0 +1,187 @@
+package org.eclipse.bpel.apache.ode.deploy.ui.wizards;
+
+import org.eclipse.bpel.apache.ode.deploy.ui.util.DeployUtils;
+import org.eclipse.core.resources.IContainer;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.runtime.Path;
+import org.eclipse.jface.dialogs.IDialogPage;
+import org.eclipse.jface.viewers.ISelection;
+import org.eclipse.jface.viewers.IStructuredSelection;
+import org.eclipse.jface.wizard.WizardPage;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.events.ModifyEvent;
+import org.eclipse.swt.events.ModifyListener;
+import org.eclipse.swt.events.SelectionAdapter;
+import org.eclipse.swt.events.SelectionEvent;
+import org.eclipse.swt.layout.GridData;
+import org.eclipse.swt.layout.GridLayout;
+import org.eclipse.swt.widgets.Button;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Label;
+import org.eclipse.swt.widgets.Text;
+import org.eclipse.ui.dialogs.ContainerSelectionDialog;
+
+/**
+ * ODE deployment descriptor wizard page.
+ *
+ * @author Simon Moser (IBM)
+ * @author Tammo van Lessen (IAAS)
+ */
+public class ODEDeployWizardPage extends WizardPage {
+ private Text containerText;
+
+ private Text fileText;
+
+ private ISelection selection;
+
+ /**
+ * Constructor for SampleNewWizardPage.
+ *
+ * @param pageName
+ */
+ public ODEDeployWizardPage(ISelection selection) {
+ super("ODEDeployDescriptorWizardPage");
+ setTitle("Apache ODE Deployment Descriptor");
+ setDescription("This wizard creates a new Apache ODE descriptor file (deploy.xml). Note that the file name cannot be changed.");
+ this.selection = selection;
+ }
+
+ /**
+ * @see IDialogPage#createControl(Composite)
+ */
+ public void createControl(Composite parent) {
+ Composite container = new Composite(parent, SWT.NULL);
+ GridLayout layout = new GridLayout();
+ container.setLayout(layout);
+ layout.numColumns = 3;
+ layout.verticalSpacing = 9;
+ Label label = new Label(container, SWT.NULL);
+ label.setText("BPEL &Project:");
+
+ containerText = new Text(container, SWT.BORDER | SWT.SINGLE);
+ GridData gd = new GridData(GridData.FILL_HORIZONTAL);
+ containerText.setLayoutData(gd);
+ containerText.addModifyListener(new ModifyListener() {
+ public void modifyText(ModifyEvent e) {
+ dialogChanged();
+ }
+ });
+
+ Button button = new Button(container, SWT.PUSH);
+ button.setText("Browse...");
+ button.addSelectionListener(new SelectionAdapter() {
+ public void widgetSelected(SelectionEvent e) {
+ handleBrowse();
+ }
+ });
+ label = new Label(container, SWT.NULL);
+ label.setText("&File name:");
+
+ fileText = new Text(container, SWT.BORDER | SWT.SINGLE);
+ fileText.setText("deploy.xml");
+ fileText.setEditable(false);
+ gd = new GridData(GridData.FILL_HORIZONTAL);
+ fileText.setLayoutData(gd);
+ initialize();
+ dialogChanged();
+ setControl(container);
+ }
+
+ /**
+ * Tests if the current workbench selection is a suitable container to use.
+ */
+
+ private void initialize() {
+ if (selection != null && selection.isEmpty() == false
+ && selection instanceof IStructuredSelection) {
+ IStructuredSelection ssel = (IStructuredSelection) selection;
+ if (ssel.size() > 1)
+ return;
+ Object obj = ssel.getFirstElement();
+
+ if (obj instanceof IResource) {
+ IProject project;
+ project = ((IResource) obj).getProject();
+ IContainer bpelContent = project.getFolder(DeployUtils.getWebContentRootPath(project));
+ if (bpelContent != null) {
+ containerText.setText(bpelContent.getFullPath().toString());
+ } else {
+ containerText.setText(project.getFullPath().toString());
+ }
+ }
+ }
+ }
+
+ /**
+ * Uses the standard container selection dialog to choose the new value for
+ * the container field.
+ */
+
+ private void handleBrowse() {
+ ContainerSelectionDialog dialog = new ContainerSelectionDialog(
+ getShell(), ResourcesPlugin.getWorkspace().getRoot(), false,
+ "Select a BPEL Project that hosts the deployment descriptor");
+ if (dialog.open() == ContainerSelectionDialog.OK) {
+ Object[] result = dialog.getResult();
+ if (result.length == 1) {
+ containerText.setText(((Path) result[0]).toString());
+ }
+ }
+ }
+
+ /**
+ * Ensures that both text fields are set.
+ */
+
+ private void dialogChanged() {
+ IResource container = ResourcesPlugin.getWorkspace().getRoot()
+ .findMember(new Path(getContainerName()));
+ String fileName = getFileName();
+
+ if (getContainerName().length() == 0) {
+ updateStatus("BPEL Project must be specified");
+ return;
+ }
+ if (container == null
+ || (container.getType() & (IResource.PROJECT | IResource.FOLDER)) == 0) {
+ updateStatus("BPEL Project must exist");
+ return;
+ }
+ if (!container.isAccessible()) {
+ updateStatus("BPEL Project must be writable");
+ return;
+ }
+ if (fileName.length() == 0) {
+ updateStatus("File name must be specified");
+ return;
+ }
+ if (fileName.replace('\\', '/').indexOf('/', 1) > 0) {
+ updateStatus("File name must be valid");
+ return;
+ }
+ int dotLoc = fileName.lastIndexOf('.');
+ if (dotLoc != -1) {
+ String ext = fileName.substring(dotLoc + 1);
+ if (ext.equalsIgnoreCase("xml") == false) {
+ updateStatus("File extension must be \"xml\"");
+ return;
+ }
+ }
+ updateStatus(null);
+ }
+
+ private void updateStatus(String message) {
+ setErrorMessage(message);
+ setPageComplete(message == null);
+ }
+
+ public String getContainerName() {
+ return containerText.getText();
+ }
+
+ public String getFileName() {
+ return fileText.getText();
+ }
+}
\ No newline at end of file
15 years, 1 month
JBoss Tools SVN: r29204 - workspace/bbrodt.
by jbosstools-commits@lists.jboss.org
Author: bbrodt
Date: 2011-02-17 17:20:16 -0500 (Thu, 17 Feb 2011)
New Revision: 29204
Added:
workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.ui/
Log:
Initial import.
15 years, 1 month
JBoss Tools SVN: r29203 - workspace/bbrodt.
by jbosstools-commits@lists.jboss.org
Author: bbrodt
Date: 2011-02-17 17:13:12 -0500 (Thu, 17 Feb 2011)
New Revision: 29203
Removed:
workspace/bbrodt/org.eclipse.bpel.jboss.riftsaw.runtime/
Log:
remove old garbage
15 years, 1 month
JBoss Tools SVN: r29202 - workspace/bbrodt.
by jbosstools-commits@lists.jboss.org
Author: bbrodt
Date: 2011-02-17 17:12:39 -0500 (Thu, 17 Feb 2011)
New Revision: 29202
Added:
workspace/bbrodt/org.eclipse.bpel.apache.ode.deploy.model/
Removed:
workspace/bbrodt/org.eclipse.bpel/
Log:
15 years, 1 month
JBoss Tools SVN: r29201 - in workspace/bbrodt/org.eclipse.bpel: META-INF and 12 other directories.
by jbosstools-commits@lists.jboss.org
Author: bbrodt
Date: 2011-02-17 17:11:27 -0500 (Thu, 17 Feb 2011)
New Revision: 29201
Added:
workspace/bbrodt/org.eclipse.bpel/.classpath
workspace/bbrodt/org.eclipse.bpel/.project
workspace/bbrodt/org.eclipse.bpel/META-INF/
workspace/bbrodt/org.eclipse.bpel/META-INF/MANIFEST.MF
workspace/bbrodt/org.eclipse.bpel/build.properties
workspace/bbrodt/org.eclipse.bpel/model/
workspace/bbrodt/org.eclipse.bpel/model/dd.xsd
workspace/bbrodt/org.eclipse.bpel/model/odeDeploymentDescriptor.ecore
workspace/bbrodt/org.eclipse.bpel/model/odeDeploymentDescriptor.genmodel
workspace/bbrodt/org.eclipse.bpel/model/odeDeploymentDescriptor.xsd2ecore
workspace/bbrodt/org.eclipse.bpel/plugin.properties
workspace/bbrodt/org.eclipse.bpel/plugin.xml
workspace/bbrodt/org.eclipse.bpel/src/
workspace/bbrodt/org.eclipse.bpel/src/org/
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/BindingType.java
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/DocumentRoot.java
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/GenerateType.java
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/MexInterceptorsType.java
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/ProcessType.java
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/PropertyType.java
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/TDeployment.java
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/TEnableEventList.java
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/TInvoke.java
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/TMexInterceptor.java
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/TProcessEvents.java
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/TProvide.java
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/TScopeEvents.java
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/TService.java
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/ddFactory.java
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/ddPackage.java
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/BindingTypeImpl.java
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/DocumentRootImpl.java
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/MexInterceptorsTypeImpl.java
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/ProcessTypeImpl.java
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/PropertyTypeImpl.java
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/TDeploymentImpl.java
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/TEnableEventListImpl.java
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/TInvokeImpl.java
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/TMexInterceptorImpl.java
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/TProcessEventsImpl.java
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/TProvideImpl.java
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/TScopeEventsImpl.java
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/TServiceImpl.java
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/ddFactoryImpl.java
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/ddPackageImpl.java
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/util/
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/util/DDXMLHelperImpl.java
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/util/ddAdapterFactory.java
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/util/ddResourceFactoryImpl.java
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/util/ddResourceImpl.java
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/util/ddSwitch.java
workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/util/ddXMLProcessor.java
Log:
Initial Check-in
Added: workspace/bbrodt/org.eclipse.bpel/.classpath
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/.classpath (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/.classpath 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Added: workspace/bbrodt/org.eclipse.bpel/.project
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/.project (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/.project 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.bpel.apache.ode.deploy.model</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
+ </natures>
+</projectDescription>
Added: workspace/bbrodt/org.eclipse.bpel/META-INF/MANIFEST.MF
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/META-INF/MANIFEST.MF (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/META-INF/MANIFEST.MF 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,19 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %pluginName
+Bundle-SymbolicName: org.eclipse.bpel.apache.ode.deploy.model; singleton:=true
+Bundle-Version: 0.5.0.qualifier
+Bundle-Vendor: %providerName
+Bundle-Localization: plugin
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Export-Package: org.eclipse.bpel.apache.ode.deploy.model.dd,
+ org.eclipse.bpel.apache.ode.deploy.model.dd.impl,
+ org.eclipse.bpel.apache.ode.deploy.model.dd.util
+Require-Bundle: org.eclipse.emf.ecore;bundle-version="[2.4.0,3.0.0)";visibility:=reexport,
+ org.eclipse.emf.ecore.xmi;bundle-version="[2.4.0,3.0.0)";visibility:=reexport,
+ org.eclipse.bpel.model;bundle-version="[0.4.0,2.0.0)",
+ org.eclipse.wst.wsdl,
+ org.eclipse.xsd;bundle-version="[2.4.0,3.0.0)",
+ org.eclipse.core.runtime;bundle-version="[3.4.0,4.0.0)",
+ javax.wsdl;bundle-version="[1.5.0,1.6.0)"
+Bundle-ActivationPolicy: lazy
Added: workspace/bbrodt/org.eclipse.bpel/build.properties
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/build.properties (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/build.properties 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,14 @@
+
+# <copyright>
+# </copyright>
+#
+# $Id: build.properties,v 1.2 2008/11/08 13:59:16 smoser Exp $
+
+bin.includes = model/,\
+ META-INF/,\
+ plugin.xml,\
+ .,\
+ plugin.properties
+jars.compile.order = .
+output.. = bin/
+source.. = src/
Added: workspace/bbrodt/org.eclipse.bpel/model/dd.xsd
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/model/dd.xsd (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/model/dd.xsd 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,184 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+ -->
+
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://www.apache.org/ode/schemas/dd/2007/03"
+ xmlns:dd="http://www.apache.org/ode/schemas/dd/2007/03"
+ elementFormDefault="qualified">
+
+ <xs:element name="deploy" id="deploy" type="dd:tDeployment"/>
+
+ <xs:complexType name="tDeployment">
+ <xs:sequence>
+
+ <xs:element name="process" minOccurs="0" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:sequence>
+
+ <xs:element name="active" minOccurs="0" maxOccurs="1" type="xs:boolean"
+ default="true">
+ <xs:annotation>
+ <xs:documentation> Active flag, if set process will be activated once
+ deployed. </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="retired" minOccurs="0" maxOccurs="1" type="xs:boolean"
+ default="false">
+ <xs:annotation>
+ <xs:documentation> Retired flag, if set process will be retired once
+ deployed. </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="in-memory" minOccurs="0" maxOccurs="1" type="xs:boolean"
+ default="false">
+ <xs:annotation>
+ <xs:documentation>Should the process be persistent or only execute
+ in-memory.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:element name="property" minOccurs="0" maxOccurs="unbounded">
+ <xs:annotation>
+ <xs:documentation>
+ A user-defined property that will be attached to a process upon
+ deployment.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:QName" use="required"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="process-events" minOccurs="0" maxOccurs="1" type="dd:tProcessEvents"/>
+
+ <xs:element name="provide" minOccurs="0" maxOccurs="unbounded" type="dd:tProvide"/>
+ <xs:element name="invoke" minOccurs="0" maxOccurs="unbounded" type="dd:tInvoke"/>
+
+ <xs:element name="mex-interceptors" minOccurs="0" maxOccurs="1" >
+ <xs:annotation>
+ <xs:documentation>
+ List of message exchange interceptors that should be registered for this process.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="mex-interceptor" minOccurs="0" maxOccurs="unbounded" type="dd:tMexInterceptor" />
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="type" minOccurs="0" maxOccurs="1" type="xs:QName">
+ <xs:annotation>
+ <xs:documentation> Process type -- indicates which process defintion should be used
+ for the process.</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ </xs:sequence>
+
+ <xs:attribute name="name" type="xs:QName" use="required"/>
+ <xs:attribute name="fileName" type="xs:string" use="optional"/>
+ <xs:attribute name="bpel11wsdlFileName" type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation>
+ Allows you to specify a WSDL for BPEL 1.1 processes which do not support an "import" element.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+ </xs:element>
+
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="tProvide">
+ <xs:sequence>
+ <xs:element name="service" minOccurs="1" maxOccurs="1" type="dd:tService"/>
+ </xs:sequence>
+ <xs:attribute name="partnerLink" type="xs:string" use="required"/>
+ </xs:complexType>
+
+ <xs:complexType name="tInvoke">
+ <xs:choice>
+ <xs:element name="service" minOccurs="1" maxOccurs="1" type="dd:tService"/>
+ <xs:element name="binding" minOccurs="1" maxOccurs="1">
+ <xs:complexType>
+ <xs:attribute name="name" type="xs:QName" use="required"/>
+ </xs:complexType>
+ </xs:element>
+ </xs:choice>
+ <xs:attribute name="partnerLink" type="xs:string" use="required"/>
+ </xs:complexType>
+
+ <xs:complexType name="tService">
+ <xs:sequence>
+ <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:QName" use="required"/>
+ <xs:attribute name="port" type="xs:NCName" use="required"/>
+ </xs:complexType>
+
+ <xs:complexType name="tMexInterceptor" >
+ <xs:annotation>
+ <xs:documentation>
+ Message exchange interceptor configuration.
+ </xs:documentation>
+ </xs:annotation>
+
+ <xs:sequence>
+ <xs:element name="class-name" type="xs:string" />
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="tEnableEventList">
+ <xs:sequence>
+ <xs:element name="enable-event" minOccurs="1" maxOccurs="unbounded" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="tScopeEvents">
+ <xs:complexContent>
+ <xs:extension base="dd:tEnableEventList">
+ <xs:attribute name="name" use="required" type="xs:string"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="tProcessEvents">
+ <xs:complexContent>
+ <xs:extension base="dd:tEnableEventList">
+ <xs:sequence>
+ <xs:element name="scope-events" minOccurs="1" maxOccurs="unbounded" type="dd:tScopeEvents"/>
+ </xs:sequence>
+ <xs:attribute name="generate" use="optional">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="all"/>
+ <xs:enumeration value="none"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+</xs:schema>
Added: workspace/bbrodt/org.eclipse.bpel/model/odeDeploymentDescriptor.ecore
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/model/odeDeploymentDescriptor.ecore (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/model/odeDeploymentDescriptor.ecore 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,377 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ecore:EPackage xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="dd"
+ nsURI="http://www.apache.org/ode/schemas/dd/2007/03" nsPrefix="">
+ <eClassifiers xsi:type="ecore:EClass" name="BindingType">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="binding_._type"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//QName">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="DocumentRoot">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=""/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed" unique="false" upperBound="-1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xMLNSPrefixMap" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmlns:prefix"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xSISchemaLocation" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xsi:schemaLocation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="deploy" upperBound="-2"
+ eType="#//TDeployment" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="deploy"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EEnum" name="GenerateType">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="generate_._type"/>
+ </eAnnotations>
+ <eLiterals name="all"/>
+ <eLiterals name="none" value="1"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="GenerateTypeObject" instanceClassName="org.eclipse.emf.common.util.Enumerator">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="generate_._type:Object"/>
+ <details key="baseType" value="generate_._type"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="MexInterceptorsType">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="mex-interceptors_._type"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="mexInterceptor" upperBound="-1"
+ eType="#//TMexInterceptor" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="mex-interceptor"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ProcessType">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="process_._type"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="active" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ defaultValueLiteral="true" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value=" Active flag, if set process will be activated once
 deployed. "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="active"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="retired" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ defaultValueLiteral="false" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value=" Retired flag, if set process will be retired once
 deployed. "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="retired"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="inMemory" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ defaultValueLiteral="false" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Should the process be persistent or only execute
 in-memory."/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="in-memory"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="property" upperBound="-1"
+ eType="#//PropertyType" containment="true" resolveProxies="false">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 A user-defined property that will be attached to a process upon
 deployment.
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="property"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="processEvents" eType="#//TProcessEvents"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="process-events"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="provide" upperBound="-1"
+ eType="#//TProvide" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="provide"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="invoke" upperBound="-1"
+ eType="#//TInvoke" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="invoke"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="mexInterceptors" eType="#//MexInterceptorsType"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 List of message exchange interceptors that should be registered for this process.
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="mex-interceptors"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//QName">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value=" Process type -- indicates which process defintion should be used
 for the process."/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="type"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="bpel11wsdlFileName" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 Allows you to specify a WSDL for BPEL 1.1 processes which do not support an "import" element.
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="bpel11wsdlFileName"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="fileName" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="fileName"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//QName">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="model" unique="false" eType="ecore:EClass ../../org.eclipse.bpel.model/src/model/bpel.ecore#//Process"
+ transient="true"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="PropertyType">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="property_._type"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="any" unique="false" upperBound="-1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="wildcards" value="##other"/>
+ <details key="name" value=":0"/>
+ <details key="processing" value="lax"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//QName">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="TDeployment">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tDeployment"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="process" upperBound="-1"
+ eType="#//ProcessType" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="process"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="TEnableEventList">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tEnableEventList"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="enableEvent" unique="false"
+ lowerBound="1" upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="enable-event"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="TInvoke">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tInvoke"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="service" eType="#//TService"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="service"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="binding" eType="#//BindingType"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="binding"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="partnerLink" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="partnerLink"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="TMexInterceptor">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 Message exchange interceptor configuration.
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tMexInterceptor"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="className" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="class-name"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="TProcessEvents" eSuperTypes="#//TEnableEventList">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tProcessEvents"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="scopeEvents" lowerBound="1"
+ upperBound="-1" eType="#//TScopeEvents" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="scope-events"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="generate" eType="#//GenerateType"
+ defaultValueLiteral="all" unsettable="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="generate"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="TProvide">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tProvide"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="service" lowerBound="1"
+ eType="#//TService" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="service"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="partnerLink" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="partnerLink"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="TScopeEvents" eSuperTypes="#//TEnableEventList">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tScopeEvents"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="TService">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="tService"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="any" unique="false" upperBound="-1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="wildcards" value="##other"/>
+ <details key="name" value=":0"/>
+ <details key="processing" value="lax"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//QName">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="port" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//NCName">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="port"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+</ecore:EPackage>
Added: workspace/bbrodt/org.eclipse.bpel/model/odeDeploymentDescriptor.genmodel
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/model/odeDeploymentDescriptor.genmodel (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/model/odeDeploymentDescriptor.genmodel 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<genmodel:GenModel xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
+ xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" copyrightText="Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html

...; IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation"
+ modelDirectory="/org.eclipse.bpel.apache.ode.deploy.model/src" modelPluginID="org.eclipse.bpel.apache.ode.deploy.model"
+ modelName="OdeDeploymentDescriptor" importerID="org.eclipse.emf.importer.ecore"
+ complianceLevel="5.0" copyrightFields="false" usedGenPackages="../../org.eclipse.bpel.model/src/model/bpel.genmodel#//model ../../org.eclipse.bpel.model/src/model/bpel.genmodel#//partnerlinktype ../../org.eclipse.bpel.model/src/model/bpel.genmodel#//messageproperties platform:/plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore platform:/plugin/org.eclipse.wst.wsdl/model/WSDL.genmodel#//wsdl platform:/plugin/org.eclipse.xsd/model/XSD.genmodel#//xsd">
+ <foreignModel>odeDeploymentDescriptor.ecore</foreignModel>
+ <genPackages prefix="dd" basePackage="org.eclipse.bpel.apache.ode.deploy.model"
+ resource="XML" disposableProviderFactory="true" ecorePackage="odeDeploymentDescriptor.ecore#/">
+ <genEnums typeSafeEnumCompatible="false" ecoreEnum="odeDeploymentDescriptor.ecore#//GenerateType">
+ <genEnumLiterals ecoreEnumLiteral="odeDeploymentDescriptor.ecore#//GenerateType/all"/>
+ <genEnumLiterals ecoreEnumLiteral="odeDeploymentDescriptor.ecore#//GenerateType/none"/>
+ </genEnums>
+ <genDataTypes ecoreDataType="odeDeploymentDescriptor.ecore#//GenerateTypeObject"/>
+ <genClasses ecoreClass="odeDeploymentDescriptor.ecore#//BindingType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute odeDeploymentDescriptor.ecore#//BindingType/name"/>
+ </genClasses>
+ <genClasses ecoreClass="odeDeploymentDescriptor.ecore#//DocumentRoot">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute odeDeploymentDescriptor.ecore#//DocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference odeDeploymentDescriptor.ecore#//DocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference odeDeploymentDescriptor.ecore#//DocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference odeDeploymentDescriptor.ecore#//DocumentRoot/deploy"/>
+ </genClasses>
+ <genClasses ecoreClass="odeDeploymentDescriptor.ecore#//MexInterceptorsType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference odeDeploymentDescriptor.ecore#//MexInterceptorsType/mexInterceptor"/>
+ </genClasses>
+ <genClasses ecoreClass="odeDeploymentDescriptor.ecore#//ProcessType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute odeDeploymentDescriptor.ecore#//ProcessType/active"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute odeDeploymentDescriptor.ecore#//ProcessType/retired"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute odeDeploymentDescriptor.ecore#//ProcessType/inMemory"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference odeDeploymentDescriptor.ecore#//ProcessType/property"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference odeDeploymentDescriptor.ecore#//ProcessType/processEvents"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference odeDeploymentDescriptor.ecore#//ProcessType/provide"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference odeDeploymentDescriptor.ecore#//ProcessType/invoke"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference odeDeploymentDescriptor.ecore#//ProcessType/mexInterceptors"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute odeDeploymentDescriptor.ecore#//ProcessType/type"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute odeDeploymentDescriptor.ecore#//ProcessType/bpel11wsdlFileName"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute odeDeploymentDescriptor.ecore#//ProcessType/fileName"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute odeDeploymentDescriptor.ecore#//ProcessType/name"/>
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference odeDeploymentDescriptor.ecore#//ProcessType/model"/>
+ </genClasses>
+ <genClasses ecoreClass="odeDeploymentDescriptor.ecore#//PropertyType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EAttribute odeDeploymentDescriptor.ecore#//PropertyType/any"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute odeDeploymentDescriptor.ecore#//PropertyType/name"/>
+ </genClasses>
+ <genClasses ecoreClass="odeDeploymentDescriptor.ecore#//TDeployment">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference odeDeploymentDescriptor.ecore#//TDeployment/process"/>
+ </genClasses>
+ <genClasses ecoreClass="odeDeploymentDescriptor.ecore#//TEnableEventList">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute odeDeploymentDescriptor.ecore#//TEnableEventList/enableEvent"/>
+ </genClasses>
+ <genClasses ecoreClass="odeDeploymentDescriptor.ecore#//TInvoke">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference odeDeploymentDescriptor.ecore#//TInvoke/service"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference odeDeploymentDescriptor.ecore#//TInvoke/binding"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute odeDeploymentDescriptor.ecore#//TInvoke/partnerLink"/>
+ </genClasses>
+ <genClasses ecoreClass="odeDeploymentDescriptor.ecore#//TMexInterceptor">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute odeDeploymentDescriptor.ecore#//TMexInterceptor/className"/>
+ </genClasses>
+ <genClasses ecoreClass="odeDeploymentDescriptor.ecore#//TProcessEvents">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference odeDeploymentDescriptor.ecore#//TProcessEvents/scopeEvents"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute odeDeploymentDescriptor.ecore#//TProcessEvents/generate"/>
+ </genClasses>
+ <genClasses ecoreClass="odeDeploymentDescriptor.ecore#//TProvide">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference odeDeploymentDescriptor.ecore#//TProvide/service"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute odeDeploymentDescriptor.ecore#//TProvide/partnerLink"/>
+ </genClasses>
+ <genClasses ecoreClass="odeDeploymentDescriptor.ecore#//TScopeEvents">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute odeDeploymentDescriptor.ecore#//TScopeEvents/name"/>
+ </genClasses>
+ <genClasses ecoreClass="odeDeploymentDescriptor.ecore#//TService">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EAttribute odeDeploymentDescriptor.ecore#//TService/any"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute odeDeploymentDescriptor.ecore#//TService/name"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute odeDeploymentDescriptor.ecore#//TService/port"/>
+ </genClasses>
+ </genPackages>
+</genmodel:GenModel>
Added: workspace/bbrodt/org.eclipse.bpel/model/odeDeploymentDescriptor.xsd2ecore
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/model/odeDeploymentDescriptor.xsd2ecore (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/model/odeDeploymentDescriptor.xsd2ecore 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,108 @@
+<?xml version="1.0" encoding="ASCII"?>
+<xsd2ecore:XSD2EcoreMappingRoot xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI" xmlns:xsd2ecore="http://www.eclipse.org/emf/2002/XSD2Ecore" inputs="dd.xsd#/"
+ outputs="_03.ecore#/" topToBottom="true">
+ <nested inputs="bundleentry://506/cache/www.w3.org/2001/XMLSchema.xsd#//boolean;XSDSimple..."
+ outputs="http://www.eclipse.org/emf/2003/XMLType#//Boolean"/>
+ <nested inputs="bundleentry://506/cache/www.w3.org/2001/XMLSchema.xsd#//QName;XSDSimpleTy..."
+ outputs="http://www.eclipse.org/emf/2003/XMLType#//QName"/>
+ <nested inputs="dd.xsd#//tDeployment;XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle/process;XSDElementDeclaration/XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle=3/property;XSDElementDeclaration/XSDComplexTypeDefinition"
+ outputs="_03.ecore#//PropertyType">
+ <nested inputs="dd.xsd#//tDeployment;XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle/process;XSDElementDeclaration/XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle=3/property;XSDElementDeclaration/XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle"
+ outputs="_03.ecore#//PropertyType/any"/>
+ <nested inputs="dd.xsd#//tDeployment;XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle/process;XSDElementDeclaration/XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle=3/property;XSDElementDeclaration/XSDComplexTypeDefinition/XSDAttributeUse"
+ outputs="_03.ecore#//PropertyType/name"/>
+ </nested>
+ <nested inputs="bundleentry://506/cache/www.w3.org/2001/XMLSchema.xsd#//string;XSDSimpleT..."
+ outputs="http://www.eclipse.org/emf/2003/XMLType#//String"/>
+ <nested inputs="dd.xsd#//tEnableEventList;XSDComplexTypeDefinition=5" outputs="_03.ecore#//TEnableEventList">
+ <nested inputs="dd.xsd#//tEnableEventList;XSDComplexTypeDefinition=5/XSDParticle/XSDModelGroup/XSDParticle"
+ outputs="_03.ecore#//TEnableEventList/enableEvent"/>
+ </nested>
+ <nested inputs="dd.xsd#//tScopeEvents;XSDComplexTypeDefinition=6" outputs="_03.ecore#//TScopeEvents">
+ <nested inputs="dd.xsd#//tScopeEvents;XSDComplexTypeDefinition=6/XSDAttributeUse"
+ outputs="_03.ecore#//TScopeEvents/name"/>
+ </nested>
+ <nested inputs="dd.xsd#//tProcessEvents;XSDComplexTypeDefinition=7/XSDAttributeUse/generate;XSDAttributeDeclaration/XSDSimpleTypeDefinition"
+ outputs="_03.ecore#//GenerateType">
+ <nested inputs="dd.xsd#//tProcessEvents;XSDComplexTypeDefinition=7/XSDAttributeUse/generate;XSDAttributeDeclaration/XSDSimpleTypeDefinition/XSDEnumerationFacet"
+ outputs="_03.ecore#//GenerateType/all"/>
+ <nested inputs="dd.xsd#//tProcessEvents;XSDComplexTypeDefinition=7/XSDAttributeUse/generate;XSDAttributeDeclaration/XSDSimpleTypeDefinition/XSDEnumerationFacet=1"
+ outputs="_03.ecore#//GenerateType/none"/>
+ </nested>
+ <nested inputs="dd.xsd#//tProcessEvents;XSDComplexTypeDefinition=7" outputs="_03.ecore#//TProcessEvents">
+ <nested inputs="dd.xsd#//tProcessEvents;XSDComplexTypeDefinition=7/XSDParticle/XSDModelGroup/XSDParticle"
+ outputs="_03.ecore#//TProcessEvents/scopeEvents"/>
+ <nested inputs="dd.xsd#//tProcessEvents;XSDComplexTypeDefinition=7/XSDAttributeUse"
+ outputs="_03.ecore#//TProcessEvents/generate"/>
+ </nested>
+ <nested inputs="bundleentry://506/cache/www.w3.org/2001/XMLSchema.xsd#//NCName;XSDSimpleT..."
+ outputs="http://www.eclipse.org/emf/2003/XMLType#//NCName"/>
+ <nested inputs="dd.xsd#//tService;XSDComplexTypeDefinition=3" outputs="_03.ecore#//TService">
+ <nested inputs="dd.xsd#//tService;XSDComplexTypeDefinition=3/XSDParticle/XSDModelGroup/XSDParticle"
+ outputs="_03.ecore#//TService/any"/>
+ <nested inputs="dd.xsd#//tService;XSDComplexTypeDefinition=3/XSDAttributeUse"
+ outputs="_03.ecore#//TService/name"/>
+ <nested inputs="dd.xsd#//tService;XSDComplexTypeDefinition=3/XSDAttributeUse=1"
+ outputs="_03.ecore#//TService/port"/>
+ </nested>
+ <nested inputs="dd.xsd#//tProvide;XSDComplexTypeDefinition=1" outputs="_03.ecore#//TProvide">
+ <nested inputs="dd.xsd#//tProvide;XSDComplexTypeDefinition=1/XSDParticle/XSDModelGroup/XSDParticle"
+ outputs="_03.ecore#//TProvide/service"/>
+ <nested inputs="dd.xsd#//tProvide;XSDComplexTypeDefinition=1/XSDAttributeUse"
+ outputs="_03.ecore#//TProvide/partnerLink"/>
+ </nested>
+ <nested inputs="dd.xsd#//tInvoke;XSDComplexTypeDefinition=2/XSDParticle/XSDModelGroup/XSDParticle=1/binding;XSDElementDeclaration/XSDComplexTypeDefinition"
+ outputs="_03.ecore#//BindingType">
+ <nested inputs="dd.xsd#//tInvoke;XSDComplexTypeDefinition=2/XSDParticle/XSDModelGroup/XSDParticle=1/binding;XSDElementDeclaration/XSDComplexTypeDefinition/XSDAttributeUse"
+ outputs="_03.ecore#//BindingType/name"/>
+ </nested>
+ <nested inputs="dd.xsd#//tInvoke;XSDComplexTypeDefinition=2" outputs="_03.ecore#//TInvoke">
+ <nested inputs="dd.xsd#//tInvoke;XSDComplexTypeDefinition=2/XSDParticle/XSDModelGroup/XSDParticle"
+ outputs="_03.ecore#//TInvoke/service"/>
+ <nested inputs="dd.xsd#//tInvoke;XSDComplexTypeDefinition=2/XSDParticle/XSDModelGroup/XSDParticle=1"
+ outputs="_03.ecore#//TInvoke/binding"/>
+ <nested inputs="dd.xsd#//tInvoke;XSDComplexTypeDefinition=2/XSDAttributeUse" outputs="_03.ecore#//TInvoke/partnerLink"/>
+ </nested>
+ <nested inputs="dd.xsd#//tMexInterceptor;XSDComplexTypeDefinition=4" outputs="_03.ecore#//TMexInterceptor">
+ <nested inputs="dd.xsd#//tMexInterceptor;XSDComplexTypeDefinition=4/XSDParticle/XSDModelGroup/XSDParticle"
+ outputs="_03.ecore#//TMexInterceptor/className"/>
+ </nested>
+ <nested inputs="dd.xsd#//tDeployment;XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle/process;XSDElementDeclaration/XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle=7/mex-interceptors;XSDElementDeclaration/XSDComplexTypeDefinition"
+ outputs="_03.ecore#//MexInterceptorsType">
+ <nested inputs="dd.xsd#//tDeployment;XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle/process;XSDElementDeclaration/XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle=7/mex-interceptors;XSDElementDeclaration/XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle"
+ outputs="_03.ecore#//MexInterceptorsType/mexInterceptor"/>
+ </nested>
+ <nested inputs="dd.xsd#//tDeployment;XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle/process;XSDElementDeclaration/XSDComplexTypeDefinition"
+ outputs="_03.ecore#//ProcessType">
+ <nested inputs="dd.xsd#//tDeployment;XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle/process;XSDElementDeclaration/XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle"
+ outputs="_03.ecore#//ProcessType/active"/>
+ <nested inputs="dd.xsd#//tDeployment;XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle/process;XSDElementDeclaration/XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle=1"
+ outputs="_03.ecore#//ProcessType/retired"/>
+ <nested inputs="dd.xsd#//tDeployment;XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle/process;XSDElementDeclaration/XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle=2"
+ outputs="_03.ecore#//ProcessType/inMemory"/>
+ <nested inputs="dd.xsd#//tDeployment;XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle/process;XSDElementDeclaration/XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle=3"
+ outputs="_03.ecore#//ProcessType/property"/>
+ <nested inputs="dd.xsd#//tDeployment;XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle/process;XSDElementDeclaration/XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle=4"
+ outputs="_03.ecore#//ProcessType/processEvents"/>
+ <nested inputs="dd.xsd#//tDeployment;XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle/process;XSDElementDeclaration/XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle=5"
+ outputs="_03.ecore#//ProcessType/provide"/>
+ <nested inputs="dd.xsd#//tDeployment;XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle/process;XSDElementDeclaration/XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle=6"
+ outputs="_03.ecore#//ProcessType/invoke"/>
+ <nested inputs="dd.xsd#//tDeployment;XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle/process;XSDElementDeclaration/XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle=7"
+ outputs="_03.ecore#//ProcessType/mexInterceptors"/>
+ <nested inputs="dd.xsd#//tDeployment;XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle/process;XSDElementDeclaration/XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle=8"
+ outputs="_03.ecore#//ProcessType/type"/>
+ <nested inputs="dd.xsd#//tDeployment;XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle/process;XSDElementDeclaration/XSDComplexTypeDefinition/XSDAttributeUse=2"
+ outputs="_03.ecore#//ProcessType/bpel11wsdlFileName"/>
+ <nested inputs="dd.xsd#//tDeployment;XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle/process;XSDElementDeclaration/XSDComplexTypeDefinition/XSDAttributeUse=1"
+ outputs="_03.ecore#//ProcessType/fileName"/>
+ <nested inputs="dd.xsd#//tDeployment;XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle/process;XSDElementDeclaration/XSDComplexTypeDefinition/XSDAttributeUse"
+ outputs="_03.ecore#//ProcessType/name"/>
+ </nested>
+ <nested inputs="dd.xsd#//tDeployment;XSDComplexTypeDefinition" outputs="_03.ecore#//TDeployment">
+ <nested inputs="dd.xsd#//tDeployment;XSDComplexTypeDefinition/XSDParticle/XSDModelGroup/XSDParticle"
+ outputs="_03.ecore#//TDeployment/process"/>
+ </nested>
+ <nested inputs="dd.xsd#//deploy;XSDElementDeclaration" outputs="_03.ecore#//DocumentRoot/deploy"/>
+</xsd2ecore:XSD2EcoreMappingRoot>
Added: workspace/bbrodt/org.eclipse.bpel/plugin.properties
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/plugin.properties (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/plugin.properties 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,30 @@
+###############################################################################
+# Copyright (c) 2010 JBoss by Red Hat and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+# JBoss by Red Hat - subsequent contributions and maintenance
+###############################################################################
+# <copyright>
+# </copyright>
+#
+# $Id: plugin.properties,v 1.1 2008/08/12 17:27:58 smoser Exp $
+
+# ====================================================================
+# To code developer:
+# Do NOT change the properties between this line and the
+# "%%% END OF TRANSLATED PROPERTIES %%%" line.
+# Make a new property name, append to the end of the file and change
+# the code to use the new property.
+# ====================================================================
+
+# ====================================================================
+# %%% END OF TRANSLATED PROPERTIES %%%
+# ====================================================================
+
+pluginName = ODE Deploy Descriptor EMF Model
+providerName = JBoss by Red Hat
Added: workspace/bbrodt/org.eclipse.bpel/plugin.xml
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/plugin.xml (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/plugin.xml 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+
+<!--
+ <copyright>
+ </copyright>
+
+ $Id: plugin.xml,v 1.1 2008/08/12 17:27:58 smoser Exp $
+-->
+
+<plugin>
+
+ <extension point="org.eclipse.emf.ecore.generated_package">
+ <package
+ uri = "http://www.apache.org/ode/schemas/dd/2007/03"
+ class = "org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage"
+ genModel = "model/odeDeploymentDescriptor.genmodel" />
+ </extension>
+
+ <extension point="org.eclipse.emf.ecore.extension_parser">
+ <parser
+ type="dd"
+ class="org.eclipse.bpel.apache.ode.deploy.model.dd.util.ddResourceFactoryImpl" />
+ </extension>
+
+</plugin>
Added: workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/BindingType.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/BindingType.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/BindingType.java 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,62 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.model.dd;
+
+import javax.xml.namespace.QName;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Binding Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.BindingType#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getBindingType()
+ * @model extendedMetaData="name='binding_._type' kind='empty'"
+ * @generated
+ */
+public interface BindingType extends EObject {
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(QName)
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getBindingType_Name()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.QName" required="true"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ QName getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.BindingType#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(QName value);
+
+} // BindingType
Added: workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/DocumentRoot.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/DocumentRoot.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/DocumentRoot.java 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,120 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.model.dd;
+
+import org.eclipse.emf.common.util.EMap;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.ecore.util.FeatureMap;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Document Root</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.DocumentRoot#getMixed <em>Mixed</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.DocumentRoot#getDeploy <em>Deploy</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getDocumentRoot()
+ * @model extendedMetaData="name='' kind='mixed'"
+ * @generated
+ */
+public interface DocumentRoot extends EObject {
+ /**
+ * Returns the value of the '<em><b>Mixed</b></em>' attribute list.
+ * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Mixed</em>' attribute list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Mixed</em>' attribute list.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getDocumentRoot_Mixed()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
+ * extendedMetaData="kind='elementWildcard' name=':mixed'"
+ * @generated
+ */
+ FeatureMap getMixed();
+
+ /**
+ * Returns the value of the '<em><b>XMLNS Prefix Map</b></em>' map.
+ * The key is of type {@link java.lang.String},
+ * and the value is of type {@link java.lang.String},
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>XMLNS Prefix Map</em>' map isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>XMLNS Prefix Map</em>' map.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getDocumentRoot_XMLNSPrefixMap()
+ * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EString>" transient="true"
+ * extendedMetaData="kind='attribute' name='xmlns:prefix'"
+ * @generated
+ */
+ EMap<String, String> getXMLNSPrefixMap();
+
+ /**
+ * Returns the value of the '<em><b>XSI Schema Location</b></em>' map.
+ * The key is of type {@link java.lang.String},
+ * and the value is of type {@link java.lang.String},
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>XSI Schema Location</em>' map isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>XSI Schema Location</em>' map.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getDocumentRoot_XSISchemaLocation()
+ * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EString>" transient="true"
+ * extendedMetaData="kind='attribute' name='xsi:schemaLocation'"
+ * @generated
+ */
+ EMap<String, String> getXSISchemaLocation();
+
+ /**
+ * Returns the value of the '<em><b>Deploy</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Deploy</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Deploy</em>' containment reference.
+ * @see #setDeploy(TDeployment)
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getDocumentRoot_Deploy()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='deploy' namespace='##targetNamespace'"
+ * @generated
+ */
+ TDeployment getDeploy();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.DocumentRoot#getDeploy <em>Deploy</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Deploy</em>' containment reference.
+ * @see #getDeploy()
+ * @generated
+ */
+ void setDeploy(TDeployment value);
+
+} // DocumentRoot
Added: workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/GenerateType.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/GenerateType.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/GenerateType.java 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,217 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.model.dd;
+
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.List;
+
+import org.eclipse.emf.common.util.Enumerator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the literals of the enumeration '<em><b>Generate Type</b></em>',
+ * and utility methods for working with them.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getGenerateType()
+ * @model extendedMetaData="name='generate_._type'"
+ * @generated
+ */
+public enum GenerateType implements Enumerator {
+ /**
+ * The '<em><b>All</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #ALL_VALUE
+ * @generated
+ * @ordered
+ */
+ ALL(0, "all", "all"),
+
+ /**
+ * The '<em><b>None</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #NONE_VALUE
+ * @generated
+ * @ordered
+ */
+ NONE(1, "none", "none");
+
+ /**
+ * The '<em><b>All</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>All</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #ALL
+ * @model name="all"
+ * @generated
+ * @ordered
+ */
+ public static final int ALL_VALUE = 0;
+
+ /**
+ * The '<em><b>None</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>None</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #NONE
+ * @model name="none"
+ * @generated
+ * @ordered
+ */
+ public static final int NONE_VALUE = 1;
+
+ /**
+ * An array of all the '<em><b>Generate Type</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final GenerateType[] VALUES_ARRAY =
+ new GenerateType[] {
+ ALL,
+ NONE,
+ };
+
+ /**
+ * A public read-only list of all the '<em><b>Generate Type</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final List<GenerateType> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b>Generate Type</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static GenerateType get(String literal) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ GenerateType result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Generate Type</b></em>' literal with the specified name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static GenerateType getByName(String name) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ GenerateType result = VALUES_ARRAY[i];
+ if (result.getName().equals(name)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Generate Type</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static GenerateType get(int value) {
+ switch (value) {
+ case ALL_VALUE: return ALL;
+ case NONE_VALUE: return NONE;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final int value;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String name;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String literal;
+
+ /**
+ * Only this class can construct instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private GenerateType(int value, String name, String literal) {
+ this.value = value;
+ this.name = name;
+ this.literal = literal;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getValue() {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getLiteral() {
+ return literal;
+ }
+
+ /**
+ * Returns the literal value of the enumerator, which is its string representation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ return literal;
+ }
+
+} //GenerateType
Added: workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/MexInterceptorsType.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/MexInterceptorsType.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/MexInterceptorsType.java 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,52 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.model.dd;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Mex Interceptors Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.MexInterceptorsType#getMexInterceptor <em>Mex Interceptor</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getMexInterceptorsType()
+ * @model extendedMetaData="name='mex-interceptors_._type' kind='elementOnly'"
+ * @generated
+ */
+public interface MexInterceptorsType extends EObject {
+ /**
+ * Returns the value of the '<em><b>Mex Interceptor</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpel.apache.ode.deploy.model.dd.TMexInterceptor}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Mex Interceptor</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Mex Interceptor</em>' containment reference list.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getMexInterceptorsType_MexInterceptor()
+ * @model containment="true"
+ * extendedMetaData="kind='element' name='mex-interceptor' namespace='##targetNamespace'"
+ * @generated
+ */
+ EList<TMexInterceptor> getMexInterceptor();
+
+} // MexInterceptorsType
Added: workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/ProcessType.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/ProcessType.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/ProcessType.java 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,457 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.model.dd;
+
+import javax.xml.namespace.QName;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Process Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#isActive <em>Active</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#isRetired <em>Retired</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#isInMemory <em>In Memory</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#getProperty <em>Property</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#getProcessEvents <em>Process Events</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#getProvide <em>Provide</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#getInvoke <em>Invoke</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#getMexInterceptors <em>Mex Interceptors</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#getBpel11wsdlFileName <em>Bpel11wsdl File Name</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#getFileName <em>File Name</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#getModel <em>Model</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getProcessType()
+ * @model extendedMetaData="name='process_._type' kind='elementOnly'"
+ * @generated
+ */
+public interface ProcessType extends EObject {
+ /**
+ * Returns the value of the '<em><b>Active</b></em>' attribute.
+ * The default value is <code>"true"</code>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * Active flag, if set process will be activated once
+ * deployed.
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Active</em>' attribute.
+ * @see #isSetActive()
+ * @see #unsetActive()
+ * @see #setActive(boolean)
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getProcessType_Active()
+ * @model default="true" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Boolean"
+ * extendedMetaData="kind='element' name='active' namespace='##targetNamespace'"
+ * @generated
+ */
+ boolean isActive();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#isActive <em>Active</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Active</em>' attribute.
+ * @see #isSetActive()
+ * @see #unsetActive()
+ * @see #isActive()
+ * @generated
+ */
+ void setActive(boolean value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#isActive <em>Active</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetActive()
+ * @see #isActive()
+ * @see #setActive(boolean)
+ * @generated
+ */
+ void unsetActive();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#isActive <em>Active</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Active</em>' attribute is set.
+ * @see #unsetActive()
+ * @see #isActive()
+ * @see #setActive(boolean)
+ * @generated
+ */
+ boolean isSetActive();
+
+ /**
+ * Returns the value of the '<em><b>Retired</b></em>' attribute.
+ * The default value is <code>"false"</code>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * Retired flag, if set process will be retired once
+ * deployed.
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Retired</em>' attribute.
+ * @see #isSetRetired()
+ * @see #unsetRetired()
+ * @see #setRetired(boolean)
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getProcessType_Retired()
+ * @model default="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Boolean"
+ * extendedMetaData="kind='element' name='retired' namespace='##targetNamespace'"
+ * @generated
+ */
+ boolean isRetired();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#isRetired <em>Retired</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Retired</em>' attribute.
+ * @see #isSetRetired()
+ * @see #unsetRetired()
+ * @see #isRetired()
+ * @generated
+ */
+ void setRetired(boolean value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#isRetired <em>Retired</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetRetired()
+ * @see #isRetired()
+ * @see #setRetired(boolean)
+ * @generated
+ */
+ void unsetRetired();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#isRetired <em>Retired</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Retired</em>' attribute is set.
+ * @see #unsetRetired()
+ * @see #isRetired()
+ * @see #setRetired(boolean)
+ * @generated
+ */
+ boolean isSetRetired();
+
+ /**
+ * Returns the value of the '<em><b>In Memory</b></em>' attribute.
+ * The default value is <code>"false"</code>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * Should the process be persistent or only execute
+ * in-memory.
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>In Memory</em>' attribute.
+ * @see #isSetInMemory()
+ * @see #unsetInMemory()
+ * @see #setInMemory(boolean)
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getProcessType_InMemory()
+ * @model default="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Boolean"
+ * extendedMetaData="kind='element' name='in-memory' namespace='##targetNamespace'"
+ * @generated
+ */
+ boolean isInMemory();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#isInMemory <em>In Memory</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>In Memory</em>' attribute.
+ * @see #isSetInMemory()
+ * @see #unsetInMemory()
+ * @see #isInMemory()
+ * @generated
+ */
+ void setInMemory(boolean value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#isInMemory <em>In Memory</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetInMemory()
+ * @see #isInMemory()
+ * @see #setInMemory(boolean)
+ * @generated
+ */
+ void unsetInMemory();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#isInMemory <em>In Memory</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>In Memory</em>' attribute is set.
+ * @see #unsetInMemory()
+ * @see #isInMemory()
+ * @see #setInMemory(boolean)
+ * @generated
+ */
+ boolean isSetInMemory();
+
+ /**
+ * Returns the value of the '<em><b>Property</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpel.apache.ode.deploy.model.dd.PropertyType}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * A user-defined property that will be attached to a process upon
+ * deployment.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Property</em>' containment reference list.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getProcessType_Property()
+ * @model containment="true"
+ * extendedMetaData="kind='element' name='property' namespace='##targetNamespace'"
+ * @generated
+ */
+ EList<PropertyType> getProperty();
+
+ /**
+ * Returns the value of the '<em><b>Process Events</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Process Events</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Process Events</em>' containment reference.
+ * @see #setProcessEvents(TProcessEvents)
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getProcessType_ProcessEvents()
+ * @model containment="true"
+ * extendedMetaData="kind='element' name='process-events' namespace='##targetNamespace'"
+ * @generated
+ */
+ TProcessEvents getProcessEvents();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#getProcessEvents <em>Process Events</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Process Events</em>' containment reference.
+ * @see #getProcessEvents()
+ * @generated
+ */
+ void setProcessEvents(TProcessEvents value);
+
+ /**
+ * Returns the value of the '<em><b>Provide</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpel.apache.ode.deploy.model.dd.TProvide}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Provide</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Provide</em>' containment reference list.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getProcessType_Provide()
+ * @model containment="true"
+ * extendedMetaData="kind='element' name='provide' namespace='##targetNamespace'"
+ * @generated
+ */
+ EList<TProvide> getProvide();
+
+ /**
+ * Returns the value of the '<em><b>Invoke</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpel.apache.ode.deploy.model.dd.TInvoke}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Invoke</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Invoke</em>' containment reference list.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getProcessType_Invoke()
+ * @model containment="true"
+ * extendedMetaData="kind='element' name='invoke' namespace='##targetNamespace'"
+ * @generated
+ */
+ EList<TInvoke> getInvoke();
+
+ /**
+ * Returns the value of the '<em><b>Mex Interceptors</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * List of message exchange interceptors that should be registered for this process.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Mex Interceptors</em>' containment reference.
+ * @see #setMexInterceptors(MexInterceptorsType)
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getProcessType_MexInterceptors()
+ * @model containment="true"
+ * extendedMetaData="kind='element' name='mex-interceptors' namespace='##targetNamespace'"
+ * @generated
+ */
+ MexInterceptorsType getMexInterceptors();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#getMexInterceptors <em>Mex Interceptors</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Mex Interceptors</em>' containment reference.
+ * @see #getMexInterceptors()
+ * @generated
+ */
+ void setMexInterceptors(MexInterceptorsType value);
+
+ /**
+ * Returns the value of the '<em><b>Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * Process type -- indicates which process defintion should be used
+ * for the process.
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Type</em>' attribute.
+ * @see #setType(QName)
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getProcessType_Type()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.QName"
+ * extendedMetaData="kind='element' name='type' namespace='##targetNamespace'"
+ * @generated
+ */
+ QName getType();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#getType <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Type</em>' attribute.
+ * @see #getType()
+ * @generated
+ */
+ void setType(QName value);
+
+ /**
+ * Returns the value of the '<em><b>Bpel11wsdl File Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * Allows you to specify a WSDL for BPEL 1.1 processes which do not support an "import" element.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Bpel11wsdl File Name</em>' attribute.
+ * @see #setBpel11wsdlFileName(String)
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getProcessType_Bpel11wsdlFileName()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='attribute' name='bpel11wsdlFileName'"
+ * @generated
+ */
+ String getBpel11wsdlFileName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#getBpel11wsdlFileName <em>Bpel11wsdl File Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Bpel11wsdl File Name</em>' attribute.
+ * @see #getBpel11wsdlFileName()
+ * @generated
+ */
+ void setBpel11wsdlFileName(String value);
+
+ /**
+ * Returns the value of the '<em><b>File Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>File Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>File Name</em>' attribute.
+ * @see #setFileName(String)
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getProcessType_FileName()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='attribute' name='fileName'"
+ * @generated
+ */
+ String getFileName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#getFileName <em>File Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>File Name</em>' attribute.
+ * @see #getFileName()
+ * @generated
+ */
+ void setFileName(String value);
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(QName)
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getProcessType_Name()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.QName" required="true"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ QName getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(QName value);
+
+ /**
+ * Returns the value of the '<em><b>Model</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Model</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Model</em>' reference.
+ * @see #setModel(org.eclipse.bpel.model.Process)
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getProcessType_Model()
+ * @model transient="true"
+ * @generated
+ */
+ org.eclipse.bpel.model.Process getModel();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#getModel <em>Model</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Model</em>' reference.
+ * @see #getModel()
+ * @generated
+ */
+ void setModel(org.eclipse.bpel.model.Process value);
+
+} // ProcessType
Added: workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/PropertyType.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/PropertyType.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/PropertyType.java 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,82 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.model.dd;
+
+import javax.xml.namespace.QName;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.ecore.util.FeatureMap;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Property Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.PropertyType#getAny <em>Any</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.PropertyType#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getPropertyType()
+ * @model extendedMetaData="name='property_._type' kind='elementOnly'"
+ * @generated
+ */
+public interface PropertyType extends EObject {
+ /**
+ * Returns the value of the '<em><b>Any</b></em>' attribute list.
+ * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Any</em>' attribute list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Any</em>' attribute list.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getPropertyType_Any()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
+ * extendedMetaData="kind='elementWildcard' wildcards='##other' name=':0' processing='lax'"
+ * @generated
+ */
+ FeatureMap getAny();
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(QName)
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getPropertyType_Name()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.QName" required="true"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ QName getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.PropertyType#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(QName value);
+
+} // PropertyType
Added: workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/TDeployment.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/TDeployment.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/TDeployment.java 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,52 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.model.dd;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>TDeployment</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TDeployment#getProcess <em>Process</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getTDeployment()
+ * @model extendedMetaData="name='tDeployment' kind='elementOnly'"
+ * @generated
+ */
+public interface TDeployment extends EObject {
+ /**
+ * Returns the value of the '<em><b>Process</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Process</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Process</em>' containment reference list.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getTDeployment_Process()
+ * @model containment="true"
+ * extendedMetaData="kind='element' name='process' namespace='##targetNamespace'"
+ * @generated
+ */
+ EList<ProcessType> getProcess();
+
+} // TDeployment
Added: workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/TEnableEventList.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/TEnableEventList.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/TEnableEventList.java 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,52 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.model.dd;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>TEnable Event List</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TEnableEventList#getEnableEvent <em>Enable Event</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getTEnableEventList()
+ * @model extendedMetaData="name='tEnableEventList' kind='elementOnly'"
+ * @generated
+ */
+public interface TEnableEventList extends EObject {
+ /**
+ * Returns the value of the '<em><b>Enable Event</b></em>' attribute list.
+ * The list contents are of type {@link java.lang.String}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Enable Event</em>' attribute list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Enable Event</em>' attribute list.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getTEnableEventList_EnableEvent()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='element' name='enable-event' namespace='##targetNamespace'"
+ * @generated
+ */
+ EList<String> getEnableEvent();
+
+} // TEnableEventList
Added: workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/TInvoke.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/TInvoke.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/TInvoke.java 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,116 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.model.dd;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>TInvoke</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TInvoke#getService <em>Service</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TInvoke#getBinding <em>Binding</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TInvoke#getPartnerLink <em>Partner Link</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getTInvoke()
+ * @model extendedMetaData="name='tInvoke' kind='elementOnly'"
+ * @generated
+ */
+public interface TInvoke extends EObject {
+ /**
+ * Returns the value of the '<em><b>Service</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Service</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Service</em>' containment reference.
+ * @see #setService(TService)
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getTInvoke_Service()
+ * @model containment="true"
+ * extendedMetaData="kind='element' name='service' namespace='##targetNamespace'"
+ * @generated
+ */
+ TService getService();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TInvoke#getService <em>Service</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Service</em>' containment reference.
+ * @see #getService()
+ * @generated
+ */
+ void setService(TService value);
+
+ /**
+ * Returns the value of the '<em><b>Binding</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Binding</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Binding</em>' containment reference.
+ * @see #setBinding(BindingType)
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getTInvoke_Binding()
+ * @model containment="true"
+ * extendedMetaData="kind='element' name='binding' namespace='##targetNamespace'"
+ * @generated
+ */
+ BindingType getBinding();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TInvoke#getBinding <em>Binding</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Binding</em>' containment reference.
+ * @see #getBinding()
+ * @generated
+ */
+ void setBinding(BindingType value);
+
+ /**
+ * Returns the value of the '<em><b>Partner Link</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Partner Link</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Partner Link</em>' attribute.
+ * @see #setPartnerLink(String)
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getTInvoke_PartnerLink()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='attribute' name='partnerLink'"
+ * @generated
+ */
+ String getPartnerLink();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TInvoke#getPartnerLink <em>Partner Link</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Partner Link</em>' attribute.
+ * @see #getPartnerLink()
+ * @generated
+ */
+ void setPartnerLink(String value);
+
+} // TInvoke
Added: workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/TMexInterceptor.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/TMexInterceptor.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/TMexInterceptor.java 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,66 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.model.dd;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>TMex Interceptor</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ *
+ * Message exchange interceptor configuration.
+ *
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TMexInterceptor#getClassName <em>Class Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getTMexInterceptor()
+ * @model extendedMetaData="name='tMexInterceptor' kind='elementOnly'"
+ * @generated
+ */
+public interface TMexInterceptor extends EObject {
+ /**
+ * Returns the value of the '<em><b>Class Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Class Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Class Name</em>' attribute.
+ * @see #setClassName(String)
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getTMexInterceptor_ClassName()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='element' name='class-name' namespace='##targetNamespace'"
+ * @generated
+ */
+ String getClassName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TMexInterceptor#getClassName <em>Class Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Class Name</em>' attribute.
+ * @see #getClassName()
+ * @generated
+ */
+ void setClassName(String value);
+
+} // TMexInterceptor
Added: workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/TProcessEvents.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/TProcessEvents.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/TProcessEvents.java 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,109 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.model.dd;
+
+import org.eclipse.emf.common.util.EList;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>TProcess Events</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TProcessEvents#getScopeEvents <em>Scope Events</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TProcessEvents#getGenerate <em>Generate</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getTProcessEvents()
+ * @model extendedMetaData="name='tProcessEvents' kind='elementOnly'"
+ * @generated
+ */
+public interface TProcessEvents extends TEnableEventList {
+ /**
+ * Returns the value of the '<em><b>Scope Events</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.bpel.apache.ode.deploy.model.dd.TScopeEvents}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Scope Events</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Scope Events</em>' containment reference list.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getTProcessEvents_ScopeEvents()
+ * @model containment="true" required="true"
+ * extendedMetaData="kind='element' name='scope-events' namespace='##targetNamespace'"
+ * @generated
+ */
+ EList<TScopeEvents> getScopeEvents();
+
+ /**
+ * Returns the value of the '<em><b>Generate</b></em>' attribute.
+ * The default value is <code>"all"</code>.
+ * The literals are from the enumeration {@link org.eclipse.bpel.apache.ode.deploy.model.dd.GenerateType}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Generate</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Generate</em>' attribute.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.GenerateType
+ * @see #isSetGenerate()
+ * @see #unsetGenerate()
+ * @see #setGenerate(GenerateType)
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getTProcessEvents_Generate()
+ * @model default="all" unsettable="true"
+ * extendedMetaData="kind='attribute' name='generate'"
+ * @generated
+ */
+ GenerateType getGenerate();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TProcessEvents#getGenerate <em>Generate</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Generate</em>' attribute.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.GenerateType
+ * @see #isSetGenerate()
+ * @see #unsetGenerate()
+ * @see #getGenerate()
+ * @generated
+ */
+ void setGenerate(GenerateType value);
+
+ /**
+ * Unsets the value of the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TProcessEvents#getGenerate <em>Generate</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetGenerate()
+ * @see #getGenerate()
+ * @see #setGenerate(GenerateType)
+ * @generated
+ */
+ void unsetGenerate();
+
+ /**
+ * Returns whether the value of the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TProcessEvents#getGenerate <em>Generate</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Generate</em>' attribute is set.
+ * @see #unsetGenerate()
+ * @see #getGenerate()
+ * @see #setGenerate(GenerateType)
+ * @generated
+ */
+ boolean isSetGenerate();
+
+} // TProcessEvents
Added: workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/TProvide.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/TProvide.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/TProvide.java 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,88 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.model.dd;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>TProvide</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TProvide#getService <em>Service</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TProvide#getPartnerLink <em>Partner Link</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getTProvide()
+ * @model extendedMetaData="name='tProvide' kind='elementOnly'"
+ * @generated
+ */
+public interface TProvide extends EObject {
+ /**
+ * Returns the value of the '<em><b>Service</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Service</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Service</em>' containment reference.
+ * @see #setService(TService)
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getTProvide_Service()
+ * @model containment="true" required="true"
+ * extendedMetaData="kind='element' name='service' namespace='##targetNamespace'"
+ * @generated
+ */
+ TService getService();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TProvide#getService <em>Service</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Service</em>' containment reference.
+ * @see #getService()
+ * @generated
+ */
+ void setService(TService value);
+
+ /**
+ * Returns the value of the '<em><b>Partner Link</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Partner Link</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Partner Link</em>' attribute.
+ * @see #setPartnerLink(String)
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getTProvide_PartnerLink()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='attribute' name='partnerLink'"
+ * @generated
+ */
+ String getPartnerLink();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TProvide#getPartnerLink <em>Partner Link</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Partner Link</em>' attribute.
+ * @see #getPartnerLink()
+ * @generated
+ */
+ void setPartnerLink(String value);
+
+} // TProvide
Added: workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/TScopeEvents.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/TScopeEvents.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/TScopeEvents.java 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,59 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.model.dd;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>TScope Events</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TScopeEvents#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getTScopeEvents()
+ * @model extendedMetaData="name='tScopeEvents' kind='elementOnly'"
+ * @generated
+ */
+public interface TScopeEvents extends TEnableEventList {
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getTScopeEvents_Name()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TScopeEvents#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+} // TScopeEvents
Added: workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/TService.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/TService.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/TService.java 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,110 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.model.dd;
+
+import javax.xml.namespace.QName;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.ecore.util.FeatureMap;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>TService</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TService#getAny <em>Any</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TService#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TService#getPort <em>Port</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getTService()
+ * @model extendedMetaData="name='tService' kind='elementOnly'"
+ * @generated
+ */
+public interface TService extends EObject {
+ /**
+ * Returns the value of the '<em><b>Any</b></em>' attribute list.
+ * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Any</em>' attribute list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Any</em>' attribute list.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getTService_Any()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
+ * extendedMetaData="kind='elementWildcard' wildcards='##other' name=':0' processing='lax'"
+ * @generated
+ */
+ FeatureMap getAny();
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(QName)
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getTService_Name()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.QName" required="true"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ QName getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TService#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(QName value);
+
+ /**
+ * Returns the value of the '<em><b>Port</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Port</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Port</em>' attribute.
+ * @see #setPort(String)
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#getTService_Port()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.NCName" required="true"
+ * extendedMetaData="kind='attribute' name='port'"
+ * @generated
+ */
+ String getPort();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TService#getPort <em>Port</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Port</em>' attribute.
+ * @see #getPort()
+ * @generated
+ */
+ void setPort(String value);
+
+} // TService
Added: workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/ddFactory.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/ddFactory.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/ddFactory.java 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,159 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.model.dd;
+
+import org.eclipse.emf.ecore.EFactory;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Factory</b> for the model.
+ * It provides a create method for each non-abstract class of the model.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage
+ * @generated
+ */
+public interface ddFactory extends EFactory {
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ ddFactory eINSTANCE = org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ddFactoryImpl.init();
+
+ /**
+ * Returns a new object of class '<em>Binding Type</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Binding Type</em>'.
+ * @generated
+ */
+ BindingType createBindingType();
+
+ /**
+ * Returns a new object of class '<em>Document Root</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Document Root</em>'.
+ * @generated
+ */
+ DocumentRoot createDocumentRoot();
+
+ /**
+ * Returns a new object of class '<em>Mex Interceptors Type</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Mex Interceptors Type</em>'.
+ * @generated
+ */
+ MexInterceptorsType createMexInterceptorsType();
+
+ /**
+ * Returns a new object of class '<em>Process Type</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Process Type</em>'.
+ * @generated
+ */
+ ProcessType createProcessType();
+
+ /**
+ * Returns a new object of class '<em>Property Type</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Property Type</em>'.
+ * @generated
+ */
+ PropertyType createPropertyType();
+
+ /**
+ * Returns a new object of class '<em>TDeployment</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>TDeployment</em>'.
+ * @generated
+ */
+ TDeployment createTDeployment();
+
+ /**
+ * Returns a new object of class '<em>TEnable Event List</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>TEnable Event List</em>'.
+ * @generated
+ */
+ TEnableEventList createTEnableEventList();
+
+ /**
+ * Returns a new object of class '<em>TInvoke</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>TInvoke</em>'.
+ * @generated
+ */
+ TInvoke createTInvoke();
+
+ /**
+ * Returns a new object of class '<em>TMex Interceptor</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>TMex Interceptor</em>'.
+ * @generated
+ */
+ TMexInterceptor createTMexInterceptor();
+
+ /**
+ * Returns a new object of class '<em>TProcess Events</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>TProcess Events</em>'.
+ * @generated
+ */
+ TProcessEvents createTProcessEvents();
+
+ /**
+ * Returns a new object of class '<em>TProvide</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>TProvide</em>'.
+ * @generated
+ */
+ TProvide createTProvide();
+
+ /**
+ * Returns a new object of class '<em>TScope Events</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>TScope Events</em>'.
+ * @generated
+ */
+ TScopeEvents createTScopeEvents();
+
+ /**
+ * Returns a new object of class '<em>TService</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>TService</em>'.
+ * @generated
+ */
+ TService createTService();
+
+ /**
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the package supported by this factory.
+ * @generated
+ */
+ ddPackage getddPackage();
+
+} //ddFactory
Added: workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/ddPackage.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/ddPackage.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/ddPackage.java 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,1661 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.model.dd;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EDataType;
+import org.eclipse.emf.ecore.EEnum;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Package</b> for the model.
+ * It contains accessors for the meta objects to represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddFactory
+ * @model kind="package"
+ * @generated
+ */
+public interface ddPackage extends EPackage {
+ /**
+ * The package name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNAME = "dd";
+
+ /**
+ * The package namespace URI.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_URI = "http://www.apache.org/ode/schemas/dd/2007/03";
+
+ /**
+ * The package namespace name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_PREFIX = "";
+
+ /**
+ * The singleton instance of the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ ddPackage eINSTANCE = org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ddPackageImpl.init();
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.BindingTypeImpl <em>Binding Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.BindingTypeImpl
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ddPackageImpl#getBindingType()
+ * @generated
+ */
+ int BINDING_TYPE = 0;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BINDING_TYPE__NAME = 0;
+
+ /**
+ * The number of structural features of the '<em>Binding Type</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BINDING_TYPE_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.DocumentRootImpl <em>Document Root</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.DocumentRootImpl
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ddPackageImpl#getDocumentRoot()
+ * @generated
+ */
+ int DOCUMENT_ROOT = 1;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__MIXED = 0;
+
+ /**
+ * The feature id for the '<em><b>XMLNS Prefix Map</b></em>' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__XMLNS_PREFIX_MAP = 1;
+
+ /**
+ * The feature id for the '<em><b>XSI Schema Location</b></em>' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = 2;
+
+ /**
+ * The feature id for the '<em><b>Deploy</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__DEPLOY = 3;
+
+ /**
+ * The number of structural features of the '<em>Document Root</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT_FEATURE_COUNT = 4;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.MexInterceptorsTypeImpl <em>Mex Interceptors Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.MexInterceptorsTypeImpl
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ddPackageImpl#getMexInterceptorsType()
+ * @generated
+ */
+ int MEX_INTERCEPTORS_TYPE = 2;
+
+ /**
+ * The feature id for the '<em><b>Mex Interceptor</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MEX_INTERCEPTORS_TYPE__MEX_INTERCEPTOR = 0;
+
+ /**
+ * The number of structural features of the '<em>Mex Interceptors Type</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MEX_INTERCEPTORS_TYPE_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ProcessTypeImpl <em>Process Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ProcessTypeImpl
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ddPackageImpl#getProcessType()
+ * @generated
+ */
+ int PROCESS_TYPE = 3;
+
+ /**
+ * The feature id for the '<em><b>Active</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESS_TYPE__ACTIVE = 0;
+
+ /**
+ * The feature id for the '<em><b>Retired</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESS_TYPE__RETIRED = 1;
+
+ /**
+ * The feature id for the '<em><b>In Memory</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESS_TYPE__IN_MEMORY = 2;
+
+ /**
+ * The feature id for the '<em><b>Property</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESS_TYPE__PROPERTY = 3;
+
+ /**
+ * The feature id for the '<em><b>Process Events</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESS_TYPE__PROCESS_EVENTS = 4;
+
+ /**
+ * The feature id for the '<em><b>Provide</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESS_TYPE__PROVIDE = 5;
+
+ /**
+ * The feature id for the '<em><b>Invoke</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESS_TYPE__INVOKE = 6;
+
+ /**
+ * The feature id for the '<em><b>Mex Interceptors</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESS_TYPE__MEX_INTERCEPTORS = 7;
+
+ /**
+ * The feature id for the '<em><b>Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESS_TYPE__TYPE = 8;
+
+ /**
+ * The feature id for the '<em><b>Bpel11wsdl File Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESS_TYPE__BPEL11WSDL_FILE_NAME = 9;
+
+ /**
+ * The feature id for the '<em><b>File Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESS_TYPE__FILE_NAME = 10;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESS_TYPE__NAME = 11;
+
+ /**
+ * The feature id for the '<em><b>Model</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESS_TYPE__MODEL = 12;
+
+ /**
+ * The number of structural features of the '<em>Process Type</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROCESS_TYPE_FEATURE_COUNT = 13;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.PropertyTypeImpl <em>Property Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.PropertyTypeImpl
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ddPackageImpl#getPropertyType()
+ * @generated
+ */
+ int PROPERTY_TYPE = 4;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROPERTY_TYPE__ANY = 0;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROPERTY_TYPE__NAME = 1;
+
+ /**
+ * The number of structural features of the '<em>Property Type</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROPERTY_TYPE_FEATURE_COUNT = 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TDeploymentImpl <em>TDeployment</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TDeploymentImpl
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ddPackageImpl#getTDeployment()
+ * @generated
+ */
+ int TDEPLOYMENT = 5;
+
+ /**
+ * The feature id for the '<em><b>Process</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TDEPLOYMENT__PROCESS = 0;
+
+ /**
+ * The number of structural features of the '<em>TDeployment</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TDEPLOYMENT_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TEnableEventListImpl <em>TEnable Event List</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TEnableEventListImpl
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ddPackageImpl#getTEnableEventList()
+ * @generated
+ */
+ int TENABLE_EVENT_LIST = 6;
+
+ /**
+ * The feature id for the '<em><b>Enable Event</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TENABLE_EVENT_LIST__ENABLE_EVENT = 0;
+
+ /**
+ * The number of structural features of the '<em>TEnable Event List</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TENABLE_EVENT_LIST_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TInvokeImpl <em>TInvoke</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TInvokeImpl
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ddPackageImpl#getTInvoke()
+ * @generated
+ */
+ int TINVOKE = 7;
+
+ /**
+ * The feature id for the '<em><b>Service</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TINVOKE__SERVICE = 0;
+
+ /**
+ * The feature id for the '<em><b>Binding</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TINVOKE__BINDING = 1;
+
+ /**
+ * The feature id for the '<em><b>Partner Link</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TINVOKE__PARTNER_LINK = 2;
+
+ /**
+ * The number of structural features of the '<em>TInvoke</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TINVOKE_FEATURE_COUNT = 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TMexInterceptorImpl <em>TMex Interceptor</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TMexInterceptorImpl
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ddPackageImpl#getTMexInterceptor()
+ * @generated
+ */
+ int TMEX_INTERCEPTOR = 8;
+
+ /**
+ * The feature id for the '<em><b>Class Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TMEX_INTERCEPTOR__CLASS_NAME = 0;
+
+ /**
+ * The number of structural features of the '<em>TMex Interceptor</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TMEX_INTERCEPTOR_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TProcessEventsImpl <em>TProcess Events</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TProcessEventsImpl
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ddPackageImpl#getTProcessEvents()
+ * @generated
+ */
+ int TPROCESS_EVENTS = 9;
+
+ /**
+ * The feature id for the '<em><b>Enable Event</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TPROCESS_EVENTS__ENABLE_EVENT = TENABLE_EVENT_LIST__ENABLE_EVENT;
+
+ /**
+ * The feature id for the '<em><b>Scope Events</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TPROCESS_EVENTS__SCOPE_EVENTS = TENABLE_EVENT_LIST_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Generate</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TPROCESS_EVENTS__GENERATE = TENABLE_EVENT_LIST_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>TProcess Events</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TPROCESS_EVENTS_FEATURE_COUNT = TENABLE_EVENT_LIST_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TProvideImpl <em>TProvide</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TProvideImpl
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ddPackageImpl#getTProvide()
+ * @generated
+ */
+ int TPROVIDE = 10;
+
+ /**
+ * The feature id for the '<em><b>Service</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TPROVIDE__SERVICE = 0;
+
+ /**
+ * The feature id for the '<em><b>Partner Link</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TPROVIDE__PARTNER_LINK = 1;
+
+ /**
+ * The number of structural features of the '<em>TProvide</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TPROVIDE_FEATURE_COUNT = 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TScopeEventsImpl <em>TScope Events</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TScopeEventsImpl
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ddPackageImpl#getTScopeEvents()
+ * @generated
+ */
+ int TSCOPE_EVENTS = 11;
+
+ /**
+ * The feature id for the '<em><b>Enable Event</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TSCOPE_EVENTS__ENABLE_EVENT = TENABLE_EVENT_LIST__ENABLE_EVENT;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TSCOPE_EVENTS__NAME = TENABLE_EVENT_LIST_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>TScope Events</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TSCOPE_EVENTS_FEATURE_COUNT = TENABLE_EVENT_LIST_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TServiceImpl <em>TService</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TServiceImpl
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ddPackageImpl#getTService()
+ * @generated
+ */
+ int TSERVICE = 12;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TSERVICE__ANY = 0;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TSERVICE__NAME = 1;
+
+ /**
+ * The feature id for the '<em><b>Port</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TSERVICE__PORT = 2;
+
+ /**
+ * The number of structural features of the '<em>TService</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TSERVICE_FEATURE_COUNT = 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.GenerateType <em>Generate Type</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.GenerateType
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ddPackageImpl#getGenerateType()
+ * @generated
+ */
+ int GENERATE_TYPE = 13;
+
+ /**
+ * The meta object id for the '<em>Generate Type Object</em>' data type.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.GenerateType
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ddPackageImpl#getGenerateTypeObject()
+ * @generated
+ */
+ int GENERATE_TYPE_OBJECT = 14;
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.BindingType <em>Binding Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Binding Type</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.BindingType
+ * @generated
+ */
+ EClass getBindingType();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.BindingType#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.BindingType#getName()
+ * @see #getBindingType()
+ * @generated
+ */
+ EAttribute getBindingType_Name();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.DocumentRoot <em>Document Root</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Document Root</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.DocumentRoot
+ * @generated
+ */
+ EClass getDocumentRoot();
+
+ /**
+ * Returns the meta object for the attribute list '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.DocumentRoot#getMixed <em>Mixed</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute list '<em>Mixed</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.DocumentRoot#getMixed()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EAttribute getDocumentRoot_Mixed();
+
+ /**
+ * Returns the meta object for the map '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the map '<em>XMLNS Prefix Map</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.DocumentRoot#getXMLNSPrefixMap()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_XMLNSPrefixMap();
+
+ /**
+ * Returns the meta object for the map '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the map '<em>XSI Schema Location</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.DocumentRoot#getXSISchemaLocation()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_XSISchemaLocation();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.DocumentRoot#getDeploy <em>Deploy</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Deploy</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.DocumentRoot#getDeploy()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Deploy();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.MexInterceptorsType <em>Mex Interceptors Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Mex Interceptors Type</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.MexInterceptorsType
+ * @generated
+ */
+ EClass getMexInterceptorsType();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.MexInterceptorsType#getMexInterceptor <em>Mex Interceptor</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Mex Interceptor</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.MexInterceptorsType#getMexInterceptor()
+ * @see #getMexInterceptorsType()
+ * @generated
+ */
+ EReference getMexInterceptorsType_MexInterceptor();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType <em>Process Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Process Type</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType
+ * @generated
+ */
+ EClass getProcessType();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#isActive <em>Active</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Active</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#isActive()
+ * @see #getProcessType()
+ * @generated
+ */
+ EAttribute getProcessType_Active();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#isRetired <em>Retired</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Retired</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#isRetired()
+ * @see #getProcessType()
+ * @generated
+ */
+ EAttribute getProcessType_Retired();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#isInMemory <em>In Memory</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>In Memory</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#isInMemory()
+ * @see #getProcessType()
+ * @generated
+ */
+ EAttribute getProcessType_InMemory();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#getProperty <em>Property</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Property</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#getProperty()
+ * @see #getProcessType()
+ * @generated
+ */
+ EReference getProcessType_Property();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#getProcessEvents <em>Process Events</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Process Events</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#getProcessEvents()
+ * @see #getProcessType()
+ * @generated
+ */
+ EReference getProcessType_ProcessEvents();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#getProvide <em>Provide</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Provide</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#getProvide()
+ * @see #getProcessType()
+ * @generated
+ */
+ EReference getProcessType_Provide();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#getInvoke <em>Invoke</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Invoke</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#getInvoke()
+ * @see #getProcessType()
+ * @generated
+ */
+ EReference getProcessType_Invoke();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#getMexInterceptors <em>Mex Interceptors</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Mex Interceptors</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#getMexInterceptors()
+ * @see #getProcessType()
+ * @generated
+ */
+ EReference getProcessType_MexInterceptors();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#getType <em>Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Type</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#getType()
+ * @see #getProcessType()
+ * @generated
+ */
+ EAttribute getProcessType_Type();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#getBpel11wsdlFileName <em>Bpel11wsdl File Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Bpel11wsdl File Name</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#getBpel11wsdlFileName()
+ * @see #getProcessType()
+ * @generated
+ */
+ EAttribute getProcessType_Bpel11wsdlFileName();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#getFileName <em>File Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>File Name</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#getFileName()
+ * @see #getProcessType()
+ * @generated
+ */
+ EAttribute getProcessType_FileName();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#getName()
+ * @see #getProcessType()
+ * @generated
+ */
+ EAttribute getProcessType_Name();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#getModel <em>Model</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Model</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType#getModel()
+ * @see #getProcessType()
+ * @generated
+ */
+ EReference getProcessType_Model();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.PropertyType <em>Property Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Property Type</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.PropertyType
+ * @generated
+ */
+ EClass getPropertyType();
+
+ /**
+ * Returns the meta object for the attribute list '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.PropertyType#getAny <em>Any</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute list '<em>Any</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.PropertyType#getAny()
+ * @see #getPropertyType()
+ * @generated
+ */
+ EAttribute getPropertyType_Any();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.PropertyType#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.PropertyType#getName()
+ * @see #getPropertyType()
+ * @generated
+ */
+ EAttribute getPropertyType_Name();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TDeployment <em>TDeployment</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>TDeployment</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.TDeployment
+ * @generated
+ */
+ EClass getTDeployment();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TDeployment#getProcess <em>Process</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Process</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.TDeployment#getProcess()
+ * @see #getTDeployment()
+ * @generated
+ */
+ EReference getTDeployment_Process();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TEnableEventList <em>TEnable Event List</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>TEnable Event List</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.TEnableEventList
+ * @generated
+ */
+ EClass getTEnableEventList();
+
+ /**
+ * Returns the meta object for the attribute list '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TEnableEventList#getEnableEvent <em>Enable Event</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute list '<em>Enable Event</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.TEnableEventList#getEnableEvent()
+ * @see #getTEnableEventList()
+ * @generated
+ */
+ EAttribute getTEnableEventList_EnableEvent();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TInvoke <em>TInvoke</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>TInvoke</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.TInvoke
+ * @generated
+ */
+ EClass getTInvoke();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TInvoke#getService <em>Service</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Service</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.TInvoke#getService()
+ * @see #getTInvoke()
+ * @generated
+ */
+ EReference getTInvoke_Service();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TInvoke#getBinding <em>Binding</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Binding</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.TInvoke#getBinding()
+ * @see #getTInvoke()
+ * @generated
+ */
+ EReference getTInvoke_Binding();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TInvoke#getPartnerLink <em>Partner Link</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Partner Link</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.TInvoke#getPartnerLink()
+ * @see #getTInvoke()
+ * @generated
+ */
+ EAttribute getTInvoke_PartnerLink();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TMexInterceptor <em>TMex Interceptor</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>TMex Interceptor</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.TMexInterceptor
+ * @generated
+ */
+ EClass getTMexInterceptor();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TMexInterceptor#getClassName <em>Class Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Class Name</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.TMexInterceptor#getClassName()
+ * @see #getTMexInterceptor()
+ * @generated
+ */
+ EAttribute getTMexInterceptor_ClassName();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TProcessEvents <em>TProcess Events</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>TProcess Events</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.TProcessEvents
+ * @generated
+ */
+ EClass getTProcessEvents();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TProcessEvents#getScopeEvents <em>Scope Events</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Scope Events</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.TProcessEvents#getScopeEvents()
+ * @see #getTProcessEvents()
+ * @generated
+ */
+ EReference getTProcessEvents_ScopeEvents();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TProcessEvents#getGenerate <em>Generate</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Generate</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.TProcessEvents#getGenerate()
+ * @see #getTProcessEvents()
+ * @generated
+ */
+ EAttribute getTProcessEvents_Generate();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TProvide <em>TProvide</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>TProvide</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.TProvide
+ * @generated
+ */
+ EClass getTProvide();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TProvide#getService <em>Service</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Service</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.TProvide#getService()
+ * @see #getTProvide()
+ * @generated
+ */
+ EReference getTProvide_Service();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TProvide#getPartnerLink <em>Partner Link</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Partner Link</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.TProvide#getPartnerLink()
+ * @see #getTProvide()
+ * @generated
+ */
+ EAttribute getTProvide_PartnerLink();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TScopeEvents <em>TScope Events</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>TScope Events</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.TScopeEvents
+ * @generated
+ */
+ EClass getTScopeEvents();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TScopeEvents#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.TScopeEvents#getName()
+ * @see #getTScopeEvents()
+ * @generated
+ */
+ EAttribute getTScopeEvents_Name();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TService <em>TService</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>TService</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.TService
+ * @generated
+ */
+ EClass getTService();
+
+ /**
+ * Returns the meta object for the attribute list '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TService#getAny <em>Any</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute list '<em>Any</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.TService#getAny()
+ * @see #getTService()
+ * @generated
+ */
+ EAttribute getTService_Any();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TService#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.TService#getName()
+ * @see #getTService()
+ * @generated
+ */
+ EAttribute getTService_Name();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TService#getPort <em>Port</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Port</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.TService#getPort()
+ * @see #getTService()
+ * @generated
+ */
+ EAttribute getTService_Port();
+
+ /**
+ * Returns the meta object for enum '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.GenerateType <em>Generate Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for enum '<em>Generate Type</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.GenerateType
+ * @generated
+ */
+ EEnum getGenerateType();
+
+ /**
+ * Returns the meta object for data type '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.GenerateType <em>Generate Type Object</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for data type '<em>Generate Type Object</em>'.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.GenerateType
+ * @model instanceClass="org.eclipse.bpel.apache.ode.deploy.model.dd.GenerateType"
+ * extendedMetaData="name='generate_._type:Object' baseType='generate_._type'"
+ * @generated
+ */
+ EDataType getGenerateTypeObject();
+
+ /**
+ * Returns the factory that creates the instances of the model.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the factory that creates the instances of the model.
+ * @generated
+ */
+ ddFactory getddFactory();
+
+ /**
+ * <!-- begin-user-doc -->
+ * Defines literals for the meta objects that represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ interface Literals {
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.BindingTypeImpl <em>Binding Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.BindingTypeImpl
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ddPackageImpl#getBindingType()
+ * @generated
+ */
+ EClass BINDING_TYPE = eINSTANCE.getBindingType();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute BINDING_TYPE__NAME = eINSTANCE.getBindingType_Name();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.DocumentRootImpl <em>Document Root</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.DocumentRootImpl
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ddPackageImpl#getDocumentRoot()
+ * @generated
+ */
+ EClass DOCUMENT_ROOT = eINSTANCE.getDocumentRoot();
+
+ /**
+ * The meta object literal for the '<em><b>Mixed</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DOCUMENT_ROOT__MIXED = eINSTANCE.getDocumentRoot_Mixed();
+
+ /**
+ * The meta object literal for the '<em><b>XMLNS Prefix Map</b></em>' map feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__XMLNS_PREFIX_MAP = eINSTANCE.getDocumentRoot_XMLNSPrefixMap();
+
+ /**
+ * The meta object literal for the '<em><b>XSI Schema Location</b></em>' map feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = eINSTANCE.getDocumentRoot_XSISchemaLocation();
+
+ /**
+ * The meta object literal for the '<em><b>Deploy</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__DEPLOY = eINSTANCE.getDocumentRoot_Deploy();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.MexInterceptorsTypeImpl <em>Mex Interceptors Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.MexInterceptorsTypeImpl
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ddPackageImpl#getMexInterceptorsType()
+ * @generated
+ */
+ EClass MEX_INTERCEPTORS_TYPE = eINSTANCE.getMexInterceptorsType();
+
+ /**
+ * The meta object literal for the '<em><b>Mex Interceptor</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference MEX_INTERCEPTORS_TYPE__MEX_INTERCEPTOR = eINSTANCE.getMexInterceptorsType_MexInterceptor();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ProcessTypeImpl <em>Process Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ProcessTypeImpl
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ddPackageImpl#getProcessType()
+ * @generated
+ */
+ EClass PROCESS_TYPE = eINSTANCE.getProcessType();
+
+ /**
+ * The meta object literal for the '<em><b>Active</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute PROCESS_TYPE__ACTIVE = eINSTANCE.getProcessType_Active();
+
+ /**
+ * The meta object literal for the '<em><b>Retired</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute PROCESS_TYPE__RETIRED = eINSTANCE.getProcessType_Retired();
+
+ /**
+ * The meta object literal for the '<em><b>In Memory</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute PROCESS_TYPE__IN_MEMORY = eINSTANCE.getProcessType_InMemory();
+
+ /**
+ * The meta object literal for the '<em><b>Property</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PROCESS_TYPE__PROPERTY = eINSTANCE.getProcessType_Property();
+
+ /**
+ * The meta object literal for the '<em><b>Process Events</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PROCESS_TYPE__PROCESS_EVENTS = eINSTANCE.getProcessType_ProcessEvents();
+
+ /**
+ * The meta object literal for the '<em><b>Provide</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PROCESS_TYPE__PROVIDE = eINSTANCE.getProcessType_Provide();
+
+ /**
+ * The meta object literal for the '<em><b>Invoke</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PROCESS_TYPE__INVOKE = eINSTANCE.getProcessType_Invoke();
+
+ /**
+ * The meta object literal for the '<em><b>Mex Interceptors</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PROCESS_TYPE__MEX_INTERCEPTORS = eINSTANCE.getProcessType_MexInterceptors();
+
+ /**
+ * The meta object literal for the '<em><b>Type</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute PROCESS_TYPE__TYPE = eINSTANCE.getProcessType_Type();
+
+ /**
+ * The meta object literal for the '<em><b>Bpel11wsdl File Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute PROCESS_TYPE__BPEL11WSDL_FILE_NAME = eINSTANCE.getProcessType_Bpel11wsdlFileName();
+
+ /**
+ * The meta object literal for the '<em><b>File Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute PROCESS_TYPE__FILE_NAME = eINSTANCE.getProcessType_FileName();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute PROCESS_TYPE__NAME = eINSTANCE.getProcessType_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Model</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PROCESS_TYPE__MODEL = eINSTANCE.getProcessType_Model();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.PropertyTypeImpl <em>Property Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.PropertyTypeImpl
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ddPackageImpl#getPropertyType()
+ * @generated
+ */
+ EClass PROPERTY_TYPE = eINSTANCE.getPropertyType();
+
+ /**
+ * The meta object literal for the '<em><b>Any</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute PROPERTY_TYPE__ANY = eINSTANCE.getPropertyType_Any();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute PROPERTY_TYPE__NAME = eINSTANCE.getPropertyType_Name();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TDeploymentImpl <em>TDeployment</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TDeploymentImpl
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ddPackageImpl#getTDeployment()
+ * @generated
+ */
+ EClass TDEPLOYMENT = eINSTANCE.getTDeployment();
+
+ /**
+ * The meta object literal for the '<em><b>Process</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference TDEPLOYMENT__PROCESS = eINSTANCE.getTDeployment_Process();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TEnableEventListImpl <em>TEnable Event List</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TEnableEventListImpl
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ddPackageImpl#getTEnableEventList()
+ * @generated
+ */
+ EClass TENABLE_EVENT_LIST = eINSTANCE.getTEnableEventList();
+
+ /**
+ * The meta object literal for the '<em><b>Enable Event</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute TENABLE_EVENT_LIST__ENABLE_EVENT = eINSTANCE.getTEnableEventList_EnableEvent();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TInvokeImpl <em>TInvoke</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TInvokeImpl
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ddPackageImpl#getTInvoke()
+ * @generated
+ */
+ EClass TINVOKE = eINSTANCE.getTInvoke();
+
+ /**
+ * The meta object literal for the '<em><b>Service</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference TINVOKE__SERVICE = eINSTANCE.getTInvoke_Service();
+
+ /**
+ * The meta object literal for the '<em><b>Binding</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference TINVOKE__BINDING = eINSTANCE.getTInvoke_Binding();
+
+ /**
+ * The meta object literal for the '<em><b>Partner Link</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute TINVOKE__PARTNER_LINK = eINSTANCE.getTInvoke_PartnerLink();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TMexInterceptorImpl <em>TMex Interceptor</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TMexInterceptorImpl
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ddPackageImpl#getTMexInterceptor()
+ * @generated
+ */
+ EClass TMEX_INTERCEPTOR = eINSTANCE.getTMexInterceptor();
+
+ /**
+ * The meta object literal for the '<em><b>Class Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute TMEX_INTERCEPTOR__CLASS_NAME = eINSTANCE.getTMexInterceptor_ClassName();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TProcessEventsImpl <em>TProcess Events</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TProcessEventsImpl
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ddPackageImpl#getTProcessEvents()
+ * @generated
+ */
+ EClass TPROCESS_EVENTS = eINSTANCE.getTProcessEvents();
+
+ /**
+ * The meta object literal for the '<em><b>Scope Events</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference TPROCESS_EVENTS__SCOPE_EVENTS = eINSTANCE.getTProcessEvents_ScopeEvents();
+
+ /**
+ * The meta object literal for the '<em><b>Generate</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute TPROCESS_EVENTS__GENERATE = eINSTANCE.getTProcessEvents_Generate();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TProvideImpl <em>TProvide</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TProvideImpl
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ddPackageImpl#getTProvide()
+ * @generated
+ */
+ EClass TPROVIDE = eINSTANCE.getTProvide();
+
+ /**
+ * The meta object literal for the '<em><b>Service</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference TPROVIDE__SERVICE = eINSTANCE.getTProvide_Service();
+
+ /**
+ * The meta object literal for the '<em><b>Partner Link</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute TPROVIDE__PARTNER_LINK = eINSTANCE.getTProvide_PartnerLink();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TScopeEventsImpl <em>TScope Events</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TScopeEventsImpl
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ddPackageImpl#getTScopeEvents()
+ * @generated
+ */
+ EClass TSCOPE_EVENTS = eINSTANCE.getTScopeEvents();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute TSCOPE_EVENTS__NAME = eINSTANCE.getTScopeEvents_Name();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TServiceImpl <em>TService</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TServiceImpl
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ddPackageImpl#getTService()
+ * @generated
+ */
+ EClass TSERVICE = eINSTANCE.getTService();
+
+ /**
+ * The meta object literal for the '<em><b>Any</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute TSERVICE__ANY = eINSTANCE.getTService_Any();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute TSERVICE__NAME = eINSTANCE.getTService_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Port</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute TSERVICE__PORT = eINSTANCE.getTService_Port();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.GenerateType <em>Generate Type</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.GenerateType
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ddPackageImpl#getGenerateType()
+ * @generated
+ */
+ EEnum GENERATE_TYPE = eINSTANCE.getGenerateType();
+
+ /**
+ * The meta object literal for the '<em>Generate Type Object</em>' data type.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.GenerateType
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ddPackageImpl#getGenerateTypeObject()
+ * @generated
+ */
+ EDataType GENERATE_TYPE_OBJECT = eINSTANCE.getGenerateTypeObject();
+
+ }
+
+} //ddPackage
Added: workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/BindingTypeImpl.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/BindingTypeImpl.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/BindingTypeImpl.java 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,174 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.model.dd.impl;
+
+import javax.xml.namespace.QName;
+
+import org.eclipse.bpel.apache.ode.deploy.model.dd.BindingType;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Binding Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.BindingTypeImpl#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class BindingTypeImpl extends EObjectImpl implements BindingType {
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final QName NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected QName name = NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected BindingTypeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return ddPackage.Literals.BINDING_TYPE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public QName getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(QName newName) {
+ QName oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ddPackage.BINDING_TYPE__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case ddPackage.BINDING_TYPE__NAME:
+ return getName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case ddPackage.BINDING_TYPE__NAME:
+ setName((QName)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case ddPackage.BINDING_TYPE__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case ddPackage.BINDING_TYPE__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //BindingTypeImpl
Added: workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/DocumentRootImpl.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/DocumentRootImpl.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/DocumentRootImpl.java 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,291 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.model.dd.impl;
+
+import org.eclipse.bpel.apache.ode.deploy.model.dd.DocumentRoot;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.TDeployment;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EMap;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.emf.ecore.EcorePackage;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+import org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl;
+
+import org.eclipse.emf.ecore.util.BasicFeatureMap;
+import org.eclipse.emf.ecore.util.EcoreEMap;
+import org.eclipse.emf.ecore.util.FeatureMap;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Document Root</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.DocumentRootImpl#getMixed <em>Mixed</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.DocumentRootImpl#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.DocumentRootImpl#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.DocumentRootImpl#getDeploy <em>Deploy</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DocumentRootImpl extends EObjectImpl implements DocumentRoot {
+ /**
+ * The cached value of the '{@link #getMixed() <em>Mixed</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMixed()
+ * @generated
+ * @ordered
+ */
+ protected FeatureMap mixed;
+
+ /**
+ * The cached value of the '{@link #getXMLNSPrefixMap() <em>XMLNS Prefix Map</em>}' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXMLNSPrefixMap()
+ * @generated
+ * @ordered
+ */
+ protected EMap<String, String> xMLNSPrefixMap;
+
+ /**
+ * The cached value of the '{@link #getXSISchemaLocation() <em>XSI Schema Location</em>}' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXSISchemaLocation()
+ * @generated
+ * @ordered
+ */
+ protected EMap<String, String> xSISchemaLocation;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DocumentRootImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return ddPackage.Literals.DOCUMENT_ROOT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FeatureMap getMixed() {
+ if (mixed == null) {
+ mixed = new BasicFeatureMap(this, ddPackage.DOCUMENT_ROOT__MIXED);
+ }
+ return mixed;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EMap<String, String> getXMLNSPrefixMap() {
+ if (xMLNSPrefixMap == null) {
+ xMLNSPrefixMap = new EcoreEMap<String,String>(EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY, EStringToStringMapEntryImpl.class, this, ddPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
+ }
+ return xMLNSPrefixMap;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EMap<String, String> getXSISchemaLocation() {
+ if (xSISchemaLocation == null) {
+ xSISchemaLocation = new EcoreEMap<String,String>(EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY, EStringToStringMapEntryImpl.class, this, ddPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
+ }
+ return xSISchemaLocation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TDeployment getDeploy() {
+ return (TDeployment)getMixed().get(ddPackage.Literals.DOCUMENT_ROOT__DEPLOY, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetDeploy(TDeployment newDeploy, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(ddPackage.Literals.DOCUMENT_ROOT__DEPLOY, newDeploy, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDeploy(TDeployment newDeploy) {
+ ((FeatureMap.Internal)getMixed()).set(ddPackage.Literals.DOCUMENT_ROOT__DEPLOY, newDeploy);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case ddPackage.DOCUMENT_ROOT__MIXED:
+ return ((InternalEList<?>)getMixed()).basicRemove(otherEnd, msgs);
+ case ddPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ return ((InternalEList<?>)getXMLNSPrefixMap()).basicRemove(otherEnd, msgs);
+ case ddPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ return ((InternalEList<?>)getXSISchemaLocation()).basicRemove(otherEnd, msgs);
+ case ddPackage.DOCUMENT_ROOT__DEPLOY:
+ return basicSetDeploy(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case ddPackage.DOCUMENT_ROOT__MIXED:
+ if (coreType) return getMixed();
+ return ((FeatureMap.Internal)getMixed()).getWrapper();
+ case ddPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ if (coreType) return getXMLNSPrefixMap();
+ else return getXMLNSPrefixMap().map();
+ case ddPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ if (coreType) return getXSISchemaLocation();
+ else return getXSISchemaLocation().map();
+ case ddPackage.DOCUMENT_ROOT__DEPLOY:
+ return getDeploy();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case ddPackage.DOCUMENT_ROOT__MIXED:
+ ((FeatureMap.Internal)getMixed()).set(newValue);
+ return;
+ case ddPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ ((EStructuralFeature.Setting)getXMLNSPrefixMap()).set(newValue);
+ return;
+ case ddPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ ((EStructuralFeature.Setting)getXSISchemaLocation()).set(newValue);
+ return;
+ case ddPackage.DOCUMENT_ROOT__DEPLOY:
+ setDeploy((TDeployment)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case ddPackage.DOCUMENT_ROOT__MIXED:
+ getMixed().clear();
+ return;
+ case ddPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ getXMLNSPrefixMap().clear();
+ return;
+ case ddPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ getXSISchemaLocation().clear();
+ return;
+ case ddPackage.DOCUMENT_ROOT__DEPLOY:
+ setDeploy((TDeployment)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case ddPackage.DOCUMENT_ROOT__MIXED:
+ return mixed != null && !mixed.isEmpty();
+ case ddPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ return xMLNSPrefixMap != null && !xMLNSPrefixMap.isEmpty();
+ case ddPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ return xSISchemaLocation != null && !xSISchemaLocation.isEmpty();
+ case ddPackage.DOCUMENT_ROOT__DEPLOY:
+ return getDeploy() != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (mixed: ");
+ result.append(mixed);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DocumentRootImpl
Added: workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/MexInterceptorsTypeImpl.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/MexInterceptorsTypeImpl.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/MexInterceptorsTypeImpl.java 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,161 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.model.dd.impl;
+
+import java.util.Collection;
+
+import org.eclipse.bpel.apache.ode.deploy.model.dd.MexInterceptorsType;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.TMexInterceptor;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Mex Interceptors Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.MexInterceptorsTypeImpl#getMexInterceptor <em>Mex Interceptor</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class MexInterceptorsTypeImpl extends EObjectImpl implements MexInterceptorsType {
+ /**
+ * The cached value of the '{@link #getMexInterceptor() <em>Mex Interceptor</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMexInterceptor()
+ * @generated
+ * @ordered
+ */
+ protected EList<TMexInterceptor> mexInterceptor;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected MexInterceptorsTypeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return ddPackage.Literals.MEX_INTERCEPTORS_TYPE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<TMexInterceptor> getMexInterceptor() {
+ if (mexInterceptor == null) {
+ mexInterceptor = new EObjectContainmentEList<TMexInterceptor>(TMexInterceptor.class, this, ddPackage.MEX_INTERCEPTORS_TYPE__MEX_INTERCEPTOR);
+ }
+ return mexInterceptor;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case ddPackage.MEX_INTERCEPTORS_TYPE__MEX_INTERCEPTOR:
+ return ((InternalEList<?>)getMexInterceptor()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case ddPackage.MEX_INTERCEPTORS_TYPE__MEX_INTERCEPTOR:
+ return getMexInterceptor();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case ddPackage.MEX_INTERCEPTORS_TYPE__MEX_INTERCEPTOR:
+ getMexInterceptor().clear();
+ getMexInterceptor().addAll((Collection<? extends TMexInterceptor>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case ddPackage.MEX_INTERCEPTORS_TYPE__MEX_INTERCEPTOR:
+ getMexInterceptor().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case ddPackage.MEX_INTERCEPTORS_TYPE__MEX_INTERCEPTOR:
+ return mexInterceptor != null && !mexInterceptor.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //MexInterceptorsTypeImpl
Added: workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/ProcessTypeImpl.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/ProcessTypeImpl.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/ProcessTypeImpl.java 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,927 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.model.dd.impl;
+
+import java.util.Collection;
+
+import javax.xml.namespace.QName;
+
+import org.eclipse.bpel.apache.ode.deploy.model.dd.MexInterceptorsType;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.PropertyType;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.TInvoke;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.TProcessEvents;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.TProvide;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Process Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ProcessTypeImpl#isActive <em>Active</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ProcessTypeImpl#isRetired <em>Retired</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ProcessTypeImpl#isInMemory <em>In Memory</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ProcessTypeImpl#getProperty <em>Property</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ProcessTypeImpl#getProcessEvents <em>Process Events</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ProcessTypeImpl#getProvide <em>Provide</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ProcessTypeImpl#getInvoke <em>Invoke</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ProcessTypeImpl#getMexInterceptors <em>Mex Interceptors</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ProcessTypeImpl#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ProcessTypeImpl#getBpel11wsdlFileName <em>Bpel11wsdl File Name</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ProcessTypeImpl#getFileName <em>File Name</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ProcessTypeImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.ProcessTypeImpl#getModel <em>Model</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ProcessTypeImpl extends EObjectImpl implements ProcessType {
+ /**
+ * The default value of the '{@link #isActive() <em>Active</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isActive()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean ACTIVE_EDEFAULT = true;
+
+ /**
+ * The cached value of the '{@link #isActive() <em>Active</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isActive()
+ * @generated
+ * @ordered
+ */
+ protected boolean active = ACTIVE_EDEFAULT;
+
+ /**
+ * This is true if the Active attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean activeESet;
+
+ /**
+ * The default value of the '{@link #isRetired() <em>Retired</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isRetired()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean RETIRED_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isRetired() <em>Retired</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isRetired()
+ * @generated
+ * @ordered
+ */
+ protected boolean retired = RETIRED_EDEFAULT;
+
+ /**
+ * This is true if the Retired attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean retiredESet;
+
+ /**
+ * The default value of the '{@link #isInMemory() <em>In Memory</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isInMemory()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean IN_MEMORY_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isInMemory() <em>In Memory</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isInMemory()
+ * @generated
+ * @ordered
+ */
+ protected boolean inMemory = IN_MEMORY_EDEFAULT;
+
+ /**
+ * This is true if the In Memory attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean inMemoryESet;
+
+ /**
+ * The cached value of the '{@link #getProperty() <em>Property</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getProperty()
+ * @generated
+ * @ordered
+ */
+ protected EList<PropertyType> property;
+
+ /**
+ * The cached value of the '{@link #getProcessEvents() <em>Process Events</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getProcessEvents()
+ * @generated
+ * @ordered
+ */
+ protected TProcessEvents processEvents;
+
+ /**
+ * The cached value of the '{@link #getProvide() <em>Provide</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getProvide()
+ * @generated
+ * @ordered
+ */
+ protected EList<TProvide> provide;
+
+ /**
+ * The cached value of the '{@link #getInvoke() <em>Invoke</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getInvoke()
+ * @generated
+ * @ordered
+ */
+ protected EList<TInvoke> invoke;
+
+ /**
+ * The cached value of the '{@link #getMexInterceptors() <em>Mex Interceptors</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMexInterceptors()
+ * @generated
+ * @ordered
+ */
+ protected MexInterceptorsType mexInterceptors;
+
+ /**
+ * The default value of the '{@link #getType() <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected static final QName TYPE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getType() <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected QName type = TYPE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getBpel11wsdlFileName() <em>Bpel11wsdl File Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBpel11wsdlFileName()
+ * @generated
+ * @ordered
+ */
+ protected static final String BPEL11WSDL_FILE_NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getBpel11wsdlFileName() <em>Bpel11wsdl File Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBpel11wsdlFileName()
+ * @generated
+ * @ordered
+ */
+ protected String bpel11wsdlFileName = BPEL11WSDL_FILE_NAME_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getFileName() <em>File Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFileName()
+ * @generated
+ * @ordered
+ */
+ protected static final String FILE_NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getFileName() <em>File Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFileName()
+ * @generated
+ * @ordered
+ */
+ protected String fileName = FILE_NAME_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final QName NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected QName name = NAME_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getModel() <em>Model</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getModel()
+ * @generated
+ * @ordered
+ */
+ protected org.eclipse.bpel.model.Process model;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ProcessTypeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return ddPackage.Literals.PROCESS_TYPE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isActive() {
+ return active;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setActive(boolean newActive) {
+ boolean oldActive = active;
+ active = newActive;
+ boolean oldActiveESet = activeESet;
+ activeESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ddPackage.PROCESS_TYPE__ACTIVE, oldActive, active, !oldActiveESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetActive() {
+ boolean oldActive = active;
+ boolean oldActiveESet = activeESet;
+ active = ACTIVE_EDEFAULT;
+ activeESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, ddPackage.PROCESS_TYPE__ACTIVE, oldActive, ACTIVE_EDEFAULT, oldActiveESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetActive() {
+ return activeESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isRetired() {
+ return retired;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setRetired(boolean newRetired) {
+ boolean oldRetired = retired;
+ retired = newRetired;
+ boolean oldRetiredESet = retiredESet;
+ retiredESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ddPackage.PROCESS_TYPE__RETIRED, oldRetired, retired, !oldRetiredESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetRetired() {
+ boolean oldRetired = retired;
+ boolean oldRetiredESet = retiredESet;
+ retired = RETIRED_EDEFAULT;
+ retiredESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, ddPackage.PROCESS_TYPE__RETIRED, oldRetired, RETIRED_EDEFAULT, oldRetiredESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetRetired() {
+ return retiredESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isInMemory() {
+ return inMemory;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setInMemory(boolean newInMemory) {
+ boolean oldInMemory = inMemory;
+ inMemory = newInMemory;
+ boolean oldInMemoryESet = inMemoryESet;
+ inMemoryESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ddPackage.PROCESS_TYPE__IN_MEMORY, oldInMemory, inMemory, !oldInMemoryESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetInMemory() {
+ boolean oldInMemory = inMemory;
+ boolean oldInMemoryESet = inMemoryESet;
+ inMemory = IN_MEMORY_EDEFAULT;
+ inMemoryESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, ddPackage.PROCESS_TYPE__IN_MEMORY, oldInMemory, IN_MEMORY_EDEFAULT, oldInMemoryESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetInMemory() {
+ return inMemoryESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<PropertyType> getProperty() {
+ if (property == null) {
+ property = new EObjectContainmentEList<PropertyType>(PropertyType.class, this, ddPackage.PROCESS_TYPE__PROPERTY);
+ }
+ return property;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TProcessEvents getProcessEvents() {
+ return processEvents;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetProcessEvents(TProcessEvents newProcessEvents, NotificationChain msgs) {
+ TProcessEvents oldProcessEvents = processEvents;
+ processEvents = newProcessEvents;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ddPackage.PROCESS_TYPE__PROCESS_EVENTS, oldProcessEvents, newProcessEvents);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setProcessEvents(TProcessEvents newProcessEvents) {
+ if (newProcessEvents != processEvents) {
+ NotificationChain msgs = null;
+ if (processEvents != null)
+ msgs = ((InternalEObject)processEvents).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ddPackage.PROCESS_TYPE__PROCESS_EVENTS, null, msgs);
+ if (newProcessEvents != null)
+ msgs = ((InternalEObject)newProcessEvents).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ddPackage.PROCESS_TYPE__PROCESS_EVENTS, null, msgs);
+ msgs = basicSetProcessEvents(newProcessEvents, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ddPackage.PROCESS_TYPE__PROCESS_EVENTS, newProcessEvents, newProcessEvents));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<TProvide> getProvide() {
+ if (provide == null) {
+ provide = new EObjectContainmentEList<TProvide>(TProvide.class, this, ddPackage.PROCESS_TYPE__PROVIDE);
+ }
+ return provide;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<TInvoke> getInvoke() {
+ if (invoke == null) {
+ invoke = new EObjectContainmentEList<TInvoke>(TInvoke.class, this, ddPackage.PROCESS_TYPE__INVOKE);
+ }
+ return invoke;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public MexInterceptorsType getMexInterceptors() {
+ return mexInterceptors;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetMexInterceptors(MexInterceptorsType newMexInterceptors, NotificationChain msgs) {
+ MexInterceptorsType oldMexInterceptors = mexInterceptors;
+ mexInterceptors = newMexInterceptors;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ddPackage.PROCESS_TYPE__MEX_INTERCEPTORS, oldMexInterceptors, newMexInterceptors);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMexInterceptors(MexInterceptorsType newMexInterceptors) {
+ if (newMexInterceptors != mexInterceptors) {
+ NotificationChain msgs = null;
+ if (mexInterceptors != null)
+ msgs = ((InternalEObject)mexInterceptors).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ddPackage.PROCESS_TYPE__MEX_INTERCEPTORS, null, msgs);
+ if (newMexInterceptors != null)
+ msgs = ((InternalEObject)newMexInterceptors).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ddPackage.PROCESS_TYPE__MEX_INTERCEPTORS, null, msgs);
+ msgs = basicSetMexInterceptors(newMexInterceptors, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ddPackage.PROCESS_TYPE__MEX_INTERCEPTORS, newMexInterceptors, newMexInterceptors));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public QName getType() {
+ return type;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setType(QName newType) {
+ QName oldType = type;
+ type = newType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ddPackage.PROCESS_TYPE__TYPE, oldType, type));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getBpel11wsdlFileName() {
+ return bpel11wsdlFileName;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBpel11wsdlFileName(String newBpel11wsdlFileName) {
+ String oldBpel11wsdlFileName = bpel11wsdlFileName;
+ bpel11wsdlFileName = newBpel11wsdlFileName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ddPackage.PROCESS_TYPE__BPEL11WSDL_FILE_NAME, oldBpel11wsdlFileName, bpel11wsdlFileName));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getFileName() {
+ return fileName;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFileName(String newFileName) {
+ String oldFileName = fileName;
+ fileName = newFileName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ddPackage.PROCESS_TYPE__FILE_NAME, oldFileName, fileName));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public QName getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(QName newName) {
+ QName oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ddPackage.PROCESS_TYPE__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public org.eclipse.bpel.model.Process getModel() {
+ if (model != null && model.eIsProxy()) {
+ InternalEObject oldModel = (InternalEObject)model;
+ model = (org.eclipse.bpel.model.Process)eResolveProxy(oldModel);
+ if (model != oldModel) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, ddPackage.PROCESS_TYPE__MODEL, oldModel, model));
+ }
+ }
+ return model;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public org.eclipse.bpel.model.Process basicGetModel() {
+ return model;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setModel(org.eclipse.bpel.model.Process newModel) {
+ org.eclipse.bpel.model.Process oldModel = model;
+ model = newModel;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ddPackage.PROCESS_TYPE__MODEL, oldModel, model));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case ddPackage.PROCESS_TYPE__PROPERTY:
+ return ((InternalEList<?>)getProperty()).basicRemove(otherEnd, msgs);
+ case ddPackage.PROCESS_TYPE__PROCESS_EVENTS:
+ return basicSetProcessEvents(null, msgs);
+ case ddPackage.PROCESS_TYPE__PROVIDE:
+ return ((InternalEList<?>)getProvide()).basicRemove(otherEnd, msgs);
+ case ddPackage.PROCESS_TYPE__INVOKE:
+ return ((InternalEList<?>)getInvoke()).basicRemove(otherEnd, msgs);
+ case ddPackage.PROCESS_TYPE__MEX_INTERCEPTORS:
+ return basicSetMexInterceptors(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case ddPackage.PROCESS_TYPE__ACTIVE:
+ return isActive() ? Boolean.TRUE : Boolean.FALSE;
+ case ddPackage.PROCESS_TYPE__RETIRED:
+ return isRetired() ? Boolean.TRUE : Boolean.FALSE;
+ case ddPackage.PROCESS_TYPE__IN_MEMORY:
+ return isInMemory() ? Boolean.TRUE : Boolean.FALSE;
+ case ddPackage.PROCESS_TYPE__PROPERTY:
+ return getProperty();
+ case ddPackage.PROCESS_TYPE__PROCESS_EVENTS:
+ return getProcessEvents();
+ case ddPackage.PROCESS_TYPE__PROVIDE:
+ return getProvide();
+ case ddPackage.PROCESS_TYPE__INVOKE:
+ return getInvoke();
+ case ddPackage.PROCESS_TYPE__MEX_INTERCEPTORS:
+ return getMexInterceptors();
+ case ddPackage.PROCESS_TYPE__TYPE:
+ return getType();
+ case ddPackage.PROCESS_TYPE__BPEL11WSDL_FILE_NAME:
+ return getBpel11wsdlFileName();
+ case ddPackage.PROCESS_TYPE__FILE_NAME:
+ return getFileName();
+ case ddPackage.PROCESS_TYPE__NAME:
+ return getName();
+ case ddPackage.PROCESS_TYPE__MODEL:
+ if (resolve) return getModel();
+ return basicGetModel();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case ddPackage.PROCESS_TYPE__ACTIVE:
+ setActive(((Boolean)newValue).booleanValue());
+ return;
+ case ddPackage.PROCESS_TYPE__RETIRED:
+ setRetired(((Boolean)newValue).booleanValue());
+ return;
+ case ddPackage.PROCESS_TYPE__IN_MEMORY:
+ setInMemory(((Boolean)newValue).booleanValue());
+ return;
+ case ddPackage.PROCESS_TYPE__PROPERTY:
+ getProperty().clear();
+ getProperty().addAll((Collection<? extends PropertyType>)newValue);
+ return;
+ case ddPackage.PROCESS_TYPE__PROCESS_EVENTS:
+ setProcessEvents((TProcessEvents)newValue);
+ return;
+ case ddPackage.PROCESS_TYPE__PROVIDE:
+ getProvide().clear();
+ getProvide().addAll((Collection<? extends TProvide>)newValue);
+ return;
+ case ddPackage.PROCESS_TYPE__INVOKE:
+ getInvoke().clear();
+ getInvoke().addAll((Collection<? extends TInvoke>)newValue);
+ return;
+ case ddPackage.PROCESS_TYPE__MEX_INTERCEPTORS:
+ setMexInterceptors((MexInterceptorsType)newValue);
+ return;
+ case ddPackage.PROCESS_TYPE__TYPE:
+ setType((QName)newValue);
+ return;
+ case ddPackage.PROCESS_TYPE__BPEL11WSDL_FILE_NAME:
+ setBpel11wsdlFileName((String)newValue);
+ return;
+ case ddPackage.PROCESS_TYPE__FILE_NAME:
+ setFileName((String)newValue);
+ return;
+ case ddPackage.PROCESS_TYPE__NAME:
+ setName((QName)newValue);
+ return;
+ case ddPackage.PROCESS_TYPE__MODEL:
+ setModel((org.eclipse.bpel.model.Process)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case ddPackage.PROCESS_TYPE__ACTIVE:
+ unsetActive();
+ return;
+ case ddPackage.PROCESS_TYPE__RETIRED:
+ unsetRetired();
+ return;
+ case ddPackage.PROCESS_TYPE__IN_MEMORY:
+ unsetInMemory();
+ return;
+ case ddPackage.PROCESS_TYPE__PROPERTY:
+ getProperty().clear();
+ return;
+ case ddPackage.PROCESS_TYPE__PROCESS_EVENTS:
+ setProcessEvents((TProcessEvents)null);
+ return;
+ case ddPackage.PROCESS_TYPE__PROVIDE:
+ getProvide().clear();
+ return;
+ case ddPackage.PROCESS_TYPE__INVOKE:
+ getInvoke().clear();
+ return;
+ case ddPackage.PROCESS_TYPE__MEX_INTERCEPTORS:
+ setMexInterceptors((MexInterceptorsType)null);
+ return;
+ case ddPackage.PROCESS_TYPE__TYPE:
+ setType(TYPE_EDEFAULT);
+ return;
+ case ddPackage.PROCESS_TYPE__BPEL11WSDL_FILE_NAME:
+ setBpel11wsdlFileName(BPEL11WSDL_FILE_NAME_EDEFAULT);
+ return;
+ case ddPackage.PROCESS_TYPE__FILE_NAME:
+ setFileName(FILE_NAME_EDEFAULT);
+ return;
+ case ddPackage.PROCESS_TYPE__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case ddPackage.PROCESS_TYPE__MODEL:
+ setModel((org.eclipse.bpel.model.Process)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case ddPackage.PROCESS_TYPE__ACTIVE:
+ return isSetActive();
+ case ddPackage.PROCESS_TYPE__RETIRED:
+ return isSetRetired();
+ case ddPackage.PROCESS_TYPE__IN_MEMORY:
+ return isSetInMemory();
+ case ddPackage.PROCESS_TYPE__PROPERTY:
+ return property != null && !property.isEmpty();
+ case ddPackage.PROCESS_TYPE__PROCESS_EVENTS:
+ return processEvents != null;
+ case ddPackage.PROCESS_TYPE__PROVIDE:
+ return provide != null && !provide.isEmpty();
+ case ddPackage.PROCESS_TYPE__INVOKE:
+ return invoke != null && !invoke.isEmpty();
+ case ddPackage.PROCESS_TYPE__MEX_INTERCEPTORS:
+ return mexInterceptors != null;
+ case ddPackage.PROCESS_TYPE__TYPE:
+ return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type);
+ case ddPackage.PROCESS_TYPE__BPEL11WSDL_FILE_NAME:
+ return BPEL11WSDL_FILE_NAME_EDEFAULT == null ? bpel11wsdlFileName != null : !BPEL11WSDL_FILE_NAME_EDEFAULT.equals(bpel11wsdlFileName);
+ case ddPackage.PROCESS_TYPE__FILE_NAME:
+ return FILE_NAME_EDEFAULT == null ? fileName != null : !FILE_NAME_EDEFAULT.equals(fileName);
+ case ddPackage.PROCESS_TYPE__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case ddPackage.PROCESS_TYPE__MODEL:
+ return model != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (active: ");
+ if (activeESet) result.append(active); else result.append("<unset>");
+ result.append(", retired: ");
+ if (retiredESet) result.append(retired); else result.append("<unset>");
+ result.append(", inMemory: ");
+ if (inMemoryESet) result.append(inMemory); else result.append("<unset>");
+ result.append(", type: ");
+ result.append(type);
+ result.append(", bpel11wsdlFileName: ");
+ result.append(bpel11wsdlFileName);
+ result.append(", fileName: ");
+ result.append(fileName);
+ result.append(", name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ProcessTypeImpl
Added: workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/PropertyTypeImpl.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/PropertyTypeImpl.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/PropertyTypeImpl.java 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,230 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.model.dd.impl;
+
+import javax.xml.namespace.QName;
+
+import org.eclipse.bpel.apache.ode.deploy.model.dd.PropertyType;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.eclipse.emf.ecore.util.BasicFeatureMap;
+import org.eclipse.emf.ecore.util.FeatureMap;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Property Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.PropertyTypeImpl#getAny <em>Any</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.PropertyTypeImpl#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class PropertyTypeImpl extends EObjectImpl implements PropertyType {
+ /**
+ * The cached value of the '{@link #getAny() <em>Any</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAny()
+ * @generated
+ * @ordered
+ */
+ protected FeatureMap any;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final QName NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected QName name = NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected PropertyTypeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return ddPackage.Literals.PROPERTY_TYPE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FeatureMap getAny() {
+ if (any == null) {
+ any = new BasicFeatureMap(this, ddPackage.PROPERTY_TYPE__ANY);
+ }
+ return any;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public QName getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(QName newName) {
+ QName oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ddPackage.PROPERTY_TYPE__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case ddPackage.PROPERTY_TYPE__ANY:
+ return ((InternalEList<?>)getAny()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case ddPackage.PROPERTY_TYPE__ANY:
+ if (coreType) return getAny();
+ return ((FeatureMap.Internal)getAny()).getWrapper();
+ case ddPackage.PROPERTY_TYPE__NAME:
+ return getName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case ddPackage.PROPERTY_TYPE__ANY:
+ ((FeatureMap.Internal)getAny()).set(newValue);
+ return;
+ case ddPackage.PROPERTY_TYPE__NAME:
+ setName((QName)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case ddPackage.PROPERTY_TYPE__ANY:
+ getAny().clear();
+ return;
+ case ddPackage.PROPERTY_TYPE__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case ddPackage.PROPERTY_TYPE__ANY:
+ return any != null && !any.isEmpty();
+ case ddPackage.PROPERTY_TYPE__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (any: ");
+ result.append(any);
+ result.append(", name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //PropertyTypeImpl
Added: workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/TDeploymentImpl.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/TDeploymentImpl.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/TDeploymentImpl.java 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,161 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.model.dd.impl;
+
+import java.util.Collection;
+
+import org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.TDeployment;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>TDeployment</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TDeploymentImpl#getProcess <em>Process</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class TDeploymentImpl extends EObjectImpl implements TDeployment {
+ /**
+ * The cached value of the '{@link #getProcess() <em>Process</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getProcess()
+ * @generated
+ * @ordered
+ */
+ protected EList<ProcessType> process;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected TDeploymentImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return ddPackage.Literals.TDEPLOYMENT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<ProcessType> getProcess() {
+ if (process == null) {
+ process = new EObjectContainmentEList<ProcessType>(ProcessType.class, this, ddPackage.TDEPLOYMENT__PROCESS);
+ }
+ return process;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case ddPackage.TDEPLOYMENT__PROCESS:
+ return ((InternalEList<?>)getProcess()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case ddPackage.TDEPLOYMENT__PROCESS:
+ return getProcess();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case ddPackage.TDEPLOYMENT__PROCESS:
+ getProcess().clear();
+ getProcess().addAll((Collection<? extends ProcessType>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case ddPackage.TDEPLOYMENT__PROCESS:
+ getProcess().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case ddPackage.TDEPLOYMENT__PROCESS:
+ return process != null && !process.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //TDeploymentImpl
Added: workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/TEnableEventListImpl.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/TEnableEventListImpl.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/TEnableEventListImpl.java 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,158 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.model.dd.impl;
+
+import java.util.Collection;
+
+import org.eclipse.bpel.apache.ode.deploy.model.dd.TEnableEventList;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.eclipse.emf.ecore.util.EDataTypeEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>TEnable Event List</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TEnableEventListImpl#getEnableEvent <em>Enable Event</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class TEnableEventListImpl extends EObjectImpl implements TEnableEventList {
+ /**
+ * The cached value of the '{@link #getEnableEvent() <em>Enable Event</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getEnableEvent()
+ * @generated
+ * @ordered
+ */
+ protected EList<String> enableEvent;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected TEnableEventListImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return ddPackage.Literals.TENABLE_EVENT_LIST;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<String> getEnableEvent() {
+ if (enableEvent == null) {
+ enableEvent = new EDataTypeEList<String>(String.class, this, ddPackage.TENABLE_EVENT_LIST__ENABLE_EVENT);
+ }
+ return enableEvent;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case ddPackage.TENABLE_EVENT_LIST__ENABLE_EVENT:
+ return getEnableEvent();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case ddPackage.TENABLE_EVENT_LIST__ENABLE_EVENT:
+ getEnableEvent().clear();
+ getEnableEvent().addAll((Collection<? extends String>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case ddPackage.TENABLE_EVENT_LIST__ENABLE_EVENT:
+ getEnableEvent().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case ddPackage.TENABLE_EVENT_LIST__ENABLE_EVENT:
+ return enableEvent != null && !enableEvent.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (enableEvent: ");
+ result.append(enableEvent);
+ result.append(')');
+ return result.toString();
+ }
+
+} //TEnableEventListImpl
Added: workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/TInvokeImpl.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/TInvokeImpl.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/TInvokeImpl.java 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,320 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.model.dd.impl;
+
+import org.eclipse.bpel.apache.ode.deploy.model.dd.BindingType;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.TInvoke;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.TService;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>TInvoke</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TInvokeImpl#getService <em>Service</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TInvokeImpl#getBinding <em>Binding</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TInvokeImpl#getPartnerLink <em>Partner Link</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class TInvokeImpl extends EObjectImpl implements TInvoke {
+ /**
+ * The cached value of the '{@link #getService() <em>Service</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getService()
+ * @generated
+ * @ordered
+ */
+ protected TService service;
+
+ /**
+ * The cached value of the '{@link #getBinding() <em>Binding</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBinding()
+ * @generated
+ * @ordered
+ */
+ protected BindingType binding;
+
+ /**
+ * The default value of the '{@link #getPartnerLink() <em>Partner Link</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPartnerLink()
+ * @generated
+ * @ordered
+ */
+ protected static final String PARTNER_LINK_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getPartnerLink() <em>Partner Link</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPartnerLink()
+ * @generated
+ * @ordered
+ */
+ protected String partnerLink = PARTNER_LINK_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected TInvokeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return ddPackage.Literals.TINVOKE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TService getService() {
+ return service;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetService(TService newService, NotificationChain msgs) {
+ TService oldService = service;
+ service = newService;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ddPackage.TINVOKE__SERVICE, oldService, newService);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setService(TService newService) {
+ if (newService != service) {
+ NotificationChain msgs = null;
+ if (service != null)
+ msgs = ((InternalEObject)service).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ddPackage.TINVOKE__SERVICE, null, msgs);
+ if (newService != null)
+ msgs = ((InternalEObject)newService).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ddPackage.TINVOKE__SERVICE, null, msgs);
+ msgs = basicSetService(newService, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ddPackage.TINVOKE__SERVICE, newService, newService));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BindingType getBinding() {
+ return binding;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetBinding(BindingType newBinding, NotificationChain msgs) {
+ BindingType oldBinding = binding;
+ binding = newBinding;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ddPackage.TINVOKE__BINDING, oldBinding, newBinding);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBinding(BindingType newBinding) {
+ if (newBinding != binding) {
+ NotificationChain msgs = null;
+ if (binding != null)
+ msgs = ((InternalEObject)binding).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ddPackage.TINVOKE__BINDING, null, msgs);
+ if (newBinding != null)
+ msgs = ((InternalEObject)newBinding).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ddPackage.TINVOKE__BINDING, null, msgs);
+ msgs = basicSetBinding(newBinding, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ddPackage.TINVOKE__BINDING, newBinding, newBinding));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getPartnerLink() {
+ return partnerLink;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPartnerLink(String newPartnerLink) {
+ String oldPartnerLink = partnerLink;
+ partnerLink = newPartnerLink;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ddPackage.TINVOKE__PARTNER_LINK, oldPartnerLink, partnerLink));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case ddPackage.TINVOKE__SERVICE:
+ return basicSetService(null, msgs);
+ case ddPackage.TINVOKE__BINDING:
+ return basicSetBinding(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case ddPackage.TINVOKE__SERVICE:
+ return getService();
+ case ddPackage.TINVOKE__BINDING:
+ return getBinding();
+ case ddPackage.TINVOKE__PARTNER_LINK:
+ return getPartnerLink();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case ddPackage.TINVOKE__SERVICE:
+ setService((TService)newValue);
+ return;
+ case ddPackage.TINVOKE__BINDING:
+ setBinding((BindingType)newValue);
+ return;
+ case ddPackage.TINVOKE__PARTNER_LINK:
+ setPartnerLink((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case ddPackage.TINVOKE__SERVICE:
+ setService((TService)null);
+ return;
+ case ddPackage.TINVOKE__BINDING:
+ setBinding((BindingType)null);
+ return;
+ case ddPackage.TINVOKE__PARTNER_LINK:
+ setPartnerLink(PARTNER_LINK_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case ddPackage.TINVOKE__SERVICE:
+ return service != null;
+ case ddPackage.TINVOKE__BINDING:
+ return binding != null;
+ case ddPackage.TINVOKE__PARTNER_LINK:
+ return PARTNER_LINK_EDEFAULT == null ? partnerLink != null : !PARTNER_LINK_EDEFAULT.equals(partnerLink);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (partnerLink: ");
+ result.append(partnerLink);
+ result.append(')');
+ return result.toString();
+ }
+
+} //TInvokeImpl
Added: workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/TMexInterceptorImpl.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/TMexInterceptorImpl.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/TMexInterceptorImpl.java 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,172 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.model.dd.impl;
+
+import org.eclipse.bpel.apache.ode.deploy.model.dd.TMexInterceptor;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>TMex Interceptor</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TMexInterceptorImpl#getClassName <em>Class Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class TMexInterceptorImpl extends EObjectImpl implements TMexInterceptor {
+ /**
+ * The default value of the '{@link #getClassName() <em>Class Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getClassName()
+ * @generated
+ * @ordered
+ */
+ protected static final String CLASS_NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getClassName() <em>Class Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getClassName()
+ * @generated
+ * @ordered
+ */
+ protected String className = CLASS_NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected TMexInterceptorImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return ddPackage.Literals.TMEX_INTERCEPTOR;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getClassName() {
+ return className;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setClassName(String newClassName) {
+ String oldClassName = className;
+ className = newClassName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ddPackage.TMEX_INTERCEPTOR__CLASS_NAME, oldClassName, className));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case ddPackage.TMEX_INTERCEPTOR__CLASS_NAME:
+ return getClassName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case ddPackage.TMEX_INTERCEPTOR__CLASS_NAME:
+ setClassName((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case ddPackage.TMEX_INTERCEPTOR__CLASS_NAME:
+ setClassName(CLASS_NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case ddPackage.TMEX_INTERCEPTOR__CLASS_NAME:
+ return CLASS_NAME_EDEFAULT == null ? className != null : !CLASS_NAME_EDEFAULT.equals(className);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (className: ");
+ result.append(className);
+ result.append(')');
+ return result.toString();
+ }
+
+} //TMexInterceptorImpl
Added: workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/TProcessEventsImpl.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/TProcessEventsImpl.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/TProcessEventsImpl.java 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,265 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.model.dd.impl;
+
+import java.util.Collection;
+
+import org.eclipse.bpel.apache.ode.deploy.model.dd.GenerateType;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.TProcessEvents;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.TScopeEvents;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>TProcess Events</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TProcessEventsImpl#getScopeEvents <em>Scope Events</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TProcessEventsImpl#getGenerate <em>Generate</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class TProcessEventsImpl extends TEnableEventListImpl implements TProcessEvents {
+ /**
+ * The cached value of the '{@link #getScopeEvents() <em>Scope Events</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getScopeEvents()
+ * @generated
+ * @ordered
+ */
+ protected EList<TScopeEvents> scopeEvents;
+
+ /**
+ * The default value of the '{@link #getGenerate() <em>Generate</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getGenerate()
+ * @generated
+ * @ordered
+ */
+ protected static final GenerateType GENERATE_EDEFAULT = GenerateType.ALL;
+
+ /**
+ * The cached value of the '{@link #getGenerate() <em>Generate</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getGenerate()
+ * @generated
+ * @ordered
+ */
+ protected GenerateType generate = GENERATE_EDEFAULT;
+
+ /**
+ * This is true if the Generate attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean generateESet;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected TProcessEventsImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return ddPackage.Literals.TPROCESS_EVENTS;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<TScopeEvents> getScopeEvents() {
+ if (scopeEvents == null) {
+ scopeEvents = new EObjectContainmentEList<TScopeEvents>(TScopeEvents.class, this, ddPackage.TPROCESS_EVENTS__SCOPE_EVENTS);
+ }
+ return scopeEvents;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public GenerateType getGenerate() {
+ return generate;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setGenerate(GenerateType newGenerate) {
+ GenerateType oldGenerate = generate;
+ generate = newGenerate == null ? GENERATE_EDEFAULT : newGenerate;
+ boolean oldGenerateESet = generateESet;
+ generateESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ddPackage.TPROCESS_EVENTS__GENERATE, oldGenerate, generate, !oldGenerateESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetGenerate() {
+ GenerateType oldGenerate = generate;
+ boolean oldGenerateESet = generateESet;
+ generate = GENERATE_EDEFAULT;
+ generateESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, ddPackage.TPROCESS_EVENTS__GENERATE, oldGenerate, GENERATE_EDEFAULT, oldGenerateESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetGenerate() {
+ return generateESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case ddPackage.TPROCESS_EVENTS__SCOPE_EVENTS:
+ return ((InternalEList<?>)getScopeEvents()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case ddPackage.TPROCESS_EVENTS__SCOPE_EVENTS:
+ return getScopeEvents();
+ case ddPackage.TPROCESS_EVENTS__GENERATE:
+ return getGenerate();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case ddPackage.TPROCESS_EVENTS__SCOPE_EVENTS:
+ getScopeEvents().clear();
+ getScopeEvents().addAll((Collection<? extends TScopeEvents>)newValue);
+ return;
+ case ddPackage.TPROCESS_EVENTS__GENERATE:
+ setGenerate((GenerateType)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case ddPackage.TPROCESS_EVENTS__SCOPE_EVENTS:
+ getScopeEvents().clear();
+ return;
+ case ddPackage.TPROCESS_EVENTS__GENERATE:
+ unsetGenerate();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case ddPackage.TPROCESS_EVENTS__SCOPE_EVENTS:
+ return scopeEvents != null && !scopeEvents.isEmpty();
+ case ddPackage.TPROCESS_EVENTS__GENERATE:
+ return isSetGenerate();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (generate: ");
+ if (generateESet) result.append(generate); else result.append("<unset>");
+ result.append(')');
+ return result.toString();
+ }
+
+} //TProcessEventsImpl
Added: workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/TProvideImpl.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/TProvideImpl.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/TProvideImpl.java 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,253 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.model.dd.impl;
+
+import org.eclipse.bpel.apache.ode.deploy.model.dd.TProvide;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.TService;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>TProvide</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TProvideImpl#getService <em>Service</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TProvideImpl#getPartnerLink <em>Partner Link</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class TProvideImpl extends EObjectImpl implements TProvide {
+ /**
+ * The cached value of the '{@link #getService() <em>Service</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getService()
+ * @generated
+ * @ordered
+ */
+ protected TService service;
+
+ /**
+ * The default value of the '{@link #getPartnerLink() <em>Partner Link</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPartnerLink()
+ * @generated
+ * @ordered
+ */
+ protected static final String PARTNER_LINK_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getPartnerLink() <em>Partner Link</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPartnerLink()
+ * @generated
+ * @ordered
+ */
+ protected String partnerLink = PARTNER_LINK_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected TProvideImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return ddPackage.Literals.TPROVIDE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TService getService() {
+ return service;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetService(TService newService, NotificationChain msgs) {
+ TService oldService = service;
+ service = newService;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ddPackage.TPROVIDE__SERVICE, oldService, newService);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setService(TService newService) {
+ if (newService != service) {
+ NotificationChain msgs = null;
+ if (service != null)
+ msgs = ((InternalEObject)service).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ddPackage.TPROVIDE__SERVICE, null, msgs);
+ if (newService != null)
+ msgs = ((InternalEObject)newService).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ddPackage.TPROVIDE__SERVICE, null, msgs);
+ msgs = basicSetService(newService, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ddPackage.TPROVIDE__SERVICE, newService, newService));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getPartnerLink() {
+ return partnerLink;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPartnerLink(String newPartnerLink) {
+ String oldPartnerLink = partnerLink;
+ partnerLink = newPartnerLink;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ddPackage.TPROVIDE__PARTNER_LINK, oldPartnerLink, partnerLink));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case ddPackage.TPROVIDE__SERVICE:
+ return basicSetService(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case ddPackage.TPROVIDE__SERVICE:
+ return getService();
+ case ddPackage.TPROVIDE__PARTNER_LINK:
+ return getPartnerLink();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case ddPackage.TPROVIDE__SERVICE:
+ setService((TService)newValue);
+ return;
+ case ddPackage.TPROVIDE__PARTNER_LINK:
+ setPartnerLink((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case ddPackage.TPROVIDE__SERVICE:
+ setService((TService)null);
+ return;
+ case ddPackage.TPROVIDE__PARTNER_LINK:
+ setPartnerLink(PARTNER_LINK_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case ddPackage.TPROVIDE__SERVICE:
+ return service != null;
+ case ddPackage.TPROVIDE__PARTNER_LINK:
+ return PARTNER_LINK_EDEFAULT == null ? partnerLink != null : !PARTNER_LINK_EDEFAULT.equals(partnerLink);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (partnerLink: ");
+ result.append(partnerLink);
+ result.append(')');
+ return result.toString();
+ }
+
+} //TProvideImpl
Added: workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/TScopeEventsImpl.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/TScopeEventsImpl.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/TScopeEventsImpl.java 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,171 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.model.dd.impl;
+
+import org.eclipse.bpel.apache.ode.deploy.model.dd.TScopeEvents;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>TScope Events</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TScopeEventsImpl#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class TScopeEventsImpl extends TEnableEventListImpl implements TScopeEvents {
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected TScopeEventsImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return ddPackage.Literals.TSCOPE_EVENTS;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ddPackage.TSCOPE_EVENTS__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case ddPackage.TSCOPE_EVENTS__NAME:
+ return getName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case ddPackage.TSCOPE_EVENTS__NAME:
+ setName((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case ddPackage.TSCOPE_EVENTS__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case ddPackage.TSCOPE_EVENTS__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //TScopeEventsImpl
Added: workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/TServiceImpl.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/TServiceImpl.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/TServiceImpl.java 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,284 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.model.dd.impl;
+
+import javax.xml.namespace.QName;
+
+import org.eclipse.bpel.apache.ode.deploy.model.dd.TService;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.eclipse.emf.ecore.util.BasicFeatureMap;
+import org.eclipse.emf.ecore.util.FeatureMap;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>TService</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TServiceImpl#getAny <em>Any</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TServiceImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.bpel.apache.ode.deploy.model.dd.impl.TServiceImpl#getPort <em>Port</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class TServiceImpl extends EObjectImpl implements TService {
+ /**
+ * The cached value of the '{@link #getAny() <em>Any</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAny()
+ * @generated
+ * @ordered
+ */
+ protected FeatureMap any;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final QName NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected QName name = NAME_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getPort() <em>Port</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPort()
+ * @generated
+ * @ordered
+ */
+ protected static final String PORT_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getPort() <em>Port</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPort()
+ * @generated
+ * @ordered
+ */
+ protected String port = PORT_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected TServiceImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return ddPackage.Literals.TSERVICE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FeatureMap getAny() {
+ if (any == null) {
+ any = new BasicFeatureMap(this, ddPackage.TSERVICE__ANY);
+ }
+ return any;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public QName getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(QName newName) {
+ QName oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ddPackage.TSERVICE__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getPort() {
+ return port;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPort(String newPort) {
+ String oldPort = port;
+ port = newPort;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ddPackage.TSERVICE__PORT, oldPort, port));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case ddPackage.TSERVICE__ANY:
+ return ((InternalEList<?>)getAny()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case ddPackage.TSERVICE__ANY:
+ if (coreType) return getAny();
+ return ((FeatureMap.Internal)getAny()).getWrapper();
+ case ddPackage.TSERVICE__NAME:
+ return getName();
+ case ddPackage.TSERVICE__PORT:
+ return getPort();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case ddPackage.TSERVICE__ANY:
+ ((FeatureMap.Internal)getAny()).set(newValue);
+ return;
+ case ddPackage.TSERVICE__NAME:
+ setName((QName)newValue);
+ return;
+ case ddPackage.TSERVICE__PORT:
+ setPort((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case ddPackage.TSERVICE__ANY:
+ getAny().clear();
+ return;
+ case ddPackage.TSERVICE__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case ddPackage.TSERVICE__PORT:
+ setPort(PORT_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case ddPackage.TSERVICE__ANY:
+ return any != null && !any.isEmpty();
+ case ddPackage.TSERVICE__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case ddPackage.TSERVICE__PORT:
+ return PORT_EDEFAULT == null ? port != null : !PORT_EDEFAULT.equals(port);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (any: ");
+ result.append(any);
+ result.append(", name: ");
+ result.append(name);
+ result.append(", port: ");
+ result.append(port);
+ result.append(')');
+ return result.toString();
+ }
+
+} //TServiceImpl
Added: workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/ddFactoryImpl.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/ddFactoryImpl.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/ddFactoryImpl.java 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,309 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.model.dd.impl;
+
+import org.eclipse.bpel.apache.ode.deploy.model.dd.*;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EDataType;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.impl.EFactoryImpl;
+
+import org.eclipse.emf.ecore.plugin.EcorePlugin;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class ddFactoryImpl extends EFactoryImpl implements ddFactory {
+ /**
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static ddFactory init() {
+ try {
+ ddFactory theddFactory = (ddFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.apache.org/ode/schemas/dd/2007/03");
+ if (theddFactory != null) {
+ return theddFactory;
+ }
+ }
+ catch (Exception exception) {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new ddFactoryImpl();
+ }
+
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ddFactoryImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass) {
+ switch (eClass.getClassifierID()) {
+ case ddPackage.BINDING_TYPE: return createBindingType();
+ case ddPackage.DOCUMENT_ROOT: return createDocumentRoot();
+ case ddPackage.MEX_INTERCEPTORS_TYPE: return createMexInterceptorsType();
+ case ddPackage.PROCESS_TYPE: return createProcessType();
+ case ddPackage.PROPERTY_TYPE: return createPropertyType();
+ case ddPackage.TDEPLOYMENT: return createTDeployment();
+ case ddPackage.TENABLE_EVENT_LIST: return createTEnableEventList();
+ case ddPackage.TINVOKE: return createTInvoke();
+ case ddPackage.TMEX_INTERCEPTOR: return createTMexInterceptor();
+ case ddPackage.TPROCESS_EVENTS: return createTProcessEvents();
+ case ddPackage.TPROVIDE: return createTProvide();
+ case ddPackage.TSCOPE_EVENTS: return createTScopeEvents();
+ case ddPackage.TSERVICE: return createTService();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object createFromString(EDataType eDataType, String initialValue) {
+ switch (eDataType.getClassifierID()) {
+ case ddPackage.GENERATE_TYPE:
+ return createGenerateTypeFromString(eDataType, initialValue);
+ case ddPackage.GENERATE_TYPE_OBJECT:
+ return createGenerateTypeObjectFromString(eDataType, initialValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String convertToString(EDataType eDataType, Object instanceValue) {
+ switch (eDataType.getClassifierID()) {
+ case ddPackage.GENERATE_TYPE:
+ return convertGenerateTypeToString(eDataType, instanceValue);
+ case ddPackage.GENERATE_TYPE_OBJECT:
+ return convertGenerateTypeObjectToString(eDataType, instanceValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BindingType createBindingType() {
+ BindingTypeImpl bindingType = new BindingTypeImpl();
+ return bindingType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DocumentRoot createDocumentRoot() {
+ DocumentRootImpl documentRoot = new DocumentRootImpl();
+ return documentRoot;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public MexInterceptorsType createMexInterceptorsType() {
+ MexInterceptorsTypeImpl mexInterceptorsType = new MexInterceptorsTypeImpl();
+ return mexInterceptorsType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ProcessType createProcessType() {
+ ProcessTypeImpl processType = new ProcessTypeImpl();
+ return processType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public PropertyType createPropertyType() {
+ PropertyTypeImpl propertyType = new PropertyTypeImpl();
+ return propertyType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TDeployment createTDeployment() {
+ TDeploymentImpl tDeployment = new TDeploymentImpl();
+ return tDeployment;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TEnableEventList createTEnableEventList() {
+ TEnableEventListImpl tEnableEventList = new TEnableEventListImpl();
+ return tEnableEventList;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TInvoke createTInvoke() {
+ TInvokeImpl tInvoke = new TInvokeImpl();
+ return tInvoke;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TMexInterceptor createTMexInterceptor() {
+ TMexInterceptorImpl tMexInterceptor = new TMexInterceptorImpl();
+ return tMexInterceptor;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TProcessEvents createTProcessEvents() {
+ TProcessEventsImpl tProcessEvents = new TProcessEventsImpl();
+ return tProcessEvents;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TProvide createTProvide() {
+ TProvideImpl tProvide = new TProvideImpl();
+ return tProvide;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TScopeEvents createTScopeEvents() {
+ TScopeEventsImpl tScopeEvents = new TScopeEventsImpl();
+ return tScopeEvents;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TService createTService() {
+ TServiceImpl tService = new TServiceImpl();
+ return tService;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public GenerateType createGenerateTypeFromString(EDataType eDataType, String initialValue) {
+ GenerateType result = GenerateType.get(initialValue);
+ if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
+ return result;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convertGenerateTypeToString(EDataType eDataType, Object instanceValue) {
+ return instanceValue == null ? null : instanceValue.toString();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public GenerateType createGenerateTypeObjectFromString(EDataType eDataType, String initialValue) {
+ return createGenerateTypeFromString(ddPackage.Literals.GENERATE_TYPE, initialValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convertGenerateTypeObjectToString(EDataType eDataType, Object instanceValue) {
+ return convertGenerateTypeToString(ddPackage.Literals.GENERATE_TYPE, instanceValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ddPackage getddPackage() {
+ return (ddPackage)getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static ddPackage getPackage() {
+ return ddPackage.eINSTANCE;
+ }
+
+} //ddFactoryImpl
Added: workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/ddPackageImpl.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/ddPackageImpl.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/impl/ddPackageImpl.java 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,1270 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.model.dd.impl;
+
+import org.eclipse.bpel.apache.ode.deploy.model.dd.BindingType;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.DocumentRoot;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.GenerateType;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.MexInterceptorsType;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.PropertyType;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.TDeployment;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.TEnableEventList;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.TInvoke;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.TMexInterceptor;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.TProcessEvents;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.TProvide;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.TScopeEvents;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.TService;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.ddFactory;
+import org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage;
+
+import org.eclipse.bpel.model.BPELPackage;
+import org.eclipse.bpel.model.messageproperties.MessagepropertiesPackage;
+import org.eclipse.bpel.model.partnerlinktype.PartnerlinktypePackage;
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EDataType;
+import org.eclipse.emf.ecore.EEnum;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+
+import org.eclipse.emf.ecore.EcorePackage;
+import org.eclipse.emf.ecore.impl.EPackageImpl;
+
+import org.eclipse.emf.ecore.xml.type.XMLTypePackage;
+import org.eclipse.wst.wsdl.WSDLPackage;
+import org.eclipse.xsd.XSDPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Package</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class ddPackageImpl extends EPackageImpl implements ddPackage {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass bindingTypeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass documentRootEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass mexInterceptorsTypeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass processTypeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass propertyTypeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass tDeploymentEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass tEnableEventListEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass tInvokeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass tMexInterceptorEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass tProcessEventsEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass tProvideEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass tScopeEventsEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass tServiceEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EEnum generateTypeEEnum = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EDataType generateTypeObjectEDataType = null;
+
+ /**
+ * Creates an instance of the model <b>Package</b>, registered with
+ * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
+ * package URI value.
+ * <p>Note: the correct way to create the package is via the static
+ * factory method {@link #init init()}, which also performs
+ * initialization of the package, or returns the registered package,
+ * if one already exists.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.ecore.EPackage.Registry
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private ddPackageImpl() {
+ super(eNS_URI, ddFactory.eINSTANCE);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static boolean isInited = false;
+
+ /**
+ * Creates, registers, and initializes the <b>Package</b> for this
+ * model, and for any others upon which it depends. Simple
+ * dependencies are satisfied by calling this method on all
+ * dependent packages before doing anything else. This method drives
+ * initialization for interdependent packages directly, in parallel
+ * with this package, itself.
+ * <p>Of this package and its interdependencies, all packages which
+ * have not yet been registered by their URI values are first created
+ * and registered. The packages are then initialized in two steps:
+ * meta-model objects for all of the packages are created before any
+ * are initialized, since one package's meta-model objects may refer to
+ * those of another.
+ * <p>Invocation of this method will not affect any packages that have
+ * already been initialized.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #eNS_URI
+ * @see #createPackageContents()
+ * @see #initializePackageContents()
+ * @generated
+ */
+ public static ddPackage init() {
+ if (isInited) return (ddPackage)EPackage.Registry.INSTANCE.getEPackage(ddPackage.eNS_URI);
+
+ // Obtain or create and register package
+ ddPackageImpl theddPackage = (ddPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof ddPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new ddPackageImpl());
+
+ isInited = true;
+
+ // Initialize simple dependencies
+ BPELPackage.eINSTANCE.eClass();
+ PartnerlinktypePackage.eINSTANCE.eClass();
+ MessagepropertiesPackage.eINSTANCE.eClass();
+ EcorePackage.eINSTANCE.eClass();
+ WSDLPackage.eINSTANCE.eClass();
+ XSDPackage.eINSTANCE.eClass();
+ XMLTypePackage.eINSTANCE.eClass();
+
+ // Create package meta-data objects
+ theddPackage.createPackageContents();
+
+ // Initialize created meta-data
+ theddPackage.initializePackageContents();
+
+ // Mark meta-data to indicate it can't be changed
+ theddPackage.freeze();
+
+ return theddPackage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getBindingType() {
+ return bindingTypeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getBindingType_Name() {
+ return (EAttribute)bindingTypeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDocumentRoot() {
+ return documentRootEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDocumentRoot_Mixed() {
+ return (EAttribute)documentRootEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_XMLNSPrefixMap() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_XSISchemaLocation() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Deploy() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getMexInterceptorsType() {
+ return mexInterceptorsTypeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getMexInterceptorsType_MexInterceptor() {
+ return (EReference)mexInterceptorsTypeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getProcessType() {
+ return processTypeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getProcessType_Active() {
+ return (EAttribute)processTypeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getProcessType_Retired() {
+ return (EAttribute)processTypeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getProcessType_InMemory() {
+ return (EAttribute)processTypeEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getProcessType_Property() {
+ return (EReference)processTypeEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getProcessType_ProcessEvents() {
+ return (EReference)processTypeEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getProcessType_Provide() {
+ return (EReference)processTypeEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getProcessType_Invoke() {
+ return (EReference)processTypeEClass.getEStructuralFeatures().get(6);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getProcessType_MexInterceptors() {
+ return (EReference)processTypeEClass.getEStructuralFeatures().get(7);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getProcessType_Type() {
+ return (EAttribute)processTypeEClass.getEStructuralFeatures().get(8);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getProcessType_Bpel11wsdlFileName() {
+ return (EAttribute)processTypeEClass.getEStructuralFeatures().get(9);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getProcessType_FileName() {
+ return (EAttribute)processTypeEClass.getEStructuralFeatures().get(10);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getProcessType_Name() {
+ return (EAttribute)processTypeEClass.getEStructuralFeatures().get(11);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getProcessType_Model() {
+ return (EReference)processTypeEClass.getEStructuralFeatures().get(12);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getPropertyType() {
+ return propertyTypeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getPropertyType_Any() {
+ return (EAttribute)propertyTypeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getPropertyType_Name() {
+ return (EAttribute)propertyTypeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getTDeployment() {
+ return tDeploymentEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getTDeployment_Process() {
+ return (EReference)tDeploymentEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getTEnableEventList() {
+ return tEnableEventListEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getTEnableEventList_EnableEvent() {
+ return (EAttribute)tEnableEventListEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getTInvoke() {
+ return tInvokeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getTInvoke_Service() {
+ return (EReference)tInvokeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getTInvoke_Binding() {
+ return (EReference)tInvokeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getTInvoke_PartnerLink() {
+ return (EAttribute)tInvokeEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getTMexInterceptor() {
+ return tMexInterceptorEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getTMexInterceptor_ClassName() {
+ return (EAttribute)tMexInterceptorEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getTProcessEvents() {
+ return tProcessEventsEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getTProcessEvents_ScopeEvents() {
+ return (EReference)tProcessEventsEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getTProcessEvents_Generate() {
+ return (EAttribute)tProcessEventsEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getTProvide() {
+ return tProvideEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getTProvide_Service() {
+ return (EReference)tProvideEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getTProvide_PartnerLink() {
+ return (EAttribute)tProvideEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getTScopeEvents() {
+ return tScopeEventsEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getTScopeEvents_Name() {
+ return (EAttribute)tScopeEventsEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getTService() {
+ return tServiceEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getTService_Any() {
+ return (EAttribute)tServiceEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getTService_Name() {
+ return (EAttribute)tServiceEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getTService_Port() {
+ return (EAttribute)tServiceEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EEnum getGenerateType() {
+ return generateTypeEEnum;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EDataType getGenerateTypeObject() {
+ return generateTypeObjectEDataType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ddFactory getddFactory() {
+ return (ddFactory)getEFactoryInstance();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isCreated = false;
+
+ /**
+ * Creates the meta-model objects for the package. This method is
+ * guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void createPackageContents() {
+ if (isCreated) return;
+ isCreated = true;
+
+ // Create classes and their features
+ bindingTypeEClass = createEClass(BINDING_TYPE);
+ createEAttribute(bindingTypeEClass, BINDING_TYPE__NAME);
+
+ documentRootEClass = createEClass(DOCUMENT_ROOT);
+ createEAttribute(documentRootEClass, DOCUMENT_ROOT__MIXED);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__DEPLOY);
+
+ mexInterceptorsTypeEClass = createEClass(MEX_INTERCEPTORS_TYPE);
+ createEReference(mexInterceptorsTypeEClass, MEX_INTERCEPTORS_TYPE__MEX_INTERCEPTOR);
+
+ processTypeEClass = createEClass(PROCESS_TYPE);
+ createEAttribute(processTypeEClass, PROCESS_TYPE__ACTIVE);
+ createEAttribute(processTypeEClass, PROCESS_TYPE__RETIRED);
+ createEAttribute(processTypeEClass, PROCESS_TYPE__IN_MEMORY);
+ createEReference(processTypeEClass, PROCESS_TYPE__PROPERTY);
+ createEReference(processTypeEClass, PROCESS_TYPE__PROCESS_EVENTS);
+ createEReference(processTypeEClass, PROCESS_TYPE__PROVIDE);
+ createEReference(processTypeEClass, PROCESS_TYPE__INVOKE);
+ createEReference(processTypeEClass, PROCESS_TYPE__MEX_INTERCEPTORS);
+ createEAttribute(processTypeEClass, PROCESS_TYPE__TYPE);
+ createEAttribute(processTypeEClass, PROCESS_TYPE__BPEL11WSDL_FILE_NAME);
+ createEAttribute(processTypeEClass, PROCESS_TYPE__FILE_NAME);
+ createEAttribute(processTypeEClass, PROCESS_TYPE__NAME);
+ createEReference(processTypeEClass, PROCESS_TYPE__MODEL);
+
+ propertyTypeEClass = createEClass(PROPERTY_TYPE);
+ createEAttribute(propertyTypeEClass, PROPERTY_TYPE__ANY);
+ createEAttribute(propertyTypeEClass, PROPERTY_TYPE__NAME);
+
+ tDeploymentEClass = createEClass(TDEPLOYMENT);
+ createEReference(tDeploymentEClass, TDEPLOYMENT__PROCESS);
+
+ tEnableEventListEClass = createEClass(TENABLE_EVENT_LIST);
+ createEAttribute(tEnableEventListEClass, TENABLE_EVENT_LIST__ENABLE_EVENT);
+
+ tInvokeEClass = createEClass(TINVOKE);
+ createEReference(tInvokeEClass, TINVOKE__SERVICE);
+ createEReference(tInvokeEClass, TINVOKE__BINDING);
+ createEAttribute(tInvokeEClass, TINVOKE__PARTNER_LINK);
+
+ tMexInterceptorEClass = createEClass(TMEX_INTERCEPTOR);
+ createEAttribute(tMexInterceptorEClass, TMEX_INTERCEPTOR__CLASS_NAME);
+
+ tProcessEventsEClass = createEClass(TPROCESS_EVENTS);
+ createEReference(tProcessEventsEClass, TPROCESS_EVENTS__SCOPE_EVENTS);
+ createEAttribute(tProcessEventsEClass, TPROCESS_EVENTS__GENERATE);
+
+ tProvideEClass = createEClass(TPROVIDE);
+ createEReference(tProvideEClass, TPROVIDE__SERVICE);
+ createEAttribute(tProvideEClass, TPROVIDE__PARTNER_LINK);
+
+ tScopeEventsEClass = createEClass(TSCOPE_EVENTS);
+ createEAttribute(tScopeEventsEClass, TSCOPE_EVENTS__NAME);
+
+ tServiceEClass = createEClass(TSERVICE);
+ createEAttribute(tServiceEClass, TSERVICE__ANY);
+ createEAttribute(tServiceEClass, TSERVICE__NAME);
+ createEAttribute(tServiceEClass, TSERVICE__PORT);
+
+ // Create enums
+ generateTypeEEnum = createEEnum(GENERATE_TYPE);
+
+ // Create data types
+ generateTypeObjectEDataType = createEDataType(GENERATE_TYPE_OBJECT);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isInitialized = false;
+
+ /**
+ * Complete the initialization of the package and its meta-model. This
+ * method is guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void initializePackageContents() {
+ if (isInitialized) return;
+ isInitialized = true;
+
+ // Initialize package
+ setName(eNAME);
+ setNsPrefix(eNS_PREFIX);
+ setNsURI(eNS_URI);
+
+ // Obtain other dependent packages
+ XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);
+ BPELPackage theBPELPackage = (BPELPackage)EPackage.Registry.INSTANCE.getEPackage(BPELPackage.eNS_URI);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+ tProcessEventsEClass.getESuperTypes().add(this.getTEnableEventList());
+ tScopeEventsEClass.getESuperTypes().add(this.getTEnableEventList());
+
+ // Initialize classes and features; add operations and parameters
+ initEClass(bindingTypeEClass, BindingType.class, "BindingType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getBindingType_Name(), theXMLTypePackage.getQName(), "name", null, 1, 1, BindingType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(documentRootEClass, DocumentRoot.class, "DocumentRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDocumentRoot_Mixed(), ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, -1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_XMLNSPrefixMap(), ecorePackage.getEStringToStringMapEntry(), null, "xMLNSPrefixMap", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_XSISchemaLocation(), ecorePackage.getEStringToStringMapEntry(), null, "xSISchemaLocation", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_Deploy(), this.getTDeployment(), null, "deploy", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+
+ initEClass(mexInterceptorsTypeEClass, MexInterceptorsType.class, "MexInterceptorsType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getMexInterceptorsType_MexInterceptor(), this.getTMexInterceptor(), null, "mexInterceptor", null, 0, -1, MexInterceptorsType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(processTypeEClass, ProcessType.class, "ProcessType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getProcessType_Active(), theXMLTypePackage.getBoolean(), "active", "true", 0, 1, ProcessType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getProcessType_Retired(), theXMLTypePackage.getBoolean(), "retired", "false", 0, 1, ProcessType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getProcessType_InMemory(), theXMLTypePackage.getBoolean(), "inMemory", "false", 0, 1, ProcessType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getProcessType_Property(), this.getPropertyType(), null, "property", null, 0, -1, ProcessType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getProcessType_ProcessEvents(), this.getTProcessEvents(), null, "processEvents", null, 0, 1, ProcessType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getProcessType_Provide(), this.getTProvide(), null, "provide", null, 0, -1, ProcessType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getProcessType_Invoke(), this.getTInvoke(), null, "invoke", null, 0, -1, ProcessType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getProcessType_MexInterceptors(), this.getMexInterceptorsType(), null, "mexInterceptors", null, 0, 1, ProcessType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getProcessType_Type(), theXMLTypePackage.getQName(), "type", null, 0, 1, ProcessType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getProcessType_Bpel11wsdlFileName(), theXMLTypePackage.getString(), "bpel11wsdlFileName", null, 0, 1, ProcessType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getProcessType_FileName(), theXMLTypePackage.getString(), "fileName", null, 0, 1, ProcessType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getProcessType_Name(), theXMLTypePackage.getQName(), "name", null, 1, 1, ProcessType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getProcessType_Model(), theBPELPackage.getProcess(), null, "model", null, 0, 1, ProcessType.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(propertyTypeEClass, PropertyType.class, "PropertyType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getPropertyType_Any(), ecorePackage.getEFeatureMapEntry(), "any", null, 0, -1, PropertyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getPropertyType_Name(), theXMLTypePackage.getQName(), "name", null, 1, 1, PropertyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(tDeploymentEClass, TDeployment.class, "TDeployment", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getTDeployment_Process(), this.getProcessType(), null, "process", null, 0, -1, TDeployment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(tEnableEventListEClass, TEnableEventList.class, "TEnableEventList", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getTEnableEventList_EnableEvent(), theXMLTypePackage.getString(), "enableEvent", null, 1, -1, TEnableEventList.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(tInvokeEClass, TInvoke.class, "TInvoke", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getTInvoke_Service(), this.getTService(), null, "service", null, 0, 1, TInvoke.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getTInvoke_Binding(), this.getBindingType(), null, "binding", null, 0, 1, TInvoke.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getTInvoke_PartnerLink(), theXMLTypePackage.getString(), "partnerLink", null, 1, 1, TInvoke.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(tMexInterceptorEClass, TMexInterceptor.class, "TMexInterceptor", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getTMexInterceptor_ClassName(), theXMLTypePackage.getString(), "className", null, 1, 1, TMexInterceptor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(tProcessEventsEClass, TProcessEvents.class, "TProcessEvents", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getTProcessEvents_ScopeEvents(), this.getTScopeEvents(), null, "scopeEvents", null, 1, -1, TProcessEvents.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getTProcessEvents_Generate(), this.getGenerateType(), "generate", "all", 0, 1, TProcessEvents.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(tProvideEClass, TProvide.class, "TProvide", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getTProvide_Service(), this.getTService(), null, "service", null, 1, 1, TProvide.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getTProvide_PartnerLink(), theXMLTypePackage.getString(), "partnerLink", null, 1, 1, TProvide.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(tScopeEventsEClass, TScopeEvents.class, "TScopeEvents", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getTScopeEvents_Name(), theXMLTypePackage.getString(), "name", null, 1, 1, TScopeEvents.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(tServiceEClass, TService.class, "TService", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getTService_Any(), ecorePackage.getEFeatureMapEntry(), "any", null, 0, -1, TService.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getTService_Name(), theXMLTypePackage.getQName(), "name", null, 1, 1, TService.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getTService_Port(), theXMLTypePackage.getNCName(), "port", null, 1, 1, TService.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ // Initialize enums and add enum literals
+ initEEnum(generateTypeEEnum, GenerateType.class, "GenerateType");
+ addEEnumLiteral(generateTypeEEnum, GenerateType.ALL);
+ addEEnumLiteral(generateTypeEEnum, GenerateType.NONE);
+
+ // Initialize data types
+ initEDataType(generateTypeObjectEDataType, GenerateType.class, "GenerateTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS);
+
+ // Create resource
+ createResource(eNS_URI);
+
+ // Create annotations
+ // http:///org/eclipse/emf/ecore/util/ExtendedMetaData
+ createExtendedMetaDataAnnotations();
+ }
+
+ /**
+ * Initializes the annotations for <b>http:///org/eclipse/emf/ecore/util/ExtendedMetaData</b>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void createExtendedMetaDataAnnotations() {
+ String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData";
+ addAnnotation
+ (bindingTypeEClass,
+ source,
+ new String[] {
+ "name", "binding_._type",
+ "kind", "empty"
+ });
+ addAnnotation
+ (getBindingType_Name(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "name"
+ });
+ addAnnotation
+ (documentRootEClass,
+ source,
+ new String[] {
+ "name", "",
+ "kind", "mixed"
+ });
+ addAnnotation
+ (getDocumentRoot_Mixed(),
+ source,
+ new String[] {
+ "kind", "elementWildcard",
+ "name", ":mixed"
+ });
+ addAnnotation
+ (getDocumentRoot_XMLNSPrefixMap(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "xmlns:prefix"
+ });
+ addAnnotation
+ (getDocumentRoot_XSISchemaLocation(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "xsi:schemaLocation"
+ });
+ addAnnotation
+ (getDocumentRoot_Deploy(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "deploy",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (generateTypeEEnum,
+ source,
+ new String[] {
+ "name", "generate_._type"
+ });
+ addAnnotation
+ (generateTypeObjectEDataType,
+ source,
+ new String[] {
+ "name", "generate_._type:Object",
+ "baseType", "generate_._type"
+ });
+ addAnnotation
+ (mexInterceptorsTypeEClass,
+ source,
+ new String[] {
+ "name", "mex-interceptors_._type",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getMexInterceptorsType_MexInterceptor(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "mex-interceptor",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (processTypeEClass,
+ source,
+ new String[] {
+ "name", "process_._type",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getProcessType_Active(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "active",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getProcessType_Retired(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "retired",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getProcessType_InMemory(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "in-memory",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getProcessType_Property(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "property",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getProcessType_ProcessEvents(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "process-events",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getProcessType_Provide(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "provide",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getProcessType_Invoke(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "invoke",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getProcessType_MexInterceptors(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "mex-interceptors",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getProcessType_Type(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "type",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getProcessType_Bpel11wsdlFileName(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "bpel11wsdlFileName"
+ });
+ addAnnotation
+ (getProcessType_FileName(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "fileName"
+ });
+ addAnnotation
+ (getProcessType_Name(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "name"
+ });
+ addAnnotation
+ (propertyTypeEClass,
+ source,
+ new String[] {
+ "name", "property_._type",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getPropertyType_Any(),
+ source,
+ new String[] {
+ "kind", "elementWildcard",
+ "wildcards", "##other",
+ "name", ":0",
+ "processing", "lax"
+ });
+ addAnnotation
+ (getPropertyType_Name(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "name"
+ });
+ addAnnotation
+ (tDeploymentEClass,
+ source,
+ new String[] {
+ "name", "tDeployment",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getTDeployment_Process(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "process",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (tEnableEventListEClass,
+ source,
+ new String[] {
+ "name", "tEnableEventList",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getTEnableEventList_EnableEvent(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "enable-event",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (tInvokeEClass,
+ source,
+ new String[] {
+ "name", "tInvoke",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getTInvoke_Service(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "service",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getTInvoke_Binding(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "binding",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getTInvoke_PartnerLink(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "partnerLink"
+ });
+ addAnnotation
+ (tMexInterceptorEClass,
+ source,
+ new String[] {
+ "name", "tMexInterceptor",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getTMexInterceptor_ClassName(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "class-name",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (tProcessEventsEClass,
+ source,
+ new String[] {
+ "name", "tProcessEvents",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getTProcessEvents_ScopeEvents(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "scope-events",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getTProcessEvents_Generate(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "generate"
+ });
+ addAnnotation
+ (tProvideEClass,
+ source,
+ new String[] {
+ "name", "tProvide",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getTProvide_Service(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "service",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getTProvide_PartnerLink(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "partnerLink"
+ });
+ addAnnotation
+ (tScopeEventsEClass,
+ source,
+ new String[] {
+ "name", "tScopeEvents",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getTScopeEvents_Name(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "name"
+ });
+ addAnnotation
+ (tServiceEClass,
+ source,
+ new String[] {
+ "name", "tService",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getTService_Any(),
+ source,
+ new String[] {
+ "kind", "elementWildcard",
+ "wildcards", "##other",
+ "name", ":0",
+ "processing", "lax"
+ });
+ addAnnotation
+ (getTService_Name(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "name"
+ });
+ addAnnotation
+ (getTService_Port(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "port"
+ });
+ }
+
+} //ddPackageImpl
Added: workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/util/DDXMLHelperImpl.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/util/DDXMLHelperImpl.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/util/DDXMLHelperImpl.java 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,190 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.model.dd.util;
+
+import java.util.List;
+import java.util.StringTokenizer;
+
+import javax.wsdl.PortType;
+import javax.xml.namespace.QName;
+
+import org.eclipse.emf.ecore.EDataType;
+import org.eclipse.emf.ecore.EFactory;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.xmi.XMLResource;
+import org.eclipse.emf.ecore.xmi.impl.XMLHelperImpl;
+
+public class DDXMLHelperImpl extends XMLHelperImpl {
+
+ protected boolean bIsNewQName = false;
+ protected QName m_qName = null;
+
+ public DDXMLHelperImpl() {
+ super();
+ }
+
+ public DDXMLHelperImpl(XMLResource resource) {
+ super(resource);
+ }
+
+ protected Object createFromString(EFactory eFactory, EDataType eDataType, String value) {
+ Object obj = eFactory.createFromString(eDataType, value);
+ if (extendedMetaData != null)
+ {
+ if (obj instanceof List)
+ {
+ @SuppressWarnings("unchecked")
+ List<Object> list = (List<Object>)obj;
+ for (int i = 0; i < list.size(); i++)
+ {
+ Object item = list.get(i);
+ Object replacement = updateQNameURI(item);
+ if (replacement != item)
+ {
+ list.set(i, replacement);
+ }
+ }
+ }
+ else
+ {
+ obj = updateQNameURI(obj);
+ }
+ }
+
+ if (bIsNewQName) {
+ bIsNewQName = false;
+ return m_qName;
+ } else
+ return obj;
+ }
+
+ protected String updateQNamePrefix(EFactory factory, EDataType dataType, Object value, boolean list) {
+
+ if (value instanceof PortType) {
+ QName qname = ((PortType) value).getQName();
+ return handleQName(list, qname);
+ }
+
+ if (value instanceof QName) {
+ return handleQName(list, (QName) value);
+ }
+
+ if (list == false) {
+ return factory.convertToString(dataType, value);
+ } else {
+ return null;
+ }
+ }
+
+ private String handleQName(boolean list, QName qname) {
+
+ String namespace = qname.getNamespaceURI();
+
+ if (namespace.length() == 0) {
+ return qname.getLocalPart();
+ }
+
+ EPackage ePackage = extendedMetaData.getPackage(namespace);
+ if (ePackage == null) {
+ ePackage = extendedMetaData.demandPackage(namespace);
+ }
+
+ String prefix = getPrefix(ePackage, true);
+
+ if (!packages.containsKey(ePackage)) {
+ packages.put(ePackage, prefix);
+ }
+
+ if (list == false) {
+ //generate a string out of prefix and local Part, separated by :
+ String qNameString = new StringBuffer(prefix).append(":").append(qname.getLocalPart()).toString();
+ return qNameString;
+ } else
+ return null;
+ }
+
+ protected Object updateQNameURI(Object value)
+ {
+ int i=1;
+ String strPrefix = null;
+ String strLocalName = null;
+ String strNamespace = null;
+
+ if ( value instanceof QName )
+ {
+ QName qname = (QName) value;
+ strLocalName = qname.getLocalPart();
+ strPrefix = qname.getPrefix();
+
+ if (strPrefix == null) {
+ //try to parse the prefix get Prefix
+ StringTokenizer tokenizer = new StringTokenizer(strLocalName, ":");
+ if (tokenizer.countTokens() > 1)
+ {
+ while (tokenizer.hasMoreTokens())
+ {
+ String tmp = tokenizer.nextToken();
+ if (i == 1)
+ strPrefix = tmp;
+ else
+ strLocalName = tmp;
+ i++;
+ }
+ }
+ }
+
+ if (strPrefix == null) {
+ //the string that got passed in does not have a prefix ... and we couldn't parse it... let's see if there is a default XML namespace defined that we could use
+ String defaultXMLNamespace = (String) prefixesToURIs.get("");
+ if (defaultXMLNamespace != null)
+ {
+ if (!(defaultXMLNamespace.equalsIgnoreCase(org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage.eNS_URI)))
+ {
+ //a default XML namespace exists, and it is NOT set to the ODE DeploymentDescriptor.eNS_URI -
+ //lets try to use this as namespace URI for the QName to properly support null namespaces
+ strNamespace = defaultXMLNamespace;
+ strPrefix = "DEFAULT_NS";
+ }
+ }
+ }
+
+ // it should always be null, except in cases where no WSDL prefix has been defined
+ if (strNamespace == null)
+ {
+ strNamespace = getURI(strPrefix);
+ }
+
+ m_qName = new QName(strNamespace, strLocalName);
+ bIsNewQName = true;
+
+ if (strPrefix.length() >0 && m_qName.getNamespaceURI().length() == 0)
+ {
+ throw new IllegalArgumentException("The prefix '" + strPrefix + "' is not declared for the QName '" + qname.toString() + "'");
+ }
+
+ if (strNamespace == null)
+ {
+ seenEmptyStringMapping = true;
+ String uri = (String)prefixesToURIs.get("");
+ if (uri != null) {
+ prefixesToURIs.put("", strNamespace);
+ addNSDeclaration("", uri);
+ }
+ }
+ return qname;
+ }
+ else {
+ return value;
+ }
+ }
+
+}
Added: workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/util/ddAdapterFactory.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/util/ddAdapterFactory.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/util/ddAdapterFactory.java 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,345 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.model.dd.util;
+
+import org.eclipse.bpel.apache.ode.deploy.model.dd.*;
+
+import org.eclipse.emf.common.notify.Adapter;
+import org.eclipse.emf.common.notify.Notifier;
+
+import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Adapter Factory</b> for the model.
+ * It provides an adapter <code>createXXX</code> method for each class of the model.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage
+ * @generated
+ */
+public class ddAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static ddPackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ddAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = ddPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Returns whether this factory is applicable for the type of the object.
+ * <!-- begin-user-doc -->
+ * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
+ * <!-- end-user-doc -->
+ * @return whether this factory is applicable for the type of the object.
+ * @generated
+ */
+ @Override
+ public boolean isFactoryForType(Object object) {
+ if (object == modelPackage) {
+ return true;
+ }
+ if (object instanceof EObject) {
+ return ((EObject)object).eClass().getEPackage() == modelPackage;
+ }
+ return false;
+ }
+
+ /**
+ * The switch the delegates to the <code>createXXX</code> methods.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ddSwitch<Adapter> modelSwitch =
+ new ddSwitch<Adapter>() {
+ @Override
+ public Adapter caseBindingType(BindingType object) {
+ return createBindingTypeAdapter();
+ }
+ @Override
+ public Adapter caseDocumentRoot(DocumentRoot object) {
+ return createDocumentRootAdapter();
+ }
+ @Override
+ public Adapter caseMexInterceptorsType(MexInterceptorsType object) {
+ return createMexInterceptorsTypeAdapter();
+ }
+ @Override
+ public Adapter caseProcessType(ProcessType object) {
+ return createProcessTypeAdapter();
+ }
+ @Override
+ public Adapter casePropertyType(PropertyType object) {
+ return createPropertyTypeAdapter();
+ }
+ @Override
+ public Adapter caseTDeployment(TDeployment object) {
+ return createTDeploymentAdapter();
+ }
+ @Override
+ public Adapter caseTEnableEventList(TEnableEventList object) {
+ return createTEnableEventListAdapter();
+ }
+ @Override
+ public Adapter caseTInvoke(TInvoke object) {
+ return createTInvokeAdapter();
+ }
+ @Override
+ public Adapter caseTMexInterceptor(TMexInterceptor object) {
+ return createTMexInterceptorAdapter();
+ }
+ @Override
+ public Adapter caseTProcessEvents(TProcessEvents object) {
+ return createTProcessEventsAdapter();
+ }
+ @Override
+ public Adapter caseTProvide(TProvide object) {
+ return createTProvideAdapter();
+ }
+ @Override
+ public Adapter caseTScopeEvents(TScopeEvents object) {
+ return createTScopeEventsAdapter();
+ }
+ @Override
+ public Adapter caseTService(TService object) {
+ return createTServiceAdapter();
+ }
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
+
+ /**
+ * Creates an adapter for the <code>target</code>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param target the object to adapt.
+ * @return the adapter for the <code>target</code>.
+ * @generated
+ */
+ @Override
+ public Adapter createAdapter(Notifier target) {
+ return modelSwitch.doSwitch((EObject)target);
+ }
+
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.BindingType <em>Binding Type</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.BindingType
+ * @generated
+ */
+ public Adapter createBindingTypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.DocumentRoot <em>Document Root</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.DocumentRoot
+ * @generated
+ */
+ public Adapter createDocumentRootAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.MexInterceptorsType <em>Mex Interceptors Type</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.MexInterceptorsType
+ * @generated
+ */
+ public Adapter createMexInterceptorsTypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType <em>Process Type</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ProcessType
+ * @generated
+ */
+ public Adapter createProcessTypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.PropertyType <em>Property Type</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.PropertyType
+ * @generated
+ */
+ public Adapter createPropertyTypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TDeployment <em>TDeployment</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.TDeployment
+ * @generated
+ */
+ public Adapter createTDeploymentAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TEnableEventList <em>TEnable Event List</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.TEnableEventList
+ * @generated
+ */
+ public Adapter createTEnableEventListAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TInvoke <em>TInvoke</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.TInvoke
+ * @generated
+ */
+ public Adapter createTInvokeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TMexInterceptor <em>TMex Interceptor</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.TMexInterceptor
+ * @generated
+ */
+ public Adapter createTMexInterceptorAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TProcessEvents <em>TProcess Events</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.TProcessEvents
+ * @generated
+ */
+ public Adapter createTProcessEventsAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TProvide <em>TProvide</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.TProvide
+ * @generated
+ */
+ public Adapter createTProvideAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TScopeEvents <em>TScope Events</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.TScopeEvents
+ * @generated
+ */
+ public Adapter createTScopeEventsAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpel.apache.ode.deploy.model.dd.TService <em>TService</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.TService
+ * @generated
+ */
+ public Adapter createTServiceAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for the default case.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @generated
+ */
+ public Adapter createEObjectAdapter() {
+ return null;
+ }
+
+} //ddAdapterFactory
Added: workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/util/ddResourceFactoryImpl.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/util/ddResourceFactoryImpl.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/util/ddResourceFactoryImpl.java 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,61 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.model.dd.util;
+
+import org.eclipse.emf.common.util.URI;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
+
+import org.eclipse.emf.ecore.xmi.XMLResource;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Resource Factory</b> associated with the package.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.util.ddResourceImpl
+ * @generated
+ */
+public class ddResourceFactoryImpl extends ResourceFactoryImpl {
+ /**
+ * Creates an instance of the resource factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ddResourceFactoryImpl() {
+ super();
+ }
+
+ /**
+ * Creates an instance of the resource.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Resource createResource(URI uri) {
+ XMLResource result = new ddResourceImpl(uri);
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
+
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE);
+
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
+
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
+ return result;
+ }
+
+} //ddResourceFactoryImpl
Added: workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/util/ddResourceImpl.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/util/ddResourceImpl.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/util/ddResourceImpl.java 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,46 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.model.dd.util;
+
+import org.eclipse.emf.common.util.URI;
+
+import org.eclipse.emf.ecore.xmi.XMLHelper;
+import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Resource </b> associated with the package.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.util.ddResourceFactoryImpl
+ * @generated
+ */
+public class ddResourceImpl extends XMLResourceImpl {
+
+ XMLHelper helper = null;
+
+ /**
+ * Creates an instance of the resource.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param uri the URI of the new resource.
+ * @generated
+ */
+ public ddResourceImpl(URI uri) {
+ super(uri);
+ }
+
+ @Override
+ protected XMLHelper createXMLHelper() {
+ return new DDXMLHelperImpl();
+ }
+
+} //ddResourceImpl
Added: workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/util/ddSwitch.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/util/ddSwitch.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/util/ddSwitch.java 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,389 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.model.dd.util;
+
+import java.util.List;
+
+import org.eclipse.bpel.apache.ode.deploy.model.dd.*;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Switch</b> for the model's inheritance hierarchy.
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
+ * to invoke the <code>caseXXX</code> method for each class of the model,
+ * starting with the actual class of the object
+ * and proceeding up the inheritance hierarchy
+ * until a non-null result is returned,
+ * which is the result of the switch.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage
+ * @generated
+ */
+public class ddSwitch<T> {
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static ddPackage modelPackage;
+
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ddSwitch() {
+ if (modelPackage == null) {
+ modelPackage = ddPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ public T doSwitch(EObject theEObject) {
+ return doSwitch(theEObject.eClass(), theEObject);
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ protected T doSwitch(EClass theEClass, EObject theEObject) {
+ if (theEClass.eContainer() == modelPackage) {
+ return doSwitch(theEClass.getClassifierID(), theEObject);
+ }
+ else {
+ List<EClass> eSuperTypes = theEClass.getESuperTypes();
+ return
+ eSuperTypes.isEmpty() ?
+ defaultCase(theEObject) :
+ doSwitch(eSuperTypes.get(0), theEObject);
+ }
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ protected T doSwitch(int classifierID, EObject theEObject) {
+ switch (classifierID) {
+ case ddPackage.BINDING_TYPE: {
+ BindingType bindingType = (BindingType)theEObject;
+ T result = caseBindingType(bindingType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ddPackage.DOCUMENT_ROOT: {
+ DocumentRoot documentRoot = (DocumentRoot)theEObject;
+ T result = caseDocumentRoot(documentRoot);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ddPackage.MEX_INTERCEPTORS_TYPE: {
+ MexInterceptorsType mexInterceptorsType = (MexInterceptorsType)theEObject;
+ T result = caseMexInterceptorsType(mexInterceptorsType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ddPackage.PROCESS_TYPE: {
+ ProcessType processType = (ProcessType)theEObject;
+ T result = caseProcessType(processType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ddPackage.PROPERTY_TYPE: {
+ PropertyType propertyType = (PropertyType)theEObject;
+ T result = casePropertyType(propertyType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ddPackage.TDEPLOYMENT: {
+ TDeployment tDeployment = (TDeployment)theEObject;
+ T result = caseTDeployment(tDeployment);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ddPackage.TENABLE_EVENT_LIST: {
+ TEnableEventList tEnableEventList = (TEnableEventList)theEObject;
+ T result = caseTEnableEventList(tEnableEventList);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ddPackage.TINVOKE: {
+ TInvoke tInvoke = (TInvoke)theEObject;
+ T result = caseTInvoke(tInvoke);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ddPackage.TMEX_INTERCEPTOR: {
+ TMexInterceptor tMexInterceptor = (TMexInterceptor)theEObject;
+ T result = caseTMexInterceptor(tMexInterceptor);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ddPackage.TPROCESS_EVENTS: {
+ TProcessEvents tProcessEvents = (TProcessEvents)theEObject;
+ T result = caseTProcessEvents(tProcessEvents);
+ if (result == null) result = caseTEnableEventList(tProcessEvents);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ddPackage.TPROVIDE: {
+ TProvide tProvide = (TProvide)theEObject;
+ T result = caseTProvide(tProvide);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ddPackage.TSCOPE_EVENTS: {
+ TScopeEvents tScopeEvents = (TScopeEvents)theEObject;
+ T result = caseTScopeEvents(tScopeEvents);
+ if (result == null) result = caseTEnableEventList(tScopeEvents);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ddPackage.TSERVICE: {
+ TService tService = (TService)theEObject;
+ T result = caseTService(tService);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Binding Type</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Binding Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseBindingType(BindingType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Document Root</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Document Root</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDocumentRoot(DocumentRoot object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Mex Interceptors Type</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Mex Interceptors Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseMexInterceptorsType(MexInterceptorsType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Process Type</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Process Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseProcessType(ProcessType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Property Type</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Property Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T casePropertyType(PropertyType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>TDeployment</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>TDeployment</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTDeployment(TDeployment object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>TEnable Event List</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>TEnable Event List</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTEnableEventList(TEnableEventList object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>TInvoke</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>TInvoke</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTInvoke(TInvoke object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>TMex Interceptor</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>TMex Interceptor</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTMexInterceptor(TMexInterceptor object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>TProcess Events</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>TProcess Events</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTProcessEvents(TProcessEvents object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>TProvide</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>TProvide</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTProvide(TProvide object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>TScope Events</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>TScope Events</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTScopeEvents(TScopeEvents object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>TService</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>TService</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTService(TService object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch, but this is the last case anyway.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject)
+ * @generated
+ */
+ public T defaultCase(EObject object) {
+ return null;
+ }
+
+} //ddSwitch
Added: workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/util/ddXMLProcessor.java
===================================================================
--- workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/util/ddXMLProcessor.java (rev 0)
+++ workspace/bbrodt/org.eclipse.bpel/src/org/eclipse/bpel/apache/ode/deploy/model/dd/util/ddXMLProcessor.java 2011-02-17 22:11:27 UTC (rev 29201)
@@ -0,0 +1,59 @@
+/*******************************************************************************
+ * Copyright (c) 2008 IBM Corporation, University of Stuttgart (IAAS) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation, University of Stuttgart (IAAS) - initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.bpel.apache.ode.deploy.model.dd.util;
+
+import java.util.Map;
+
+import org.eclipse.bpel.apache.ode.deploy.model.dd.ddPackage;
+
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
+
+/**
+ * This class contains helper methods to serialize and deserialize XML documents
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class ddXMLProcessor extends XMLProcessor {
+
+ /**
+ * Public constructor to instantiate the helper.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ddXMLProcessor() {
+ super((EPackage.Registry.INSTANCE));
+ ddPackage.eINSTANCE.eClass();
+ }
+
+ /**
+ * Register for "*" and "xml" file extensions the ddResourceFactoryImpl factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected Map<String, Resource.Factory> getRegistrations() {
+ if (registrations == null) {
+ super.getRegistrations();
+ registrations.put(XML_EXTENSION, new ddResourceFactoryImpl());
+ registrations.put(STAR_EXTENSION, new ddResourceFactoryImpl());
+ }
+ return registrations;
+ }
+
+} //ddXMLProcessor
15 years, 1 month