Home » Archived » M2M (model-to-model transformation) » [ATL] how to use entity reference in input model
[ATL] how to use entity reference in input model [message #4294] |
Fri, 29 December 2006 02:35  |
Eclipse User |
|
|
|
Hello ,
i have a simle input model file(bpmnModel.ecore) , which is generated
by a tool , and it conform to certain metamodel(bpmn.ecore). the input
file is follwoing.
<?xml version="1.0" encoding="ISO-8859-1"?>
<xmi:XMI xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI" xmlns:bp="bpdm"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<bp:BusinessProcessDiagram Name="BusinessProcessDiagram1">
<Pools xmi:id="_45T0YJVvEdusYsgvXrrVmQ" Id="_uqHcgJVvEdusYsgvXrrVmQ"
Documenation="New Document" Name="Pool" >
<Process xmi:id="_45T0YZVvEdusYsgvXrrVmQ" Name="Process111">
<GraphicalElements xsi:type="bpdm:Task"
xmi:id="_45T0Y5VvEdusYsgvXrrVmQ" Id="_wQouYJVvEdusYsgvXrrVmQ"
Pool="_45T0YJVvEdusYsgvXrrVmQ" Name="task1"/>
</Process>
</Pools>
</bp:BusinessProcessDiagram>
</xmi:XMI>
i have written a simple rule for this model , which print name of
GraphicalElements that is type of bpdm:task. the rule is following.
rule bpmnSeq2bpelSeq
{
from input : bpdm!BusinessProcessDiagram
do {
input.Name -> println();
for(p3 in input.getGraphicalElement)
{
if(p3.oclIsTypeOf(bpdm!Task))
{
'true'->println();
}
p3.Name->println();
}
}
it gave this error.
An internal error occurred during: "Launching".
java.lang.NullPointerException
at
org.atl.eclipse.adt.launching.AtlLaunchConfigurationDelegate .runAtlLauncher(AtlLaunchConfigurationDelegate.java:226)
at
org.atl.eclipse.adt.launching.AtlLaunchConfigurationDelegate .runAtlLauncher(AtlLaunchConfigurationDelegate.java:154)
at
org.atl.eclipse.adt.launching.AtlLaunchConfigurationDelegate .runAtlLauncher(AtlLaunchConfigurationDelegate.java:136)
at
org.atl.eclipse.adt.launching.AtlLaunchConfigurationDelegate .runAtlLauncher(AtlLaunchConfigurationDelegate.java:117)
at
org.atl.eclipse.adt.launching.AtlLaunchConfigurationDelegate .launch(AtlLaunchConfigurationDelegate.java:95)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:639)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:565)
at
org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(D ebugUIPlugin.java:754)
at
org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlu gin.java:944)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
i think it give error because of Pool and Id entity of GraphicalElements.
when i remove both of these entity then it works fine.
Id is a type of EObject and Pool is a class.
Pool is container of Process , and Process contain GraphicalElements.
pls. help me
Regards
Brajesh K.
|
|
| |
Re: [ATL] how to use entity reference in input model [message #4586 is a reply to message #4366] |
Fri, 29 December 2006 03:59   |
Eclipse User |
|
|
|
Hi ,
thanks for response Frédéric.
actually my metamodel file is too big , nevertheless i give this metamodel.
MetaModel :bpmn.ecore
========================
//////////////////////////////////////////////////////////// ///////////////////
<?xml version="1.0" encoding="UTF-8"?>
<ecore:EPackage xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="bpdm"
nsURI="bpdm" nsPrefix="bpdm">
<eClassifiers xsi:type="ecore:EClass" name="Activity"
eSuperTypes="#//FlowObject">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 5, Fri Dec 09 14:35:07 2005
 * @since
v1.0"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="InputSets"
upperBound="-1"
eType="#//Input" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="OutputSets"
upperBound="-1"
eType="#//Output" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="IORules"
upperBound="-1"
eType="#//Expression" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="Properties"
upperBound="-1"
eType="#//Property" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="StartQuantity"
lowerBound="1"
eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EInt" defaultValueLiteral="1"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="ActivityType"
lowerBound="1"
eType="#//ActivityType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Status"
lowerBound="1"
eType="#//ActivityStatus"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="LoopType"
lowerBound="1"
eType="#//ActivityLoopType"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="FlowObject"
eSuperTypes="#//GraphicalObject">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 8, Fri Dec 09 14:35:08 2005
 * @since
v1.0"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="Pool"
lowerBound="1" eType="#//Pool"
containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="Lanes"
upperBound="-1"
eType="#//Lane" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="Assignments"
upperBound="-1"
eType="#//Assignment" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Name"
lowerBound="1" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="String"/>
<eClassifiers xsi:type="ecore:EClass" name="AdHoc">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 1, Fri Dec 09 14:35:07 2005
 * @since
v1.0"/>
</eAnnotations>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Annotation"
eSuperTypes="#//Artifact">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 3, Fri Dec 09 14:35:07 2005
 * @since
v1.0"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Text"
lowerBound="1" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Artifact"
eSuperTypes="#//GraphicalObject">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 5, Fri Dec 09 14:35:07 2005
 * @since
v1.0"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="Pool"
eType="#//Pool" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="Lane"
upperBound="-1" eType="#//Lane"
containment="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="ArtifactType"
lowerBound="1"
eType="#//ArtifactType"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="GraphicalObject"
eSuperTypes="#//BPDElement">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 3, Fri Dec 09 14:35:08 2005
 * @since
v1.0"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Categories"
upperBound="-1"
eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Documenation"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Assignment">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 10, Fri Dec 09 14:35:07 2005
 * @since
v1.0"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="From"
lowerBound="1" eType="#//Expression"
containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="To"
lowerBound="1" eType="#//Property"
containment="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="AssignTime"
eType="#//AssignTime"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="GraphicalConnectingObject"
eSuperTypes="#//BPDElement">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 2, Fri Dec 09 14:35:08 2005
 * @since
v1.0"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="source"
lowerBound="1"
eType="#//Object" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="target"
lowerBound="1"
eType="#//Object" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="Name"
eType="#//String"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Association"
eSuperTypes="#//GraphicalConnectingObject">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 6, Fri Dec 09 14:35:07 2005
 * @since
v1.0"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Direction"
lowerBound="1"
eType="#//AssociationDirection"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="BPDElement"
eSuperTypes="#//Object">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 1, Fri Dec 09 14:35:08 2005
 * @since
v1.0"/>
</eAnnotations>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Object">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 11, Fri Dec 09 14:35:09 2005
 * @since
v1.0"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="Id"
lowerBound="1" eType="ecore:EClass
http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="BusinessProcessDiagram">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 3, Fri Dec 09 14:35:08 2005
 * @since
v1.0"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="Pools"
lowerBound="1" upperBound="-1"
eType="#//Pool" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Id"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
changeable="false" defaultValueLiteral="0"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Name"
lowerBound="1" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Documentation"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="CreationDate"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="QueryLanguage"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="ExpressionLanguage" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="ModificationDate" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EDate"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Version"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Author"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Language"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Date">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 1, Fri Dec 09 14:35:08 2005
 * @since
v1.0"/>
</eAnnotations>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Cancel"
eSuperTypes="#//Result">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 2, Fri Dec 09 14:35:08 2005
 * @since
v1.0"/>
</eAnnotations>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Result">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 2, Fri Dec 09 14:35:09 2005
 * @since
v1.0"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="Name"
upperBound="-1" eType="#//String"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Trigger">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 2, Fri Dec 09 14:35:09 2005
 * @since
v1.0"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="Name"
upperBound="-1" eType="#//String"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="CollapsedSubProcess"
eSuperTypes="#//SubProcess">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 2, Fri Dec 09 14:35:08 2005
 * @since
v1.0"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="Loop"
lowerBound="1" eType="#//Loop"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="MultiInstance"
lowerBound="1"
eType="#//MultiInstance"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="Compensation"
lowerBound="1"
eType="#//Compensation"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="AdHoc"
lowerBound="1" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="SubProcess"
eSuperTypes="#//Activity">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 3, Fri Dec 09 14:35:09 2005
 * @since
v1.0"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="Transaction"
eType="#//Transaction"
containment="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="IsATransaction"
lowerBound="1"
eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
defaultValueLiteral="false"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="SubProcessType"
lowerBound="1"
eType="#//SubProcessType"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Collection">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 1, Fri Dec 09 14:35:08 2005
 * @since
v1.0"/>
</eAnnotations>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Compensation"
eSuperTypes="#//Result">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 4, Fri Dec 09 14:35:08 2005
 * @since
v1.0"/>
</eAnnotations>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ComplexDecision_Merge"
eSuperTypes="#//Gateway">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 2, Fri Dec 09 14:35:08 2005
 * @since
v1.0"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="Gates"
upperBound="-1"
eType="#//Gate" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference"
name="OutgoingSequenceFlow" lowerBound="1"
eType="#//SequenceFlow" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="outgoing2"
upperBound="-1"
eType="#//SequenceFlow"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="Assignments"
upperBound="-1"
eType="#//Assignment" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference"
name="IncomingCondition" eType="#//Expression"/>
<eStructuralFeatures xsi:type="ecore:EReference"
name="OutgoingCondition" eType="#//Expression"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Gateway"
eSuperTypes="#//FlowObject">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 4, Fri Dec 09 14:35:08 2005
 * @since
v1.0"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="GatewayType"
lowerBound="1"
eType="#//GatewayType"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="DataBasedGateway"
eSuperTypes="#//Gateway">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 2, Fri Dec 09 14:35:08 2005
 * @since
v1.0"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="Gates"
upperBound="-1"
eType="#//Gate" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="DefaultGate"
eType="#//Gate"
containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference"
name="OutgoingSequenceFlow" lowerBound="1"
eType="#//SequenceFlow" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="Assignments1"
upperBound="-1"
eType="#//Assignment" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="Assignments2"
upperBound="-1"
eType="#//Assignment" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="MarkerVisible"
lowerBound="1"
eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
defaultValueLiteral="false"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="XORType"
lowerBound="1"
eType="#//XORType"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ExclusiveDecision_Merge"
eSuperTypes="#//Gateway">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 2, Fri Dec 09 14:35:08 2005
 * @since
v1.0"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="XORType"
lowerBound="1"
eType="#//XORType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="InstantiateFalse" lowerBound="1"
eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="Gates"
lowerBound="2" upperBound="-1"
eType="#//Gate"/>
<eStructuralFeatures xsi:type="ecore:EReference"
name="OutgoingSequenceFlow" lowerBound="1"
eType="#//SequenceFlow" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="Assignments"
upperBound="-1"
eType="#//Assignment" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="DataObject"
eSuperTypes="#//Artifact">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 3, Fri Dec 09 14:35:08 2005
 * @since
v1.0"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="Properties"
upperBound="-1"
eType="#//Property" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="RequiredForStart" lowerBound="1"
eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
defaultValueLiteral="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="ProducedAtCompletion" lowerBound="1"
eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
defaultValueLiteral="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Name"
lowerBound="1" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="State"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="EmbeddedSubProcess"
eSuperTypes="#//CollapsedSubProcess">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 1, Fri Dec 09 14:35:08 2005
 * @since
v1.0"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference"
name="GraphicalElements" upperBound="-1"
eType="#//Object" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="AdHocOrdering"
eType="#//AdHocOrdering"/>
<eStructuralFeatures xsi:type="ecore:EReference"
name="AdHocCompletionCondition"
eType="#//Expression"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="End" eSuperTypes="#//Event">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 1) Constraint on
Implementation:-
{ if (End.Result.Name == Messag
 * e)
}
2) Constraint on ErrorCode:-
{ if (End.Result.Name ==
Error)
 * }
3) Constraint on LinkId:-
{ if
(End.Result.Name == Link) }
 
 * 
 * @author
s
 * @version 4, Fri Dec 09 14:35:08 2005
 * @since
v1.0"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="Activity"
lowerBound="1"
eType="#//Object" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="Message"
lowerBound="1"
eType="#//Message" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="ProcessRef"
lowerBound="1"
eType="#//Process" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Result"
lowerBound="1"
eType="#//EndTriggers"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="LinkId"
lowerBound="1"
eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="ErrorCode"
lowerBound="1"
eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Results"
lowerBound="2"
upperBound="-1" eType="#//EndTriggers"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Implementation"
lowerBound="1"
eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Event"
eSuperTypes="#//FlowObject">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 3, Fri Dec 09 14:35:08 2005
 * @since
v1.0"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="EventType"
lowerBound="1"
eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString" defaultValueLiteral=""/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Entity">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 1, Fri Dec 09 14:35:08 2005
 * @since
v1.0"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Name"
lowerBound="1" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Error"
eSuperTypes="#//Result">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 2, Fri Dec 09 14:35:08 2005
 * @since
v1.0"/>
</eAnnotations>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="EventBasedGateway"
eSuperTypes="#//ExclusiveDecision_Merge">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 2, Fri Dec 09 14:35:08 2005
 * @since
v1.0"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="Gate"
upperBound="-1" eType="#//Gate"
containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference"
name="outgoingSeqFlow" lowerBound="1"
eType="#//SequenceFlow" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference"
name="IncomingSeqFlow" upperBound="-1"
eType="#//SequenceFlow"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="assignment3"
upperBound="-1"
eType="#//Assignment" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Instantiate"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
defaultValueLiteral="false"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="XORType"
upperBound="-1"
eType="#//String"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ExpandedSubProcess"
eSuperTypes="#//SubProcess">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 3, Fri Dec 09 14:35:08 2005
 * @since
v1.0"/>
</eAnnotations>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Expression">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 11, Fri Dec 09 14:35:08 2005
 * @since
v1.0"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Expression"
lowerBound="1"
eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Gate">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 6, Fri Dec 09 14:35:08 2005
 * @since
v1.0"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="SequenceFlow"
lowerBound="1"
eType="#//SequenceFlow"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Group"
eSuperTypes="#//Artifact">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 3, Fri Dec 09 14:35:08 2005
 * @since
v1.0"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Name"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="InclusiveDecision_Merge"
eSuperTypes="#//Gateway">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 2, Fri Dec 09 14:35:08 2005
 * @since
v1.0"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="DefaultGate"
eType="#//Gate"
containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="Gates"
upperBound="-1"
eType="#//Gate"/>
<eStructuralFeatures xsi:type="ecore:EReference"
name="OutgoingSequenceFlow2"
lowerBound="1" eType="#//SequenceFlow" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="Assignments1"
upperBound="-1"
eType="#//Assignment" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference"
name="OutgoingSequenceFlow1"
lowerBound="1" eType="#//SequenceFlow" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="Assignments2"
upperBound="-1"
eType="#//Assignment" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="IndependentSubProcess"
eSuperTypes="#//CollapsedSubProcess">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 1, Fri Dec 09 14:35:08 2005
 * @since
v1.0"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="DiagramRef"
lowerBound="1"
eType="#//BusinessProcessDiagram" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="ProcessRef"
lowerBound="1"
eType="#//Process" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference"
name="InputPropertyMaps" upperBound="-1"
eType="#//Expression" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference"
name="OutPutPropertyMaps" upperBound="-1"
eType="#//Expression" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Input">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 1, Fri Dec 09 14:35:08 2005
 * @since
v1.0"/>
</eAnnotations>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Intermediate"
eSuperTypes="#//Event">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 1) Constraint on
Implementation:-
{ if (Intermediate.Trigger.Name
 * ==
Message) }
2) Constraint on TimeDate and TimeCycle:-
{
if (In
 * termediate.Trigger.Name == Timer) }
3)
Constraint on ErrorCode:-
 
 * { if
(Intermediate.Trigger.Name == Error }
4) Constraint on
LinkI
 * d:-
{ if (Intermediate.Trigger.Name == Link
}
 
 * 
 * @author s
 * @version 3,
Fri Dec 09 14:35:08 2005
 * @since v1.0"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="ProcessRef"
lowerBound="1"
eType="#//Process" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="Activity"
lowerBound="1"
eType="#//Object" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="Target"
eType="#//Object"
containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="Message"
lowerBound="1"
eType="#//Message" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="ErrorCode"
lowerBound="1"
eType="#//String"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="LinkId"
lowerBound="1"
eType="#//String"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Implementation"
lowerBound="1"
eType="#//ImplementationType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Trigger"
lowerBound="1"
eType="#//IntermediateTriggers"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Triggers"
lowerBound="2"
upperBound="-1" eType="#//IntermediateTriggers"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="RuleName"
lowerBound="1"
eType="#//Rule"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="TimeCycle"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="TimeDate"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Lane"
eSuperTypes="#//Swimlane">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 5, Fri Dec 09 14:35:08 2005
 * @since
v1.0"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="parentpool"
lowerBound="1"
eType="#//Pool" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="parentLane"
eType="#//Lane"
containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Swimlane"
eSuperTypes="#//GraphicalObject">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 3, Fri Dec 09 14:35:09 2005
 * @since
v1.0"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Name"
lowerBound="1" eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Link"
eSuperTypes="#//Result">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 3, Fri Dec 09 14:35:08 2005
 * @since
v1.0"/>
</eAnnotations>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Loop">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 2, Fri Dec 09 14:35:08 2005
 * @since
v1.0"/>
</eAnnotations>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ManualTask"
eSuperTypes="#//Task">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 1, Fri Dec 09 14:35:08 2005
 * @since
v1.0"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="Performers"
upperBound="-1"
eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Task"
eSuperTypes="#//Activity">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 4, Fri Dec 09 14:35:09 2005
 * @since
v1.0"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="TaskType"
lowerBound="1"
eType="#//TaskType"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Message"
eSuperTypes="#//Trigger">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 9, Fri Dec 09 14:35:08 2005
 * @since
v1.0"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="From"
lowerBound="1" eType="#//Participant"
containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="Property"
upperBound="-1"
eType="#//Property" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="To"
lowerBound="1" eType="#//Participant"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="MessageFlow"
eSuperTypes="#//GraphicalConnectingObject">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 13, Fri Dec 09 14:35:08 2005
 * @since
v1.0"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="Message"
eType="#//Message"
containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="MultiInstance">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 2, Fri Dec 09 14:35:08 2005
 * @since
v1.0"/>
</eAnnotations>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="MultiInstanceLoopActivity"
eSuperTypes="#//Activity">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 1, Fri Dec 09 14:35:08 2005
 * @since
v1.0"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="LoopCounter"
lowerBound="1"
eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EInt" defaultValueLiteral="0"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="MI_Condition"
lowerBound="1"
eType="#//Expression"/>
<eStructuralFeatures xsi:type="ecore:EReference"
name="ComplexMI_FlowCondition"
eType="#//Expression"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="MI_FlowCondition" lowerBound="1"
eType="#//MIFlowConditionType"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="MI_Ordering"
lowerBound="1"
eType="#//MIOrderingType"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Multiple"
eSuperTypes="#//Result">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 3, Fri Dec 09 14:35:09 2005
 * @since
v1.0"/>
</eAnnotations>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Output">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 1, Fri Dec 09 14:35:09 2005
 * @since
v1.0"/>
</eAnnotations>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ParallerFork_Join"
eSuperTypes="#//Gateway">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 2, Fri Dec 09 14:35:09 2005
 * @since
v1.0"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="Gates"
upperBound="-1"
eType="#//Gate"/>
<eStructuralFeatures xsi:type="ecore:EReference"
name="OutgoingSequenceFlow" lowerBound="1"
eType="#//SequenceFlow" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="Assignments"
upperBound="-1"
eType="#//Assignment" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Participant">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 3, Fri Dec 09 14:35:09 2005
 * @since
v1.0"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="Entity"
eType="#//Entity"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="Role"
eType="#//Role"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="ParticipantType" upperBound="-1"
eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Pool"
eSuperTypes="#//Swimlane">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 6, Fri Dec 09 14:35:09 2005
 * @since
v1.0"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="Process"
eType="#//Process"
containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="Participant"
lowerBound="1"
eType="#//Participant" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="lanes"
lowerBound="1" upperBound="-1"
eType="#//Lane" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute"
name="BoundaryVisible" lowerBound="1"
eType="ecore:EDataType
http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
defaultValueLiteral="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Process">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value=" * 
 * @author
s
 * @version 9, Fri Dec 09 14:35:09 2005
 * @since
v1.0"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference"
name="AdHocCompletionCondition"
eType="#//Expression" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="Properties"
upperBound="-1"
eType="#//Property" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="Assignments"
upperBound="-1"
eType="#//Assignment" containment="tru
|
|
|
Re: [ATL] how to use entity reference in input model [message #4666 is a reply to message #4586] |
Fri, 29 December 2006 04:43   |
Eclipse User |
|
|
|
Hi,
Thanks for the metamodel.
But you are right: it is big.
It would help a lot if you could find the smallest metamodel exhibiting
the problematic behavior.
Regards,
Frédéric Jouault
brajesh K. wrote:
> Hi ,
> thanks for response Frédéric.
> actually my metamodel file is too big , nevertheless i give this metamodel.
>
> MetaModel :bpmn.ecore
> ========================
> //////////////////////////////////////////////////////////// ///////////////////
>
> <?xml version="1.0" encoding="UTF-8"?>
> <ecore:EPackage xmi:version="2.0"
> xmlns:xmi="http://www.omg.org/XMI"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="bpdm"
> nsURI="bpdm" nsPrefix="bpdm">
> <eClassifiers xsi:type="ecore:EClass" name="Activity"
> eSuperTypes="#//FlowObject">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 5, Fri Dec 09 14:35:07 2005
 * @since
> v1.0"/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EReference" name="InputSets"
> upperBound="-1"
> eType="#//Input" containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="OutputSets"
> upperBound="-1"
> eType="#//Output" containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="IORules"
> upperBound="-1"
> eType="#//Expression" containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="Properties"
> upperBound="-1"
> eType="#//Property" containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="StartQuantity"
> lowerBound="1"
> eType="ecore:EDataType
> http://www.eclipse.org/emf/2002/Ecore#//EInt" defaultValueLiteral="1"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="ActivityType"
> lowerBound="1"
> eType="#//ActivityType"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="Status"
> lowerBound="1"
> eType="#//ActivityStatus"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="LoopType"
> lowerBound="1"
> eType="#//ActivityLoopType"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="FlowObject"
> eSuperTypes="#//GraphicalObject">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 8, Fri Dec 09 14:35:08 2005
 * @since
> v1.0"/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EReference" name="Pool"
> lowerBound="1" eType="#//Pool"
> containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="Lanes"
> upperBound="-1"
> eType="#//Lane" containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="Assignments"
> upperBound="-1"
> eType="#//Assignment" containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="Name"
> lowerBound="1" eType="ecore:EDataType
> http://www.eclipse.org/emf/2002/Ecore#//EString"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="String"/>
> <eClassifiers xsi:type="ecore:EClass" name="AdHoc">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 1, Fri Dec 09 14:35:07 2005
 * @since
> v1.0"/>
> </eAnnotations>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="Annotation"
> eSuperTypes="#//Artifact">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 3, Fri Dec 09 14:35:07 2005
 * @since
> v1.0"/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="Text"
> lowerBound="1" eType="ecore:EDataType
> http://www.eclipse.org/emf/2002/Ecore#//EString"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="Artifact"
> eSuperTypes="#//GraphicalObject">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 5, Fri Dec 09 14:35:07 2005
 * @since
> v1.0"/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EReference" name="Pool"
> eType="#//Pool" containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="Lane"
> upperBound="-1" eType="#//Lane"
> containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="ArtifactType"
> lowerBound="1"
> eType="#//ArtifactType"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="GraphicalObject"
> eSuperTypes="#//BPDElement">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 3, Fri Dec 09 14:35:08 2005
 * @since
> v1.0"/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="Categories"
> upperBound="-1"
> eType="ecore:EDataType
> http://www.eclipse.org/emf/2002/Ecore#//EString"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="Documenation"
> eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="Assignment">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 10, Fri Dec 09 14:35:07 2005
 * @since
> v1.0"/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EReference" name="From"
> lowerBound="1" eType="#//Expression"
> containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="To"
> lowerBound="1" eType="#//Property"
> containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="AssignTime"
> eType="#//AssignTime"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="GraphicalConnectingObject"
> eSuperTypes="#//BPDElement">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 2, Fri Dec 09 14:35:08 2005
 * @since
> v1.0"/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EReference" name="source"
> lowerBound="1"
> eType="#//Object" containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="target"
> lowerBound="1"
> eType="#//Object" containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="Name"
> eType="#//String"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="Association"
> eSuperTypes="#//GraphicalConnectingObject">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 6, Fri Dec 09 14:35:07 2005
 * @since
> v1.0"/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="Direction"
> lowerBound="1"
> eType="#//AssociationDirection"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="BPDElement"
> eSuperTypes="#//Object">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 1, Fri Dec 09 14:35:08 2005
 * @since
> v1.0"/>
> </eAnnotations>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="Object">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 11, Fri Dec 09 14:35:09 2005
 * @since
> v1.0"/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EReference" name="Id"
> lowerBound="1" eType="ecore:EClass
> http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="BusinessProcessDiagram">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 3, Fri Dec 09 14:35:08 2005
 * @since
> v1.0"/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EReference" name="Pools"
> lowerBound="1" upperBound="-1"
> eType="#//Pool" containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="Id"
> eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
> changeable="false" defaultValueLiteral="0"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="Name"
> lowerBound="1" eType="ecore:EDataType
> http://www.eclipse.org/emf/2002/Ecore#//EString"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="Documentation"
> eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="CreationDate"
> eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="QueryLanguage"
> eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute"
> name="ExpressionLanguage" eType="ecore:EDataType
> http://www.eclipse.org/emf/2002/Ecore#//EString"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute"
> name="ModificationDate" eType="ecore:EDataType
> http://www.eclipse.org/emf/2002/Ecore#//EDate"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="Version"
> eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="Author"
> eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="Language"
> eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="Date">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 1, Fri Dec 09 14:35:08 2005
 * @since
> v1.0"/>
> </eAnnotations>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="Cancel"
> eSuperTypes="#//Result">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 2, Fri Dec 09 14:35:08 2005
 * @since
> v1.0"/>
> </eAnnotations>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="Result">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 2, Fri Dec 09 14:35:09 2005
 * @since
> v1.0"/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EReference" name="Name"
> upperBound="-1" eType="#//String"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="Trigger">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 2, Fri Dec 09 14:35:09 2005
 * @since
> v1.0"/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EReference" name="Name"
> upperBound="-1" eType="#//String"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="CollapsedSubProcess"
> eSuperTypes="#//SubProcess">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 2, Fri Dec 09 14:35:08 2005
 * @since
> v1.0"/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EReference" name="Loop"
> lowerBound="1" eType="#//Loop"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="MultiInstance"
> lowerBound="1"
> eType="#//MultiInstance"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="Compensation"
> lowerBound="1"
> eType="#//Compensation"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="AdHoc"
> lowerBound="1" eType="ecore:EDataType
> http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="SubProcess"
> eSuperTypes="#//Activity">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 3, Fri Dec 09 14:35:09 2005
 * @since
> v1.0"/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EReference" name="Transaction"
> eType="#//Transaction"
> containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute"
> name="IsATransaction" lowerBound="1"
> eType="ecore:EDataType
> http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
> defaultValueLiteral="false"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute"
> name="SubProcessType" lowerBound="1"
> eType="#//SubProcessType"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="Collection">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 1, Fri Dec 09 14:35:08 2005
 * @since
> v1.0"/>
> </eAnnotations>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="Compensation"
> eSuperTypes="#//Result">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 4, Fri Dec 09 14:35:08 2005
 * @since
> v1.0"/>
> </eAnnotations>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="ComplexDecision_Merge"
> eSuperTypes="#//Gateway">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 2, Fri Dec 09 14:35:08 2005
 * @since
> v1.0"/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EReference" name="Gates"
> upperBound="-1"
> eType="#//Gate" containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EReference"
> name="OutgoingSequenceFlow" lowerBound="1"
> eType="#//SequenceFlow" containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="outgoing2"
> upperBound="-1"
> eType="#//SequenceFlow"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="Assignments"
> upperBound="-1"
> eType="#//Assignment" containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EReference"
> name="IncomingCondition" eType="#//Expression"/>
> <eStructuralFeatures xsi:type="ecore:EReference"
> name="OutgoingCondition" eType="#//Expression"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="Gateway"
> eSuperTypes="#//FlowObject">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 4, Fri Dec 09 14:35:08 2005
 * @since
> v1.0"/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="GatewayType"
> lowerBound="1"
> eType="#//GatewayType"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="DataBasedGateway"
> eSuperTypes="#//Gateway">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 2, Fri Dec 09 14:35:08 2005
 * @since
> v1.0"/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EReference" name="Gates"
> upperBound="-1"
> eType="#//Gate" containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="DefaultGate"
> eType="#//Gate"
> containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EReference"
> name="OutgoingSequenceFlow" lowerBound="1"
> eType="#//SequenceFlow" containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="Assignments1"
> upperBound="-1"
> eType="#//Assignment" containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="Assignments2"
> upperBound="-1"
> eType="#//Assignment" containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="MarkerVisible"
> lowerBound="1"
> eType="ecore:EDataType
> http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
> defaultValueLiteral="false"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="XORType"
> lowerBound="1"
> eType="#//XORType"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="ExclusiveDecision_Merge"
> eSuperTypes="#//Gateway">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 2, Fri Dec 09 14:35:08 2005
 * @since
> v1.0"/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="XORType"
> lowerBound="1"
> eType="#//XORType"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute"
> name="InstantiateFalse" lowerBound="1"
> eType="ecore:EDataType
> http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="Gates"
> lowerBound="2" upperBound="-1"
> eType="#//Gate"/>
> <eStructuralFeatures xsi:type="ecore:EReference"
> name="OutgoingSequenceFlow" lowerBound="1"
> eType="#//SequenceFlow" containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="Assignments"
> upperBound="-1"
> eType="#//Assignment" containment="true"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="DataObject"
> eSuperTypes="#//Artifact">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 3, Fri Dec 09 14:35:08 2005
 * @since
> v1.0"/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EReference" name="Properties"
> upperBound="-1"
> eType="#//Property" containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute"
> name="RequiredForStart" lowerBound="1"
> eType="ecore:EDataType
> http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
> defaultValueLiteral="true"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute"
> name="ProducedAtCompletion" lowerBound="1"
> eType="ecore:EDataType
> http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
> defaultValueLiteral="true"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="Name"
> lowerBound="1" eType="ecore:EDataType
> http://www.eclipse.org/emf/2002/Ecore#//EString"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="State"
> eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="EmbeddedSubProcess"
> eSuperTypes="#//CollapsedSubProcess">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 1, Fri Dec 09 14:35:08 2005
 * @since
> v1.0"/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EReference"
> name="GraphicalElements" upperBound="-1"
> eType="#//Object" containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="AdHocOrdering"
> eType="#//AdHocOrdering"/>
> <eStructuralFeatures xsi:type="ecore:EReference"
> name="AdHocCompletionCondition"
> eType="#//Expression"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="End" eSuperTypes="#//Event">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 1) Constraint on
> Implementation:-
{ if (End.Result.Name == Messag
 * e)
> }
2) Constraint on ErrorCode:-
{ if (End.Result.Name
> == Error)
 * }
3) Constraint on LinkId:-
{
> if (End.Result.Name == Link) }
 
 * 
 *
> @author s
 * @version 4, Fri Dec 09 14:35:08 2005
 *
> @since v1.0"/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EReference" name="Activity"
> lowerBound="1"
> eType="#//Object" containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="Message"
> lowerBound="1"
> eType="#//Message" containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="ProcessRef"
> lowerBound="1"
> eType="#//Process" containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="Result"
> lowerBound="1"
> eType="#//EndTriggers"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="LinkId"
> lowerBound="1"
> eType="ecore:EDataType
> http://www.eclipse.org/emf/2002/Ecore#//EString"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="ErrorCode"
> lowerBound="1"
> eType="ecore:EDataType
> http://www.eclipse.org/emf/2002/Ecore#//EString"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="Results"
> lowerBound="2"
> upperBound="-1" eType="#//EndTriggers"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute"
> name="Implementation" lowerBound="1"
> eType="ecore:EDataType
> http://www.eclipse.org/emf/2002/Ecore#//EString"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="Event"
> eSuperTypes="#//FlowObject">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 3, Fri Dec 09 14:35:08 2005
 * @since
> v1.0"/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="EventType"
> lowerBound="1"
> eType="ecore:EDataType
> http://www.eclipse.org/emf/2002/Ecore#//EString" defaultValueLiteral=""/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="Entity">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 1, Fri Dec 09 14:35:08 2005
 * @since
> v1.0"/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="Name"
> lowerBound="1" eType="ecore:EDataType
> http://www.eclipse.org/emf/2002/Ecore#//EString"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="Error"
> eSuperTypes="#//Result">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 2, Fri Dec 09 14:35:08 2005
 * @since
> v1.0"/>
> </eAnnotations>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="EventBasedGateway"
> eSuperTypes="#//ExclusiveDecision_Merge">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 2, Fri Dec 09 14:35:08 2005
 * @since
> v1.0"/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EReference" name="Gate"
> upperBound="-1" eType="#//Gate"
> containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EReference"
> name="outgoingSeqFlow" lowerBound="1"
> eType="#//SequenceFlow" containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EReference"
> name="IncomingSeqFlow" upperBound="-1"
> eType="#//SequenceFlow"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="assignment3"
> upperBound="-1"
> eType="#//Assignment" containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="Instantiate"
> eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
> defaultValueLiteral="false"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="XORType"
> upperBound="-1"
> eType="#//String"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="ExpandedSubProcess"
> eSuperTypes="#//SubProcess">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 3, Fri Dec 09 14:35:08 2005
 * @since
> v1.0"/>
> </eAnnotations>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="Expression">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 11, Fri Dec 09 14:35:08 2005
 * @since
> v1.0"/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="Expression"
> lowerBound="1"
> eType="ecore:EDataType
> http://www.eclipse.org/emf/2002/Ecore#//EString"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="Gate">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 6, Fri Dec 09 14:35:08 2005
 * @since
> v1.0"/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EReference" name="SequenceFlow"
> lowerBound="1"
> eType="#//SequenceFlow"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="Group"
> eSuperTypes="#//Artifact">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 3, Fri Dec 09 14:35:08 2005
 * @since
> v1.0"/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="Name"
> eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="InclusiveDecision_Merge"
> eSuperTypes="#//Gateway">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 2, Fri Dec 09 14:35:08 2005
 * @since
> v1.0"/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EReference" name="DefaultGate"
> eType="#//Gate"
> containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="Gates"
> upperBound="-1"
> eType="#//Gate"/>
> <eStructuralFeatures xsi:type="ecore:EReference"
> name="OutgoingSequenceFlow2"
> lowerBound="1" eType="#//SequenceFlow" containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="Assignments1"
> upperBound="-1"
> eType="#//Assignment" containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EReference"
> name="OutgoingSequenceFlow1"
> lowerBound="1" eType="#//SequenceFlow" containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="Assignments2"
> upperBound="-1"
> eType="#//Assignment" containment="true"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="IndependentSubProcess"
> eSuperTypes="#//CollapsedSubProcess">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 1, Fri Dec 09 14:35:08 2005
 * @since
> v1.0"/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EReference" name="DiagramRef"
> lowerBound="1"
> eType="#//BusinessProcessDiagram" containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="ProcessRef"
> lowerBound="1"
> eType="#//Process" containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EReference"
> name="InputPropertyMaps" upperBound="-1"
> eType="#//Expression" containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EReference"
> name="OutPutPropertyMaps" upperBound="-1"
> eType="#//Expression" containment="true"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="Input">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 1, Fri Dec 09 14:35:08 2005
 * @since
> v1.0"/>
> </eAnnotations>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="Intermediate"
> eSuperTypes="#//Event">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 1) Constraint on
> Implementation:-
{ if (Intermediate.Trigger.Name
 *
> == Message) }
2) Constraint on TimeDate and
> TimeCycle:-
{ if (In
 * termediate.Trigger.Name ==
> Timer) }
3) Constraint on ErrorCode:-
 
 * {
> if (Intermediate.Trigger.Name == Error }
4) Constraint on
> LinkI
 * d:-
{ if (Intermediate.Trigger.Name == Link
> }
 
 * 
 * @author s
 * @version 3,
> Fri Dec 09 14:35:08 2005
 * @since v1.0"/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EReference" name="ProcessRef"
> lowerBound="1"
> eType="#//Process" containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="Activity"
> lowerBound="1"
> eType="#//Object" containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="Target"
> eType="#//Object"
> containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="Message"
> lowerBound="1"
> eType="#//Message" containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="ErrorCode"
> lowerBound="1"
> eType="#//String"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="LinkId"
> lowerBound="1"
> eType="#//String"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute"
> name="Implementation" lowerBound="1"
> eType="#//ImplementationType"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="Trigger"
> lowerBound="1"
> eType="#//IntermediateTriggers"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="Triggers"
> lowerBound="2"
> upperBound="-1" eType="#//IntermediateTriggers"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="RuleName"
> lowerBound="1"
> eType="#//Rule"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="TimeCycle"
> eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="TimeDate"
> eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="Lane"
> eSuperTypes="#//Swimlane">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 5, Fri Dec 09 14:35:08 2005
 * @since
> v1.0"/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EReference" name="parentpool"
> lowerBound="1"
> eType="#//Pool" containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="parentLane"
> eType="#//Lane"
> containment="true"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="Swimlane"
> eSuperTypes="#//GraphicalObject">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 3, Fri Dec 09 14:35:09 2005
 * @since
> v1.0"/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="Name"
> lowerBound="1" eType="ecore:EDataType
> http://www.eclipse.org/emf/2002/Ecore#//EString"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="Link" eSuperTypes="#//Result">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 3, Fri Dec 09 14:35:08 2005
 * @since
> v1.0"/>
> </eAnnotations>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="Loop">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 2, Fri Dec 09 14:35:08 2005
 * @since
> v1.0"/>
> </eAnnotations>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="ManualTask"
> eSuperTypes="#//Task">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 1, Fri Dec 09 14:35:08 2005
 * @since
> v1.0"/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="Performers"
> upperBound="-1"
> eType="ecore:EDataType
> http://www.eclipse.org/emf/2002/Ecore#//EString"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="Task"
> eSuperTypes="#//Activity">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 4, Fri Dec 09 14:35:09 2005
 * @since
> v1.0"/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="TaskType"
> lowerBound="1"
> eType="#//TaskType"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="Message"
> eSuperTypes="#//Trigger">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 9, Fri Dec 09 14:35:08 2005
 * @since
> v1.0"/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EReference" name="From"
> lowerBound="1" eType="#//Participant"
> containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="Property"
> upperBound="-1"
> eType="#//Property" containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="To"
> lowerBound="1" eType="#//Participant"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="MessageFlow"
> eSuperTypes="#//GraphicalConnectingObject">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 13, Fri Dec 09 14:35:08 2005
 * @since
> v1.0"/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EReference" name="Message"
> eType="#//Message"
> containment="true"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="MultiInstance">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 2, Fri Dec 09 14:35:08 2005
 * @since
> v1.0"/>
> </eAnnotations>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="MultiInstanceLoopActivity"
> eSuperTypes="#//Activity">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 1, Fri Dec 09 14:35:08 2005
 * @since
> v1.0"/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="LoopCounter"
> lowerBound="1"
> eType="ecore:EDataType
> http://www.eclipse.org/emf/2002/Ecore#//EInt" defaultValueLiteral="0"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="MI_Condition"
> lowerBound="1"
> eType="#//Expression"/>
> <eStructuralFeatures xsi:type="ecore:EReference"
> name="ComplexMI_FlowCondition"
> eType="#//Expression"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute"
> name="MI_FlowCondition" lowerBound="1"
> eType="#//MIFlowConditionType"/>
> <eStructuralFeatures xsi:type="ecore:EAttribute" name="MI_Ordering"
> lowerBound="1"
> eType="#//MIOrderingType"/>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="Multiple"
> eSuperTypes="#//Result">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 3, Fri Dec 09 14:35:09 2005
 * @since
> v1.0"/>
> </eAnnotations>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="Output">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 1, Fri Dec 09 14:35:09 2005
 * @since
> v1.0"/>
> </eAnnotations>
> </eClassifiers>
> <eClassifiers xsi:type="ecore:EClass" name="ParallerFork_Join"
> eSuperTypes="#//Gateway">
> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
> <details key="documentation" value=" * 
 * @author
> s
 * @version 2, Fri Dec 09 14:35:09 2005
 * @since
> v1.0"/>
> </eAnnotations>
> <eStructuralFeatures xsi:type="ecore:EReference" name="Gates"
> upperBound="-1"
> eType="#//Gate"/>
> <eStructuralFeatures xsi:type="ecore:EReference"
> name="OutgoingSequenceFlow" lowerBound="1"
> eType="#//SequenceFlow" containment="true"/>
> <eStructuralFeatures xsi:type="ecore:EReference" name="Assignments"
> upperBound="-1"
> eType="#//Assignment" containment="t
|
|
|
Re: [ATL] how to use entity reference in input model [message #4874 is a reply to message #4666] |
Tue, 02 January 2007 05:59  |
Eclipse User |
|
|
|
Hi ,
here i am posting small meta model in km3 format.
============================================================ ====================
class BusinessProcessDiagram
{
attribute Name:String;
reference pools[*] : Pool;
}
class Pool extends ObjectID
{
attribute Name:String;
attribute Document:String;
reference Process[*] : Process;
}
class Process
{
attribute GraphicalElements:Task;
attribute Name:String;
}
class Task extends ObjectID
{
attribute GraphicalElements:Task;
reference pools[*] : Pool;
}
class ObjectID
{
attribute Id:String;
}
============================================================ ===================
my sample input model file:
<?xml version="1.0" encoding="ASCII"?>
<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bp="bpdm">
<bp:BusinessProcessDiagram xmi:id="_tLfiYJVvEdusYsgvXrrVmQ" Name="BPD1">
<Pools xmi:id="_45T0YJVvEdusYsgvXrrVmQ" Id="_uqHcgJVvEdusYsgvXrrVmQ"
Documenation="New Document" Name="Pool1">
<Process xmi:id="_WFoRwZcqEdusf_1zRX5pHw" Name="Process1">
<GraphicalElements xsi:type="bp:Task"
xmi:id="_eK1eUJcqEdusf_1zRX5pHw" Id="_aNhUMJcqEdusf_1zRX5pHw"
Pool="_45T0YJVvEdusYsgvXrrVmQ" Name="Task1"/>
</Process>
</Pools>
</bp:BusinessProcessDiagram>
</xmi:XMI>
============================================================ ==================
my rule for this input model:
helper context bpdm!BusinessProcessDiagram def : getGraphicalElement :
Sequence(bpdm!Object) =
self.Pools->collect(e|e)->asSequence()->collect(process|process.Process)- >asSequence()
->collect->(g|g.GraphicalElement)-> asSequence();
rule bpmn2bpel
{
from input : bpdm!BusinessProcessDiagram
do {
for(p in input.GraphicalElement)
{
p.Name->println();
}
}
}
i am just trying to get all GraphicalElement but it didn't display anything
but when i removed Pool entry from GraphicalElements then it print
GraphicalElements . can you tell me how to reference Pool from
GraphicalElements .
thanks
Regards
Brajesh K
|
|
|
Goto Forum:
Current Time: Sat Jun 07 04:51:45 EDT 2025
Powered by FUDForum. Page generated in 1.04296 seconds
|