summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormistria2012-01-05 11:45:52 (EST)
committervzurczak2012-01-05 11:45:52 (EST)
commit513c671c65c3ee752bf6d155e76b8e6aaf8e7fab (patch)
treeb204e3e823755d600d39c1c52c9f39fb9d1cb800
parent95ef36b7c9e20aef3ee3cd4d59f1d686d9d92305 (diff)
downloadorg.eclipse.bpel-513c671c65c3ee752bf6d155e76b8e6aaf8e7fab.zip
org.eclipse.bpel-513c671c65c3ee752bf6d155e76b8e6aaf8e7fab.tar.gz
org.eclipse.bpel-513c671c65c3ee752bf6d155e76b8e6aaf8e7fab.tar.bz2
Apply the patch provided by Mickaƫl Istria
See bug #357512
-rw-r--r--plugins/org.eclipse.bpel.model/src/model/bpel.ecore20
-rw-r--r--plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/BPELPackage.java433
-rw-r--r--plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/From.java124
-rw-r--r--plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/To.java129
-rw-r--r--plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/impl/BPELPackageImpl.java199
-rw-r--r--plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/impl/FromImpl.java321
-rw-r--r--plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/impl/ToImpl.java57
-rw-r--r--plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/messageproperties/impl/QueryImpl.java3
-rw-r--r--plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/messageproperties/util/MessagepropertiesSwitch.java32
-rw-r--r--plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/partnerlinktype/util/PartnerlinktypeSwitch.java32
-rw-r--r--plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/resource/BPELReader.java8
-rw-r--r--plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/util/BPELAdapterFactory.java20
-rw-r--r--plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/util/BPELSwitch.java60
-rw-r--r--plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/util/ReconciliationBPELReader.java8
-rw-r--r--plugins/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/properties/ExpressionAssignCategory.java10
15 files changed, 628 insertions, 828 deletions
diff --git a/plugins/org.eclipse.bpel.model/src/model/bpel.ecore b/plugins/org.eclipse.bpel.model/src/model/bpel.ecore
index b08b654..602960d 100644
--- a/plugins/org.eclipse.bpel.model/src/model/bpel.ecore
+++ b/plugins/org.eclipse.bpel.model/src/model/bpel.ecore
@@ -306,10 +306,7 @@
<eStructuralFeatures xsi:type="ecore:EReference" name="activity" lowerBound="1"
eType="#//Activity" containment="true"/>
</eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="To" eSuperTypes="#//BPELExtensibleElement">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="Represents an l-value in an assignment activity. Can be used to query a node of a part of a container, a property of a container, or a service reference of a partner."/>
- </eAnnotations>
+ <eClassifiers xsi:type="ecore:EClass" name="AbstractAssignBound" abstract="true">
<eStructuralFeatures xsi:type="ecore:EReference" name="variable" eType="#//Variable"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="part" eType="ecore:EClass platform:/plugin/org.eclipse.wst.wsdl/model/WSDL.ecore#//Part"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="partnerLink" eType="#//PartnerLink"/>
@@ -319,7 +316,12 @@
<eStructuralFeatures xsi:type="ecore:EReference" name="expression" eType="#//Expression"
containment="true"/>
</eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="From" eSuperTypes="#//BPELExtensibleElement">
+ <eClassifiers xsi:type="ecore:EClass" name="To" eSuperTypes="#//BPELExtensibleElement #//AbstractAssignBound">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Represents an l-value in an assignment activity. Can be used to query a node of a part of a container, a property of a container, or a service reference of a partner."/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="From" eSuperTypes="#//BPELExtensibleElement #//AbstractAssignBound">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="opaque" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBooleanObject"
unsettable="true">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
@@ -331,17 +333,9 @@
<eStructuralFeatures xsi:type="ecore:EAttribute" name="literal" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
unsettable="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="unsafeLiteral" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBooleanObject"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="expression" eType="#//Expression"
- containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="serviceRef" eType="#//ServiceRef"
containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="type" eType="ecore:EClass platform:/plugin/org.eclipse.xsd/model/XSD.ecore#//XSDTypeDefinition"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="variable" eType="#//Variable"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="part" eType="ecore:EClass platform:/plugin/org.eclipse.wst.wsdl/model/WSDL.ecore#//Part"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="partnerLink" eType="#//PartnerLink"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="property" eType="ecore:EClass messageproperties.ecore#//Property"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="query" eType="#//Query"
- containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="OnMessage" eSuperTypes="#//BPELExtensibleElement">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
diff --git a/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/BPELPackage.java b/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/BPELPackage.java
index 6992461..170cc76 100644
--- a/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/BPELPackage.java
+++ b/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/BPELPackage.java
@@ -77,7 +77,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getBPELExtensibleElement()
* @generated
*/
- int BPEL_EXTENSIBLE_ELEMENT = 67;
+ int BPEL_EXTENSIBLE_ELEMENT = 68;
/**
* The feature id for the '<em><b>Documentation Element</b></em>' attribute.
@@ -362,7 +362,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getCompensate()
* @generated
*/
- int COMPENSATE = 69;
+ int COMPENSATE = 70;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.CompensationHandlerImpl <em>Compensation Handler</em>}' class.
@@ -382,7 +382,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getTo()
* @generated
*/
- int TO = 26;
+ int TO = 27;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.FromImpl <em>From</em>}' class.
@@ -392,7 +392,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getFrom()
* @generated
*/
- int FROM = 27;
+ int FROM = 28;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.OnMessageImpl <em>On Message</em>}' class.
@@ -402,7 +402,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getOnMessage()
* @generated
*/
- int ON_MESSAGE = 28;
+ int ON_MESSAGE = 29;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.ExpressionImpl <em>Expression</em>}' class.
@@ -412,7 +412,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getExpression()
* @generated
*/
- int EXPRESSION = 29;
+ int EXPRESSION = 30;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.BooleanExpressionImpl <em>Boolean Expression</em>}' class.
@@ -422,7 +422,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getBooleanExpression()
* @generated
*/
- int BOOLEAN_EXPRESSION = 30;
+ int BOOLEAN_EXPRESSION = 31;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.CorrelationImpl <em>Correlation</em>}' class.
@@ -432,7 +432,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getCorrelation()
* @generated
*/
- int CORRELATION = 31;
+ int CORRELATION = 32;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.EventHandlerImpl <em>Event Handler</em>}' class.
@@ -442,7 +442,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getEventHandler()
* @generated
*/
- int EVENT_HANDLER = 33;
+ int EVENT_HANDLER = 34;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.SourceImpl <em>Source</em>}' class.
@@ -452,7 +452,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getSource()
* @generated
*/
- int SOURCE = 34;
+ int SOURCE = 35;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.TargetImpl <em>Target</em>}' class.
@@ -462,7 +462,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getTarget()
* @generated
*/
- int TARGET = 35;
+ int TARGET = 36;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.PartnerLinksImpl <em>Partner Links</em>}' class.
@@ -472,7 +472,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getPartnerLinks()
* @generated
*/
- int PARTNER_LINKS = 36;
+ int PARTNER_LINKS = 37;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.VariablesImpl <em>Variables</em>}' class.
@@ -482,7 +482,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getVariables()
* @generated
*/
- int VARIABLES = 38;
+ int VARIABLES = 39;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.CorrelationSetsImpl <em>Correlation Sets</em>}' class.
@@ -492,7 +492,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getCorrelationSets()
* @generated
*/
- int CORRELATION_SETS = 39;
+ int CORRELATION_SETS = 40;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.LinksImpl <em>Links</em>}' class.
@@ -502,7 +502,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getLinks()
* @generated
*/
- int LINKS = 40;
+ int LINKS = 41;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.CatchAllImpl <em>Catch All</em>}' class.
@@ -512,7 +512,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getCatchAll()
* @generated
*/
- int CATCH_ALL = 41;
+ int CATCH_ALL = 42;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.CorrelationsImpl <em>Correlations</em>}' class.
@@ -522,7 +522,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getCorrelations()
* @generated
*/
- int CORRELATIONS = 42;
+ int CORRELATIONS = 43;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.VariableImpl <em>Variable</em>}' class.
@@ -532,7 +532,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getVariable()
* @generated
*/
- int VARIABLE = 43;
+ int VARIABLE = 44;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.UnknownExtensibilityAttributeImpl <em>Unknown Extensibility Attribute</em>}' class.
@@ -542,7 +542,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getUnknownExtensibilityAttribute()
* @generated
*/
- int UNKNOWN_EXTENSIBILITY_ATTRIBUTE = 44;
+ int UNKNOWN_EXTENSIBILITY_ATTRIBUTE = 45;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.OnEventImpl <em>On Event</em>}' class.
@@ -552,7 +552,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getOnEvent()
* @generated
*/
- int ON_EVENT = 45;
+ int ON_EVENT = 46;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.ImportImpl <em>Import</em>}' class.
@@ -562,7 +562,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getImport()
* @generated
*/
- int IMPORT = 46;
+ int IMPORT = 47;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.RethrowImpl <em>Rethrow</em>}' class.
@@ -572,7 +572,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getRethrow()
* @generated
*/
- int RETHROW = 47;
+ int RETHROW = 48;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.ConditionImpl <em>Condition</em>}' class.
@@ -582,7 +582,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getCondition()
* @generated
*/
- int CONDITION = 48;
+ int CONDITION = 49;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.TargetsImpl <em>Targets</em>}' class.
@@ -592,7 +592,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getTargets()
* @generated
*/
- int TARGETS = 49;
+ int TARGETS = 50;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.SourcesImpl <em>Sources</em>}' class.
@@ -602,7 +602,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getSources()
* @generated
*/
- int SOURCES = 50;
+ int SOURCES = 51;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.QueryImpl <em>Query</em>}' class.
@@ -612,7 +612,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getQuery()
* @generated
*/
- int QUERY = 51;
+ int QUERY = 52;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.ServiceRefImpl <em>Service Ref</em>}' class.
@@ -622,7 +622,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getServiceRef()
* @generated
*/
- int SERVICE_REF = 52;
+ int SERVICE_REF = 53;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.ExitImpl <em>Exit</em>}' class.
@@ -642,7 +642,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getExtensions()
* @generated
*/
- int EXTENSIONS = 53;
+ int EXTENSIONS = 54;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.ExtensionActivityImpl <em>Extension Activity</em>}' class.
@@ -652,7 +652,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getExtensionActivity()
* @generated
*/
- int EXTENSION_ACTIVITY = 54;
+ int EXTENSION_ACTIVITY = 55;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.FromPartImpl <em>From Part</em>}' class.
@@ -662,7 +662,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getFromPart()
* @generated
*/
- int FROM_PART = 55;
+ int FROM_PART = 56;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.ToPartImpl <em>To Part</em>}' class.
@@ -672,7 +672,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getToPart()
* @generated
*/
- int TO_PART = 56;
+ int TO_PART = 57;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.OpaqueActivityImpl <em>Opaque Activity</em>}' class.
@@ -682,7 +682,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getOpaqueActivity()
* @generated
*/
- int OPAQUE_ACTIVITY = 57;
+ int OPAQUE_ACTIVITY = 58;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.ForEachImpl <em>For Each</em>}' class.
@@ -692,7 +692,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getForEach()
* @generated
*/
- int FOR_EACH = 58;
+ int FOR_EACH = 59;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.RepeatUntilImpl <em>Repeat Until</em>}' class.
@@ -702,7 +702,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getRepeatUntil()
* @generated
*/
- int REPEAT_UNTIL = 59;
+ int REPEAT_UNTIL = 60;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.TerminationHandlerImpl <em>Termination Handler</em>}' class.
@@ -712,7 +712,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getTerminationHandler()
* @generated
*/
- int TERMINATION_HANDLER = 60;
+ int TERMINATION_HANDLER = 61;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.IfImpl <em>If</em>}' class.
@@ -722,7 +722,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getIf()
* @generated
*/
- int IF = 62;
+ int IF = 63;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.ElseIfImpl <em>Else If</em>}' class.
@@ -732,7 +732,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getElseIf()
* @generated
*/
- int ELSE_IF = 63;
+ int ELSE_IF = 64;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.ElseImpl <em>Else</em>}' class.
@@ -742,7 +742,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getElse()
* @generated
*/
- int ELSE = 64;
+ int ELSE = 65;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.CompletionConditionImpl <em>Completion Condition</em>}' class.
@@ -752,7 +752,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getCompletionCondition()
* @generated
*/
- int COMPLETION_CONDITION = 65;
+ int COMPLETION_CONDITION = 66;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.BranchesImpl <em>Branches</em>}' class.
@@ -762,7 +762,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getBranches()
* @generated
*/
- int BRANCHES = 66;
+ int BRANCHES = 67;
/**
* The feature id for the '<em><b>Documentation Element</b></em>' attribute.
@@ -3292,7 +3292,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getValidate()
* @generated
*/
- int VALIDATE = 61;
+ int VALIDATE = 62;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.DocumentationImpl <em>Documentation</em>}' class.
@@ -3302,7 +3302,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getDocumentation()
* @generated
*/
- int DOCUMENTATION = 68;
+ int DOCUMENTATION = 69;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.MessageExchangesImpl <em>Message Exchanges</em>}' class.
@@ -3312,7 +3312,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getMessageExchanges()
* @generated
*/
- int MESSAGE_EXCHANGES = 37;
+ int MESSAGE_EXCHANGES = 38;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.MessageExchangeImpl <em>Message Exchange</em>}' class.
@@ -3322,7 +3322,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getMessageExchange()
* @generated
*/
- int MESSAGE_EXCHANGE = 32;
+ int MESSAGE_EXCHANGE = 33;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.impl.CompensateScopeImpl <em>Compensate Scope</em>}' class.
@@ -3479,6 +3479,79 @@ public interface BPELPackage extends EPackage {
int COMPENSATION_HANDLER_FEATURE_COUNT = BPEL_EXTENSIBLE_ELEMENT_FEATURE_COUNT + 1;
/**
+ * The meta object id for the '{@link org.eclipse.bpel.model.impl.AbstractAssignBoundImpl <em>Abstract Assign Bound</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpel.model.impl.AbstractAssignBoundImpl
+ * @see org.eclipse.bpel.model.impl.BPELPackageImpl#getAbstractAssignBound()
+ * @generated
+ */
+ int ABSTRACT_ASSIGN_BOUND = 26;
+
+ /**
+ * The feature id for the '<em><b>Variable</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ABSTRACT_ASSIGN_BOUND__VARIABLE = 0;
+
+ /**
+ * The feature id for the '<em><b>Part</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ABSTRACT_ASSIGN_BOUND__PART = 1;
+
+ /**
+ * The feature id for the '<em><b>Partner Link</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ABSTRACT_ASSIGN_BOUND__PARTNER_LINK = 2;
+
+ /**
+ * The feature id for the '<em><b>Property</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ABSTRACT_ASSIGN_BOUND__PROPERTY = 3;
+
+ /**
+ * The feature id for the '<em><b>Query</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ABSTRACT_ASSIGN_BOUND__QUERY = 4;
+
+ /**
+ * The feature id for the '<em><b>Expression</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ABSTRACT_ASSIGN_BOUND__EXPRESSION = 5;
+
+ /**
+ * The number of structural features of the '<em>Abstract Assign Bound</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ABSTRACT_ASSIGN_BOUND_FEATURE_COUNT = 6;
+
+ /**
* The feature id for the '<em><b>Documentation Element</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3614,112 +3687,112 @@ public interface BPELPackage extends EPackage {
int FROM__DOCUMENTATION = BPEL_EXTENSIBLE_ELEMENT__DOCUMENTATION;
/**
- * The feature id for the '<em><b>Opaque</b></em>' attribute.
+ * The feature id for the '<em><b>Variable</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int FROM__OPAQUE = BPEL_EXTENSIBLE_ELEMENT_FEATURE_COUNT + 0;
+ int FROM__VARIABLE = BPEL_EXTENSIBLE_ELEMENT_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Endpoint Reference</b></em>' attribute.
+ * The feature id for the '<em><b>Part</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int FROM__ENDPOINT_REFERENCE = BPEL_EXTENSIBLE_ELEMENT_FEATURE_COUNT + 1;
+ int FROM__PART = BPEL_EXTENSIBLE_ELEMENT_FEATURE_COUNT + 1;
/**
- * The feature id for the '<em><b>Literal</b></em>' attribute.
+ * The feature id for the '<em><b>Partner Link</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int FROM__LITERAL = BPEL_EXTENSIBLE_ELEMENT_FEATURE_COUNT + 2;
+ int FROM__PARTNER_LINK = BPEL_EXTENSIBLE_ELEMENT_FEATURE_COUNT + 2;
/**
- * The feature id for the '<em><b>Unsafe Literal</b></em>' attribute.
+ * The feature id for the '<em><b>Property</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int FROM__UNSAFE_LITERAL = BPEL_EXTENSIBLE_ELEMENT_FEATURE_COUNT + 3;
+ int FROM__PROPERTY = BPEL_EXTENSIBLE_ELEMENT_FEATURE_COUNT + 3;
/**
- * The feature id for the '<em><b>Expression</b></em>' containment reference.
+ * The feature id for the '<em><b>Query</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int FROM__EXPRESSION = BPEL_EXTENSIBLE_ELEMENT_FEATURE_COUNT + 4;
+ int FROM__QUERY = BPEL_EXTENSIBLE_ELEMENT_FEATURE_COUNT + 4;
/**
- * The feature id for the '<em><b>Service Ref</b></em>' containment reference.
+ * The feature id for the '<em><b>Expression</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int FROM__SERVICE_REF = BPEL_EXTENSIBLE_ELEMENT_FEATURE_COUNT + 5;
+ int FROM__EXPRESSION = BPEL_EXTENSIBLE_ELEMENT_FEATURE_COUNT + 5;
/**
- * The feature id for the '<em><b>Type</b></em>' reference.
+ * The feature id for the '<em><b>Opaque</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int FROM__TYPE = BPEL_EXTENSIBLE_ELEMENT_FEATURE_COUNT + 6;
+ int FROM__OPAQUE = BPEL_EXTENSIBLE_ELEMENT_FEATURE_COUNT + 6;
/**
- * The feature id for the '<em><b>Variable</b></em>' reference.
+ * The feature id for the '<em><b>Endpoint Reference</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int FROM__VARIABLE = BPEL_EXTENSIBLE_ELEMENT_FEATURE_COUNT + 7;
+ int FROM__ENDPOINT_REFERENCE = BPEL_EXTENSIBLE_ELEMENT_FEATURE_COUNT + 7;
/**
- * The feature id for the '<em><b>Part</b></em>' reference.
+ * The feature id for the '<em><b>Literal</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int FROM__PART = BPEL_EXTENSIBLE_ELEMENT_FEATURE_COUNT + 8;
+ int FROM__LITERAL = BPEL_EXTENSIBLE_ELEMENT_FEATURE_COUNT + 8;
/**
- * The feature id for the '<em><b>Partner Link</b></em>' reference.
+ * The feature id for the '<em><b>Unsafe Literal</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int FROM__PARTNER_LINK = BPEL_EXTENSIBLE_ELEMENT_FEATURE_COUNT + 9;
+ int FROM__UNSAFE_LITERAL = BPEL_EXTENSIBLE_ELEMENT_FEATURE_COUNT + 9;
/**
- * The feature id for the '<em><b>Property</b></em>' reference.
+ * The feature id for the '<em><b>Service Ref</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int FROM__PROPERTY = BPEL_EXTENSIBLE_ELEMENT_FEATURE_COUNT + 10;
+ int FROM__SERVICE_REF = BPEL_EXTENSIBLE_ELEMENT_FEATURE_COUNT + 10;
/**
- * The feature id for the '<em><b>Query</b></em>' containment reference.
+ * The feature id for the '<em><b>Type</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int FROM__QUERY = BPEL_EXTENSIBLE_ELEMENT_FEATURE_COUNT + 11;
+ int FROM__TYPE = BPEL_EXTENSIBLE_ELEMENT_FEATURE_COUNT + 11;
/**
* The number of structural features of the '<em>From</em>' class.
@@ -6674,7 +6747,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getFromParts()
* @generated
*/
- int FROM_PARTS = 70;
+ int FROM_PARTS = 71;
/**
* The feature id for the '<em><b>Documentation Element</b></em>' attribute.
@@ -6738,7 +6811,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getToParts()
* @generated
*/
- int TO_PARTS = 71;
+ int TO_PARTS = 72;
/**
* The feature id for the '<em><b>Documentation Element</b></em>' attribute.
@@ -6802,7 +6875,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getCorrelationPattern()
* @generated
*/
- int CORRELATION_PATTERN = 72;
+ int CORRELATION_PATTERN = 73;
/**
* The meta object id for the '{@link org.eclipse.bpel.model.EndpointReferenceRole <em>Endpoint Reference Role</em>}' enum.
@@ -6812,7 +6885,7 @@ public interface BPELPackage extends EPackage {
* @see org.eclipse.bpel.model.impl.BPELPackageImpl#getEndpointReferenceRole()
* @generated
*/
- int ENDPOINT_REFERENCE_ROLE = 73;
+ int ENDPOINT_REFERENCE_ROLE = 74;
/**
* Returns the meta object for class '{@link org.eclipse.bpel.model.Process <em>Process</em>}'.
@@ -8130,80 +8203,90 @@ public interface BPELPackage extends EPackage {
EReference getCompensationHandler_Activity();
/**
- * Returns the meta object for class '{@link org.eclipse.bpel.model.To <em>To</em>}'.
+ * Returns the meta object for class '{@link org.eclipse.bpel.model.AbstractAssignBound <em>Abstract Assign Bound</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for class '<em>To</em>'.
- * @see org.eclipse.bpel.model.To
+ * @return the meta object for class '<em>Abstract Assign Bound</em>'.
+ * @see org.eclipse.bpel.model.AbstractAssignBound
* @generated
*/
- EClass getTo();
+ EClass getAbstractAssignBound();
/**
- * Returns the meta object for the reference '{@link org.eclipse.bpel.model.To#getVariable <em>Variable</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.bpel.model.AbstractAssignBound#getVariable <em>Variable</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for the reference '<em>Variable</em>'.
- * @see org.eclipse.bpel.model.To#getVariable()
- * @see #getTo()
+ * @see org.eclipse.bpel.model.AbstractAssignBound#getVariable()
+ * @see #getAbstractAssignBound()
* @generated
*/
- EReference getTo_Variable();
+ EReference getAbstractAssignBound_Variable();
/**
- * Returns the meta object for the reference '{@link org.eclipse.bpel.model.To#getPart <em>Part</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.bpel.model.AbstractAssignBound#getPart <em>Part</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for the reference '<em>Part</em>'.
- * @see org.eclipse.bpel.model.To#getPart()
- * @see #getTo()
+ * @see org.eclipse.bpel.model.AbstractAssignBound#getPart()
+ * @see #getAbstractAssignBound()
* @generated
*/
- EReference getTo_Part();
+ EReference getAbstractAssignBound_Part();
/**
- * Returns the meta object for the reference '{@link org.eclipse.bpel.model.To#getPartnerLink <em>Partner Link</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.bpel.model.AbstractAssignBound#getPartnerLink <em>Partner Link</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for the reference '<em>Partner Link</em>'.
- * @see org.eclipse.bpel.model.To#getPartnerLink()
- * @see #getTo()
+ * @see org.eclipse.bpel.model.AbstractAssignBound#getPartnerLink()
+ * @see #getAbstractAssignBound()
* @generated
*/
- EReference getTo_PartnerLink();
+ EReference getAbstractAssignBound_PartnerLink();
/**
- * Returns the meta object for the reference '{@link org.eclipse.bpel.model.To#getProperty <em>Property</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.bpel.model.AbstractAssignBound#getProperty <em>Property</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for the reference '<em>Property</em>'.
- * @see org.eclipse.bpel.model.To#getProperty()
- * @see #getTo()
+ * @see org.eclipse.bpel.model.AbstractAssignBound#getProperty()
+ * @see #getAbstractAssignBound()
* @generated
*/
- EReference getTo_Property();
+ EReference getAbstractAssignBound_Property();
/**
- * Returns the meta object for the containment reference '{@link org.eclipse.bpel.model.To#getQuery <em>Query</em>}'.
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpel.model.AbstractAssignBound#getQuery <em>Query</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for the containment reference '<em>Query</em>'.
- * @see org.eclipse.bpel.model.To#getQuery()
- * @see #getTo()
+ * @see org.eclipse.bpel.model.AbstractAssignBound#getQuery()
+ * @see #getAbstractAssignBound()
* @generated
*/
- EReference getTo_Query();
+ EReference getAbstractAssignBound_Query();
/**
- * Returns the meta object for the containment reference '{@link org.eclipse.bpel.model.To#getExpression <em>Expression</em>}'.
+ * Returns the meta object for the containment reference '{@link org.eclipse.bpel.model.AbstractAssignBound#getExpression <em>Expression</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for the containment reference '<em>Expression</em>'.
- * @see org.eclipse.bpel.model.To#getExpression()
- * @see #getTo()
+ * @see org.eclipse.bpel.model.AbstractAssignBound#getExpression()
+ * @see #getAbstractAssignBound()
* @generated
*/
- EReference getTo_Expression();
+ EReference getAbstractAssignBound_Expression();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.bpel.model.To <em>To</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>To</em>'.
+ * @see org.eclipse.bpel.model.To
+ * @generated
+ */
+ EClass getTo();
/**
* Returns the meta object for class '{@link org.eclipse.bpel.model.From <em>From</em>}'.
@@ -8260,17 +8343,6 @@ public interface BPELPackage extends EPackage {
EAttribute getFrom_UnsafeLiteral();
/**
- * Returns the meta object for the containment reference '{@link org.eclipse.bpel.model.From#getExpression <em>Expression</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Expression</em>'.
- * @see org.eclipse.bpel.model.From#getExpression()
- * @see #getFrom()
- * @generated
- */
- EReference getFrom_Expression();
-
- /**
* Returns the meta object for the containment reference '{@link org.eclipse.bpel.model.From#getServiceRef <em>Service Ref</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -8293,61 +8365,6 @@ public interface BPELPackage extends EPackage {
EReference getFrom_Type();
/**
- * Returns the meta object for the reference '{@link org.eclipse.bpel.model.From#getVariable <em>Variable</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Variable</em>'.
- * @see org.eclipse.bpel.model.From#getVariable()
- * @see #getFrom()
- * @generated
- */
- EReference getFrom_Variable();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.bpel.model.From#getPart <em>Part</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Part</em>'.
- * @see org.eclipse.bpel.model.From#getPart()
- * @see #getFrom()
- * @generated
- */
- EReference getFrom_Part();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.bpel.model.From#getPartnerLink <em>Partner Link</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Partner Link</em>'.
- * @see org.eclipse.bpel.model.From#getPartnerLink()
- * @see #getFrom()
- * @generated
- */
- EReference getFrom_PartnerLink();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.bpel.model.From#getProperty <em>Property</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Property</em>'.
- * @see org.eclipse.bpel.model.From#getProperty()
- * @see #getFrom()
- * @generated
- */
- EReference getFrom_Property();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.bpel.model.From#getQuery <em>Query</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Query</em>'.
- * @see org.eclipse.bpel.model.From#getQuery()
- * @see #getFrom()
- * @generated
- */
- EReference getFrom_Query();
-
- /**
* Returns the meta object for class '{@link org.eclipse.bpel.model.OnMessage <em>On Message</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -10794,14 +10811,14 @@ public interface BPELPackage extends EPackage {
.getCompensationHandler_Activity();
/**
- * The meta object literal for the '{@link org.eclipse.bpel.model.impl.ToImpl <em>To</em>}' class.
+ * The meta object literal for the '{@link org.eclipse.bpel.model.impl.AbstractAssignBoundImpl <em>Abstract Assign Bound</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.bpel.model.impl.ToImpl
- * @see org.eclipse.bpel.model.impl.BPELPackageImpl#getTo()
+ * @see org.eclipse.bpel.model.impl.AbstractAssignBoundImpl
+ * @see org.eclipse.bpel.model.impl.BPELPackageImpl#getAbstractAssignBound()
* @generated
*/
- EClass TO = eINSTANCE.getTo();
+ EClass ABSTRACT_ASSIGN_BOUND = eINSTANCE.getAbstractAssignBound();
/**
* The meta object literal for the '<em><b>Variable</b></em>' reference feature.
@@ -10809,7 +10826,8 @@ public interface BPELPackage extends EPackage {
* <!-- end-user-doc -->
* @generated
*/
- EReference TO__VARIABLE = eINSTANCE.getTo_Variable();
+ EReference ABSTRACT_ASSIGN_BOUND__VARIABLE = eINSTANCE
+ .getAbstractAssignBound_Variable();
/**
* The meta object literal for the '<em><b>Part</b></em>' reference feature.
@@ -10817,7 +10835,8 @@ public interface BPELPackage extends EPackage {
* <!-- end-user-doc -->
* @generated
*/
- EReference TO__PART = eINSTANCE.getTo_Part();
+ EReference ABSTRACT_ASSIGN_BOUND__PART = eINSTANCE
+ .getAbstractAssignBound_Part();
/**
* The meta object literal for the '<em><b>Partner Link</b></em>' reference feature.
@@ -10825,7 +10844,8 @@ public interface BPELPackage extends EPackage {
* <!-- end-user-doc -->
* @generated
*/
- EReference TO__PARTNER_LINK = eINSTANCE.getTo_PartnerLink();
+ EReference ABSTRACT_ASSIGN_BOUND__PARTNER_LINK = eINSTANCE
+ .getAbstractAssignBound_PartnerLink();
/**
* The meta object literal for the '<em><b>Property</b></em>' reference feature.
@@ -10833,7 +10853,8 @@ public interface BPELPackage extends EPackage {
* <!-- end-user-doc -->
* @generated
*/
- EReference TO__PROPERTY = eINSTANCE.getTo_Property();
+ EReference ABSTRACT_ASSIGN_BOUND__PROPERTY = eINSTANCE
+ .getAbstractAssignBound_Property();
/**
* The meta object literal for the '<em><b>Query</b></em>' containment reference feature.
@@ -10841,7 +10862,8 @@ public interface BPELPackage extends EPackage {
* <!-- end-user-doc -->
* @generated
*/
- EReference TO__QUERY = eINSTANCE.getTo_Query();
+ EReference ABSTRACT_ASSIGN_BOUND__QUERY = eINSTANCE
+ .getAbstractAssignBound_Query();
/**
* The meta object literal for the '<em><b>Expression</b></em>' containment reference feature.
@@ -10849,7 +10871,18 @@ public interface BPELPackage extends EPackage {
* <!-- end-user-doc -->
* @generated
*/
- EReference TO__EXPRESSION = eINSTANCE.getTo_Expression();
+ EReference ABSTRACT_ASSIGN_BOUND__EXPRESSION = eINSTANCE
+ .getAbstractAssignBound_Expression();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.bpel.model.impl.ToImpl <em>To</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.bpel.model.impl.ToImpl
+ * @see org.eclipse.bpel.model.impl.BPELPackageImpl#getTo()
+ * @generated
+ */
+ EClass TO = eINSTANCE.getTo();
/**
* The meta object literal for the '{@link org.eclipse.bpel.model.impl.FromImpl <em>From</em>}' class.
@@ -10895,14 +10928,6 @@ public interface BPELPackage extends EPackage {
EAttribute FROM__UNSAFE_LITERAL = eINSTANCE.getFrom_UnsafeLiteral();
/**
- * The meta object literal for the '<em><b>Expression</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference FROM__EXPRESSION = eINSTANCE.getFrom_Expression();
-
- /**
* The meta object literal for the '<em><b>Service Ref</b></em>' containment reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -10919,46 +10944,6 @@ public interface BPELPackage extends EPackage {
EReference FROM__TYPE = eINSTANCE.getFrom_Type();
/**
- * The meta object literal for the '<em><b>Variable</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference FROM__VARIABLE = eINSTANCE.getFrom_Variable();
-
- /**
- * The meta object literal for the '<em><b>Part</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference FROM__PART = eINSTANCE.getFrom_Part();
-
- /**
- * The meta object literal for the '<em><b>Partner Link</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference FROM__PARTNER_LINK = eINSTANCE.getFrom_PartnerLink();
-
- /**
- * The meta object literal for the '<em><b>Property</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference FROM__PROPERTY = eINSTANCE.getFrom_Property();
-
- /**
- * The meta object literal for the '<em><b>Query</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference FROM__QUERY = eINSTANCE.getFrom_Query();
-
- /**
* The meta object literal for the '{@link org.eclipse.bpel.model.impl.OnMessageImpl <em>On Message</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
diff --git a/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/From.java b/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/From.java
index ea241d4..04e142d 100644
--- a/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/From.java
+++ b/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/From.java
@@ -32,14 +32,8 @@ import org.eclipse.xsd.XSDTypeDefinition;
* <li>{@link org.eclipse.bpel.model.From#getEndpointReference <em>Endpoint Reference</em>}</li>
* <li>{@link org.eclipse.bpel.model.From#getLiteral <em>Literal</em>}</li>
* <li>{@link org.eclipse.bpel.model.From#getUnsafeLiteral <em>Unsafe Literal</em>}</li>
- * <li>{@link org.eclipse.bpel.model.From#getExpression <em>Expression</em>}</li>
* <li>{@link org.eclipse.bpel.model.From#getServiceRef <em>Service Ref</em>}</li>
* <li>{@link org.eclipse.bpel.model.From#getType <em>Type</em>}</li>
- * <li>{@link org.eclipse.bpel.model.From#getVariable <em>Variable</em>}</li>
- * <li>{@link org.eclipse.bpel.model.From#getPart <em>Part</em>}</li>
- * <li>{@link org.eclipse.bpel.model.From#getPartnerLink <em>Partner Link</em>}</li>
- * <li>{@link org.eclipse.bpel.model.From#getProperty <em>Property</em>}</li>
- * <li>{@link org.eclipse.bpel.model.From#getQuery <em>Query</em>}</li>
* </ul>
* </p>
*
@@ -47,7 +41,7 @@ import org.eclipse.xsd.XSDTypeDefinition;
* @model
* @generated
*/
-public interface From extends BPELExtensibleElement {
+public interface From extends BPELExtensibleElement, AbstractAssignBound {
/**
* Returns the value of the '<em><b>Opaque</b></em>' attribute.
* <!-- begin-user-doc -->
@@ -230,32 +224,6 @@ public interface From extends BPELExtensibleElement {
void setUnsafeLiteral(Boolean value);
/**
- * Returns the value of the '<em><b>Expression</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Expression</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>Expression</em>' containment reference.
- * @see #setExpression(Expression)
- * @see org.eclipse.bpel.model.BPELPackage#getFrom_Expression()
- * @model containment="true"
- * @generated
- */
- Expression getExpression();
-
- /**
- * Sets the value of the '{@link org.eclipse.bpel.model.From#getExpression <em>Expression</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Expression</em>' containment reference.
- * @see #getExpression()
- * @generated
- */
- void setExpression(Expression value);
-
- /**
* Returns the value of the '<em><b>Service Ref</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
@@ -307,22 +275,6 @@ public interface From extends BPELExtensibleElement {
void setType(XSDTypeDefinition value);
/**
- * Returns the value of the '<em><b>Variable</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Variable</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Variable</em>' reference.
- * @see #setVariable(Variable)
- * @see org.eclipse.bpel.model.BPELPackage#getFrom_Variable()
- * @model
- * @generated
- */
- Variable getVariable();
-
- /**
* Sets the value of the '{@link org.eclipse.bpel.model.From#getVariable <em>Variable</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -332,22 +284,6 @@ public interface From extends BPELExtensibleElement {
void setVariable(Variable value);
/**
- * Returns the value of the '<em><b>Part</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Part</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Part</em>' reference.
- * @see #setPart(Part)
- * @see org.eclipse.bpel.model.BPELPackage#getFrom_Part()
- * @model
- * @generated
- */
- Part getPart();
-
- /**
* Sets the value of the '{@link org.eclipse.bpel.model.From#getPart <em>Part</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -357,22 +293,6 @@ public interface From extends BPELExtensibleElement {
void setPart(Part value);
/**
- * Returns the value of the '<em><b>Partner Link</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Partner Link</em>' reference 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>' reference.
- * @see #setPartnerLink(PartnerLink)
- * @see org.eclipse.bpel.model.BPELPackage#getFrom_PartnerLink()
- * @model
- * @generated
- */
- PartnerLink getPartnerLink();
-
- /**
* Sets the value of the '{@link org.eclipse.bpel.model.From#getPartnerLink <em>Partner Link</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -382,22 +302,6 @@ public interface From extends BPELExtensibleElement {
void setPartnerLink(PartnerLink value);
/**
- * Returns the value of the '<em><b>Property</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Property</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Property</em>' reference.
- * @see #setProperty(Property)
- * @see org.eclipse.bpel.model.BPELPackage#getFrom_Property()
- * @model
- * @generated
- */
- Property getProperty();
-
- /**
* Sets the value of the '{@link org.eclipse.bpel.model.From#getProperty <em>Property</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -406,30 +310,4 @@ public interface From extends BPELExtensibleElement {
*/
void setProperty(Property value);
- /**
- * Returns the value of the '<em><b>Query</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Query</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>Query</em>' containment reference.
- * @see #setQuery(Query)
- * @see org.eclipse.bpel.model.BPELPackage#getFrom_Query()
- * @model containment="true"
- * @generated
- */
- Query getQuery();
-
- /**
- * Sets the value of the '{@link org.eclipse.bpel.model.From#getQuery <em>Query</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Query</em>' containment reference.
- * @see #getQuery()
- * @generated
- */
- void setQuery(Query value);
-
} // From
diff --git a/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/To.java b/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/To.java
index 763c09a..52b0358 100644
--- a/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/To.java
+++ b/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/To.java
@@ -26,39 +26,12 @@ import org.eclipse.wst.wsdl.Part;
* Represents an l-value in an assignment activity. Can be used to query a node of a part of a container, a property of a container, or a service reference of a partner.
* <!-- end-model-doc -->
*
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.bpel.model.To#getVariable <em>Variable</em>}</li>
- * <li>{@link org.eclipse.bpel.model.To#getPart <em>Part</em>}</li>
- * <li>{@link org.eclipse.bpel.model.To#getPartnerLink <em>Partner Link</em>}</li>
- * <li>{@link org.eclipse.bpel.model.To#getProperty <em>Property</em>}</li>
- * <li>{@link org.eclipse.bpel.model.To#getQuery <em>Query</em>}</li>
- * <li>{@link org.eclipse.bpel.model.To#getExpression <em>Expression</em>}</li>
- * </ul>
- * </p>
*
* @see org.eclipse.bpel.model.BPELPackage#getTo()
* @model
* @generated
*/
-public interface To extends BPELExtensibleElement {
- /**
- * Returns the value of the '<em><b>Variable</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Variable</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Variable</em>' reference.
- * @see #setVariable(Variable)
- * @see org.eclipse.bpel.model.BPELPackage#getTo_Variable()
- * @model
- * @generated
- */
- Variable getVariable();
-
+public interface To extends BPELExtensibleElement, AbstractAssignBound {
/**
* Sets the value of the '{@link org.eclipse.bpel.model.To#getVariable <em>Variable</em>}' reference.
* <!-- begin-user-doc -->
@@ -69,22 +42,6 @@ public interface To extends BPELExtensibleElement {
void setVariable(Variable value);
/**
- * Returns the value of the '<em><b>Part</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Part</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Part</em>' reference.
- * @see #setPart(Part)
- * @see org.eclipse.bpel.model.BPELPackage#getTo_Part()
- * @model
- * @generated
- */
- Part getPart();
-
- /**
* Sets the value of the '{@link org.eclipse.bpel.model.To#getPart <em>Part</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -94,22 +51,6 @@ public interface To extends BPELExtensibleElement {
void setPart(Part value);
/**
- * Returns the value of the '<em><b>Partner Link</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Partner Link</em>' reference 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>' reference.
- * @see #setPartnerLink(PartnerLink)
- * @see org.eclipse.bpel.model.BPELPackage#getTo_PartnerLink()
- * @model
- * @generated
- */
- PartnerLink getPartnerLink();
-
- /**
* Sets the value of the '{@link org.eclipse.bpel.model.To#getPartnerLink <em>Partner Link</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -119,22 +60,6 @@ public interface To extends BPELExtensibleElement {
void setPartnerLink(PartnerLink value);
/**
- * Returns the value of the '<em><b>Property</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Property</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Property</em>' reference.
- * @see #setProperty(Property)
- * @see org.eclipse.bpel.model.BPELPackage#getTo_Property()
- * @model
- * @generated
- */
- Property getProperty();
-
- /**
* Sets the value of the '{@link org.eclipse.bpel.model.To#getProperty <em>Property</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -143,56 +68,4 @@ public interface To extends BPELExtensibleElement {
*/
void setProperty(Property value);
- /**
- * Returns the value of the '<em><b>Query</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Query</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>Query</em>' containment reference.
- * @see #setQuery(Query)
- * @see org.eclipse.bpel.model.BPELPackage#getTo_Query()
- * @model containment="true"
- * @generated
- */
- Query getQuery();
-
- /**
- * Sets the value of the '{@link org.eclipse.bpel.model.To#getQuery <em>Query</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Query</em>' containment reference.
- * @see #getQuery()
- * @generated
- */
- void setQuery(Query value);
-
- /**
- * Returns the value of the '<em><b>Expression</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Expression</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>Expression</em>' containment reference.
- * @see #setExpression(Expression)
- * @see org.eclipse.bpel.model.BPELPackage#getTo_Expression()
- * @model containment="true"
- * @generated
- */
- Expression getExpression();
-
- /**
- * Sets the value of the '{@link org.eclipse.bpel.model.To#getExpression <em>Expression</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Expression</em>' containment reference.
- * @see #getExpression()
- * @generated
- */
- void setExpression(Expression value);
-
} // To
diff --git a/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/impl/BPELPackageImpl.java b/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/impl/BPELPackageImpl.java
index b959c74..0dd4c29 100644
--- a/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/impl/BPELPackageImpl.java
+++ b/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/impl/BPELPackageImpl.java
@@ -14,6 +14,7 @@
*/
package org.eclipse.bpel.model.impl;
+import org.eclipse.bpel.model.AbstractAssignBound;
import org.eclipse.bpel.model.Activity;
import org.eclipse.bpel.model.Assign;
import org.eclipse.bpel.model.BPELExtensibleElement;
@@ -304,6 +305,13 @@ public class BPELPackageImpl extends EPackageImpl implements BPELPackage {
* <!-- end-user-doc -->
* @generated
*/
+ private EClass abstractAssignBoundEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
private EClass toEClass = null;
/**
@@ -1833,8 +1841,8 @@ public class BPELPackageImpl extends EPackageImpl implements BPELPackage {
* <!-- end-user-doc -->
* @generated
*/
- public EClass getTo() {
- return toEClass;
+ public EClass getAbstractAssignBound() {
+ return abstractAssignBoundEClass;
}
/**
@@ -1842,8 +1850,9 @@ public class BPELPackageImpl extends EPackageImpl implements BPELPackage {
* <!-- end-user-doc -->
* @generated
*/
- public EReference getTo_Variable() {
- return (EReference) toEClass.getEStructuralFeatures().get(0);
+ public EReference getAbstractAssignBound_Variable() {
+ return (EReference) abstractAssignBoundEClass.getEStructuralFeatures()
+ .get(0);
}
/**
@@ -1851,8 +1860,9 @@ public class BPELPackageImpl extends EPackageImpl implements BPELPackage {
* <!-- end-user-doc -->
* @generated
*/
- public EReference getTo_Part() {
- return (EReference) toEClass.getEStructuralFeatures().get(1);
+ public EReference getAbstractAssignBound_Part() {
+ return (EReference) abstractAssignBoundEClass.getEStructuralFeatures()
+ .get(1);
}
/**
@@ -1860,8 +1870,9 @@ public class BPELPackageImpl extends EPackageImpl implements BPELPackage {
* <!-- end-user-doc -->
* @generated
*/
- public EReference getTo_PartnerLink() {
- return (EReference) toEClass.getEStructuralFeatures().get(2);
+ public EReference getAbstractAssignBound_PartnerLink() {
+ return (EReference) abstractAssignBoundEClass.getEStructuralFeatures()
+ .get(2);
}
/**
@@ -1869,8 +1880,9 @@ public class BPELPackageImpl extends EPackageImpl implements BPELPackage {
* <!-- end-user-doc -->
* @generated
*/
- public EReference getTo_Property() {
- return (EReference) toEClass.getEStructuralFeatures().get(3);
+ public EReference getAbstractAssignBound_Property() {
+ return (EReference) abstractAssignBoundEClass.getEStructuralFeatures()
+ .get(3);
}
/**
@@ -1878,8 +1890,9 @@ public class BPELPackageImpl extends EPackageImpl implements BPELPackage {
* <!-- end-user-doc -->
* @generated
*/
- public EReference getTo_Query() {
- return (EReference) toEClass.getEStructuralFeatures().get(4);
+ public EReference getAbstractAssignBound_Query() {
+ return (EReference) abstractAssignBoundEClass.getEStructuralFeatures()
+ .get(4);
}
/**
@@ -1887,8 +1900,18 @@ public class BPELPackageImpl extends EPackageImpl implements BPELPackage {
* <!-- end-user-doc -->
* @generated
*/
- public EReference getTo_Expression() {
- return (EReference) toEClass.getEStructuralFeatures().get(5);
+ public EReference getAbstractAssignBound_Expression() {
+ return (EReference) abstractAssignBoundEClass.getEStructuralFeatures()
+ .get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getTo() {
+ return toEClass;
}
/**
@@ -1941,17 +1964,8 @@ public class BPELPackageImpl extends EPackageImpl implements BPELPackage {
* <!-- end-user-doc -->
* @generated
*/
- public EReference getFrom_Expression() {
- return (EReference) fromEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
public EReference getFrom_ServiceRef() {
- return (EReference) fromEClass.getEStructuralFeatures().get(5);
+ return (EReference) fromEClass.getEStructuralFeatures().get(4);
}
/**
@@ -1960,52 +1974,7 @@ public class BPELPackageImpl extends EPackageImpl implements BPELPackage {
* @generated
*/
public EReference getFrom_Type() {
- return (EReference) fromEClass.getEStructuralFeatures().get(6);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getFrom_Variable() {
- return (EReference) fromEClass.getEStructuralFeatures().get(7);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getFrom_Part() {
- return (EReference) fromEClass.getEStructuralFeatures().get(8);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getFrom_PartnerLink() {
- return (EReference) fromEClass.getEStructuralFeatures().get(9);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getFrom_Property() {
- return (EReference) fromEClass.getEStructuralFeatures().get(10);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getFrom_Query() {
- return (EReference) fromEClass.getEStructuralFeatures().get(11);
+ return (EReference) fromEClass.getEStructuralFeatures().get(5);
}
/**
@@ -3353,27 +3322,28 @@ public class BPELPackageImpl extends EPackageImpl implements BPELPackage {
createEReference(compensationHandlerEClass,
COMPENSATION_HANDLER__ACTIVITY);
+ abstractAssignBoundEClass = createEClass(ABSTRACT_ASSIGN_BOUND);
+ createEReference(abstractAssignBoundEClass,
+ ABSTRACT_ASSIGN_BOUND__VARIABLE);
+ createEReference(abstractAssignBoundEClass, ABSTRACT_ASSIGN_BOUND__PART);
+ createEReference(abstractAssignBoundEClass,
+ ABSTRACT_ASSIGN_BOUND__PARTNER_LINK);
+ createEReference(abstractAssignBoundEClass,
+ ABSTRACT_ASSIGN_BOUND__PROPERTY);
+ createEReference(abstractAssignBoundEClass,
+ ABSTRACT_ASSIGN_BOUND__QUERY);
+ createEReference(abstractAssignBoundEClass,
+ ABSTRACT_ASSIGN_BOUND__EXPRESSION);
+
toEClass = createEClass(TO);
- createEReference(toEClass, TO__VARIABLE);
- createEReference(toEClass, TO__PART);
- createEReference(toEClass, TO__PARTNER_LINK);
- createEReference(toEClass, TO__PROPERTY);
- createEReference(toEClass, TO__QUERY);
- createEReference(toEClass, TO__EXPRESSION);
fromEClass = createEClass(FROM);
createEAttribute(fromEClass, FROM__OPAQUE);
createEAttribute(fromEClass, FROM__ENDPOINT_REFERENCE);
createEAttribute(fromEClass, FROM__LITERAL);
createEAttribute(fromEClass, FROM__UNSAFE_LITERAL);
- createEReference(fromEClass, FROM__EXPRESSION);
createEReference(fromEClass, FROM__SERVICE_REF);
createEReference(fromEClass, FROM__TYPE);
- createEReference(fromEClass, FROM__VARIABLE);
- createEReference(fromEClass, FROM__PART);
- createEReference(fromEClass, FROM__PARTNER_LINK);
- createEReference(fromEClass, FROM__PROPERTY);
- createEReference(fromEClass, FROM__QUERY);
onMessageEClass = createEClass(ON_MESSAGE);
createEReference(onMessageEClass, ON_MESSAGE__VARIABLE);
@@ -3629,7 +3599,9 @@ public class BPELPackageImpl extends EPackageImpl implements BPELPackage {
compensationHandlerEClass.getESuperTypes().add(
this.getBPELExtensibleElement());
toEClass.getESuperTypes().add(this.getBPELExtensibleElement());
+ toEClass.getESuperTypes().add(this.getAbstractAssignBound());
fromEClass.getESuperTypes().add(this.getBPELExtensibleElement());
+ fromEClass.getESuperTypes().add(this.getAbstractAssignBound());
onMessageEClass.getESuperTypes().add(this.getBPELExtensibleElement());
expressionEClass.getESuperTypes().add(
theWSDLPackage.getExtensibilityElement());
@@ -4263,38 +4235,43 @@ public class BPELPackageImpl extends EPackageImpl implements BPELPackage {
null,
"activity", null, 1, 1, CompensationHandler.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
- initEClass(toEClass, To.class,
- "To", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
+ initEClass(
+ abstractAssignBoundEClass,
+ AbstractAssignBound.class,
+ "AbstractAssignBound", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
initEReference(
- getTo_Variable(),
+ getAbstractAssignBound_Variable(),
this.getVariable(),
null,
- "variable", null, 0, 1, To.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
+ "variable", null, 0, 1, AbstractAssignBound.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEReference(
- getTo_Part(),
+ getAbstractAssignBound_Part(),
theWSDLPackage.getPart(),
null,
- "part", null, 0, 1, To.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
+ "part", null, 0, 1, AbstractAssignBound.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEReference(
- getTo_PartnerLink(),
+ getAbstractAssignBound_PartnerLink(),
this.getPartnerLink(),
null,
- "partnerLink", null, 0, 1, To.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
+ "partnerLink", null, 0, 1, AbstractAssignBound.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEReference(
- getTo_Property(),
+ getAbstractAssignBound_Property(),
theMessagepropertiesPackage.getProperty(),
null,
- "property", null, 0, 1, To.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
+ "property", null, 0, 1, AbstractAssignBound.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEReference(
- getTo_Query(),
+ getAbstractAssignBound_Query(),
this.getQuery(),
null,
- "query", null, 0, 1, To.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
+ "query", null, 0, 1, AbstractAssignBound.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEReference(
- getTo_Expression(),
+ getAbstractAssignBound_Expression(),
this.getExpression(),
null,
- "expression", null, 0, 1, To.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
+ "expression", null, 0, 1, AbstractAssignBound.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
+
+ initEClass(toEClass, To.class,
+ "To", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
initEClass(
fromEClass,
@@ -4317,11 +4294,6 @@ public class BPELPackageImpl extends EPackageImpl implements BPELPackage {
ecorePackage.getEBooleanObject(),
"unsafeLiteral", null, 0, 1, From.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEReference(
- getFrom_Expression(),
- this.getExpression(),
- null,
- "expression", null, 0, 1, From.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
- initEReference(
getFrom_ServiceRef(),
this.getServiceRef(),
null,
@@ -4331,31 +4303,6 @@ public class BPELPackageImpl extends EPackageImpl implements BPELPackage {
theXSDPackage.getXSDTypeDefinition(),
null,
"type", null, 0, 1, From.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
- initEReference(
- getFrom_Variable(),
- this.getVariable(),
- null,
- "variable", null, 0, 1, From.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
- initEReference(
- getFrom_Part(),
- theWSDLPackage.getPart(),
- null,
- "part", null, 0, 1, From.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
- initEReference(
- getFrom_PartnerLink(),
- this.getPartnerLink(),
- null,
- "partnerLink", null, 0, 1, From.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
- initEReference(
- getFrom_Property(),
- theMessagepropertiesPackage.getProperty(),
- null,
- "property", null, 0, 1, From.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
- initEReference(
- getFrom_Query(),
- this.getQuery(),
- null,
- "query", null, 0, 1, From.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
initEClass(
onMessageEClass,
diff --git a/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/impl/FromImpl.java b/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/impl/FromImpl.java
index 308064c..75e97e3 100644
--- a/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/impl/FromImpl.java
+++ b/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/impl/FromImpl.java
@@ -14,6 +14,7 @@
*/
package org.eclipse.bpel.model.impl;
+import org.eclipse.bpel.model.AbstractAssignBound;
import org.eclipse.bpel.model.BPELPackage;
import org.eclipse.bpel.model.EndpointReferenceRole;
import org.eclipse.bpel.model.Expression;
@@ -44,18 +45,18 @@ import org.eclipse.xsd.XSDTypeDefinition;
* <p>
* The following features are implemented:
* <ul>
+ * <li>{@link org.eclipse.bpel.model.impl.FromImpl#getVariable <em>Variable</em>}</li>
+ * <li>{@link org.eclipse.bpel.model.impl.FromImpl#getPart <em>Part</em>}</li>
+ * <li>{@link org.eclipse.bpel.model.impl.FromImpl#getPartnerLink <em>Partner Link</em>}</li>
+ * <li>{@link org.eclipse.bpel.model.impl.FromImpl#getProperty <em>Property</em>}</li>
+ * <li>{@link org.eclipse.bpel.model.impl.FromImpl#getQuery <em>Query</em>}</li>
+ * <li>{@link org.eclipse.bpel.model.impl.FromImpl#getExpression <em>Expression</em>}</li>
* <li>{@link org.eclipse.bpel.model.impl.FromImpl#getOpaque <em>Opaque</em>}</li>
* <li>{@link org.eclipse.bpel.model.impl.FromImpl#getEndpointReference <em>Endpoint Reference</em>}</li>
* <li>{@link org.eclipse.bpel.model.impl.FromImpl#getLiteral <em>Literal</em>}</li>
* <li>{@link org.eclipse.bpel.model.impl.FromImpl#getUnsafeLiteral <em>Unsafe Literal</em>}</li>
- * <li>{@link org.eclipse.bpel.model.impl.FromImpl#getExpression <em>Expression</em>}</li>
* <li>{@link org.eclipse.bpel.model.impl.FromImpl#getServiceRef <em>Service Ref</em>}</li>
* <li>{@link org.eclipse.bpel.model.impl.FromImpl#getType <em>Type</em>}</li>
- * <li>{@link org.eclipse.bpel.model.impl.FromImpl#getVariable <em>Variable</em>}</li>
- * <li>{@link org.eclipse.bpel.model.impl.FromImpl#getPart <em>Part</em>}</li>
- * <li>{@link org.eclipse.bpel.model.impl.FromImpl#getPartnerLink <em>Partner Link</em>}</li>
- * <li>{@link org.eclipse.bpel.model.impl.FromImpl#getProperty <em>Property</em>}</li>
- * <li>{@link org.eclipse.bpel.model.impl.FromImpl#getQuery <em>Query</em>}</li>
* </ul>
* </p>
*
@@ -63,197 +64,197 @@ import org.eclipse.xsd.XSDTypeDefinition;
*/
public class FromImpl extends BPELExtensibleElementImpl implements From {
/**
- * The default value of the '{@link #getOpaque() <em>Opaque</em>}' attribute.
+ * The cached value of the '{@link #getVariable() <em>Variable</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getOpaque()
+ * @see #getVariable()
* @generated
* @ordered
*/
- protected static final Boolean OPAQUE_EDEFAULT = null;
+ protected Variable variable;
/**
- * The cached value of the '{@link #getOpaque() <em>Opaque</em>}' attribute.
+ * The cached value of the '{@link #getPart() <em>Part</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getOpaque()
+ * @see #getPart()
* @generated
* @ordered
*/
- protected Boolean opaque = OPAQUE_EDEFAULT;
+ protected Part part;
/**
- * This is true if the Opaque attribute has been set.
+ * The deserialized value of the part name.
+ * @customized
+ */
+ protected String partName = null;
+
+ /**
+ * The cached value of the '{@link #getPartnerLink() <em>Partner Link</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @see #getPartnerLink()
* @generated
* @ordered
*/
- protected boolean opaqueESet;
+ protected PartnerLink partnerLink;
/**
- * The default value of the '{@link #getEndpointReference() <em>Endpoint Reference</em>}' attribute.
+ * The cached value of the '{@link #getProperty() <em>Property</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getEndpointReference()
+ * @see #getProperty()
* @generated
* @ordered
*/
- protected static final EndpointReferenceRole ENDPOINT_REFERENCE_EDEFAULT = EndpointReferenceRole.MY_ROLE_LITERAL;
+ protected Property property;
/**
- * The cached value of the '{@link #getEndpointReference() <em>Endpoint Reference</em>}' attribute.
+ * The cached value of the '{@link #getQuery() <em>Query</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getEndpointReference()
+ * @see #getQuery()
* @generated
* @ordered
*/
- protected EndpointReferenceRole endpointReference = ENDPOINT_REFERENCE_EDEFAULT;
+ protected Query query;
/**
- * This is true if the Endpoint Reference attribute has been set.
+ * The cached value of the '{@link #getExpression() <em>Expression</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @see #getExpression()
* @generated
* @ordered
*/
- protected boolean endpointReferenceESet;
+ protected Expression expression;
/**
- * The default value of the '{@link #getLiteral() <em>Literal</em>}' attribute.
+ * The default value of the '{@link #getOpaque() <em>Opaque</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getLiteral()
+ * @see #getOpaque()
* @generated
* @ordered
*/
- protected static final String LITERAL_EDEFAULT = null;
+ protected static final Boolean OPAQUE_EDEFAULT = null;
/**
- * The cached value of the '{@link #getLiteral() <em>Literal</em>}' attribute.
+ * The cached value of the '{@link #getOpaque() <em>Opaque</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getLiteral()
+ * @see #getOpaque()
* @generated
* @ordered
*/
- protected String literal = LITERAL_EDEFAULT;
+ protected Boolean opaque = OPAQUE_EDEFAULT;
/**
- * This is true if the Literal attribute has been set.
+ * This is true if the Opaque attribute has been set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- protected boolean literalESet;
+ protected boolean opaqueESet;
/**
- * The default value of the '{@link #getUnsafeLiteral() <em>Unsafe Literal</em>}' attribute.
+ * The default value of the '{@link #getEndpointReference() <em>Endpoint Reference</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getUnsafeLiteral()
+ * @see #getEndpointReference()
* @generated
* @ordered
*/
- protected static final Boolean UNSAFE_LITERAL_EDEFAULT = null;
+ protected static final EndpointReferenceRole ENDPOINT_REFERENCE_EDEFAULT = EndpointReferenceRole.MY_ROLE_LITERAL;
/**
- * The cached value of the '{@link #getUnsafeLiteral() <em>Unsafe Literal</em>}' attribute.
+ * The cached value of the '{@link #getEndpointReference() <em>Endpoint Reference</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getUnsafeLiteral()
+ * @see #getEndpointReference()
* @generated
* @ordered
*/
- protected Boolean unsafeLiteral = UNSAFE_LITERAL_EDEFAULT;
+ protected EndpointReferenceRole endpointReference = ENDPOINT_REFERENCE_EDEFAULT;
/**
- * The cached value of the '{@link #getExpression() <em>Expression</em>}' containment reference.
+ * This is true if the Endpoint Reference attribute has been set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getExpression()
* @generated
* @ordered
*/
- protected Expression expression;
+ protected boolean endpointReferenceESet;
/**
- * The cached value of the '{@link #getServiceRef() <em>Service Ref</em>}' containment reference.
+ * The default value of the '{@link #getLiteral() <em>Literal</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getServiceRef()
+ * @see #getLiteral()
* @generated
* @ordered
*/
- protected ServiceRef serviceRef;
+ protected static final String LITERAL_EDEFAULT = null;
/**
- * The cached value of the '{@link #getType() <em>Type</em>}' reference.
+ * The cached value of the '{@link #getLiteral() <em>Literal</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getType()
+ * @see #getLiteral()
* @generated
* @ordered
*/
- protected XSDTypeDefinition type;
+ protected String literal = LITERAL_EDEFAULT;
/**
- * The cached value of the '{@link #getVariable() <em>Variable</em>}' reference.
+ * This is true if the Literal attribute has been set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getVariable()
* @generated
* @ordered
*/
- protected Variable variable;
+ protected boolean literalESet;
/**
- * The cached value of the '{@link #getPart() <em>Part</em>}' reference.
+ * The default value of the '{@link #getUnsafeLiteral() <em>Unsafe Literal</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getPart()
+ * @see #getUnsafeLiteral()
* @generated
* @ordered
*/
- protected Part part;
-
- /**
- * The deserialized value of the part name.
- * @customized
- */
- protected String partName = null;
+ protected static final Boolean UNSAFE_LITERAL_EDEFAULT = null;
/**
- * The cached value of the '{@link #getPartnerLink() <em>Partner Link</em>}' reference.
+ * The cached value of the '{@link #getUnsafeLiteral() <em>Unsafe Literal</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getPartnerLink()
+ * @see #getUnsafeLiteral()
* @generated
* @ordered
*/
- protected PartnerLink partnerLink;
+ protected Boolean unsafeLiteral = UNSAFE_LITERAL_EDEFAULT;
/**
- * The cached value of the '{@link #getProperty() <em>Property</em>}' reference.
+ * The cached value of the '{@link #getServiceRef() <em>Service Ref</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getProperty()
+ * @see #getServiceRef()
* @generated
* @ordered
*/
- protected Property property;
+ protected ServiceRef serviceRef;
/**
- * The cached value of the '{@link #getQuery() <em>Query</em>}' containment reference.
+ * The cached value of the '{@link #getType() <em>Type</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see #getQuery()
+ * @see #getType()
* @generated
* @ordered
*/
- protected Query query;
+ protected XSDTypeDefinition type;
/**
* <!-- begin-user-doc -->
@@ -892,12 +893,12 @@ public class FromImpl extends BPELExtensibleElementImpl implements From {
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID, NotificationChain msgs) {
switch (featureID) {
+ case BPELPackage.FROM__QUERY:
+ return basicSetQuery(null, msgs);
case BPELPackage.FROM__EXPRESSION:
return basicSetExpression(null, msgs);
case BPELPackage.FROM__SERVICE_REF:
return basicSetServiceRef(null, msgs);
- case BPELPackage.FROM__QUERY:
- return basicSetQuery(null, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -910,22 +911,6 @@ public class FromImpl extends BPELExtensibleElementImpl implements From {
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case BPELPackage.FROM__OPAQUE:
- return getOpaque();
- case BPELPackage.FROM__ENDPOINT_REFERENCE:
- return getEndpointReference();
- case BPELPackage.FROM__LITERAL:
- return getLiteral();
- case BPELPackage.FROM__UNSAFE_LITERAL:
- return getUnsafeLiteral();
- case BPELPackage.FROM__EXPRESSION:
- return getExpression();
- case BPELPackage.FROM__SERVICE_REF:
- return getServiceRef();
- case BPELPackage.FROM__TYPE:
- if (resolve)
- return getType();
- return basicGetType();
case BPELPackage.FROM__VARIABLE:
if (resolve)
return getVariable();
@@ -944,6 +929,22 @@ public class FromImpl extends BPELExtensibleElementImpl implements From {
return basicGetProperty();
case BPELPackage.FROM__QUERY:
return getQuery();
+ case BPELPackage.FROM__EXPRESSION:
+ return getExpression();
+ case BPELPackage.FROM__OPAQUE:
+ return getOpaque();
+ case BPELPackage.FROM__ENDPOINT_REFERENCE:
+ return getEndpointReference();
+ case BPELPackage.FROM__LITERAL:
+ return getLiteral();
+ case BPELPackage.FROM__UNSAFE_LITERAL:
+ return getUnsafeLiteral();
+ case BPELPackage.FROM__SERVICE_REF:
+ return getServiceRef();
+ case BPELPackage.FROM__TYPE:
+ if (resolve)
+ return getType();
+ return basicGetType();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -956,6 +957,24 @@ public class FromImpl extends BPELExtensibleElementImpl implements From {
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
+ case BPELPackage.FROM__VARIABLE:
+ setVariable((Variable) newValue);
+ return;
+ case BPELPackage.FROM__PART:
+ setPart((Part) newValue);
+ return;
+ case BPELPackage.FROM__PARTNER_LINK:
+ setPartnerLink((PartnerLink) newValue);
+ return;
+ case BPELPackage.FROM__PROPERTY:
+ setProperty((Property) newValue);
+ return;
+ case BPELPackage.FROM__QUERY:
+ setQuery((Query) newValue);
+ return;
+ case BPELPackage.FROM__EXPRESSION:
+ setExpression((Expression) newValue);
+ return;
case BPELPackage.FROM__OPAQUE:
setOpaque((Boolean) newValue);
return;
@@ -968,30 +987,12 @@ public class FromImpl extends BPELExtensibleElementImpl implements From {
case BPELPackage.FROM__UNSAFE_LITERAL:
setUnsafeLiteral((Boolean) newValue);
return;
- case BPELPackage.FROM__EXPRESSION:
- setExpression((Expression) newValue);
- return;
case BPELPackage.FROM__SERVICE_REF:
setServiceRef((ServiceRef) newValue);
return;
case BPELPackage.FROM__TYPE:
setType((XSDTypeDefinition) newValue);
return;
- case BPELPackage.FROM__VARIABLE:
- setVariable((Variable) newValue);
- return;
- case BPELPackage.FROM__PART:
- setPart((Part) newValue);
- return;
- case BPELPackage.FROM__PARTNER_LINK:
- setPartnerLink((PartnerLink) newValue);
- return;
- case BPELPackage.FROM__PROPERTY:
- setProperty((Property) newValue);
- return;
- case BPELPackage.FROM__QUERY:
- setQuery((Query) newValue);
- return;
}
super.eSet(featureID, newValue);
}
@@ -1004,6 +1005,24 @@ public class FromImpl extends BPELExtensibleElementImpl implements From {
@Override
public void eUnset(int featureID) {
switch (featureID) {
+ case BPELPackage.FROM__VARIABLE:
+ setVariable((Variable) null);
+ return;
+ case BPELPackage.FROM__PART:
+ setPart((Part) null);
+ return;
+ case BPELPackage.FROM__PARTNER_LINK:
+ setPartnerLink((PartnerLink) null);
+ return;
+ case BPELPackage.FROM__PROPERTY:
+ setProperty((Property) null);
+ return;
+ case BPELPackage.FROM__QUERY:
+ setQuery((Query) null);
+ return;
+ case BPELPackage.FROM__EXPRESSION:
+ setExpression((Expression) null);
+ return;
case BPELPackage.FROM__OPAQUE:
unsetOpaque();
return;
@@ -1016,30 +1035,12 @@ public class FromImpl extends BPELExtensibleElementImpl implements From {
case BPELPackage.FROM__UNSAFE_LITERAL:
setUnsafeLiteral(UNSAFE_LITERAL_EDEFAULT);
return;
- case BPELPackage.FROM__EXPRESSION:
- setExpression((Expression) null);
- return;
case BPELPackage.FROM__SERVICE_REF:
setServiceRef((ServiceRef) null);
return;
case BPELPackage.FROM__TYPE:
setType((XSDTypeDefinition) null);
return;
- case BPELPackage.FROM__VARIABLE:
- setVariable((Variable) null);
- return;
- case BPELPackage.FROM__PART:
- setPart((Part) null);
- return;
- case BPELPackage.FROM__PARTNER_LINK:
- setPartnerLink((PartnerLink) null);
- return;
- case BPELPackage.FROM__PROPERTY:
- setProperty((Property) null);
- return;
- case BPELPackage.FROM__QUERY:
- setQuery((Query) null);
- return;
}
super.eUnset(featureID);
}
@@ -1052,6 +1053,18 @@ public class FromImpl extends BPELExtensibleElementImpl implements From {
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
+ case BPELPackage.FROM__VARIABLE:
+ return variable != null;
+ case BPELPackage.FROM__PART:
+ return part != null;
+ case BPELPackage.FROM__PARTNER_LINK:
+ return partnerLink != null;
+ case BPELPackage.FROM__PROPERTY:
+ return property != null;
+ case BPELPackage.FROM__QUERY:
+ return query != null;
+ case BPELPackage.FROM__EXPRESSION:
+ return expression != null;
case BPELPackage.FROM__OPAQUE:
return isSetOpaque();
case BPELPackage.FROM__ENDPOINT_REFERENCE:
@@ -1061,22 +1074,10 @@ public class FromImpl extends BPELExtensibleElementImpl implements From {
case BPELPackage.FROM__UNSAFE_LITERAL:
return UNSAFE_LITERAL_EDEFAULT == null ? unsafeLiteral != null
: !UNSAFE_LITERAL_EDEFAULT.equals(unsafeLiteral);
- case BPELPackage.FROM__EXPRESSION:
- return expression != null;
case BPELPackage.FROM__SERVICE_REF:
return serviceRef != null;
case BPELPackage.FROM__TYPE:
return type != null;
- case BPELPackage.FROM__VARIABLE:
- return variable != null;
- case BPELPackage.FROM__PART:
- return part != null;
- case BPELPackage.FROM__PARTNER_LINK:
- return partnerLink != null;
- case BPELPackage.FROM__PROPERTY:
- return property != null;
- case BPELPackage.FROM__QUERY:
- return query != null;
}
return super.eIsSet(featureID);
}
@@ -1087,6 +1088,62 @@ public class FromImpl extends BPELExtensibleElementImpl implements From {
* @generated
*/
@Override
+ public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) {
+ if (baseClass == AbstractAssignBound.class) {
+ switch (derivedFeatureID) {
+ case BPELPackage.FROM__VARIABLE:
+ return BPELPackage.ABSTRACT_ASSIGN_BOUND__VARIABLE;
+ case BPELPackage.FROM__PART:
+ return BPELPackage.ABSTRACT_ASSIGN_BOUND__PART;
+ case BPELPackage.FROM__PARTNER_LINK:
+ return BPELPackage.ABSTRACT_ASSIGN_BOUND__PARTNER_LINK;
+ case BPELPackage.FROM__PROPERTY:
+ return BPELPackage.ABSTRACT_ASSIGN_BOUND__PROPERTY;
+ case BPELPackage.FROM__QUERY:
+ return BPELPackage.ABSTRACT_ASSIGN_BOUND__QUERY;
+ case BPELPackage.FROM__EXPRESSION:
+ return BPELPackage.ABSTRACT_ASSIGN_BOUND__EXPRESSION;
+ default:
+ return -1;
+ }
+ }
+ return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) {
+ if (baseClass == AbstractAssignBound.class) {
+ switch (baseFeatureID) {
+ case BPELPackage.ABSTRACT_ASSIGN_BOUND__VARIABLE:
+ return BPELPackage.FROM__VARIABLE;
+ case BPELPackage.ABSTRACT_ASSIGN_BOUND__PART:
+ return BPELPackage.FROM__PART;
+ case BPELPackage.ABSTRACT_ASSIGN_BOUND__PARTNER_LINK:
+ return BPELPackage.FROM__PARTNER_LINK;
+ case BPELPackage.ABSTRACT_ASSIGN_BOUND__PROPERTY:
+ return BPELPackage.FROM__PROPERTY;
+ case BPELPackage.ABSTRACT_ASSIGN_BOUND__QUERY:
+ return BPELPackage.FROM__QUERY;
+ case BPELPackage.ABSTRACT_ASSIGN_BOUND__EXPRESSION:
+ return BPELPackage.FROM__EXPRESSION;
+ default:
+ return -1;
+ }
+ }
+ return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
public String toString() {
if (eIsProxy())
return super.toString();
diff --git a/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/impl/ToImpl.java b/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/impl/ToImpl.java
index 2a07e97..67387d2 100644
--- a/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/impl/ToImpl.java
+++ b/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/impl/ToImpl.java
@@ -14,6 +14,7 @@
*/
package org.eclipse.bpel.model.impl;
+import org.eclipse.bpel.model.AbstractAssignBound;
import org.eclipse.bpel.model.BPELPackage;
import org.eclipse.bpel.model.Expression;
import org.eclipse.bpel.model.PartnerLink;
@@ -584,4 +585,60 @@ public class ToImpl extends BPELExtensibleElementImpl implements To {
return super.eIsSet(featureID);
}
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) {
+ if (baseClass == AbstractAssignBound.class) {
+ switch (derivedFeatureID) {
+ case BPELPackage.TO__VARIABLE:
+ return BPELPackage.ABSTRACT_ASSIGN_BOUND__VARIABLE;
+ case BPELPackage.TO__PART:
+ return BPELPackage.ABSTRACT_ASSIGN_BOUND__PART;
+ case BPELPackage.TO__PARTNER_LINK:
+ return BPELPackage.ABSTRACT_ASSIGN_BOUND__PARTNER_LINK;
+ case BPELPackage.TO__PROPERTY:
+ return BPELPackage.ABSTRACT_ASSIGN_BOUND__PROPERTY;
+ case BPELPackage.TO__QUERY:
+ return BPELPackage.ABSTRACT_ASSIGN_BOUND__QUERY;
+ case BPELPackage.TO__EXPRESSION:
+ return BPELPackage.ABSTRACT_ASSIGN_BOUND__EXPRESSION;
+ default:
+ return -1;
+ }
+ }
+ return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) {
+ if (baseClass == AbstractAssignBound.class) {
+ switch (baseFeatureID) {
+ case BPELPackage.ABSTRACT_ASSIGN_BOUND__VARIABLE:
+ return BPELPackage.TO__VARIABLE;
+ case BPELPackage.ABSTRACT_ASSIGN_BOUND__PART:
+ return BPELPackage.TO__PART;
+ case BPELPackage.ABSTRACT_ASSIGN_BOUND__PARTNER_LINK:
+ return BPELPackage.TO__PARTNER_LINK;
+ case BPELPackage.ABSTRACT_ASSIGN_BOUND__PROPERTY:
+ return BPELPackage.TO__PROPERTY;
+ case BPELPackage.ABSTRACT_ASSIGN_BOUND__QUERY:
+ return BPELPackage.TO__QUERY;
+ case BPELPackage.ABSTRACT_ASSIGN_BOUND__EXPRESSION:
+ return BPELPackage.TO__EXPRESSION;
+ default:
+ return -1;
+ }
+ }
+ return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
+ }
+
} //ToImpl
diff --git a/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/messageproperties/impl/QueryImpl.java b/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/messageproperties/impl/QueryImpl.java
index 773e711..6f9788f 100644
--- a/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/messageproperties/impl/QueryImpl.java
+++ b/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/messageproperties/impl/QueryImpl.java
@@ -57,7 +57,8 @@ import org.w3c.dom.Text;
*
* @customized
*/
-public class QueryImpl extends BPELExtensibilityElementImpl implements Query, Expression {
+public class QueryImpl extends BPELExtensibilityElementImpl implements Query,
+ Expression {
/**
* The default value of the '{@link #getQueryLanguage() <em>Query Language</em>}' attribute.
* <!-- begin-user-doc -->
diff --git a/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/messageproperties/util/MessagepropertiesSwitch.java b/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/messageproperties/util/MessagepropertiesSwitch.java
index 2789bb5..7965846 100644
--- a/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/messageproperties/util/MessagepropertiesSwitch.java
+++ b/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/messageproperties/util/MessagepropertiesSwitch.java
@@ -24,6 +24,7 @@ import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.util.Switch;
import org.eclipse.wst.wsdl.WSDLElement;
/**
@@ -39,7 +40,7 @@ import org.eclipse.wst.wsdl.WSDLElement;
* @see org.eclipse.bpel.model.messageproperties.MessagepropertiesPackage
* @generated
*/
-public class MessagepropertiesSwitch<T> {
+public class MessagepropertiesSwitch<T> extends Switch<T> {
/**
* The cached model package
* <!-- begin-user-doc -->
@@ -61,31 +62,16 @@ public class MessagepropertiesSwitch<T> {
}
/**
- * 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.
+ * Checks whether this is a switch for the given package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @parameter ePackage the package in question.
+ * @return whether this is a switch for the given package.
* @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);
- }
+ @Override
+ protected boolean isSwitchFor(EPackage ePackage) {
+ return ePackage == modelPackage;
}
/**
@@ -95,6 +81,7 @@ public class MessagepropertiesSwitch<T> {
* @return the first non-null result returned by a <code>caseXXX</code> call.
* @generated
*/
+ @Override
protected T doSwitch(int classifierID, EObject theEObject) {
switch (classifierID) {
case MessagepropertiesPackage.PROPERTY: {
@@ -243,6 +230,7 @@ public class MessagepropertiesSwitch<T> {
* @see #doSwitch(org.eclipse.emf.ecore.EObject)
* @generated
*/
+ @Override
public T defaultCase(EObject object) {
return null;
}
diff --git a/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/partnerlinktype/util/PartnerlinktypeSwitch.java b/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/partnerlinktype/util/PartnerlinktypeSwitch.java
index d415336..d8d7388 100644
--- a/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/partnerlinktype/util/PartnerlinktypeSwitch.java
+++ b/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/partnerlinktype/util/PartnerlinktypeSwitch.java
@@ -24,6 +24,7 @@ import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.util.Switch;
import org.eclipse.wst.wsdl.WSDLElement;
/**
@@ -39,7 +40,7 @@ import org.eclipse.wst.wsdl.WSDLElement;
* @see org.eclipse.bpel.model.partnerlinktype.PartnerlinktypePackage
* @generated
*/
-public class PartnerlinktypeSwitch<T> {
+public class PartnerlinktypeSwitch<T> extends Switch<T> {
/**
* The cached model package
* <!-- begin-user-doc -->
@@ -61,31 +62,16 @@ public class PartnerlinktypeSwitch<T> {
}
/**
- * 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.
+ * Checks whether this is a switch for the given package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @parameter ePackage the package in question.
+ * @return whether this is a switch for the given package.
* @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);
- }
+ @Override
+ protected boolean isSwitchFor(EPackage ePackage) {
+ return ePackage == modelPackage;
}
/**
@@ -95,6 +81,7 @@ public class PartnerlinktypeSwitch<T> {
* @return the first non-null result returned by a <code>caseXXX</code> call.
* @generated
*/
+ @Override
protected T doSwitch(int classifierID, EObject theEObject) {
switch (classifierID) {
case PartnerlinktypePackage.PARTNER_LINK_TYPE: {
@@ -215,6 +202,7 @@ public class PartnerlinktypeSwitch<T> {
* @see #doSwitch(org.eclipse.emf.ecore.EObject)
* @generated
*/
+ @Override
public T defaultCase(EObject object) {
return null;
}
diff --git a/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/resource/BPELReader.java b/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/resource/BPELReader.java
index 8737e56..7a23429 100644
--- a/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/resource/BPELReader.java
+++ b/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/resource/BPELReader.java
@@ -2627,7 +2627,7 @@ public class BPELReader implements ErrorHandler {
Attr variable = toElement.getAttributeNode("variable");
if (variable != null && variable.getSpecified()) {
- setVariable(toElement, to, "variable", BPELPackage.eINSTANCE.getTo_Variable());
+ setVariable(toElement, to, "variable", BPELPackage.eINSTANCE.getAbstractAssignBound_Variable());
}
// Set part
@@ -2642,7 +2642,7 @@ public class BPELReader implements ErrorHandler {
Attr partnerLink = toElement.getAttributeNode("partnerLink");
if (partnerLink != null && partnerLink.getSpecified()) {
- setPartnerLink(toElement, to, BPELPackage.eINSTANCE.getTo_PartnerLink());
+ setPartnerLink(toElement, to, BPELPackage.eINSTANCE.getAbstractAssignBound_PartnerLink());
}
// Set property
@@ -2711,7 +2711,7 @@ public class BPELReader implements ErrorHandler {
Attr variable = fromElement.getAttributeNode("variable");
if (variable != null && variable.getSpecified()) {
- setVariable(fromElement, from, "variable", BPELPackage.eINSTANCE.getFrom_Variable() );
+ setVariable(fromElement, from, "variable", BPELPackage.eINSTANCE.getAbstractAssignBound_Variable() );
}
// Set part
@@ -2726,7 +2726,7 @@ public class BPELReader implements ErrorHandler {
Attr partnerLink = fromElement.getAttributeNode("partnerLink");
if (partnerLink != null && partnerLink.getSpecified()) {
- setPartnerLink(fromElement, from, BPELPackage.eINSTANCE.getFrom_PartnerLink());
+ setPartnerLink(fromElement, from, BPELPackage.eINSTANCE.getAbstractAssignBound_PartnerLink());
}
// Set property
diff --git a/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/util/BPELAdapterFactory.java b/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/util/BPELAdapterFactory.java
index 8f004cc..30c9849 100644
--- a/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/util/BPELAdapterFactory.java
+++ b/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/util/BPELAdapterFactory.java
@@ -18,6 +18,7 @@ import javax.wsdl.extensions.AttributeExtensible;
import javax.wsdl.extensions.ElementExtensible;
import javax.wsdl.extensions.ExtensibilityElement;
+import org.eclipse.bpel.model.AbstractAssignBound;
import org.eclipse.bpel.model.Activity;
import org.eclipse.bpel.model.Assign;
import org.eclipse.bpel.model.BPELExtensibleElement;
@@ -285,6 +286,11 @@ public class BPELAdapterFactory extends AdapterFactoryImpl {
}
@Override
+ public Adapter caseAbstractAssignBound(AbstractAssignBound object) {
+ return createAbstractAssignBoundAdapter();
+ }
+
+ @Override
public Adapter caseTo(To object) {
return createToAdapter();
}
@@ -950,6 +956,20 @@ public class BPELAdapterFactory extends AdapterFactoryImpl {
}
/**
+ * Creates a new adapter for an object of class '{@link org.eclipse.bpel.model.AbstractAssignBound <em>Abstract Assign Bound</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.model.AbstractAssignBound
+ * @generated
+ */
+ public Adapter createAbstractAssignBoundAdapter() {
+ return null;
+ }
+
+ /**
* Creates a new adapter for an object of class '{@link org.eclipse.bpel.model.To <em>To</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
diff --git a/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/util/BPELSwitch.java b/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/util/BPELSwitch.java
index 08ad306..42a3fbe 100644
--- a/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/util/BPELSwitch.java
+++ b/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/util/BPELSwitch.java
@@ -20,6 +20,7 @@ import javax.wsdl.extensions.AttributeExtensible;
import javax.wsdl.extensions.ElementExtensible;
import javax.wsdl.extensions.ExtensibilityElement;
+import org.eclipse.bpel.model.AbstractAssignBound;
import org.eclipse.bpel.model.Activity;
import org.eclipse.bpel.model.Assign;
import org.eclipse.bpel.model.BPELExtensibleElement;
@@ -94,6 +95,8 @@ import org.eclipse.bpel.model.Wait;
import org.eclipse.bpel.model.While;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.util.Switch;
import org.eclipse.wst.wsdl.ExtensibleElement;
import org.eclipse.wst.wsdl.UnknownExtensibilityElement;
import org.eclipse.wst.wsdl.WSDLElement;
@@ -111,7 +114,7 @@ import org.eclipse.wst.wsdl.WSDLElement;
* @see org.eclipse.bpel.model.BPELPackage
* @generated
*/
-public class BPELSwitch<T> {
+public class BPELSwitch<T> extends Switch<T> {
/**
* The cached model package
* <!-- begin-user-doc -->
@@ -133,31 +136,16 @@ public class BPELSwitch<T> {
}
/**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * Checks whether this is a switch for the given package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @parameter ePackage the package in question.
+ * @return whether this is a switch for the given package.
* @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);
- }
+ @Override
+ protected boolean isSwitchFor(EPackage ePackage) {
+ return ePackage == modelPackage;
}
/**
@@ -167,6 +155,7 @@ public class BPELSwitch<T> {
* @return the first non-null result returned by a <code>caseXXX</code> call.
* @generated
*/
+ @Override
protected T doSwitch(int classifierID, EObject theEObject) {
switch (classifierID) {
case BPELPackage.PROCESS: {
@@ -647,12 +636,21 @@ public class BPELSwitch<T> {
result = defaultCase(theEObject);
return result;
}
+ case BPELPackage.ABSTRACT_ASSIGN_BOUND: {
+ AbstractAssignBound abstractAssignBound = (AbstractAssignBound) theEObject;
+ T result = caseAbstractAssignBound(abstractAssignBound);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
case BPELPackage.TO: {
To to = (To) theEObject;
T result = caseTo(to);
if (result == null)
result = caseBPELExtensibleElement(to);
if (result == null)
+ result = caseAbstractAssignBound(to);
+ if (result == null)
result = caseExtensibleElement(to);
if (result == null)
result = caseWSDLElement(to);
@@ -670,6 +668,8 @@ public class BPELSwitch<T> {
if (result == null)
result = caseBPELExtensibleElement(from);
if (result == null)
+ result = caseAbstractAssignBound(from);
+ if (result == null)
result = caseExtensibleElement(from);
if (result == null)
result = caseWSDLElement(from);
@@ -1832,6 +1832,21 @@ public class BPELSwitch<T> {
}
/**
+ * Returns the result of interpreting the object as an instance of '<em>Abstract Assign Bound</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>Abstract Assign Bound</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseAbstractAssignBound(AbstractAssignBound object) {
+ return null;
+ }
+
+ /**
* Returns the result of interpreting the object as an instance of '<em>To</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
@@ -2624,6 +2639,7 @@ public class BPELSwitch<T> {
* @see #doSwitch(org.eclipse.emf.ecore.EObject)
* @generated
*/
+ @Override
public T defaultCase(EObject object) {
return null;
}
diff --git a/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/util/ReconciliationBPELReader.java b/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/util/ReconciliationBPELReader.java
index 421badc..b6b13d8 100644
--- a/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/util/ReconciliationBPELReader.java
+++ b/plugins/org.eclipse.bpel.model/src/org/eclipse/bpel/model/util/ReconciliationBPELReader.java
@@ -2999,7 +2999,7 @@ public class ReconciliationBPELReader extends BPELReader implements
if (variable != null && variable.getSpecified()) {
setVariable(toElement, to, "variable", BPELPackage.eINSTANCE
- .getTo_Variable());
+ .getAbstractAssignBound_Variable());
} else {
to.setVariable(null);
}
@@ -3019,7 +3019,7 @@ public class ReconciliationBPELReader extends BPELReader implements
if (partnerLink != null && partnerLink.getSpecified()) {
setPartnerLink(toElement, to, BPELPackage.eINSTANCE
- .getTo_PartnerLink());
+ .getAbstractAssignBound_PartnerLink());
} else {
to.setPartnerLink(null);
}
@@ -3070,7 +3070,7 @@ public class ReconciliationBPELReader extends BPELReader implements
if (variable != null && variable.getSpecified()) {
setVariable(fromElement, from, "variable", BPELPackage.eINSTANCE
- .getFrom_Variable());
+ .getAbstractAssignBound_Variable());
} else {
from.setVariable(null);
}
@@ -3089,7 +3089,7 @@ public class ReconciliationBPELReader extends BPELReader implements
Attr partnerLink = fromElement.getAttributeNode("partnerLink");
if (partnerLink != null && partnerLink.getSpecified()) {
setPartnerLink(fromElement, from, BPELPackage.eINSTANCE
- .getFrom_PartnerLink());
+ .getAbstractAssignBound_PartnerLink());
} else {
from.setPartnerLink(null);
}
diff --git a/plugins/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/properties/ExpressionAssignCategory.java b/plugins/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/properties/ExpressionAssignCategory.java
index 23038b2..4a1763e 100644
--- a/plugins/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/properties/ExpressionAssignCategory.java
+++ b/plugins/org.eclipse.bpel.ui/src/org/eclipse/bpel/ui/properties/ExpressionAssignCategory.java
@@ -10,11 +10,10 @@
*******************************************************************************/
package org.eclipse.bpel.ui.properties;
+import org.eclipse.bpel.model.AbstractAssignBound;
import org.eclipse.bpel.model.BPELFactory;
import org.eclipse.bpel.model.BPELPackage;
import org.eclipse.bpel.model.Expression;
-import org.eclipse.bpel.model.From;
-import org.eclipse.bpel.model.To;
import org.eclipse.bpel.ui.IBPELUIConstants;
import org.eclipse.bpel.ui.Messages;
import org.eclipse.bpel.ui.adapters.IVirtualCopyRuleSide;
@@ -183,11 +182,8 @@ public class ExpressionAssignCategory extends ExpressionSection implements IAssi
@Override
protected EStructuralFeature getStructuralFeature(EObject object) {
- if (object instanceof To) {
- return BPELPackage.eINSTANCE.getTo_Expression();
- }
- if (object instanceof From) {
- return BPELPackage.eINSTANCE.getFrom_Expression();
+ if (object instanceof AbstractAssignBound) {
+ return BPELPackage.eINSTANCE.getAbstractAssignBound_Expression();
}
return super.getStructuralFeature(object);
}