Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Programmatic Navigation of a UML2 Model with Custom Profiles
Programmatic Navigation of a UML2 Model with Custom Profiles [message #470132] Wed, 07 February 2007 13:19 Go to next message
Eclipse UserFriend
Originally posted by: mtribast.inf.ed.ac.uk

This is a multi-part message in MIME format.
--------------030402040900050805080406
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi all,

I've been trying to navigate a UML2 Model to which a custom profile has
been applied. I defined both the model and the profile by using Rational
Software Architect 7.0.0. I exported the model into the .uml format and
developed a plug-in which reads that file and shows information to the
user. The plug-in runs on the Eclipse run-time workspace of RSA.
The profile extends an Effect with a stereotype called ActiveRate which
has a property (double) called 'value'. I use the following code for
retrieving the information about the stereotypes applied to a
transition's effect:

/* t is an instance of Transition */
Behavior behavior = t.getEffect();
buf.append(" Effect: " + ((behavior == null) ?
"None":behavior.getName())+ "\n");
if (behavior != null) {
for (int s = 0; s < behavior.getAppliedStereotypes().size();s++) {
Stereotype aStereoType = (Stereotype)
behavior.getAppliedStereotypes().get(s);
buf.append(" Stereotype: " + aStereoType.getName()+ "\n");
}
}

Although the name of the effect is shown correctly, the size of the
applied stereotype list is 0. How can I use the API to discover if a
Transition.getEffect() is applied a stereotype described in a custom
profile?

I attach the exported model and custom profile. (RSA uses UML2
2.0.2v200610251409)

Thanks for your attention,
Mirco






--------------030402040900050805080406
Content-Type: text/xml;
name="FirstModel.uml"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="FirstModel.uml"

<?xml version="1.0" encoding="UTF-8"?>
<xmi:XMI xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:PEPAProfile="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML" xsi:schemaLocation="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13 PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw">
<uml:Model xmi:id="_19s3j7adEduYg9z0frhrGw" name="FirstModel">
<packageImport xmi:id="_19s3kLadEduYg9z0frhrGw">
<importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
</packageImport>
<packagedElement xmi:type="uml:StateMachine" xmi:id="_19s3kbadEduYg9z0frhrGw" name="StateMachine">
<region xmi:id="_19s3kradEduYg9z0frhrGw" name="Region1">
<subvertex xmi:type="uml:Pseudostate" xmi:id="_19s3k7adEduYg9z0frhrGw" outgoing="_19s3l7adEduYg9z0frhrGw"/>
<subvertex xmi:type="uml:State" xmi:id="_19s3lLadEduYg9z0frhrGw" name="P1" outgoing="_19s3mLadEduYg9z0frhrGw" incoming="_19s3l7adEduYg9z0frhrGw"/>
<subvertex xmi:type="uml:State" xmi:id="_19s3lbadEduYg9z0frhrGw" name="P2" outgoing="_19s3mradEduYg9z0frhrGw" incoming="_19s3mLadEduYg9z0frhrGw"/>
<subvertex xmi:type="uml:FinalState" xmi:id="_19s3lradEduYg9z0frhrGw" incoming="_19s3mradEduYg9z0frhrGw"/>
<transition xmi:id="_19s3l7adEduYg9z0frhrGw" kind="local" target="_19s3lLadEduYg9z0frhrGw" source="_19s3k7adEduYg9z0frhrGw"/>
<transition xmi:id="_19s3mLadEduYg9z0frhrGw" name="a" kind="local" target="_19s3lbadEduYg9z0frhrGw" source="_19s3lLadEduYg9z0frhrGw">
<effect xmi:type="uml:OpaqueBehavior" xmi:id="_19s3mbadEduYg9z0frhrGw" name="anEffect"/>
</transition>
<transition xmi:id="_19s3mradEduYg9z0frhrGw" kind="local" target="_19s3lradEduYg9z0frhrGw" source="_19s3lbadEduYg9z0frhrGw"/>
</region>
</packagedElement>
<profileApplication xmi:id="_19s3m7adEduYg9z0frhrGw">
<eAnnotations xmi:id="_19s3nLadEduYg9z0frhrGw" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href=" pathmap://UML_PROFILES/Standard.profile.uml#_yzU58YinEdqtvbn fB2L_5w"/>
</eAnnotations>
<appliedProfile href="pathmap://UML_PROFILES/Standard.profile.uml#_0"/>
</profileApplication>
<profileApplication xmi:id="_19s3nbadEduYg9z0frhrGw">
<eAnnotations xmi:id="_19s3nradEduYg9z0frhrGw" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="Default.profile.uml#_19s3KbadEduYg9z0frhrGw"/>
</eAnnotations>
<appliedProfile href="Default.profile.uml#_19s3J7adEduYg9z0frhrGw"/>
</profileApplication>
<profileApplication xmi:id="_19s3n7adEduYg9z0frhrGw">
<eAnnotations xmi:id="_19s3oLadEduYg9z0frhrGw" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="Deployment.profile.uml#_19s3pradEduYg9z0frhrGw"/>
</eAnnotations>
<appliedProfile href="Deployment.profile.uml#_19s3pLadEduYg9z0frhrGw"/>
</profileApplication>
<profileApplication xmi:id="_19s3obadEduYg9z0frhrGw">
<eAnnotations xmi:id="_19s3oradEduYg9z0frhrGw" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw"/ >
</eAnnotations>
<appliedProfile href="PEPA.profile.uml.profile.uml#_19s2fLadEduYg9z0frhrGw"/ >
</profileApplication>
</uml:Model>
<PEPAProfile:ActiveRate xmi:id="_19s3o7adEduYg9z0frhrGw" value="2.0" base_Behavior="_19s3mbadEduYg9z0frhrGw"/>
</xmi:XMI>

--------------030402040900050805080406
Content-Type: text/xml;
name="PEPA.profile.uml.profile.uml"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="PEPA.profile.uml.profile.uml"

<?xml version="1.0" encoding="UTF-8"?>
<uml:Profile xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML" xmi:id="_19s2fLadEduYg9z0frhrGw" name="PEPAProfile" metamodelReference="_19s3FLadEduYg9z0frhrGw">
<eAnnotations xmi:id="_19s2fbadEduYg9z0frhrGw" source="http://www.eclipse.org/uml2/2.0.0/UML">
<contents xmi:type="ecore:EPackage" xmi:id="_19s2fradEduYg9z0frhrGw" name="PEPAProfile" nsURI="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13" nsPrefix="PEPAProfile">
<eClassifiers xmi:type="ecore:EClass" xmi:id="_19s2f7adEduYg9z0frhrGw" name="ActiveRate">
<eAnnotations xmi:id="_19s2gLadEduYg9z0frhrGw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_19s3FbadEduYg9z0frhrGw"/>
<eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_19s2gbadEduYg9z0frhrGw" name="value" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
</eStructuralFeatures>
<eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_19s2gradEduYg9z0frhrGw" name="base_Behavior" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
</eStructuralFeatures>
</eClassifiers>
<eClassifiers xmi:type="ecore:EClass" xmi:id="_19s2g7adEduYg9z0frhrGw" name="PassiveRate">
<eAnnotations xmi:id="_19s2hLadEduYg9z0frhrGw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_19s3GradEduYg9z0frhrGw"/>
<eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_19s2hbadEduYg9z0frhrGw" name="multiplicity" ordered="false" lowerBound="1" defaultValueLiteral="1">
<eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
</eStructuralFeatures>
<eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_19s2hradEduYg9z0frhrGw" name="base_Trigger" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
</eStructuralFeatures>
</eClassifiers>
<eClassifiers xmi:type="ecore:EClass" xmi:id="_19s2h7adEduYg9z0frhrGw" name="UtilisationResult">
<eAnnotations xmi:id="_19s2iLadEduYg9z0frhrGw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_19s3ILadEduYg9z0frhrGw"/>
<eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_19s2ibadEduYg9z0frhrGw" name="value" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
</eStructuralFeatures>
<eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_19s2iradEduYg9z0frhrGw" name="base_Comment" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
</eStructuralFeatures>
</eClassifiers>
</contents>
<contents xmi:type="ecore:EPackage" xmi:id="_19s2i7adEduYg9z0frhrGw" name="PEPAProfile" nsURI="http:///schemas/PEPAProfile/_PYPuQLXrEduQbrr1ndBC-A/12" nsPrefix="PEPAProfile">
<eClassifiers xmi:type="ecore:EClass" xmi:id="_19s2jLadEduYg9z0frhrGw" name="ActiveRate">
<eAnnotations xmi:id="_19s2jbadEduYg9z0frhrGw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_19s3FbadEduYg9z0frhrGw"/>
<eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_19s2jradEduYg9z0frhrGw" name="value" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
</eStructuralFeatures>
<eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_19s2j7adEduYg9z0frhrGw" name="base_Behavior" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
</eStructuralFeatures>
</eClassifiers>
<eClassifiers xmi:type="ecore:EClass" xmi:id="_19s2kLadEduYg9z0frhrGw" name="PassiveRate">
<eAnnotations xmi:id="_19s2kbadEduYg9z0frhrGw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_19s3GradEduYg9z0frhrGw"/>
<eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_19s2kradEduYg9z0frhrGw" name="multiplicity" ordered="false" lowerBound="1" defaultValueLiteral="1">
<eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
</eStructuralFeatures>
<eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_19s2k7adEduYg9z0frhrGw" name="base_Trigger" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
</eStructuralFeatures>
</eClassifiers>
<eClassifiers xmi:type="ecore:EClass" xmi:id="_19s2lLadEduYg9z0frhrGw" name="UtilisationResult">
<eAnnotations xmi:id="_19s2lbadEduYg9z0frhrGw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_19s3ILadEduYg9z0frhrGw"/>
<eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_19s2lradEduYg9z0frhrGw" name="value" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
</eStructuralFeatures>
<eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_19s2l7adEduYg9z0frhrGw" name="base_Comment" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
</eStructuralFeatures>
<eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_19s2mLadEduYg9z0frhrGw" name="state" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
</eStructuralFeatures>
</eClassifiers>
</contents>
<contents xmi:type="ecore:EPackage" xmi:id="_19s2mbadEduYg9z0frhrGw" name="PEPAProfile" nsURI="http:///schemas/PEPAProfile/_CQeHELXoEduQbrr1ndBC-A/11" nsPrefix="PEPAProfile">
<eClassifiers xmi:type="ecore:EClass" xmi:id="_19s2mradEduYg9z0frhrGw" name="ActiveRate">
<eAnnotations xmi:id="_19s2m7adEduYg9z0frhrGw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_19s3FbadEduYg9z0frhrGw"/>
<eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_19s2nLadEduYg9z0frhrGw" name="value" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
</eStructuralFeatures>
<eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_19s2nbadEduYg9z0frhrGw" name="base_Behavior" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
</eStructuralFeatures>
</eClassifiers>
<eClassifiers xmi:type="ecore:EClass" xmi:id="_19s2nradEduYg9z0frhrGw" name="PassiveRate">
<eAnnotations xmi:id="_19s2n7adEduYg9z0frhrGw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_19s3GradEduYg9z0frhrGw"/>
<eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_19s2oLadEduYg9z0frhrGw" name="multiplicity" ordered="false" lowerBound="1" defaultValueLiteral="1">
<eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
</eStructuralFeatures>
<eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_19s2obadEduYg9z0frhrGw" name="base_Trigger" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
</eStructuralFeatures>
</eClassifiers>
<eClassifiers xmi:type="ecore:EClass" xmi:id="_19s2oradEduYg9z0frhrGw" name="UtilisationResult">
<eAnnotations xmi:id="_19s2o7adEduYg9z0frhrGw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_19s3ILadEduYg9z0frhrGw"/>
<eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_19s2pLadEduYg9z0frhrGw" name="value" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
</eStructuralFeatures>
<eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_19s2pbadEduYg9z0frhrGw" name="base_Comment" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
</eStructuralFeatures>
</eClassifiers>
</contents>
<contents xmi:type="ecore:EPackage" xmi:id="_19s2pradEduYg9z0frhrGw" name="PEPAProfile" nsURI="http:///schemas/PEPAProfile/_1FD1sLXnEduQbrr1ndBC-A/10" nsPrefix="PEPAProfile">
<eClassifiers xmi:type="ecore:EClass" xmi:id="_19s2p7adEduYg9z0frhrGw" name="ActiveRate">
<eAnnotations xmi:id="_19s2qLadEduYg9z0frhrGw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_19s3FbadEduYg9z0frhrGw"/>
<eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_19s2qbadEduYg9z0frhrGw" name="value" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
</eStructuralFeatures>
<eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_19s2qradEduYg9z0frhrGw" name="base_Behavior" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
</eStructuralFeatures>
</eClassifiers>
<eClassifiers xmi:type="ecore:EClass" xmi:id="_19s2q7adEduYg9z0frhrGw" name="PassiveRate">
<eAnnotations xmi:id="_19s2rLadEduYg9z0frhrGw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_19s3GradEduYg9z0frhrGw"/>
<eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_19s2rbadEduYg9z0frhrGw" name="multiplicity" ordered="false" lowerBound="1" defaultValueLiteral="1">
<eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
</eStructuralFeatures>
<eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_19s2rradEduYg9z0frhrGw" name="base_Trigger" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
</eStructuralFeatures>
</eClassifiers>
<eClassifiers xmi:type="ecore:EClass" xmi:id="_19s2r7adEduYg9z0frhrGw" name="UtilisationResult">
<eAnnotations xmi:id="_19s2sLadEduYg9z0frhrGw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_19s3ILadEduYg9z0frhrGw"/>
<eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_19s2sbadEduYg9z0frhrGw" name="value" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
</eStructuralFeatures>
<eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_19s2sradEduYg9z0frhrGw" name="base_Comment" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
</eStructuralFeatures>
<eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_19s2s7adEduYg9z0frhrGw" name="state" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
</eStructuralFeatures>
</eClassifiers>
</contents>
<contents xmi:type="ecore:EPackage" xmi:id="_19s2tLadEduYg9z0frhrGw" name="PEPAProfile" nsURI="http:///schemas/PEPAProfile/_aAgqQLXnEduQbrr1ndBC-A/9" nsPrefix="PEPAProfile">
<eClassifiers xmi:type="ecore:EClass" xmi:id="_19s2tbadEduYg9z0frhrGw" name="ActiveRate">
<eAnnotations xmi:id="_19s2tradEduYg9z0frhrGw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_19s3FbadEduYg9z0frhrGw"/>
<eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_19s2t7adEduYg9z0frhrGw" name="value" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
</eStructuralFeatures>
<eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_19s2uLadEduYg9z0frhrGw" name="base_Behavior" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
</eStructuralFeatures>
</eClassifiers>
<eClassifiers xmi:type="ecore:EClass" xmi:id="_19s2ubadEduYg9z0frhrGw" name="PassiveRate">
<eAnnotations xmi:id="_19s2uradEduYg9z0frhrGw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_19s3GradEduYg9z0frhrGw"/>
<eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_19s2u7adEduYg9z0frhrGw" name="multiplicity" ordered="false" lowerBound="1" defaultValueLiteral="1">
<eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
</eStructuralFeatures>
<eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_19s2vLadEduYg9z0frhrGw" name="base_Trigger" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
</eStructuralFeatures>
</eClassifiers>
<eClassifiers xmi:type="ecore:EClass" xmi:id="_19s2vbadEduYg9z0frhrGw" name="UtilisationResult">
<eAnnotations xmi:id="_19s2vradEduYg9z0frhrGw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_19s3ILadEduYg9z0frhrGw"/>
<eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_19s2v7adEduYg9z0frhrGw" name="value" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
</eStructuralFeatures>
<eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_19s2wLadEduYg9z0frhrGw" name="base_Comment" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
</eStructuralFeatures>
</eClassifiers>
</contents>
<contents xmi:type="ecore:EPackage" xmi:id="_19s2wbadEduYg9z0frhrGw" name="PEPAProfile" nsURI="http:///schemas/PEPAProfile/_XtISYLXnEduQbrr1ndBC-A/8" nsPrefix="PEPAProfile">
<eClassifiers xmi:type="ecore:EClass" xmi:id="_19s2wradEduYg9z0frhrGw" name="ActiveRate">
<eAnnotations xmi:id="_19s2w7adEduYg9z0frhrGw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_19s3FbadEduYg9z0frhrGw"/>
<eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_19s2xLadEduYg9z0frhrGw" name="value" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
</eStructuralFeatures>
<eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_19s2xbadEduYg9z0frhrGw" name="base_Behavior" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
</eStructuralFeatures>
</eClassifiers>
<eClassifiers xmi:type="ecore:EClass" xmi:id="_19s2xradEduYg9z0frhrGw" name="PassiveRate">
<eAnnotations xmi:id="_19s2x7adEduYg9z0frhrGw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_19s3GradEduYg9z0frhrGw"/>
<eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_19s2yLadEduYg9z0frhrGw" name="multiplicity" ordered="false" lowerBound="1" defaultValueLiteral="1">
<eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
</eStructuralFeatures>
<eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_19s2ybadEduYg9z0frhrGw" name="base_Trigger" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
</eStructuralFeatures>
</eClassifiers>
<eClassifiers xmi:type="ecore:EClass" xmi:id="_19s2yradEduYg9z0frhrGw" name="UtilisationResult">
<eAnnotations xmi:id="_19s2y7adEduYg9z0frhrGw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_19s3ILadEduYg9z0frhrGw"/>
<eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_19s2zLadEduYg9z0frhrGw" name="value" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
</eStructuralFeatures>
</eClassifiers>
</contents>
<contents xmi:type="ecore:EPackage" xmi:id="_19s2zbadEduYg9z0frhrGw" name="PEPAProfile" nsURI="http:///schemas/PEPAProfile/_HCgvMLXnEduQbrr1ndBC-A/7" nsPrefix="PEPAProfile">
<eClassifiers xmi:type="ecore:EClass" xmi:id="_19s2zradEduYg9z0frhrGw" name="ActiveRate">
<eAnnotations xmi:id="_19s2z7adEduYg9z0frhrGw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_19s3FbadEduYg9z0frhrGw"/>
<eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_19s20LadEduYg9z0frhrGw" name="value" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
</eStructuralFeatures>
<eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_19s20badEduYg9z0frhrGw" name="base_Behavior" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
</eStructuralFeatures>
</eClassifiers>
<eClassifiers xmi:type="ecore:EClass" xmi:id="_19s20radEduYg9z0frhrGw" name="PassiveRate">
<eAnnotations xmi:id="_19s207adEduYg9z0frhrGw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_19s3GradEduYg9z0frhrGw"/>
<eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_19s21LadEduYg9z0frhrGw" name="multiplicity" ordered="false" lowerBound="1" defaultValueLiteral="1">
<eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
</eStructuralFeatures>
<eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_19s21badEduYg9z0frhrGw" name="base_Trigger" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
</eStructuralFeatures>
</eClassifiers>
</contents>
<contents xmi:type="ecore:EPackage" xmi:id="_19s21radEduYg9z0frhrGw" name="PEPAProfile" nsURI="http:///schemas/PEPAProfile/_nY1ywLXmEduQbrr1ndBC-A/6" nsPrefix="PEPAProfile">
<eClassifiers xmi:type="ecore:EClass" xmi:id="_19s217adEduYg9z0frhrGw" name="ActiveRate">
<eAnnotations xmi:id="_19s22LadEduYg9z0frhrGw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_19s3FbadEduYg9z0frhrGw"/>
<eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_19s22badEduYg9z0frhrGw" name="value" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
</eStructuralFeatures>
<eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_19s22radEduYg9z0frhrGw" name="base_Behavior" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
</eStructuralFeatures>
</eClassifiers>
<eClassifiers xmi:type="ecore:EClass" xmi:id="_19s227adEduYg9z0frhrGw" name="PassiveRate">
<eAnnotations xmi:id="_19s23LadEduYg9z0frhrGw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_19s3GradEduYg9z0frhrGw"/>
<eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_19s23badEduYg9z0frhrGw" name="multiplicity" ordered="false" lowerBound="1" defaultValueLiteral="1">
<eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
</eStructuralFeatures>
<eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_19s23radEduYg9z0frhrGw" name="base_Trigger" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
</eStructuralFeatures>
</eClassifiers>
<eClassifiers xmi:type="ecore:EClass" xmi:id="_19s237adEduYg9z0frhrGw" name="UtilisationResult">
<eAnnotations xmi:id="_19s24LadEduYg9z0frhrGw" source="http://www.eclipse.org/uml2/2.0.0/UML"/>
<eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_19s24badEduYg9z0frhrGw" name="value" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
</eStructuralFeatures>
<eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_19s24radEduYg9z0frhrGw" name="base_Comment" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
</eStructuralFeatures>
</eClassifiers>
</contents>
<contents xmi:type="ecore:EPackage" xmi:id="_19s247adEduYg9z0frhrGw" name="PEPAProfile" nsURI="http:///schemas/PEPAProfile/_gYUWULXmEduQbrr1ndBC-A/5" nsPrefix="PEPAProfile">
<eClassifiers xmi:type="ecore:EClass" xmi:id="_19s25LadEduYg9z0frhrGw" name="ActiveRate">
<eAnnotations xmi:id="_19s25badEduYg9z0frhrGw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_19s3FbadEduYg9z0frhrGw"/>
<eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_19s25radEduYg9z0frhrGw" name="value" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
</eStructuralFeatures>
<eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_19s257adEduYg9z0frhrGw" name="base_Behavior" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
</eStructuralFeatures>
</eClassifiers>
<eClassifiers xmi:type="ecore:EClass" xmi:id="_19s26LadEduYg9z0frhrGw" name="PassiveRate">
<eAnnotations xmi:id="_19s26badEduYg9z0frhrGw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_19s3GradEduYg9z0frhrGw"/>
<eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_19s26radEduYg9z0frhrGw" name="multiplicity" ordered="false" lowerBound="1" defaultValueLiteral="1">
<eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
</eStructuralFeatures>
<eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_19s267adEduYg9z0frhrGw" name="base_Trigger" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
</eStructuralFeatures>
</eClassifiers>
<eClassifiers xmi:type="ecore:EClass" xmi:id="_19s27LadEduYg9z0frhrGw" name="UtilisationResult">
<eAnnotations xmi:id="_19s27badEduYg9z0frhrGw" source="http://www.eclipse.org/uml2/2.0.0/UML"/>
<eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_19s27radEduYg9z0frhrGw" name="value" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
</eStructuralFeatures>
</eClassifiers>
</contents>
<contents xmi:type="ecore:EPackage" xmi:id="_19s277adEduYg9z0frhrGw" name="PEPAProfile" nsURI="http:///schemas/PEPAProfile/_AngQELXmEduQbrr1ndBC-A/4" nsPrefix="PEPAProfile">
<eClassifiers xmi:type="ecore:EClass" xmi:id="_19s28LadEduYg9z0frhrGw" name="ActiveRate">
<eAnnotations xmi:id="_19s28badEduYg9z0frhrGw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_19s3FbadEduYg9z0frhrGw"/>
<eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_19s28radEduYg9z0frhrGw" name="value" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
</eStructuralFeatures>
<eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_19s287adEduYg9z0frhrGw" name="base_Behavior" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
</eStructuralFeatures>
</eClassifiers>
<eClassifiers xmi:type="ecore:EClass" xmi:id="_19s29LadEduYg9z0frhrGw" name="PassiveRate">
<eAnnotations xmi:id="_19s29badEduYg9z0frhrGw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_19s3GradEduYg9z0frhrGw"/>
<eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_19s29radEduYg9z0frhrGw" name="multiplicity" ordered="false" lowerBound="1" defaultValueLiteral="1">
<eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
</eStructuralFeatures>
<eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_19s297adEduYg9z0frhrGw" name="base_Trigger" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
</eStructuralFeatures>
</eClassifiers>
</contents>
<contents xmi:type="ecore:EPackage" xmi:id="_19s2-LadEduYg9z0frhrGw" name="PEPAProfile" nsURI="http:///schemas/PEPAProfile/_j387YLXlEduQbrr1ndBC-A/3" nsPrefix="PEPAProfile">
<eClassifiers xmi:type="ecore:EClass" xmi:id="_19s2-badEduYg9z0frhrGw" name="ActiveRate">
<eAnnotations xmi:id="_19s2-radEduYg9z0frhrGw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_19s3FbadEduYg9z0frhrGw"/>
<eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_19s2-7adEduYg9z0frhrGw" name="value" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
</eStructuralFeatures>
<eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_19s2_LadEduYg9z0frhrGw" name="base_Behavior" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
</eStructuralFeatures>
</eClassifiers>
<eClassifiers xmi:type="ecore:EClass" xmi:id="_19s2_badEduYg9z0frhrGw" name="PassiveRate">
<eAnnotations xmi:id="_19s2_radEduYg9z0frhrGw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_19s3GradEduYg9z0frhrGw"/>
<eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_19s2_7adEduYg9z0frhrGw" name="multiplicity" ordered="false" lowerBound="1" defaultValueLiteral="1">
<eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
</eStructuralFeatures>
<eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_19s3ALadEduYg9z0frhrGw" name="base_Trigger" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
</eStructuralFeatures>
</eClassifiers>
</contents>
<contents xmi:type="ecore:EPackage" xmi:id="_19s3AbadEduYg9z0frhrGw" name="PEPAProfile" nsURI="http:///schemas/PEPAProfile/_iAcnMLXlEduQbrr1ndBC-A/2" nsPrefix="PEPAProfile">
<eClassifiers xmi:type="ecore:EClass" xmi:id="_19s3AradEduYg9z0frhrGw" name="ActiveRate">
<eAnnotations xmi:id="_19s3A7adEduYg9z0frhrGw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_19s3FbadEduYg9z0frhrGw"/>
<eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_19s3BLadEduYg9z0frhrGw" name="name" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eStructuralFeatures>
<eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_19s3BbadEduYg9z0frhrGw" name="value" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
</eStructuralFeatures>
<eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_19s3BradEduYg9z0frhrGw" name="base_Behavior" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
</eStructuralFeatures>
</eClassifiers>
<eClassifiers xmi:type="ecore:EClass" xmi:id="_19s3B7adEduYg9z0frhrGw" name="PassiveRate">
<eAnnotations xmi:id="_19s3CLadEduYg9z0frhrGw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_19s3GradEduYg9z0frhrGw"/>
<eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_19s3CbadEduYg9z0frhrGw" name="multiplicity" ordered="false" lowerBound="1" defaultValueLiteral="1">
<eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
</eStructuralFeatures>
<eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_19s3CradEduYg9z0frhrGw" name="base_Trigger" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
</eStructuralFeatures>
</eClassifiers>
</contents>
<contents xmi:type="ecore:EPackage" xmi:id="_19s3C7adEduYg9z0frhrGw" name="PEPAProfile" nsURI="http:///schemas/PEPAProfile/_fwWz4LXlEduQbrr1ndBC-A/1" nsPrefix="PEPAProfile">
<eClassifiers xmi:type="ecore:EClass" xmi:id="_19s3DLadEduYg9z0frhrGw" name="ActiveRate">
<eAnnotations xmi:id="_19s3DbadEduYg9z0frhrGw" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_19s3FbadEduYg9z0frhrGw"/>
<eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_19s3DradEduYg9z0frhrGw" name="name" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eStructuralFeatures>
<eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_19s3D7adEduYg9z0frhrGw" name="value" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
</eStructuralFeatures>
<eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_19s3ELadEduYg9z0frhrGw" name="base_Behavior" ordered="false" lowerBound="1">
<eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
</eStructuralFeatures>
</eClassifiers>
</contents>
<contents xmi:type="ecore:EPackage" xmi:id="_19s3EbadEduYg9z0frhrGw" name="PEPAProfile" nsURI="http:///schemas/PEPAProfile/_cU29ZrXlEduQbrr1ndBC-A/0" nsPrefix="PEPAProfile"/>
</eAnnotations>
<packageImport xmi:id="_19s3EradEduYg9z0frhrGw">
<importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
</packageImport>
<packageImport xmi:id="_19s3E7adEduYg9z0frhrGw">
<importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/JavaPrimitiveTypes.library.uml#_0"/>
</packageImport>
<packageImport xmi:id="_19s3FLadEduYg9z0frhrGw">
<importedPackage xmi:type="uml:Model" href="pathmap://UML_METAMODELS/UML.metamodel.uml#_0"/>
</packageImport>
<packagedElement xmi:type="uml:Stereotype" xmi:id="_19s3FbadEduYg9z0frhrGw" name="ActiveRate">
<ownedAttribute xmi:id="_19s3FradEduYg9z0frhrGw" name="value" visibility="public">
<type xmi:type="uml:PrimitiveType" href=" pathmap://UML_LIBRARIES/JavaPrimitiveTypes.library.uml#doubl e"/>
</ownedAttribute>
<ownedAttribute xmi:id="_19s3F7adEduYg9z0frhrGw" name="base_Behavior" association="_19s3GLadEduYg9z0frhrGw">
<type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Behavior"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Extension" xmi:id="_19s3GLadEduYg9z0frhrGw" name="Behavior_ActiveRate" memberEnd="_19s3GbadEduYg9z0frhrGw _19s3F7adEduYg9z0frhrGw">
<ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_19s3GbadEduYg9z0frhrGw" name="extension_ActiveRate" type="_19s3FbadEduYg9z0frhrGw" aggregation="composite" association="_19s3GLadEduYg9z0frhrGw"/>
</packagedElement>
<packagedElement xmi:type="uml:Stereotype" xmi:id="_19s3GradEduYg9z0frhrGw" name="PassiveRate">
<ownedAttribute xmi:id="_19s3G7adEduYg9z0frhrGw" name="multiplicity" visibility="public">
<type xmi:type="uml:PrimitiveType" href=" pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Intege r"/>
<defaultValue xmi:type="uml:LiteralInteger" xmi:id="_19s3HLadEduYg9z0frhrGw" value="1">
<type xmi:type="uml:PrimitiveType" href=" pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Intege r"/>
</defaultValue>
</ownedAttribute>
<ownedAttribute xmi:id="_19s3HbadEduYg9z0frhrGw" name="base_Trigger" association="_19s3HradEduYg9z0frhrGw">
<type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Trigger"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Extension" xmi:id="_19s3HradEduYg9z0frhrGw" name="Trigger_PassiveRate" memberEnd="_19s3H7adEduYg9z0frhrGw _19s3HbadEduYg9z0frhrGw">
<ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_19s3H7adEduYg9z0frhrGw" name="extension_PassiveRate" type="_19s3GradEduYg9z0frhrGw" aggregation="composite" association="_19s3HradEduYg9z0frhrGw"/>
</packagedElement>
<packagedElement xmi:type="uml:Stereotype" xmi:id="_19s3ILadEduYg9z0frhrGw" name="UtilisationResult">
<ownedAttribute xmi:id="_19s3IbadEduYg9z0frhrGw" name="value" visibility="public">
<type xmi:type="uml:PrimitiveType" href=" pathmap://UML_LIBRARIES/JavaPrimitiveTypes.library.uml#doubl e"/>
</ownedAttribute>
<ownedAttribute xmi:id="_19s3IradEduYg9z0frhrGw" name="base_Comment" association="_19s3I7adEduYg9z0frhrGw">
<type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Comment"/>
</ownedAttribute>
</packagedElement>
<packagedElement xmi:type="uml:Extension" xmi:id="_19s3I7adEduYg9z0frhrGw" name="Comment_UtilisationResult" memberEnd="_19s3JLadEduYg9z0frhrGw _19s3IradEduYg9z0frhrGw">
<ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_19s3JLadEduYg9z0frhrGw&q
Re: Programmatic Navigation of a UML2 Model with Custom Profiles [message #470147 is a reply to message #470132] Wed, 07 February 2007 22:26 Go to previous messageGo to next message
Tas Frangoullides is currently offline Tas FrangoullidesFriend
Messages: 195
Registered: July 2009
Senior Member
Hi Micro,

Would the following code do what you want?

behaviour.getAppliedStereotype("PEPAProfile::ActiveRate") != null

Another way would be to get the profile from the same resource set and
obtain a reference to ActiveRate stereotype and use the
isStereotypeApplied method. Something like this:

Profile pepaProfle =
resourceSet.getResource(URI.createFileURI("PEPA.profile.uml "));
Stereotype activeRate = pepaProfile.getOwnedStereotype("ActiveRate");
....
behaviour.isStereotypeApplied(activeRate);

Hope that helps,

Tas

Mirco wrote:

> Hi all,

> I've been trying to navigate a UML2 Model to which a custom profile has
> been applied. I defined both the model and the profile by using Rational
> Software Architect 7.0.0. I exported the model into the .uml format and
> developed a plug-in which reads that file and shows information to the
> user. The plug-in runs on the Eclipse run-time workspace of RSA.
> The profile extends an Effect with a stereotype called ActiveRate which
> has a property (double) called 'value'. I use the following code for
> retrieving the information about the stereotypes applied to a
> transition's effect:

> /* t is an instance of Transition */
> Behavior behavior = t.getEffect();
> buf.append(" Effect: " + ((behavior == null) ?
> "None":behavior.getName())+ "n");
> if (behavior != null) {
> for (int s = 0; s < behavior.getAppliedStereotypes().size();s++) {
> Stereotype aStereoType = (Stereotype)
> behavior.getAppliedStereotypes().get(s);
> buf.append(" Stereotype: " + aStereoType.getName()+ "n");
> }
> }

> Although the name of the effect is shown correctly, the size of the
> applied stereotype list is 0. How can I use the API to discover if a
> Transition.getEffect() is applied a stereotype described in a custom
> profile?

> I attach the exported model and custom profile. (RSA uses UML2
> 2.0.2v200610251409)

> Thanks for your attention,
> Mirco
Re: Programmatic Navigation of a UML2 Model with Custom Profiles [message #470159 is a reply to message #470147] Thu, 08 February 2007 09:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mtribast.inf.ed.ac.uk

Hi Tas,

Tas Frangoullides wrote:
> Would the following code do what you want?
>
> behaviour.getAppliedStereotype("PEPAProfile::ActiveRate") != null
>
Although this is exactly what I was looking for, this piece of code is
not working. This expression evaluates 'false' and
behavior.getAppliedStereotypes() is an empty collection. I was wondering
if there is anybody who can let me know if there is something wrong in
the serialised uml file.

Cheers,
Mirco

> Another way would be to get the profile from the same resource set and
> obtain a reference to ActiveRate stereotype and use the
> isStereotypeApplied method. Something like this:
>
> Profile pepaProfle =
> resourceSet.getResource(URI.createFileURI("PEPA.profile.uml "));
> Stereotype activeRate = pepaProfile.getOwnedStereotype("ActiveRate");
> ...
> behaviour.isStereotypeApplied(activeRate);
>
> Hope that helps,
>
> Tas
>
> Mirco wrote:
>
>> Hi all,
>
>> I've been trying to navigate a UML2 Model to which a custom profile
>> has been applied. I defined both the model and the profile by using
>> Rational Software Architect 7.0.0. I exported the model into the .uml
>> format and developed a plug-in which reads that file and shows
>> information to the user. The plug-in runs on the Eclipse run-time
>> workspace of RSA.
>> The profile extends an Effect with a stereotype called ActiveRate
>> which has a property (double) called 'value'. I use the following code
>> for retrieving the information about the stereotypes applied to a
>> transition's effect:
>
>> /* t is an instance of Transition */
>> Behavior behavior = t.getEffect();
>> buf.append(" Effect: " + ((behavior == null) ?
>> "None":behavior.getName())+ "n");
>> if (behavior != null) {
>> for (int s = 0; s <
>> behavior.getAppliedStereotypes().size();s++) {
>> Stereotype aStereoType = (Stereotype)
>> behavior.getAppliedStereotypes().get(s);
>> buf.append(" Stereotype: " +
>> aStereoType.getName()+ "n");
>> }
>> }
>
>> Although the name of the effect is shown correctly, the size of the
>> applied stereotype list is 0. How can I use the API to discover if a
>> Transition.getEffect() is applied a stereotype described in a custom
>> profile?
>
>> I attach the exported model and custom profile. (RSA uses UML2
>> 2.0.2v200610251409)
>
>> Thanks for your attention,
>> Mirco
>
>
Re: Programmatic Navigation of a UML2 Model with Custom Profiles [message #470164 is a reply to message #470132] Thu, 08 February 2007 14:04 Go to previous messageGo to next message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
Mirco,

It sounds like the model is having a hard time finding the profile.
Incidentally, what is the name of the resource that contains the profile?
Based on the schemaLocation declaration in the model, it looks as though the
model is expecting it to be in a 'PEPA.profile.uml.profile.uml' resource in
the same folder as the model...

Kenn

"Mirco" <mtribast@inf.ed.ac.uk> wrote in message
news:eqcjth$u0e$1@utils.eclipse.org...
> Hi all,
>
> I've been trying to navigate a UML2 Model to which a custom profile has
> been applied. I defined both the model and the profile by using Rational
> Software Architect 7.0.0. I exported the model into the .uml format and
> developed a plug-in which reads that file and shows information to the
> user. The plug-in runs on the Eclipse run-time workspace of RSA.
> The profile extends an Effect with a stereotype called ActiveRate which
> has a property (double) called 'value'. I use the following code for
> retrieving the information about the stereotypes applied to a
> transition's effect:
>
> /* t is an instance of Transition */
> Behavior behavior = t.getEffect();
> buf.append(" Effect: " + ((behavior == null) ?
> "None":behavior.getName())+ "\n");
> if (behavior != null) {
> for (int s = 0; s < behavior.getAppliedStereotypes().size();s++) {
> Stereotype aStereoType = (Stereotype)
> behavior.getAppliedStereotypes().get(s);
> buf.append(" Stereotype: " + aStereoType.getName()+ "\n");
> }
> }
>
> Although the name of the effect is shown correctly, the size of the
> applied stereotype list is 0. How can I use the API to discover if a
> Transition.getEffect() is applied a stereotype described in a custom
> profile?
>
> I attach the exported model and custom profile. (RSA uses UML2
> 2.0.2v200610251409)
>
> Thanks for your attention,
> Mirco
>
>
>
>
>
>


------------------------------------------------------------ --------------------


> <?xml version="1.0" encoding="UTF-8"?>
> <xmi:XMI xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:PEPAProfile="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13"
> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
> xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"
> xsi:schemaLocation="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13
> PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw">
> <uml:Model xmi:id="_19s3j7adEduYg9z0frhrGw" name="FirstModel">
> <packageImport xmi:id="_19s3kLadEduYg9z0frhrGw">
> <importedPackage xmi:type="uml:Model"
> href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
> </packageImport>
> <packagedElement xmi:type="uml:StateMachine"
> xmi:id="_19s3kbadEduYg9z0frhrGw" name="StateMachine">
> <region xmi:id="_19s3kradEduYg9z0frhrGw" name="Region1">
> <subvertex xmi:type="uml:Pseudostate"
> xmi:id="_19s3k7adEduYg9z0frhrGw" outgoing="_19s3l7adEduYg9z0frhrGw"/>
> <subvertex xmi:type="uml:State" xmi:id="_19s3lLadEduYg9z0frhrGw"
> name="P1" outgoing="_19s3mLadEduYg9z0frhrGw"
> incoming="_19s3l7adEduYg9z0frhrGw"/>
> <subvertex xmi:type="uml:State" xmi:id="_19s3lbadEduYg9z0frhrGw"
> name="P2" outgoing="_19s3mradEduYg9z0frhrGw"
> incoming="_19s3mLadEduYg9z0frhrGw"/>
> <subvertex xmi:type="uml:FinalState"
> xmi:id="_19s3lradEduYg9z0frhrGw" incoming="_19s3mradEduYg9z0frhrGw"/>
> <transition xmi:id="_19s3l7adEduYg9z0frhrGw" kind="local"
> target="_19s3lLadEduYg9z0frhrGw" source="_19s3k7adEduYg9z0frhrGw"/>
> <transition xmi:id="_19s3mLadEduYg9z0frhrGw" name="a" kind="local"
> target="_19s3lbadEduYg9z0frhrGw" source="_19s3lLadEduYg9z0frhrGw">
> <effect xmi:type="uml:OpaqueBehavior"
> xmi:id="_19s3mbadEduYg9z0frhrGw" name="anEffect"/>
> </transition>
> <transition xmi:id="_19s3mradEduYg9z0frhrGw" kind="local"
> target="_19s3lradEduYg9z0frhrGw" source="_19s3lbadEduYg9z0frhrGw"/>
> </region>
> </packagedElement>
> <profileApplication xmi:id="_19s3m7adEduYg9z0frhrGw">
> <eAnnotations xmi:id="_19s3nLadEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML">
> <references xmi:type="ecore:EPackage"
> href=" pathmap://UML_PROFILES/Standard.profile.uml#_yzU58YinEdqtvbn fB2L_5w"/>
> </eAnnotations>
> <appliedProfile
> href="pathmap://UML_PROFILES/Standard.profile.uml#_0"/>
> </profileApplication>
> <profileApplication xmi:id="_19s3nbadEduYg9z0frhrGw">
> <eAnnotations xmi:id="_19s3nradEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML">
> <references xmi:type="ecore:EPackage"
> href="Default.profile.uml#_19s3KbadEduYg9z0frhrGw"/>
> </eAnnotations>
> <appliedProfile href="Default.profile.uml#_19s3J7adEduYg9z0frhrGw"/>
> </profileApplication>
> <profileApplication xmi:id="_19s3n7adEduYg9z0frhrGw">
> <eAnnotations xmi:id="_19s3oLadEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML">
> <references xmi:type="ecore:EPackage"
> href="Deployment.profile.uml#_19s3pradEduYg9z0frhrGw"/>
> </eAnnotations>
> <appliedProfile
> href="Deployment.profile.uml#_19s3pLadEduYg9z0frhrGw"/>
> </profileApplication>
> <profileApplication xmi:id="_19s3obadEduYg9z0frhrGw">
> <eAnnotations xmi:id="_19s3oradEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML">
> <references xmi:type="ecore:EPackage"
> href="PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw"/ >
> </eAnnotations>
> <appliedProfile
> href="PEPA.profile.uml.profile.uml#_19s2fLadEduYg9z0frhrGw"/ >
> </profileApplication>
> </uml:Model>
> <PEPAProfile:ActiveRate xmi:id="_19s3o7adEduYg9z0frhrGw" value="2.0"
> base_Behavior="_19s3mbadEduYg9z0frhrGw"/>
> </xmi:XMI>
>


------------------------------------------------------------ --------------------


> <?xml version="1.0" encoding="UTF-8"?>
> <uml:Profile xmi:version="2.1"
> xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
> xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"
> xmi:id="_19s2fLadEduYg9z0frhrGw" name="PEPAProfile"
> metamodelReference="_19s3FLadEduYg9z0frhrGw">
> <eAnnotations xmi:id="_19s2fbadEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML">
> <contents xmi:type="ecore:EPackage" xmi:id="_19s2fradEduYg9z0frhrGw"
> name="PEPAProfile"
> nsURI="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13"
> nsPrefix="PEPAProfile">
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2f7adEduYg9z0frhrGw" name="ActiveRate">
> <eAnnotations xmi:id="_19s2gLadEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3FbadEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s2gbadEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s2gradEduYg9z0frhrGw" name="base_Behavior" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2g7adEduYg9z0frhrGw" name="PassiveRate">
> <eAnnotations xmi:id="_19s2hLadEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3GradEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s2hbadEduYg9z0frhrGw" name="multiplicity" ordered="false"
> lowerBound="1" defaultValueLiteral="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s2hradEduYg9z0frhrGw" name="base_Trigger" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2h7adEduYg9z0frhrGw" name="UtilisationResult">
> <eAnnotations xmi:id="_19s2iLadEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3ILadEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s2ibadEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s2iradEduYg9z0frhrGw" name="base_Comment" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
> </eStructuralFeatures>
> </eClassifiers>
> </contents>
> <contents xmi:type="ecore:EPackage" xmi:id="_19s2i7adEduYg9z0frhrGw"
> name="PEPAProfile"
> nsURI="http:///schemas/PEPAProfile/_PYPuQLXrEduQbrr1ndBC-A/12"
> nsPrefix="PEPAProfile">
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2jLadEduYg9z0frhrGw" name="ActiveRate">
> <eAnnotations xmi:id="_19s2jbadEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3FbadEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s2jradEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s2j7adEduYg9z0frhrGw" name="base_Behavior" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2kLadEduYg9z0frhrGw" name="PassiveRate">
> <eAnnotations xmi:id="_19s2kbadEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3GradEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s2kradEduYg9z0frhrGw" name="multiplicity" ordered="false"
> lowerBound="1" defaultValueLiteral="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s2k7adEduYg9z0frhrGw" name="base_Trigger" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2lLadEduYg9z0frhrGw" name="UtilisationResult">
> <eAnnotations xmi:id="_19s2lbadEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3ILadEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s2lradEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s2l7adEduYg9z0frhrGw" name="base_Comment" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s2mLadEduYg9z0frhrGw" name="state" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
> </eStructuralFeatures>
> </eClassifiers>
> </contents>
> <contents xmi:type="ecore:EPackage" xmi:id="_19s2mbadEduYg9z0frhrGw"
> name="PEPAProfile"
> nsURI="http:///schemas/PEPAProfile/_CQeHELXoEduQbrr1ndBC-A/11"
> nsPrefix="PEPAProfile">
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2mradEduYg9z0frhrGw" name="ActiveRate">
> <eAnnotations xmi:id="_19s2m7adEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3FbadEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s2nLadEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s2nbadEduYg9z0frhrGw" name="base_Behavior" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2nradEduYg9z0frhrGw" name="PassiveRate">
> <eAnnotations xmi:id="_19s2n7adEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3GradEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s2oLadEduYg9z0frhrGw" name="multiplicity" ordered="false"
> lowerBound="1" defaultValueLiteral="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s2obadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2oradEduYg9z0frhrGw" name="UtilisationResult">
> <eAnnotations xmi:id="_19s2o7adEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3ILadEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s2pLadEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s2pbadEduYg9z0frhrGw" name="base_Comment" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
> </eStructuralFeatures>
> </eClassifiers>
> </contents>
> <contents xmi:type="ecore:EPackage" xmi:id="_19s2pradEduYg9z0frhrGw"
> name="PEPAProfile"
> nsURI="http:///schemas/PEPAProfile/_1FD1sLXnEduQbrr1ndBC-A/10"
> nsPrefix="PEPAProfile">
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2p7adEduYg9z0frhrGw" name="ActiveRate">
> <eAnnotations xmi:id="_19s2qLadEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3FbadEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s2qbadEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s2qradEduYg9z0frhrGw" name="base_Behavior" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2q7adEduYg9z0frhrGw" name="PassiveRate">
> <eAnnotations xmi:id="_19s2rLadEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3GradEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s2rbadEduYg9z0frhrGw" name="multiplicity" ordered="false"
> lowerBound="1" defaultValueLiteral="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s2rradEduYg9z0frhrGw" name="base_Trigger" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2r7adEduYg9z0frhrGw" name="UtilisationResult">
> <eAnnotations xmi:id="_19s2sLadEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3ILadEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s2sbadEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s2sradEduYg9z0frhrGw" name="base_Comment" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s2s7adEduYg9z0frhrGw" name="state" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
> </eStructuralFeatures>
> </eClassifiers>
> </contents>
> <contents xmi:type="ecore:EPackage" xmi:id="_19s2tLadEduYg9z0frhrGw"
> name="PEPAProfile"
> nsURI="http:///schemas/PEPAProfile/_aAgqQLXnEduQbrr1ndBC-A/9"
> nsPrefix="PEPAProfile">
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2tbadEduYg9z0frhrGw" name="ActiveRate">
> <eAnnotations xmi:id="_19s2tradEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3FbadEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s2t7adEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s2uLadEduYg9z0frhrGw" name="base_Behavior" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2ubadEduYg9z0frhrGw" name="PassiveRate">
> <eAnnotations xmi:id="_19s2uradEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3GradEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s2u7adEduYg9z0frhrGw" name="multiplicity" ordered="false"
> lowerBound="1" defaultValueLiteral="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s2vLadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2vbadEduYg9z0frhrGw" name="UtilisationResult">
> <eAnnotations xmi:id="_19s2vradEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3ILadEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s2v7adEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s2wLadEduYg9z0frhrGw" name="base_Comment" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
> </eStructuralFeatures>
> </eClassifiers>
> </contents>
> <contents xmi:type="ecore:EPackage" xmi:id="_19s2wbadEduYg9z0frhrGw"
> name="PEPAProfile"
> nsURI="http:///schemas/PEPAProfile/_XtISYLXnEduQbrr1ndBC-A/8"
> nsPrefix="PEPAProfile">
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2wradEduYg9z0frhrGw" name="ActiveRate">
> <eAnnotations xmi:id="_19s2w7adEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3FbadEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s2xLadEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s2xbadEduYg9z0frhrGw" name="base_Behavior" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2xradEduYg9z0frhrGw" name="PassiveRate">
> <eAnnotations xmi:id="_19s2x7adEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3GradEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s2yLadEduYg9z0frhrGw" name="multiplicity" ordered="false"
> lowerBound="1" defaultValueLiteral="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s2ybadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2yradEduYg9z0frhrGw" name="UtilisationResult">
> <eAnnotations xmi:id="_19s2y7adEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3ILadEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s2zLadEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
> </eStructuralFeatures>
> </eClassifiers>
> </contents>
> <contents xmi:type="ecore:EPackage" xmi:id="_19s2zbadEduYg9z0frhrGw"
> name="PEPAProfile"
> nsURI="http:///schemas/PEPAProfile/_HCgvMLXnEduQbrr1ndBC-A/7"
> nsPrefix="PEPAProfile">
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2zradEduYg9z0frhrGw" name="ActiveRate">
> <eAnnotations xmi:id="_19s2z7adEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3FbadEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s20LadEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s20badEduYg9z0frhrGw" name="base_Behavior" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s20radEduYg9z0frhrGw" name="PassiveRate">
> <eAnnotations xmi:id="_19s207adEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3GradEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s21LadEduYg9z0frhrGw" name="multiplicity" ordered="false"
> lowerBound="1" defaultValueLiteral="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s21badEduYg9z0frhrGw" name="base_Trigger" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
> </eStructuralFeatures>
> </eClassifiers>
> </contents>
> <contents xmi:type="ecore:EPackage" xmi:id="_19s21radEduYg9z0frhrGw"
> name="PEPAProfile"
> nsURI="http:///schemas/PEPAProfile/_nY1ywLXmEduQbrr1ndBC-A/6"
> nsPrefix="PEPAProfile">
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s217adEduYg9z0frhrGw" name="ActiveRate">
> <eAnnotations xmi:id="_19s22LadEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3FbadEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s22badEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s22radEduYg9z0frhrGw" name="base_Behavior" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s227adEduYg9z0frhrGw" name="PassiveRate">
> <eAnnotations xmi:id="_19s23LadEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3GradEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s23badEduYg9z0frhrGw" name="multiplicity" ordered="false"
> lowerBound="1" defaultValueLiteral="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s23radEduYg9z0frhrGw" name="base_Trigger" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s237adEduYg9z0frhrGw" name="UtilisationResult">
> <eAnnotations xmi:id="_19s24LadEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s24badEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s24radEduYg9z0frhrGw" name="base_Comment" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
> </eStructuralFeatures>
> </eClassifiers>
> </contents>
> <contents xmi:type="ecore:EPackage" xmi:id="_19s247adEduYg9z0frhrGw"
> name="PEPAProfile"
> nsURI="http:///schemas/PEPAProfile/_gYUWULXmEduQbrr1ndBC-A/5"
> nsPrefix="PEPAProfile">
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s25LadEduYg9z0frhrGw" name="ActiveRate">
> <eAnnotations xmi:id="_19s25badEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3FbadEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s25radEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s257adEduYg9z0frhrGw" name="base_Behavior" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s26LadEduYg9z0frhrGw" name="PassiveRate">
> <eAnnotations xmi:id="_19s26badEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3GradEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s26radEduYg9z0frhrGw" name="multiplicity" ordered="false"
> lowerBound="1" defaultValueLiteral="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s267adEduYg9z0frhrGw" name="base_Trigger" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s27LadEduYg9z0frhrGw" name="UtilisationResult">
> <eAnnotations xmi:id="_19s27badEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s27radEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
> </eStructuralFeatures>
> </eClassifiers>
> </contents>
> <contents xmi:type="ecore:EPackage" xmi:id="_19s277adEduYg9z0frhrGw"
> name="PEPAProfile"
> nsURI="http:///schemas/PEPAProfile/_AngQELXmEduQbrr1ndBC-A/4"
> nsPrefix="PEPAProfile">
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s28LadEduYg9z0frhrGw" name="ActiveRate">
> <eAnnotations xmi:id="_19s28badEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3FbadEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s28radEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s287adEduYg9z0frhrGw" name="base_Behavior" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s29LadEduYg9z0frhrGw" name="PassiveRate">
> <eAnnotations xmi:id="_19s29badEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3GradEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s29radEduYg9z0frhrGw" name="multiplicity" ordered="false"
> lowerBound="1" defaultValueLiteral="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s297adEduYg9z0frhrGw" name="base_Trigger" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
> </eStructuralFeatures>
> </eClassifiers>
> </contents>
> <contents xmi:type="ecore:EPackage" xmi:id="_19s2-LadEduYg9z0frhrGw"
> name="PEPAProfile"
> nsURI="http:///schemas/PEPAProfile/_j387YLXlEduQbrr1ndBC-A/3"
> nsPrefix="PEPAProfile">
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2-badEduYg9z0frhrGw" name="ActiveRate">
> <eAnnotations xmi:id="_19s2-radEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3FbadEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s2-7adEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s2_LadEduYg9z0frhrGw" name="base_Behavior" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2_badEduYg9z0frhrGw" name="PassiveRate">
> <eAnnotations xmi:id="_19s2_radEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3GradEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s2_7adEduYg9z0frhrGw" name="multiplicity" ordered="false"
> lowerBound="1" defaultValueLiteral="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s3ALadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
> </eStructuralFeatures>
> </eClassifiers>
> </contents>
> <contents xmi:type="ecore:EPackage" xmi:id="_19s3AbadEduYg9z0frhrGw"
> name="PEPAProfile"
> nsURI="http:///schemas/PEPAProfile/_iAcnMLXlEduQbrr1ndBC-A/2"
> nsPrefix="PEPAProfile">
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s3AradEduYg9z0frhrGw" name="ActiveRate">
> <eAnnotations xmi:id="_19s3A7adEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3FbadEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s3BLadEduYg9z0frhrGw" name="name" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s3BbadEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s3BradEduYg9z0frhrGw" name="base_Behavior" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s3B7adEduYg9z0frhrGw" name="PassiveRate">
> <eAnnotations xmi:id="_19s3CLadEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3GradEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s3CbadEduYg9z0frhrGw" name="multiplicity" ordered="false"
> lowerBound="1" defaultValueLiteral="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s3CradEduYg9z0frhrGw" name="base_Trigger" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
> </eStructuralFeatures>
> </eClassifiers>
> </contents>
> <contents xmi:type="ecore:EPackage" xmi:id="_19s3C7adEduYg9z0frhrGw"
> name="PEPAProfile"
> nsURI="http:///schemas/PEPAProfile/_fwWz4LXlEduQbrr1ndBC-A/1"
> nsPrefix="PEPAProfile">
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s3DLadEduYg9z0frhrGw" name="ActiveRate">
> <eAnnotations xmi:id="_19s3DbadEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3FbadEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s3DradEduYg9z0frhrGw" name="name" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s3D7adEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>
Re: Programmatic Navigation of a UML2 Model with Custom Profiles [message #470233 is a reply to message #470164] Fri, 09 February 2007 11:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mtribast.inf.ed.ac.uk

Hi Kenn,

I had already checked that, and that was not the problem. The name of
the resource is now PEPA.profile.uml. I think I made some progress in
finding the problem. I load the model programmatically from a
stand-alone application that I wrote by slightly modifying the
UML2Article class downloaded from the Eclipse website. I load the model
by using the same load(URI) method and registering the resource
factories as follows:

RESOURCE_SET.getPackageRegistry().put(UMLPackage.eNS_URI,
UMLPackage.eINSTANCE);
Map extensionToFactoryMap = RESOURCE_SET.getResourceFactoryRegistry()
.getExtensionToFactoryMap();
extensionToFactoryMap.put(UMLResource.FILE_EXTENSION,
UMLResource.Factory.INSTANCE);

The output of the programs gives me correct information about the
applied stereotypes.
The problem seems to persist though when the same code is launched from
within an Eclipse instance. I initially thought that problem would be
that the UML2Article uses different versions of the plug-ins; hence I
created another stand-alone app with the same plug-in versions as my
Eclipse configuration, but the model is navigated correctly also in this
case.

Do you have any idea why the code refuses to work in the Eclipse
environment?

Thanks for your precious help.

Cheers,
Mirco

Kenn Hussey wrote:
> Mirco,
>
> It sounds like the model is having a hard time finding the profile.
> Incidentally, what is the name of the resource that contains the profile?
> Based on the schemaLocation declaration in the model, it looks as though the
> model is expecting it to be in a 'PEPA.profile.uml.profile.uml' resource in
> the same folder as the model...
>
> Kenn
>
> "Mirco" <mtribast@inf.ed.ac.uk> wrote in message
> news:eqcjth$u0e$1@utils.eclipse.org...
>> Hi all,
>>
>> I've been trying to navigate a UML2 Model to which a custom profile has
>> been applied. I defined both the model and the profile by using Rational
>> Software Architect 7.0.0. I exported the model into the .uml format and
>> developed a plug-in which reads that file and shows information to the
>> user. The plug-in runs on the Eclipse run-time workspace of RSA.
>> The profile extends an Effect with a stereotype called ActiveRate which
>> has a property (double) called 'value'. I use the following code for
>> retrieving the information about the stereotypes applied to a
>> transition's effect:
>>
>> /* t is an instance of Transition */
>> Behavior behavior = t.getEffect();
>> buf.append(" Effect: " + ((behavior == null) ?
>> "None":behavior.getName())+ "\n");
>> if (behavior != null) {
>> for (int s = 0; s < behavior.getAppliedStereotypes().size();s++) {
>> Stereotype aStereoType = (Stereotype)
>> behavior.getAppliedStereotypes().get(s);
>> buf.append(" Stereotype: " + aStereoType.getName()+ "\n");
>> }
>> }
>>
>> Although the name of the effect is shown correctly, the size of the
>> applied stereotype list is 0. How can I use the API to discover if a
>> Transition.getEffect() is applied a stereotype described in a custom
>> profile?
>>
>> I attach the exported model and custom profile. (RSA uses UML2
>> 2.0.2v200610251409)
>>
>> Thanks for your attention,
>> Mirco
>>
>>
>>
>>
>>
>>
>
>
> ------------------------------------------------------------ --------------------
>
>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <xmi:XMI xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xmlns:PEPAProfile="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13"
>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
>> xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"
>> xsi:schemaLocation="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13
>> PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw">
>> <uml:Model xmi:id="_19s3j7adEduYg9z0frhrGw" name="FirstModel">
>> <packageImport xmi:id="_19s3kLadEduYg9z0frhrGw">
>> <importedPackage xmi:type="uml:Model"
>> href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
>> </packageImport>
>> <packagedElement xmi:type="uml:StateMachine"
>> xmi:id="_19s3kbadEduYg9z0frhrGw" name="StateMachine">
>> <region xmi:id="_19s3kradEduYg9z0frhrGw" name="Region1">
>> <subvertex xmi:type="uml:Pseudostate"
>> xmi:id="_19s3k7adEduYg9z0frhrGw" outgoing="_19s3l7adEduYg9z0frhrGw"/>
>> <subvertex xmi:type="uml:State" xmi:id="_19s3lLadEduYg9z0frhrGw"
>> name="P1" outgoing="_19s3mLadEduYg9z0frhrGw"
>> incoming="_19s3l7adEduYg9z0frhrGw"/>
>> <subvertex xmi:type="uml:State" xmi:id="_19s3lbadEduYg9z0frhrGw"
>> name="P2" outgoing="_19s3mradEduYg9z0frhrGw"
>> incoming="_19s3mLadEduYg9z0frhrGw"/>
>> <subvertex xmi:type="uml:FinalState"
>> xmi:id="_19s3lradEduYg9z0frhrGw" incoming="_19s3mradEduYg9z0frhrGw"/>
>> <transition xmi:id="_19s3l7adEduYg9z0frhrGw" kind="local"
>> target="_19s3lLadEduYg9z0frhrGw" source="_19s3k7adEduYg9z0frhrGw"/>
>> <transition xmi:id="_19s3mLadEduYg9z0frhrGw" name="a" kind="local"
>> target="_19s3lbadEduYg9z0frhrGw" source="_19s3lLadEduYg9z0frhrGw">
>> <effect xmi:type="uml:OpaqueBehavior"
>> xmi:id="_19s3mbadEduYg9z0frhrGw" name="anEffect"/>
>> </transition>
>> <transition xmi:id="_19s3mradEduYg9z0frhrGw" kind="local"
>> target="_19s3lradEduYg9z0frhrGw" source="_19s3lbadEduYg9z0frhrGw"/>
>> </region>
>> </packagedElement>
>> <profileApplication xmi:id="_19s3m7adEduYg9z0frhrGw">
>> <eAnnotations xmi:id="_19s3nLadEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>> <references xmi:type="ecore:EPackage"
>> href=" pathmap://UML_PROFILES/Standard.profile.uml#_yzU58YinEdqtvbn fB2L_5w"/>
>> </eAnnotations>
>> <appliedProfile
>> href="pathmap://UML_PROFILES/Standard.profile.uml#_0"/>
>> </profileApplication>
>> <profileApplication xmi:id="_19s3nbadEduYg9z0frhrGw">
>> <eAnnotations xmi:id="_19s3nradEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>> <references xmi:type="ecore:EPackage"
>> href="Default.profile.uml#_19s3KbadEduYg9z0frhrGw"/>
>> </eAnnotations>
>> <appliedProfile href="Default.profile.uml#_19s3J7adEduYg9z0frhrGw"/>
>> </profileApplication>
>> <profileApplication xmi:id="_19s3n7adEduYg9z0frhrGw">
>> <eAnnotations xmi:id="_19s3oLadEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>> <references xmi:type="ecore:EPackage"
>> href="Deployment.profile.uml#_19s3pradEduYg9z0frhrGw"/>
>> </eAnnotations>
>> <appliedProfile
>> href="Deployment.profile.uml#_19s3pLadEduYg9z0frhrGw"/>
>> </profileApplication>
>> <profileApplication xmi:id="_19s3obadEduYg9z0frhrGw">
>> <eAnnotations xmi:id="_19s3oradEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>> <references xmi:type="ecore:EPackage"
>> href="PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw"/ >
>> </eAnnotations>
>> <appliedProfile
>> href="PEPA.profile.uml.profile.uml#_19s2fLadEduYg9z0frhrGw"/ >
>> </profileApplication>
>> </uml:Model>
>> <PEPAProfile:ActiveRate xmi:id="_19s3o7adEduYg9z0frhrGw" value="2.0"
>> base_Behavior="_19s3mbadEduYg9z0frhrGw"/>
>> </xmi:XMI>
>>
>
>
> ------------------------------------------------------------ --------------------
>
>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <uml:Profile xmi:version="2.1"
>> xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
>> xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"
>> xmi:id="_19s2fLadEduYg9z0frhrGw" name="PEPAProfile"
>> metamodelReference="_19s3FLadEduYg9z0frhrGw">
>> <eAnnotations xmi:id="_19s2fbadEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2fradEduYg9z0frhrGw"
>> name="PEPAProfile"
>> nsURI="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13"
>> nsPrefix="PEPAProfile">
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2f7adEduYg9z0frhrGw" name="ActiveRate">
>> <eAnnotations xmi:id="_19s2gLadEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3FbadEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s2gbadEduYg9z0frhrGw" name="value" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s2gradEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2g7adEduYg9z0frhrGw" name="PassiveRate">
>> <eAnnotations xmi:id="_19s2hLadEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3GradEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s2hbadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>> lowerBound="1" defaultValueLiteral="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s2hradEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2h7adEduYg9z0frhrGw" name="UtilisationResult">
>> <eAnnotations xmi:id="_19s2iLadEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3ILadEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s2ibadEduYg9z0frhrGw" name="value" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s2iradEduYg9z0frhrGw" name="base_Comment" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> </contents>
>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2i7adEduYg9z0frhrGw"
>> name="PEPAProfile"
>> nsURI="http:///schemas/PEPAProfile/_PYPuQLXrEduQbrr1ndBC-A/12"
>> nsPrefix="PEPAProfile">
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2jLadEduYg9z0frhrGw" name="ActiveRate">
>> <eAnnotations xmi:id="_19s2jbadEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3FbadEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s2jradEduYg9z0frhrGw" name="value" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s2j7adEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2kLadEduYg9z0frhrGw" name="PassiveRate">
>> <eAnnotations xmi:id="_19s2kbadEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3GradEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s2kradEduYg9z0frhrGw" name="multiplicity" ordered="false"
>> lowerBound="1" defaultValueLiteral="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s2k7adEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2lLadEduYg9z0frhrGw" name="UtilisationResult">
>> <eAnnotations xmi:id="_19s2lbadEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3ILadEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s2lradEduYg9z0frhrGw" name="value" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s2l7adEduYg9z0frhrGw" name="base_Comment" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s2mLadEduYg9z0frhrGw" name="state" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> </contents>
>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2mbadEduYg9z0frhrGw"
>> name="PEPAProfile"
>> nsURI="http:///schemas/PEPAProfile/_CQeHELXoEduQbrr1ndBC-A/11"
>> nsPrefix="PEPAProfile">
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2mradEduYg9z0frhrGw" name="ActiveRate">
>> <eAnnotations xmi:id="_19s2m7adEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3FbadEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s2nLadEduYg9z0frhrGw" name="value" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s2nbadEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2nradEduYg9z0frhrGw" name="PassiveRate">
>> <eAnnotations xmi:id="_19s2n7adEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3GradEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s2oLadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>> lowerBound="1" defaultValueLiteral="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s2obadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2oradEduYg9z0frhrGw" name="UtilisationResult">
>> <eAnnotations xmi:id="_19s2o7adEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3ILadEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s2pLadEduYg9z0frhrGw" name="value" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s2pbadEduYg9z0frhrGw" name="base_Comment" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> </contents>
>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2pradEduYg9z0frhrGw"
>> name="PEPAProfile"
>> nsURI="http:///schemas/PEPAProfile/_1FD1sLXnEduQbrr1ndBC-A/10"
>> nsPrefix="PEPAProfile">
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2p7adEduYg9z0frhrGw" name="ActiveRate">
>> <eAnnotations xmi:id="_19s2qLadEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3FbadEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s2qbadEduYg9z0frhrGw" name="value" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s2qradEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2q7adEduYg9z0frhrGw" name="PassiveRate">
>> <eAnnotations xmi:id="_19s2rLadEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3GradEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s2rbadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>> lowerBound="1" defaultValueLiteral="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s2rradEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2r7adEduYg9z0frhrGw" name="UtilisationResult">
>> <eAnnotations xmi:id="_19s2sLadEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3ILadEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s2sbadEduYg9z0frhrGw" name="value" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s2sradEduYg9z0frhrGw" name="base_Comment" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s2s7adEduYg9z0frhrGw" name="state" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> </contents>
>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2tLadEduYg9z0frhrGw"
>> name="PEPAProfile"
>> nsURI="http:///schemas/PEPAProfile/_aAgqQLXnEduQbrr1ndBC-A/9"
>> nsPrefix="PEPAProfile">
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2tbadEduYg9z0frhrGw" name="ActiveRate">
>> <eAnnotations xmi:id="_19s2tradEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3FbadEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s2t7adEduYg9z0frhrGw" name="value" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s2uLadEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2ubadEduYg9z0frhrGw" name="PassiveRate">
>> <eAnnotations xmi:id="_19s2uradEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3GradEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s2u7adEduYg9z0frhrGw" name="multiplicity" ordered="false"
>> lowerBound="1" defaultValueLiteral="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s2vLadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2vbadEduYg9z0frhrGw" name="UtilisationResult">
>> <eAnnotations xmi:id="_19s2vradEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3ILadEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s2v7adEduYg9z0frhrGw" name="value" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s2wLadEduYg9z0frhrGw" name="base_Comment" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> </contents>
>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2wbadEduYg9z0frhrGw"
>> name="PEPAProfile"
>> nsURI="http:///schemas/PEPAProfile/_XtISYLXnEduQbrr1ndBC-A/8"
>> nsPrefix="PEPAProfile">
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2wradEduYg9z0frhrGw" name="ActiveRate">
>> <eAnnotations xmi:id="_19s2w7adEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3FbadEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s2xLadEduYg9z0frhrGw" name="value" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s2xbadEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2xradEduYg9z0frhrGw" name="PassiveRate">
>> <eAnnotations xmi:id="_19s2x7adEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3GradEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s2yLadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>> lowerBound="1" defaultValueLiteral="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s2ybadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2yradEduYg9z0frhrGw" name="UtilisationResult">
>> <eAnnotations xmi:id="_19s2y7adEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3ILadEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s2zLadEduYg9z0frhrGw" name="value" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> </contents>
>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2zbadEduYg9z0frhrGw"
>> name="PEPAProfile"
>> nsURI="http:///schemas/PEPAProfile/_HCgvMLXnEduQbrr1ndBC-A/7"
>> nsPrefix="PEPAProfile">
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2zradEduYg9z0frhrGw" name="ActiveRate">
>> <eAnnotations xmi:id="_19s2z7adEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3FbadEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s20LadEduYg9z0frhrGw" name="value" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s20badEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s20radEduYg9z0frhrGw" name="PassiveRate">
>> <eAnnotations xmi:id="_19s207adEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3GradEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s21LadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>> lowerBound="1" defaultValueLiteral="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s21badEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> </contents>
>> <contents xmi:type="ecore:EPackage" xmi:id="_19s21radEduYg9z0frhrGw"
>> name="PEPAProfile"
>> nsURI="http:///schemas/PEPAProfile/_nY1ywLXmEduQbrr1ndBC-A/6"
>> nsPrefix="PEPAProfile">
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s217adEduYg9z0frhrGw" name="ActiveRate">
>> <eAnnotations xmi:id="_19s22LadEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3FbadEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s22badEduYg9z0frhrGw" name="value" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s22radEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s227adEduYg9z0frhrGw" name="PassiveRate">
>> <eAnnotations xmi:id="_19s23LadEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3GradEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s23badEduYg9z0frhrGw" name="multiplicity" ordered="false"
>> lowerBound="1" defaultValueLiteral="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s23radEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s237adEduYg9z0frhrGw" name="UtilisationResult">
>> <eAnnotations xmi:id="_19s24LadEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s24badEduYg9z0frhrGw" name="value" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s24radEduYg9z0frhrGw" name="base_Comment" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> </contents>
>> <contents xmi:type="ecore:EPackage" xmi:id="_19s247adEduYg9z0frhrGw"
>> name="PEPAProfile"
>> nsURI="http:///schemas/PEPAProfile/_gYUWULXmEduQbrr1ndBC-A/5"
>> nsPrefix="PEPAProfile">
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s25LadEduYg9z0frhrGw" name="ActiveRate">
>> <eAnnotations xmi:id="_19s25badEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3FbadEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s25radEduYg9z0frhrGw" name="value" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s257adEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s26LadEduYg9z0frhrGw" name="PassiveRate">
>> <eAnnotations xmi:id="_19s26badEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3GradEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s26radEduYg9z0frhrGw" name="multiplicity" ordered="false"
>> lowerBound="1" defaultValueLiteral="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s267adEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s27LadEduYg9z0frhrGw" name="UtilisationResult">
>> <eAnnotations xmi:id="_19s27badEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s27radEduYg9z0frhrGw" name="value" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> </contents>
>> <contents xmi:type="ecore:EPackage" xmi:id="_19s277adEduYg9z0frhrGw"
>> name="PEPAProfile"
>> nsURI="http:///schemas/PEPAProfile/_AngQELXmEduQbrr1ndBC-A/4"
>> nsPrefix="PEPAProfile">
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s28LadEduYg9z0frhrGw" name="ActiveRate">
>> <eAnnotations xmi:id="_19s28badEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3FbadEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s28radEduYg9z0frhrGw" name="value" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s287adEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s29LadEduYg9z0frhrGw" name="PassiveRate">
>> <eAnnotations xmi:id="_19s29badEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3GradEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s29radEduYg9z0frhrGw" name="multiplicity" ordered="false"
>> lowerBound="1" defaultValueLiteral="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s297adEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> </contents>
>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2-LadEduYg9z0frhrGw"
>> name="PEPAProfile"
>> nsURI="http:///schemas/PEPAProfile/_j387YLXlEduQbrr1ndBC-A/3"
>> nsPrefix="PEPAProfile">
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2-badEduYg9z0frhrGw" name="ActiveRate">
>> <eAnnotations xmi:id="_19s2-radEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3FbadEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s2-7adEduYg9z0frhrGw" name="value" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s2_LadEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2_badEduYg9z0frhrGw" name="PassiveRate">
>> <eAnnotations xmi:id="_19s2_radEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3GradEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s2_7adEduYg9z0frhrGw" name="multiplicity" ordered="false"
>> lowerBound="1" defaultValueLiteral="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s3ALadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> </contents>
>> <contents xmi:type="ecore:EPackage" xmi:id="_19s3AbadEduYg9z0frhrGw"
>> name="PEPAProfile"
>> nsURI="http:///schemas/PEPAProfile/_iAcnMLXlEduQbrr1ndBC-A/2"
>> nsPrefix="PEPAProfile">
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s3AradEduYg9z0frhrGw" name="ActiveRate">
>> <eAnnotations xmi:id="_19s3A7adEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3FbadEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s3BLadEduYg9z0frhrGw" name="name" ordered="false"
>> lowerBound="1">
&g
Re: Programmatic Navigation of a UML2 Model with Custom Profiles [message #470241 is a reply to message #470233] Fri, 09 February 2007 21:54 Go to previous messageGo to next message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
Mirco,

Do you have any problems with your Eclipse configuration? Did you previously
have an old version of UML2 installed? Are you seeing any exceptions in the
platform log?

Kenn

"Mirco Tribastone" <mtribast@inf.ed.ac.uk> wrote in message
news:eqhmk1$ipt$1@utils.eclipse.org...
> Hi Kenn,
>
> I had already checked that, and that was not the problem. The name of the
> resource is now PEPA.profile.uml. I think I made some progress in finding
> the problem. I load the model programmatically from a stand-alone
> application that I wrote by slightly modifying the UML2Article class
> downloaded from the Eclipse website. I load the model by using the same
> load(URI) method and registering the resource factories as follows:
>
> RESOURCE_SET.getPackageRegistry().put(UMLPackage.eNS_URI,
> UMLPackage.eINSTANCE);
> Map extensionToFactoryMap = RESOURCE_SET.getResourceFactoryRegistry()
> .getExtensionToFactoryMap();
> extensionToFactoryMap.put(UMLResource.FILE_EXTENSION,
> UMLResource.Factory.INSTANCE);
>
> The output of the programs gives me correct information about the applied
> stereotypes.
> The problem seems to persist though when the same code is launched from
> within an Eclipse instance. I initially thought that problem would be that
> the UML2Article uses different versions of the plug-ins; hence I created
> another stand-alone app with the same plug-in versions as my Eclipse
> configuration, but the model is navigated correctly also in this case.
>
> Do you have any idea why the code refuses to work in the Eclipse
> environment?
>
> Thanks for your precious help.
>
> Cheers,
> Mirco
>
> Kenn Hussey wrote:
>> Mirco,
>>
>> It sounds like the model is having a hard time finding the profile.
>> Incidentally, what is the name of the resource that contains the profile?
>> Based on the schemaLocation declaration in the model, it looks as though
>> the model is expecting it to be in a 'PEPA.profile.uml.profile.uml'
>> resource in the same folder as the model...
>>
>> Kenn
>>
>> "Mirco" <mtribast@inf.ed.ac.uk> wrote in message
>> news:eqcjth$u0e$1@utils.eclipse.org...
>>> Hi all,
>>>
>>> I've been trying to navigate a UML2 Model to which a custom profile has
>>> been applied. I defined both the model and the profile by using Rational
>>> Software Architect 7.0.0. I exported the model into the .uml format and
>>> developed a plug-in which reads that file and shows information to the
>>> user. The plug-in runs on the Eclipse run-time workspace of RSA.
>>> The profile extends an Effect with a stereotype called ActiveRate which
>>> has a property (double) called 'value'. I use the following code for
>>> retrieving the information about the stereotypes applied to a
>>> transition's effect:
>>>
>>> /* t is an instance of Transition */
>>> Behavior behavior = t.getEffect();
>>> buf.append(" Effect: " + ((behavior == null) ?
>>> "None":behavior.getName())+ "\n");
>>> if (behavior != null) {
>>> for (int s = 0; s < behavior.getAppliedStereotypes().size();s++) {
>>> Stereotype aStereoType = (Stereotype)
>>> behavior.getAppliedStereotypes().get(s);
>>> buf.append(" Stereotype: " + aStereoType.getName()+ "\n");
>>> }
>>> }
>>>
>>> Although the name of the effect is shown correctly, the size of the
>>> applied stereotype list is 0. How can I use the API to discover if a
>>> Transition.getEffect() is applied a stereotype described in a custom
>>> profile?
>>>
>>> I attach the exported model and custom profile. (RSA uses UML2
>>> 2.0.2v200610251409)
>>>
>>> Thanks for your attention,
>>> Mirco
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>> ------------------------------------------------------------ --------------------
>>
>>
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <xmi:XMI xmi:version="2.1"
>>> xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>> xmlns:PEPAProfile="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13"
>>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
>>> xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"
>>> xsi:schemaLocation="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13
>>> PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw">
>>> <uml:Model xmi:id="_19s3j7adEduYg9z0frhrGw" name="FirstModel">
>>> <packageImport xmi:id="_19s3kLadEduYg9z0frhrGw">
>>> <importedPackage xmi:type="uml:Model"
>>> href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
>>> </packageImport>
>>> <packagedElement xmi:type="uml:StateMachine"
>>> xmi:id="_19s3kbadEduYg9z0frhrGw" name="StateMachine">
>>> <region xmi:id="_19s3kradEduYg9z0frhrGw" name="Region1">
>>> <subvertex xmi:type="uml:Pseudostate"
>>> xmi:id="_19s3k7adEduYg9z0frhrGw" outgoing="_19s3l7adEduYg9z0frhrGw"/>
>>> <subvertex xmi:type="uml:State" xmi:id="_19s3lLadEduYg9z0frhrGw"
>>> name="P1" outgoing="_19s3mLadEduYg9z0frhrGw"
>>> incoming="_19s3l7adEduYg9z0frhrGw"/>
>>> <subvertex xmi:type="uml:State" xmi:id="_19s3lbadEduYg9z0frhrGw"
>>> name="P2" outgoing="_19s3mradEduYg9z0frhrGw"
>>> incoming="_19s3mLadEduYg9z0frhrGw"/>
>>> <subvertex xmi:type="uml:FinalState"
>>> xmi:id="_19s3lradEduYg9z0frhrGw" incoming="_19s3mradEduYg9z0frhrGw"/>
>>> <transition xmi:id="_19s3l7adEduYg9z0frhrGw" kind="local"
>>> target="_19s3lLadEduYg9z0frhrGw" source="_19s3k7adEduYg9z0frhrGw"/>
>>> <transition xmi:id="_19s3mLadEduYg9z0frhrGw" name="a"
>>> kind="local" target="_19s3lbadEduYg9z0frhrGw"
>>> source="_19s3lLadEduYg9z0frhrGw">
>>> <effect xmi:type="uml:OpaqueBehavior"
>>> xmi:id="_19s3mbadEduYg9z0frhrGw" name="anEffect"/>
>>> </transition>
>>> <transition xmi:id="_19s3mradEduYg9z0frhrGw" kind="local"
>>> target="_19s3lradEduYg9z0frhrGw" source="_19s3lbadEduYg9z0frhrGw"/>
>>> </region>
>>> </packagedElement>
>>> <profileApplication xmi:id="_19s3m7adEduYg9z0frhrGw">
>>> <eAnnotations xmi:id="_19s3nLadEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>> <references xmi:type="ecore:EPackage"
>>> href=" pathmap://UML_PROFILES/Standard.profile.uml#_yzU58YinEdqtvbn fB2L_5w"/>
>>> </eAnnotations>
>>> <appliedProfile
>>> href="pathmap://UML_PROFILES/Standard.profile.uml#_0"/>
>>> </profileApplication>
>>> <profileApplication xmi:id="_19s3nbadEduYg9z0frhrGw">
>>> <eAnnotations xmi:id="_19s3nradEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>> <references xmi:type="ecore:EPackage"
>>> href="Default.profile.uml#_19s3KbadEduYg9z0frhrGw"/>
>>> </eAnnotations>
>>> <appliedProfile
>>> href="Default.profile.uml#_19s3J7adEduYg9z0frhrGw"/>
>>> </profileApplication>
>>> <profileApplication xmi:id="_19s3n7adEduYg9z0frhrGw">
>>> <eAnnotations xmi:id="_19s3oLadEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>> <references xmi:type="ecore:EPackage"
>>> href="Deployment.profile.uml#_19s3pradEduYg9z0frhrGw"/>
>>> </eAnnotations>
>>> <appliedProfile
>>> href="Deployment.profile.uml#_19s3pLadEduYg9z0frhrGw"/>
>>> </profileApplication>
>>> <profileApplication xmi:id="_19s3obadEduYg9z0frhrGw">
>>> <eAnnotations xmi:id="_19s3oradEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>> <references xmi:type="ecore:EPackage"
>>> href="PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw"/ >
>>> </eAnnotations>
>>> <appliedProfile
>>> href="PEPA.profile.uml.profile.uml#_19s2fLadEduYg9z0frhrGw"/ >
>>> </profileApplication>
>>> </uml:Model>
>>> <PEPAProfile:ActiveRate xmi:id="_19s3o7adEduYg9z0frhrGw" value="2.0"
>>> base_Behavior="_19s3mbadEduYg9z0frhrGw"/>
>>> </xmi:XMI>
>>>
>>
>>
>> ------------------------------------------------------------ --------------------
>>
>>
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <uml:Profile xmi:version="2.1"
>>> xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
>>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
>>> xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"
>>> xmi:id="_19s2fLadEduYg9z0frhrGw" name="PEPAProfile"
>>> metamodelReference="_19s3FLadEduYg9z0frhrGw">
>>> <eAnnotations xmi:id="_19s2fbadEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2fradEduYg9z0frhrGw"
>>> name="PEPAProfile"
>>> nsURI="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13"
>>> nsPrefix="PEPAProfile">
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s2f7adEduYg9z0frhrGw" name="ActiveRate">
>>> <eAnnotations xmi:id="_19s2gLadEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s2gbadEduYg9z0frhrGw" name="value" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s2gradEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s2g7adEduYg9z0frhrGw" name="PassiveRate">
>>> <eAnnotations xmi:id="_19s2hLadEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3GradEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s2hbadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>> lowerBound="1" defaultValueLiteral="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s2hradEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s2h7adEduYg9z0frhrGw" name="UtilisationResult">
>>> <eAnnotations xmi:id="_19s2iLadEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s2ibadEduYg9z0frhrGw" name="value" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s2iradEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> </contents>
>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2i7adEduYg9z0frhrGw"
>>> name="PEPAProfile"
>>> nsURI="http:///schemas/PEPAProfile/_PYPuQLXrEduQbrr1ndBC-A/12"
>>> nsPrefix="PEPAProfile">
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s2jLadEduYg9z0frhrGw" name="ActiveRate">
>>> <eAnnotations xmi:id="_19s2jbadEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s2jradEduYg9z0frhrGw" name="value" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s2j7adEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s2kLadEduYg9z0frhrGw" name="PassiveRate">
>>> <eAnnotations xmi:id="_19s2kbadEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3GradEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s2kradEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>> lowerBound="1" defaultValueLiteral="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s2k7adEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s2lLadEduYg9z0frhrGw" name="UtilisationResult">
>>> <eAnnotations xmi:id="_19s2lbadEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s2lradEduYg9z0frhrGw" name="value" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s2l7adEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s2mLadEduYg9z0frhrGw" name="state" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> </contents>
>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2mbadEduYg9z0frhrGw"
>>> name="PEPAProfile"
>>> nsURI="http:///schemas/PEPAProfile/_CQeHELXoEduQbrr1ndBC-A/11"
>>> nsPrefix="PEPAProfile">
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s2mradEduYg9z0frhrGw" name="ActiveRate">
>>> <eAnnotations xmi:id="_19s2m7adEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s2nLadEduYg9z0frhrGw" name="value" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s2nbadEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s2nradEduYg9z0frhrGw" name="PassiveRate">
>>> <eAnnotations xmi:id="_19s2n7adEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3GradEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s2oLadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>> lowerBound="1" defaultValueLiteral="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s2obadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s2oradEduYg9z0frhrGw" name="UtilisationResult">
>>> <eAnnotations xmi:id="_19s2o7adEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s2pLadEduYg9z0frhrGw" name="value" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s2pbadEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> </contents>
>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2pradEduYg9z0frhrGw"
>>> name="PEPAProfile"
>>> nsURI="http:///schemas/PEPAProfile/_1FD1sLXnEduQbrr1ndBC-A/10"
>>> nsPrefix="PEPAProfile">
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s2p7adEduYg9z0frhrGw" name="ActiveRate">
>>> <eAnnotations xmi:id="_19s2qLadEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s2qbadEduYg9z0frhrGw" name="value" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s2qradEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s2q7adEduYg9z0frhrGw" name="PassiveRate">
>>> <eAnnotations xmi:id="_19s2rLadEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3GradEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s2rbadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>> lowerBound="1" defaultValueLiteral="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s2rradEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s2r7adEduYg9z0frhrGw" name="UtilisationResult">
>>> <eAnnotations xmi:id="_19s2sLadEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s2sbadEduYg9z0frhrGw" name="value" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s2sradEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s2s7adEduYg9z0frhrGw" name="state" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> </contents>
>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2tLadEduYg9z0frhrGw"
>>> name="PEPAProfile"
>>> nsURI="http:///schemas/PEPAProfile/_aAgqQLXnEduQbrr1ndBC-A/9"
>>> nsPrefix="PEPAProfile">
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s2tbadEduYg9z0frhrGw" name="ActiveRate">
>>> <eAnnotations xmi:id="_19s2tradEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s2t7adEduYg9z0frhrGw" name="value" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s2uLadEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s2ubadEduYg9z0frhrGw" name="PassiveRate">
>>> <eAnnotations xmi:id="_19s2uradEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3GradEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s2u7adEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>> lowerBound="1" defaultValueLiteral="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s2vLadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s2vbadEduYg9z0frhrGw" name="UtilisationResult">
>>> <eAnnotations xmi:id="_19s2vradEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s2v7adEduYg9z0frhrGw" name="value" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s2wLadEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> </contents>
>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2wbadEduYg9z0frhrGw"
>>> name="PEPAProfile"
>>> nsURI="http:///schemas/PEPAProfile/_XtISYLXnEduQbrr1ndBC-A/8"
>>> nsPrefix="PEPAProfile">
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s2wradEduYg9z0frhrGw" name="ActiveRate">
>>> <eAnnotations xmi:id="_19s2w7adEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s2xLadEduYg9z0frhrGw" name="value" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s2xbadEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s2xradEduYg9z0frhrGw" name="PassiveRate">
>>> <eAnnotations xmi:id="_19s2x7adEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3GradEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s2yLadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>> lowerBound="1" defaultValueLiteral="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s2ybadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s2yradEduYg9z0frhrGw" name="UtilisationResult">
>>> <eAnnotations xmi:id="_19s2y7adEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s2zLadEduYg9z0frhrGw" name="value" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> </contents>
>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2zbadEduYg9z0frhrGw"
>>> name="PEPAProfile"
>>> nsURI="http:///schemas/PEPAProfile/_HCgvMLXnEduQbrr1ndBC-A/7"
>>> nsPrefix="PEPAProfile">
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s2zradEduYg9z0frhrGw" name="ActiveRate">
>>> <eAnnotations xmi:id="_19s2z7adEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s20LadEduYg9z0frhrGw" name="value" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s20badEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s20radEduYg9z0frhrGw" name="PassiveRate">
>>> <eAnnotations xmi:id="_19s207adEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3GradEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s21LadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>> lowerBound="1" defaultValueLiteral="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s21badEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> </contents>
>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s21radEduYg9z0frhrGw"
>>> name="PEPAProfile"
>>> nsURI="http:///schemas/PEPAProfile/_nY1ywLXmEduQbrr1ndBC-A/6"
>>> nsPrefix="PEPAProfile">
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s217adEduYg9z0frhrGw" name="ActiveRate">
>>> <eAnnotations xmi:id="_19s22LadEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s22badEduYg9z0frhrGw" name="value" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s22radEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s227adEduYg9z0frhrGw" name="PassiveRate">
>>> <eAnnotations xmi:id="_19s23LadEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3GradEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s23badEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>> lowerBound="1" defaultValueLiteral="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s23radEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s237adEduYg9z0frhrGw" name="UtilisationResult">
>>> <eAnnotations xmi:id="_19s24LadEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s24badEduYg9z0frhrGw" name="value" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s24radEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> </contents>
>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s247adEduYg9z0frhrGw"
>>> name="PEPAProfile"
>>> nsURI="http:///schemas/PEPAProfile/_gYUWULXmEduQbrr1ndBC-A/5"
>>> nsPrefix="PEPAProfile">
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s25LadEduYg9z0frhrGw" name="ActiveRate">
>>> <eAnnotations xmi:id="_19s25badEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s25radEduYg9z0frhrGw" name="value" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s257adEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s26LadEduYg9z0frhrGw" name="PassiveRate">
>>> <eAnnotations xmi:id="_19s26badEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3GradEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s26radEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>> lowerBound="1" defaultValueLiteral="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s267adEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s27LadEduYg9z0frhrGw" name="UtilisationResult">
>>> <eAnnotations xmi:id="_19s27badEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s27radEduYg9z0frhrGw" name="value" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> </contents>
>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s277adEduYg9z0frhrGw"
>>> name="PEPAProfile"
>>> nsURI="http:///schemas/PEPAProfile/_AngQELXmEduQbrr1ndBC-A/4"
>>> nsPrefix="PEPAProfile">
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s28LadEduYg9z0frhrGw" name="ActiveRate">
>>> <eAnnotations xmi:id="_19s28badEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s28radEduYg9z0frhrGw" name="value" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s287adEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s29LadEduYg9z0frhrGw" name="PassiveRate">
>>> <eAnnotations xmi:id="_19s29badEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3GradEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s29radEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>> lowerBound="1" defaultValueLiteral="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s297adEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> </contents>
>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2-LadEduYg9z0frhrGw"
>>> name="PEPAProfile"
>>> nsURI="http:///schemas/PEPAProfile/_j387YLXlEduQbrr1ndBC-A/3"
>>> nsPrefix="PEPAProfile">
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s2-badEduYg9z0frhrGw" name="ActiveRate">
>>> <eAnnotations xmi:id="_19s2-radEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s2-7adEduYg9z0frhrGw" name="value" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="
Re: Programmatic Navigation of a UML2 Model with Custom Profiles [message #470269 is a reply to message #470241] Mon, 12 February 2007 14:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mtribast.inf.ed.ac.uk

Kenn,

Actually the platform log reports "Duplicate feature found" for
UML2-related features. I am trying to figure out how to uninstall the
previous versions; I have tried the Manage Configuration dialog. It
shows the previous versions as disabled but the "Uninstall" menu item is
not enabled. How can I solve this problem? (Sorry if this question is
slightly out of topic...)

Thanks again
Mirco

Kenn Hussey wrote:
> Mirco,
>
> Do you have any problems with your Eclipse configuration? Did you previously
> have an old version of UML2 installed? Are you seeing any exceptions in the
> platform log?
>
> Kenn
>
> "Mirco Tribastone" <mtribast@inf.ed.ac.uk> wrote in message
> news:eqhmk1$ipt$1@utils.eclipse.org...
>> Hi Kenn,
>>
>> I had already checked that, and that was not the problem. The name of the
>> resource is now PEPA.profile.uml. I think I made some progress in finding
>> the problem. I load the model programmatically from a stand-alone
>> application that I wrote by slightly modifying the UML2Article class
>> downloaded from the Eclipse website. I load the model by using the same
>> load(URI) method and registering the resource factories as follows:
>>
>> RESOURCE_SET.getPackageRegistry().put(UMLPackage.eNS_URI,
>> UMLPackage.eINSTANCE);
>> Map extensionToFactoryMap = RESOURCE_SET.getResourceFactoryRegistry()
>> .getExtensionToFactoryMap();
>> extensionToFactoryMap.put(UMLResource.FILE_EXTENSION,
>> UMLResource.Factory.INSTANCE);
>>
>> The output of the programs gives me correct information about the applied
>> stereotypes.
>> The problem seems to persist though when the same code is launched from
>> within an Eclipse instance. I initially thought that problem would be that
>> the UML2Article uses different versions of the plug-ins; hence I created
>> another stand-alone app with the same plug-in versions as my Eclipse
>> configuration, but the model is navigated correctly also in this case.
>>
>> Do you have any idea why the code refuses to work in the Eclipse
>> environment?
>>
>> Thanks for your precious help.
>>
>> Cheers,
>> Mirco
>>
>> Kenn Hussey wrote:
>>> Mirco,
>>>
>>> It sounds like the model is having a hard time finding the profile.
>>> Incidentally, what is the name of the resource that contains the profile?
>>> Based on the schemaLocation declaration in the model, it looks as though
>>> the model is expecting it to be in a 'PEPA.profile.uml.profile.uml'
>>> resource in the same folder as the model...
>>>
>>> Kenn
>>>
>>> "Mirco" <mtribast@inf.ed.ac.uk> wrote in message
>>> news:eqcjth$u0e$1@utils.eclipse.org...
>>>> Hi all,
>>>>
>>>> I've been trying to navigate a UML2 Model to which a custom profile has
>>>> been applied. I defined both the model and the profile by using Rational
>>>> Software Architect 7.0.0. I exported the model into the .uml format and
>>>> developed a plug-in which reads that file and shows information to the
>>>> user. The plug-in runs on the Eclipse run-time workspace of RSA.
>>>> The profile extends an Effect with a stereotype called ActiveRate which
>>>> has a property (double) called 'value'. I use the following code for
>>>> retrieving the information about the stereotypes applied to a
>>>> transition's effect:
>>>>
>>>> /* t is an instance of Transition */
>>>> Behavior behavior = t.getEffect();
>>>> buf.append(" Effect: " + ((behavior == null) ?
>>>> "None":behavior.getName())+ "\n");
>>>> if (behavior != null) {
>>>> for (int s = 0; s < behavior.getAppliedStereotypes().size();s++) {
>>>> Stereotype aStereoType = (Stereotype)
>>>> behavior.getAppliedStereotypes().get(s);
>>>> buf.append(" Stereotype: " + aStereoType.getName()+ "\n");
>>>> }
>>>> }
>>>>
>>>> Although the name of the effect is shown correctly, the size of the
>>>> applied stereotype list is 0. How can I use the API to discover if a
>>>> Transition.getEffect() is applied a stereotype described in a custom
>>>> profile?
>>>>
>>>> I attach the exported model and custom profile. (RSA uses UML2
>>>> 2.0.2v200610251409)
>>>>
>>>> Thanks for your attention,
>>>> Mirco
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>> ------------------------------------------------------------ --------------------
>>>
>>>
>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>> <xmi:XMI xmi:version="2.1"
>>>> xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>> xmlns:PEPAProfile="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13"
>>>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
>>>> xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> xsi:schemaLocation="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13
>>>> PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw">
>>>> <uml:Model xmi:id="_19s3j7adEduYg9z0frhrGw" name="FirstModel">
>>>> <packageImport xmi:id="_19s3kLadEduYg9z0frhrGw">
>>>> <importedPackage xmi:type="uml:Model"
>>>> href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
>>>> </packageImport>
>>>> <packagedElement xmi:type="uml:StateMachine"
>>>> xmi:id="_19s3kbadEduYg9z0frhrGw" name="StateMachine">
>>>> <region xmi:id="_19s3kradEduYg9z0frhrGw" name="Region1">
>>>> <subvertex xmi:type="uml:Pseudostate"
>>>> xmi:id="_19s3k7adEduYg9z0frhrGw" outgoing="_19s3l7adEduYg9z0frhrGw"/>
>>>> <subvertex xmi:type="uml:State" xmi:id="_19s3lLadEduYg9z0frhrGw"
>>>> name="P1" outgoing="_19s3mLadEduYg9z0frhrGw"
>>>> incoming="_19s3l7adEduYg9z0frhrGw"/>
>>>> <subvertex xmi:type="uml:State" xmi:id="_19s3lbadEduYg9z0frhrGw"
>>>> name="P2" outgoing="_19s3mradEduYg9z0frhrGw"
>>>> incoming="_19s3mLadEduYg9z0frhrGw"/>
>>>> <subvertex xmi:type="uml:FinalState"
>>>> xmi:id="_19s3lradEduYg9z0frhrGw" incoming="_19s3mradEduYg9z0frhrGw"/>
>>>> <transition xmi:id="_19s3l7adEduYg9z0frhrGw" kind="local"
>>>> target="_19s3lLadEduYg9z0frhrGw" source="_19s3k7adEduYg9z0frhrGw"/>
>>>> <transition xmi:id="_19s3mLadEduYg9z0frhrGw" name="a"
>>>> kind="local" target="_19s3lbadEduYg9z0frhrGw"
>>>> source="_19s3lLadEduYg9z0frhrGw">
>>>> <effect xmi:type="uml:OpaqueBehavior"
>>>> xmi:id="_19s3mbadEduYg9z0frhrGw" name="anEffect"/>
>>>> </transition>
>>>> <transition xmi:id="_19s3mradEduYg9z0frhrGw" kind="local"
>>>> target="_19s3lradEduYg9z0frhrGw" source="_19s3lbadEduYg9z0frhrGw"/>
>>>> </region>
>>>> </packagedElement>
>>>> <profileApplication xmi:id="_19s3m7adEduYg9z0frhrGw">
>>>> <eAnnotations xmi:id="_19s3nLadEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>> <references xmi:type="ecore:EPackage"
>>>> href=" pathmap://UML_PROFILES/Standard.profile.uml#_yzU58YinEdqtvbn fB2L_5w"/>
>>>> </eAnnotations>
>>>> <appliedProfile
>>>> href="pathmap://UML_PROFILES/Standard.profile.uml#_0"/>
>>>> </profileApplication>
>>>> <profileApplication xmi:id="_19s3nbadEduYg9z0frhrGw">
>>>> <eAnnotations xmi:id="_19s3nradEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>> <references xmi:type="ecore:EPackage"
>>>> href="Default.profile.uml#_19s3KbadEduYg9z0frhrGw"/>
>>>> </eAnnotations>
>>>> <appliedProfile
>>>> href="Default.profile.uml#_19s3J7adEduYg9z0frhrGw"/>
>>>> </profileApplication>
>>>> <profileApplication xmi:id="_19s3n7adEduYg9z0frhrGw">
>>>> <eAnnotations xmi:id="_19s3oLadEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>> <references xmi:type="ecore:EPackage"
>>>> href="Deployment.profile.uml#_19s3pradEduYg9z0frhrGw"/>
>>>> </eAnnotations>
>>>> <appliedProfile
>>>> href="Deployment.profile.uml#_19s3pLadEduYg9z0frhrGw"/>
>>>> </profileApplication>
>>>> <profileApplication xmi:id="_19s3obadEduYg9z0frhrGw">
>>>> <eAnnotations xmi:id="_19s3oradEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>> <references xmi:type="ecore:EPackage"
>>>> href="PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw"/ >
>>>> </eAnnotations>
>>>> <appliedProfile
>>>> href="PEPA.profile.uml.profile.uml#_19s2fLadEduYg9z0frhrGw"/ >
>>>> </profileApplication>
>>>> </uml:Model>
>>>> <PEPAProfile:ActiveRate xmi:id="_19s3o7adEduYg9z0frhrGw" value="2.0"
>>>> base_Behavior="_19s3mbadEduYg9z0frhrGw"/>
>>>> </xmi:XMI>
>>>>
>>>
>>> ------------------------------------------------------------ --------------------
>>>
>>>
>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>> <uml:Profile xmi:version="2.1"
>>>> xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
>>>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
>>>> xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> xmi:id="_19s2fLadEduYg9z0frhrGw" name="PEPAProfile"
>>>> metamodelReference="_19s3FLadEduYg9z0frhrGw">
>>>> <eAnnotations xmi:id="_19s2fbadEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2fradEduYg9z0frhrGw"
>>>> name="PEPAProfile"
>>>> nsURI="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13"
>>>> nsPrefix="PEPAProfile">
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s2f7adEduYg9z0frhrGw" name="ActiveRate">
>>>> <eAnnotations xmi:id="_19s2gLadEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s2gbadEduYg9z0frhrGw" name="value" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s2gradEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s2g7adEduYg9z0frhrGw" name="PassiveRate">
>>>> <eAnnotations xmi:id="_19s2hLadEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s2hbadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>> lowerBound="1" defaultValueLiteral="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s2hradEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s2h7adEduYg9z0frhrGw" name="UtilisationResult">
>>>> <eAnnotations xmi:id="_19s2iLadEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s2ibadEduYg9z0frhrGw" name="value" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s2iradEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> </contents>
>>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2i7adEduYg9z0frhrGw"
>>>> name="PEPAProfile"
>>>> nsURI="http:///schemas/PEPAProfile/_PYPuQLXrEduQbrr1ndBC-A/12"
>>>> nsPrefix="PEPAProfile">
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s2jLadEduYg9z0frhrGw" name="ActiveRate">
>>>> <eAnnotations xmi:id="_19s2jbadEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s2jradEduYg9z0frhrGw" name="value" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s2j7adEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s2kLadEduYg9z0frhrGw" name="PassiveRate">
>>>> <eAnnotations xmi:id="_19s2kbadEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s2kradEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>> lowerBound="1" defaultValueLiteral="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s2k7adEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s2lLadEduYg9z0frhrGw" name="UtilisationResult">
>>>> <eAnnotations xmi:id="_19s2lbadEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s2lradEduYg9z0frhrGw" name="value" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s2l7adEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s2mLadEduYg9z0frhrGw" name="state" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> </contents>
>>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2mbadEduYg9z0frhrGw"
>>>> name="PEPAProfile"
>>>> nsURI="http:///schemas/PEPAProfile/_CQeHELXoEduQbrr1ndBC-A/11"
>>>> nsPrefix="PEPAProfile">
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s2mradEduYg9z0frhrGw" name="ActiveRate">
>>>> <eAnnotations xmi:id="_19s2m7adEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s2nLadEduYg9z0frhrGw" name="value" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s2nbadEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s2nradEduYg9z0frhrGw" name="PassiveRate">
>>>> <eAnnotations xmi:id="_19s2n7adEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s2oLadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>> lowerBound="1" defaultValueLiteral="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s2obadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s2oradEduYg9z0frhrGw" name="UtilisationResult">
>>>> <eAnnotations xmi:id="_19s2o7adEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s2pLadEduYg9z0frhrGw" name="value" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s2pbadEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> </contents>
>>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2pradEduYg9z0frhrGw"
>>>> name="PEPAProfile"
>>>> nsURI="http:///schemas/PEPAProfile/_1FD1sLXnEduQbrr1ndBC-A/10"
>>>> nsPrefix="PEPAProfile">
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s2p7adEduYg9z0frhrGw" name="ActiveRate">
>>>> <eAnnotations xmi:id="_19s2qLadEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s2qbadEduYg9z0frhrGw" name="value" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s2qradEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s2q7adEduYg9z0frhrGw" name="PassiveRate">
>>>> <eAnnotations xmi:id="_19s2rLadEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s2rbadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>> lowerBound="1" defaultValueLiteral="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s2rradEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s2r7adEduYg9z0frhrGw" name="UtilisationResult">
>>>> <eAnnotations xmi:id="_19s2sLadEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s2sbadEduYg9z0frhrGw" name="value" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s2sradEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s2s7adEduYg9z0frhrGw" name="state" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> </contents>
>>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2tLadEduYg9z0frhrGw"
>>>> name="PEPAProfile"
>>>> nsURI="http:///schemas/PEPAProfile/_aAgqQLXnEduQbrr1ndBC-A/9"
>>>> nsPrefix="PEPAProfile">
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s2tbadEduYg9z0frhrGw" name="ActiveRate">
>>>> <eAnnotations xmi:id="_19s2tradEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s2t7adEduYg9z0frhrGw" name="value" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s2uLadEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s2ubadEduYg9z0frhrGw" name="PassiveRate">
>>>> <eAnnotations xmi:id="_19s2uradEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s2u7adEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>> lowerBound="1" defaultValueLiteral="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s2vLadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s2vbadEduYg9z0frhrGw" name="UtilisationResult">
>>>> <eAnnotations xmi:id="_19s2vradEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s2v7adEduYg9z0frhrGw" name="value" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s2wLadEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> </contents>
>>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2wbadEduYg9z0frhrGw"
>>>> name="PEPAProfile"
>>>> nsURI="http:///schemas/PEPAProfile/_XtISYLXnEduQbrr1ndBC-A/8"
>>>> nsPrefix="PEPAProfile">
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s2wradEduYg9z0frhrGw" name="ActiveRate">
>>>> <eAnnotations xmi:id="_19s2w7adEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s2xLadEduYg9z0frhrGw" name="value" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s2xbadEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s2xradEduYg9z0frhrGw" name="PassiveRate">
>>>> <eAnnotations xmi:id="_19s2x7adEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s2yLadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>> lowerBound="1" defaultValueLiteral="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s2ybadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s2yradEduYg9z0frhrGw" name="UtilisationResult">
>>>> <eAnnotations xmi:id="_19s2y7adEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s2zLadEduYg9z0frhrGw" name="value" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> </contents>
>>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2zbadEduYg9z0frhrGw"
>>>> name="PEPAProfile"
>>>> nsURI="http:///schemas/PEPAProfile/_HCgvMLXnEduQbrr1ndBC-A/7"
>>>> nsPrefix="PEPAProfile">
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s2zradEduYg9z0frhrGw" name="ActiveRate">
>>>> <eAnnotations xmi:id="_19s2z7adEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s20LadEduYg9z0frhrGw" name="value" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s20badEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s20radEduYg9z0frhrGw" name="PassiveRate">
>>>> <eAnnotations xmi:id="_19s207adEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s21LadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>> lowerBound="1" defaultValueLiteral="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s21badEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> </contents>
>>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s21radEduYg9z0frhrGw"
>>>> name="PEPAProfile"
>>>> nsURI="http:///schemas/PEPAProfile/_nY1ywLXmEduQbrr1ndBC-A/6"
>>>> nsPrefix="PEPAProfile">
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s217adEduYg9z0frhrGw" name="ActiveRate">
>>>> <eAnnotations xmi:id="_19s22LadEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s22badEduYg9z0frhrGw" name="value" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s22radEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s227adEduYg9z0frhrGw" name="PassiveRate">
>>>> <eAnnotations xmi:id="_19s23LadEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s23badEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>> lowerBound="1" defaultValueLiteral="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s23radEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s237adEduYg9z0frhrGw" name="UtilisationResult">
>>>> <eAnnotations xmi:id="_19s24LadEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s24badEduYg9z0frhrGw" name="value" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s24radEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> </contents>
>>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s247adEduYg9z0frhrGw"
>>>> name="PEPAProfile"
>>>> nsURI="http:///schemas/PEPAProfile/_gYUWULXmEduQbrr1ndBC-A/5"
>>>> nsPrefix="PEPAProfile">
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s25LadEduYg9z0frhrGw" name="ActiveRate">
>>>> <eAnnotations xmi:id="_19s25badEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s25radEduYg9z0frhrGw" name="value" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s257adEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s26LadEduYg9z0frhrGw" name="PassiveRate">
>>>> <eAnnotations xmi:id="_19s26badEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s26radEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>> lowerBound="1" defaultValueLiteral="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s267adEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s27LadEduYg9z0frhrGw" name="UtilisationResult">
>>>> <eAnnotations xmi:id="_19s27badEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s27radEduYg9z0frhrGw" name="value" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> </contents>
>>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s277adEduYg9z0frhrGw"
>>>> name="PEPAProfile"
>>>> nsURI="http:///schemas/PEPAProfile/_AngQELXmEduQbrr1ndBC-A/4"
>>>> nsPrefix="PEPAProfile">
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s28LadEduYg9z0frhrGw" name="ActiveRate">
>>>> <eAnnotations xmi:id="_19s28badEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s28radEduYg9z0frhrGw" name="value" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>
Re: Programmatic Navigation of a UML2 Model with Custom Profiles [message #470273 is a reply to message #470269] Mon, 12 February 2007 14:56 Go to previous messageGo to next message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
Mirco,

Try deleting the old features and plug-ins from your filesystem and
launching with the -clean option.

Kenn

"Mirco Tribastone" <mtribast@inf.ed.ac.uk> wrote in message
news:eqpss4$e5g$1@utils.eclipse.org...
> Kenn,
>
> Actually the platform log reports "Duplicate feature found" for
> UML2-related features. I am trying to figure out how to uninstall the
> previous versions; I have tried the Manage Configuration dialog. It shows
> the previous versions as disabled but the "Uninstall" menu item is not
> enabled. How can I solve this problem? (Sorry if this question is slightly
> out of topic...)
>
> Thanks again
> Mirco
>
> Kenn Hussey wrote:
>> Mirco,
>>
>> Do you have any problems with your Eclipse configuration? Did you
>> previously have an old version of UML2 installed? Are you seeing any
>> exceptions in the platform log?
>>
>> Kenn
>>
>> "Mirco Tribastone" <mtribast@inf.ed.ac.uk> wrote in message
>> news:eqhmk1$ipt$1@utils.eclipse.org...
>>> Hi Kenn,
>>>
>>> I had already checked that, and that was not the problem. The name of
>>> the resource is now PEPA.profile.uml. I think I made some progress in
>>> finding the problem. I load the model programmatically from a
>>> stand-alone application that I wrote by slightly modifying the
>>> UML2Article class downloaded from the Eclipse website. I load the model
>>> by using the same load(URI) method and registering the resource
>>> factories as follows:
>>>
>>> RESOURCE_SET.getPackageRegistry().put(UMLPackage.eNS_URI,
>>> UMLPackage.eINSTANCE);
>>> Map extensionToFactoryMap = RESOURCE_SET.getResourceFactoryRegistry()
>>> .getExtensionToFactoryMap();
>>> extensionToFactoryMap.put(UMLResource.FILE_EXTENSION,
>>> UMLResource.Factory.INSTANCE);
>>>
>>> The output of the programs gives me correct information about the
>>> applied stereotypes.
>>> The problem seems to persist though when the same code is launched from
>>> within an Eclipse instance. I initially thought that problem would be
>>> that the UML2Article uses different versions of the plug-ins; hence I
>>> created another stand-alone app with the same plug-in versions as my
>>> Eclipse configuration, but the model is navigated correctly also in this
>>> case.
>>>
>>> Do you have any idea why the code refuses to work in the Eclipse
>>> environment?
>>>
>>> Thanks for your precious help.
>>>
>>> Cheers,
>>> Mirco
>>>
>>> Kenn Hussey wrote:
>>>> Mirco,
>>>>
>>>> It sounds like the model is having a hard time finding the profile.
>>>> Incidentally, what is the name of the resource that contains the
>>>> profile? Based on the schemaLocation declaration in the model, it looks
>>>> as though the model is expecting it to be in a
>>>> 'PEPA.profile.uml.profile.uml' resource in the same folder as the
>>>> model...
>>>>
>>>> Kenn
>>>>
>>>> "Mirco" <mtribast@inf.ed.ac.uk> wrote in message
>>>> news:eqcjth$u0e$1@utils.eclipse.org...
>>>>> Hi all,
>>>>>
>>>>> I've been trying to navigate a UML2 Model to which a custom profile
>>>>> has
>>>>> been applied. I defined both the model and the profile by using
>>>>> Rational
>>>>> Software Architect 7.0.0. I exported the model into the .uml format
>>>>> and
>>>>> developed a plug-in which reads that file and shows information to the
>>>>> user. The plug-in runs on the Eclipse run-time workspace of RSA.
>>>>> The profile extends an Effect with a stereotype called ActiveRate
>>>>> which
>>>>> has a property (double) called 'value'. I use the following code for
>>>>> retrieving the information about the stereotypes applied to a
>>>>> transition's effect:
>>>>>
>>>>> /* t is an instance of Transition */
>>>>> Behavior behavior = t.getEffect();
>>>>> buf.append(" Effect: " + ((behavior == null) ?
>>>>> "None":behavior.getName())+ "\n");
>>>>> if (behavior != null) {
>>>>> for (int s = 0; s < behavior.getAppliedStereotypes().size();s++) {
>>>>> Stereotype aStereoType = (Stereotype)
>>>>> behavior.getAppliedStereotypes().get(s);
>>>>> buf.append(" Stereotype: " + aStereoType.getName()+ "\n");
>>>>> }
>>>>> }
>>>>>
>>>>> Although the name of the effect is shown correctly, the size of the
>>>>> applied stereotype list is 0. How can I use the API to discover if a
>>>>> Transition.getEffect() is applied a stereotype described in a custom
>>>>> profile?
>>>>>
>>>>> I attach the exported model and custom profile. (RSA uses UML2
>>>>> 2.0.2v200610251409)
>>>>>
>>>>> Thanks for your attention,
>>>>> Mirco
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>> ------------------------------------------------------------ --------------------
>>>>
>>>>
>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>> <xmi:XMI xmi:version="2.1"
>>>>> xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>> xmlns:PEPAProfile="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13"
>>>>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
>>>>> xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> xsi:schemaLocation="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13
>>>>> PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw">
>>>>> <uml:Model xmi:id="_19s3j7adEduYg9z0frhrGw" name="FirstModel">
>>>>> <packageImport xmi:id="_19s3kLadEduYg9z0frhrGw">
>>>>> <importedPackage xmi:type="uml:Model"
>>>>> href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
>>>>> </packageImport>
>>>>> <packagedElement xmi:type="uml:StateMachine"
>>>>> xmi:id="_19s3kbadEduYg9z0frhrGw" name="StateMachine">
>>>>> <region xmi:id="_19s3kradEduYg9z0frhrGw" name="Region1">
>>>>> <subvertex xmi:type="uml:Pseudostate"
>>>>> xmi:id="_19s3k7adEduYg9z0frhrGw" outgoing="_19s3l7adEduYg9z0frhrGw"/>
>>>>> <subvertex xmi:type="uml:State"
>>>>> xmi:id="_19s3lLadEduYg9z0frhrGw" name="P1"
>>>>> outgoing="_19s3mLadEduYg9z0frhrGw"
>>>>> incoming="_19s3l7adEduYg9z0frhrGw"/>
>>>>> <subvertex xmi:type="uml:State"
>>>>> xmi:id="_19s3lbadEduYg9z0frhrGw" name="P2"
>>>>> outgoing="_19s3mradEduYg9z0frhrGw"
>>>>> incoming="_19s3mLadEduYg9z0frhrGw"/>
>>>>> <subvertex xmi:type="uml:FinalState"
>>>>> xmi:id="_19s3lradEduYg9z0frhrGw" incoming="_19s3mradEduYg9z0frhrGw"/>
>>>>> <transition xmi:id="_19s3l7adEduYg9z0frhrGw" kind="local"
>>>>> target="_19s3lLadEduYg9z0frhrGw" source="_19s3k7adEduYg9z0frhrGw"/>
>>>>> <transition xmi:id="_19s3mLadEduYg9z0frhrGw" name="a"
>>>>> kind="local" target="_19s3lbadEduYg9z0frhrGw"
>>>>> source="_19s3lLadEduYg9z0frhrGw">
>>>>> <effect xmi:type="uml:OpaqueBehavior"
>>>>> xmi:id="_19s3mbadEduYg9z0frhrGw" name="anEffect"/>
>>>>> </transition>
>>>>> <transition xmi:id="_19s3mradEduYg9z0frhrGw" kind="local"
>>>>> target="_19s3lradEduYg9z0frhrGw" source="_19s3lbadEduYg9z0frhrGw"/>
>>>>> </region>
>>>>> </packagedElement>
>>>>> <profileApplication xmi:id="_19s3m7adEduYg9z0frhrGw">
>>>>> <eAnnotations xmi:id="_19s3nLadEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>> <references xmi:type="ecore:EPackage"
>>>>> href=" pathmap://UML_PROFILES/Standard.profile.uml#_yzU58YinEdqtvbn fB2L_5w"/>
>>>>> </eAnnotations>
>>>>> <appliedProfile
>>>>> href="pathmap://UML_PROFILES/Standard.profile.uml#_0"/>
>>>>> </profileApplication>
>>>>> <profileApplication xmi:id="_19s3nbadEduYg9z0frhrGw">
>>>>> <eAnnotations xmi:id="_19s3nradEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>> <references xmi:type="ecore:EPackage"
>>>>> href="Default.profile.uml#_19s3KbadEduYg9z0frhrGw"/>
>>>>> </eAnnotations>
>>>>> <appliedProfile
>>>>> href="Default.profile.uml#_19s3J7adEduYg9z0frhrGw"/>
>>>>> </profileApplication>
>>>>> <profileApplication xmi:id="_19s3n7adEduYg9z0frhrGw">
>>>>> <eAnnotations xmi:id="_19s3oLadEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>> <references xmi:type="ecore:EPackage"
>>>>> href="Deployment.profile.uml#_19s3pradEduYg9z0frhrGw"/>
>>>>> </eAnnotations>
>>>>> <appliedProfile
>>>>> href="Deployment.profile.uml#_19s3pLadEduYg9z0frhrGw"/>
>>>>> </profileApplication>
>>>>> <profileApplication xmi:id="_19s3obadEduYg9z0frhrGw">
>>>>> <eAnnotations xmi:id="_19s3oradEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>> <references xmi:type="ecore:EPackage"
>>>>> href="PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw"/ >
>>>>> </eAnnotations>
>>>>> <appliedProfile
>>>>> href="PEPA.profile.uml.profile.uml#_19s2fLadEduYg9z0frhrGw"/ >
>>>>> </profileApplication>
>>>>> </uml:Model>
>>>>> <PEPAProfile:ActiveRate xmi:id="_19s3o7adEduYg9z0frhrGw" value="2.0"
>>>>> base_Behavior="_19s3mbadEduYg9z0frhrGw"/>
>>>>> </xmi:XMI>
>>>>>
>>>>
>>>> ------------------------------------------------------------ --------------------
>>>>
>>>>
>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>> <uml:Profile xmi:version="2.1"
>>>>> xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
>>>>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
>>>>> xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> xmi:id="_19s2fLadEduYg9z0frhrGw" name="PEPAProfile"
>>>>> metamodelReference="_19s3FLadEduYg9z0frhrGw">
>>>>> <eAnnotations xmi:id="_19s2fbadEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>> <contents xmi:type="ecore:EPackage"
>>>>> xmi:id="_19s2fradEduYg9z0frhrGw" name="PEPAProfile"
>>>>> nsURI="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13"
>>>>> nsPrefix="PEPAProfile">
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s2f7adEduYg9z0frhrGw" name="ActiveRate">
>>>>> <eAnnotations xmi:id="_19s2gLadEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s2gbadEduYg9z0frhrGw" name="value" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s2gradEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s2g7adEduYg9z0frhrGw" name="PassiveRate">
>>>>> <eAnnotations xmi:id="_19s2hLadEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s2hbadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s2hradEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s2h7adEduYg9z0frhrGw" name="UtilisationResult">
>>>>> <eAnnotations xmi:id="_19s2iLadEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s2ibadEduYg9z0frhrGw" name="value" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s2iradEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> </contents>
>>>>> <contents xmi:type="ecore:EPackage"
>>>>> xmi:id="_19s2i7adEduYg9z0frhrGw" name="PEPAProfile"
>>>>> nsURI="http:///schemas/PEPAProfile/_PYPuQLXrEduQbrr1ndBC-A/12"
>>>>> nsPrefix="PEPAProfile">
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s2jLadEduYg9z0frhrGw" name="ActiveRate">
>>>>> <eAnnotations xmi:id="_19s2jbadEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s2jradEduYg9z0frhrGw" name="value" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s2j7adEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s2kLadEduYg9z0frhrGw" name="PassiveRate">
>>>>> <eAnnotations xmi:id="_19s2kbadEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s2kradEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s2k7adEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s2lLadEduYg9z0frhrGw" name="UtilisationResult">
>>>>> <eAnnotations xmi:id="_19s2lbadEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s2lradEduYg9z0frhrGw" name="value" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s2l7adEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s2mLadEduYg9z0frhrGw" name="state" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> </contents>
>>>>> <contents xmi:type="ecore:EPackage"
>>>>> xmi:id="_19s2mbadEduYg9z0frhrGw" name="PEPAProfile"
>>>>> nsURI="http:///schemas/PEPAProfile/_CQeHELXoEduQbrr1ndBC-A/11"
>>>>> nsPrefix="PEPAProfile">
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s2mradEduYg9z0frhrGw" name="ActiveRate">
>>>>> <eAnnotations xmi:id="_19s2m7adEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s2nLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s2nbadEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s2nradEduYg9z0frhrGw" name="PassiveRate">
>>>>> <eAnnotations xmi:id="_19s2n7adEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s2oLadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s2obadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s2oradEduYg9z0frhrGw" name="UtilisationResult">
>>>>> <eAnnotations xmi:id="_19s2o7adEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s2pLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s2pbadEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> </contents>
>>>>> <contents xmi:type="ecore:EPackage"
>>>>> xmi:id="_19s2pradEduYg9z0frhrGw" name="PEPAProfile"
>>>>> nsURI="http:///schemas/PEPAProfile/_1FD1sLXnEduQbrr1ndBC-A/10"
>>>>> nsPrefix="PEPAProfile">
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s2p7adEduYg9z0frhrGw" name="ActiveRate">
>>>>> <eAnnotations xmi:id="_19s2qLadEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s2qbadEduYg9z0frhrGw" name="value" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s2qradEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s2q7adEduYg9z0frhrGw" name="PassiveRate">
>>>>> <eAnnotations xmi:id="_19s2rLadEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s2rbadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s2rradEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s2r7adEduYg9z0frhrGw" name="UtilisationResult">
>>>>> <eAnnotations xmi:id="_19s2sLadEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s2sbadEduYg9z0frhrGw" name="value" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s2sradEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s2s7adEduYg9z0frhrGw" name="state" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> </contents>
>>>>> <contents xmi:type="ecore:EPackage"
>>>>> xmi:id="_19s2tLadEduYg9z0frhrGw" name="PEPAProfile"
>>>>> nsURI="http:///schemas/PEPAProfile/_aAgqQLXnEduQbrr1ndBC-A/9"
>>>>> nsPrefix="PEPAProfile">
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s2tbadEduYg9z0frhrGw" name="ActiveRate">
>>>>> <eAnnotations xmi:id="_19s2tradEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s2t7adEduYg9z0frhrGw" name="value" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s2uLadEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s2ubadEduYg9z0frhrGw" name="PassiveRate">
>>>>> <eAnnotations xmi:id="_19s2uradEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s2u7adEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s2vLadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s2vbadEduYg9z0frhrGw" name="UtilisationResult">
>>>>> <eAnnotations xmi:id="_19s2vradEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s2v7adEduYg9z0frhrGw" name="value" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s2wLadEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> </contents>
>>>>> <contents xmi:type="ecore:EPackage"
>>>>> xmi:id="_19s2wbadEduYg9z0frhrGw" name="PEPAProfile"
>>>>> nsURI="http:///schemas/PEPAProfile/_XtISYLXnEduQbrr1ndBC-A/8"
>>>>> nsPrefix="PEPAProfile">
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s2wradEduYg9z0frhrGw" name="ActiveRate">
>>>>> <eAnnotations xmi:id="_19s2w7adEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s2xLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s2xbadEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s2xradEduYg9z0frhrGw" name="PassiveRate">
>>>>> <eAnnotations xmi:id="_19s2x7adEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s2yLadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s2ybadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s2yradEduYg9z0frhrGw" name="UtilisationResult">
>>>>> <eAnnotations xmi:id="_19s2y7adEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s2zLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> </contents>
>>>>> <contents xmi:type="ecore:EPackage"
>>>>> xmi:id="_19s2zbadEduYg9z0frhrGw" name="PEPAProfile"
>>>>> nsURI="http:///schemas/PEPAProfile/_HCgvMLXnEduQbrr1ndBC-A/7"
>>>>> nsPrefix="PEPAProfile">
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s2zradEduYg9z0frhrGw" name="ActiveRate">
>>>>> <eAnnotations xmi:id="_19s2z7adEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s20LadEduYg9z0frhrGw" name="value" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s20badEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s20radEduYg9z0frhrGw" name="PassiveRate">
>>>>> <eAnnotations xmi:id="_19s207adEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s21LadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s21badEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> </contents>
>>>>> <contents xmi:type="ecore:EPackage"
>>>>> xmi:id="_19s21radEduYg9z0frhrGw" name="PEPAProfile"
>>>>> nsURI="http:///schemas/PEPAProfile/_nY1ywLXmEduQbrr1ndBC-A/6"
>>>>> nsPrefix="PEPAProfile">
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s217adEduYg9z0frhrGw" name="ActiveRate">
>>>>> <eAnnotations xmi:id="_19s22LadEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s22badEduYg9z0frhrGw" name="value" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s22radEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s227adEduYg9z0frhrGw" name="PassiveRate">
>>>>> <eAnnotations xmi:id="_19s23LadEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s23badEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s23radEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s237adEduYg9z0frhrGw" name="UtilisationResult">
>>>>> <eAnnotations xmi:id="_19s24LadEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s24badEduYg9z0frhrGw" name="value" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s24radEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> </contents>
>>>>> <contents xmi:type="ecore:EPackage"
>>>>> xmi:id="_19s247adEduYg9z0frhrGw" name="PEPAProfile"
>>>>> nsURI="http:///schemas/PEPAProfile/_gYUWULXmEduQbrr1ndBC-A/5"
>>>>> nsPrefix="PEPAProfile">
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s25LadEduYg9z0frhrGw" name="ActiveRate">
>>>>> <eAnnotations xmi:id="_19s25badEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s25radEduYg9z0frhrGw" name="value" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s257adEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s26LadEduYg9z0frhrGw" name="PassiveRate">
>>>>> <eAnnotations xmi:id="_19s26badEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s26radEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
Re: Programmatic Navigation of a UML2 Model with Custom Profiles [message #470389 is a reply to message #470273] Tue, 13 February 2007 14:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mtribast.inf.ed.ac.uk

Hi Kenn,

I did that, but it didn't work. I also installed a fresh version of
Eclipse with EMF and UML2 only and tried to run the application from
there, but that didn't work too. I did some more work on my code and I
can confirm that my models are loaded and navigated successfully from a
stand-alone application. What could I do next to solve my problem?

Cheers,
Mirco


Kenn Hussey wrote:
> Mirco,
>
> Try deleting the old features and plug-ins from your filesystem and
> launching with the -clean option.
>
> Kenn
>
> "Mirco Tribastone" <mtribast@inf.ed.ac.uk> wrote in message
> news:eqpss4$e5g$1@utils.eclipse.org...
>> Kenn,
>>
>> Actually the platform log reports "Duplicate feature found" for
>> UML2-related features. I am trying to figure out how to uninstall the
>> previous versions; I have tried the Manage Configuration dialog. It shows
>> the previous versions as disabled but the "Uninstall" menu item is not
>> enabled. How can I solve this problem? (Sorry if this question is slightly
>> out of topic...)
>>
>> Thanks again
>> Mirco
>>
>> Kenn Hussey wrote:
>>> Mirco,
>>>
>>> Do you have any problems with your Eclipse configuration? Did you
>>> previously have an old version of UML2 installed? Are you seeing any
>>> exceptions in the platform log?
>>>
>>> Kenn
>>>
>>> "Mirco Tribastone" <mtribast@inf.ed.ac.uk> wrote in message
>>> news:eqhmk1$ipt$1@utils.eclipse.org...
>>>> Hi Kenn,
>>>>
>>>> I had already checked that, and that was not the problem. The name of
>>>> the resource is now PEPA.profile.uml. I think I made some progress in
>>>> finding the problem. I load the model programmatically from a
>>>> stand-alone application that I wrote by slightly modifying the
>>>> UML2Article class downloaded from the Eclipse website. I load the model
>>>> by using the same load(URI) method and registering the resource
>>>> factories as follows:
>>>>
>>>> RESOURCE_SET.getPackageRegistry().put(UMLPackage.eNS_URI,
>>>> UMLPackage.eINSTANCE);
>>>> Map extensionToFactoryMap = RESOURCE_SET.getResourceFactoryRegistry()
>>>> .getExtensionToFactoryMap();
>>>> extensionToFactoryMap.put(UMLResource.FILE_EXTENSION,
>>>> UMLResource.Factory.INSTANCE);
>>>>
>>>> The output of the programs gives me correct information about the
>>>> applied stereotypes.
>>>> The problem seems to persist though when the same code is launched from
>>>> within an Eclipse instance. I initially thought that problem would be
>>>> that the UML2Article uses different versions of the plug-ins; hence I
>>>> created another stand-alone app with the same plug-in versions as my
>>>> Eclipse configuration, but the model is navigated correctly also in this
>>>> case.
>>>>
>>>> Do you have any idea why the code refuses to work in the Eclipse
>>>> environment?
>>>>
>>>> Thanks for your precious help.
>>>>
>>>> Cheers,
>>>> Mirco
>>>>
>>>> Kenn Hussey wrote:
>>>>> Mirco,
>>>>>
>>>>> It sounds like the model is having a hard time finding the profile.
>>>>> Incidentally, what is the name of the resource that contains the
>>>>> profile? Based on the schemaLocation declaration in the model, it looks
>>>>> as though the model is expecting it to be in a
>>>>> 'PEPA.profile.uml.profile.uml' resource in the same folder as the
>>>>> model...
>>>>>
>>>>> Kenn
>>>>>
>>>>> "Mirco" <mtribast@inf.ed.ac.uk> wrote in message
>>>>> news:eqcjth$u0e$1@utils.eclipse.org...
>>>>>> Hi all,
>>>>>>
>>>>>> I've been trying to navigate a UML2 Model to which a custom profile
>>>>>> has
>>>>>> been applied. I defined both the model and the profile by using
>>>>>> Rational
>>>>>> Software Architect 7.0.0. I exported the model into the .uml format
>>>>>> and
>>>>>> developed a plug-in which reads that file and shows information to the
>>>>>> user. The plug-in runs on the Eclipse run-time workspace of RSA.
>>>>>> The profile extends an Effect with a stereotype called ActiveRate
>>>>>> which
>>>>>> has a property (double) called 'value'. I use the following code for
>>>>>> retrieving the information about the stereotypes applied to a
>>>>>> transition's effect:
>>>>>>
>>>>>> /* t is an instance of Transition */
>>>>>> Behavior behavior = t.getEffect();
>>>>>> buf.append(" Effect: " + ((behavior == null) ?
>>>>>> "None":behavior.getName())+ "\n");
>>>>>> if (behavior != null) {
>>>>>> for (int s = 0; s < behavior.getAppliedStereotypes().size();s++) {
>>>>>> Stereotype aStereoType = (Stereotype)
>>>>>> behavior.getAppliedStereotypes().get(s);
>>>>>> buf.append(" Stereotype: " + aStereoType.getName()+ "\n");
>>>>>> }
>>>>>> }
>>>>>>
>>>>>> Although the name of the effect is shown correctly, the size of the
>>>>>> applied stereotype list is 0. How can I use the API to discover if a
>>>>>> Transition.getEffect() is applied a stereotype described in a custom
>>>>>> profile?
>>>>>>
>>>>>> I attach the exported model and custom profile. (RSA uses UML2
>>>>>> 2.0.2v200610251409)
>>>>>>
>>>>>> Thanks for your attention,
>>>>>> Mirco
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>> ------------------------------------------------------------ --------------------
>>>>>
>>>>>
>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>> <xmi:XMI xmi:version="2.1"
>>>>>> xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>> xmlns:PEPAProfile="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13"
>>>>>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
>>>>>> xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> xsi:schemaLocation="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13
>>>>>> PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw">
>>>>>> <uml:Model xmi:id="_19s3j7adEduYg9z0frhrGw" name="FirstModel">
>>>>>> <packageImport xmi:id="_19s3kLadEduYg9z0frhrGw">
>>>>>> <importedPackage xmi:type="uml:Model"
>>>>>> href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
>>>>>> </packageImport>
>>>>>> <packagedElement xmi:type="uml:StateMachine"
>>>>>> xmi:id="_19s3kbadEduYg9z0frhrGw" name="StateMachine">
>>>>>> <region xmi:id="_19s3kradEduYg9z0frhrGw" name="Region1">
>>>>>> <subvertex xmi:type="uml:Pseudostate"
>>>>>> xmi:id="_19s3k7adEduYg9z0frhrGw" outgoing="_19s3l7adEduYg9z0frhrGw"/>
>>>>>> <subvertex xmi:type="uml:State"
>>>>>> xmi:id="_19s3lLadEduYg9z0frhrGw" name="P1"
>>>>>> outgoing="_19s3mLadEduYg9z0frhrGw"
>>>>>> incoming="_19s3l7adEduYg9z0frhrGw"/>
>>>>>> <subvertex xmi:type="uml:State"
>>>>>> xmi:id="_19s3lbadEduYg9z0frhrGw" name="P2"
>>>>>> outgoing="_19s3mradEduYg9z0frhrGw"
>>>>>> incoming="_19s3mLadEduYg9z0frhrGw"/>
>>>>>> <subvertex xmi:type="uml:FinalState"
>>>>>> xmi:id="_19s3lradEduYg9z0frhrGw" incoming="_19s3mradEduYg9z0frhrGw"/>
>>>>>> <transition xmi:id="_19s3l7adEduYg9z0frhrGw" kind="local"
>>>>>> target="_19s3lLadEduYg9z0frhrGw" source="_19s3k7adEduYg9z0frhrGw"/>
>>>>>> <transition xmi:id="_19s3mLadEduYg9z0frhrGw" name="a"
>>>>>> kind="local" target="_19s3lbadEduYg9z0frhrGw"
>>>>>> source="_19s3lLadEduYg9z0frhrGw">
>>>>>> <effect xmi:type="uml:OpaqueBehavior"
>>>>>> xmi:id="_19s3mbadEduYg9z0frhrGw" name="anEffect"/>
>>>>>> </transition>
>>>>>> <transition xmi:id="_19s3mradEduYg9z0frhrGw" kind="local"
>>>>>> target="_19s3lradEduYg9z0frhrGw" source="_19s3lbadEduYg9z0frhrGw"/>
>>>>>> </region>
>>>>>> </packagedElement>
>>>>>> <profileApplication xmi:id="_19s3m7adEduYg9z0frhrGw">
>>>>>> <eAnnotations xmi:id="_19s3nLadEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>> <references xmi:type="ecore:EPackage"
>>>>>> href=" pathmap://UML_PROFILES/Standard.profile.uml#_yzU58YinEdqtvbn fB2L_5w"/>
>>>>>> </eAnnotations>
>>>>>> <appliedProfile
>>>>>> href="pathmap://UML_PROFILES/Standard.profile.uml#_0"/>
>>>>>> </profileApplication>
>>>>>> <profileApplication xmi:id="_19s3nbadEduYg9z0frhrGw">
>>>>>> <eAnnotations xmi:id="_19s3nradEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>> <references xmi:type="ecore:EPackage"
>>>>>> href="Default.profile.uml#_19s3KbadEduYg9z0frhrGw"/>
>>>>>> </eAnnotations>
>>>>>> <appliedProfile
>>>>>> href="Default.profile.uml#_19s3J7adEduYg9z0frhrGw"/>
>>>>>> </profileApplication>
>>>>>> <profileApplication xmi:id="_19s3n7adEduYg9z0frhrGw">
>>>>>> <eAnnotations xmi:id="_19s3oLadEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>> <references xmi:type="ecore:EPackage"
>>>>>> href="Deployment.profile.uml#_19s3pradEduYg9z0frhrGw"/>
>>>>>> </eAnnotations>
>>>>>> <appliedProfile
>>>>>> href="Deployment.profile.uml#_19s3pLadEduYg9z0frhrGw"/>
>>>>>> </profileApplication>
>>>>>> <profileApplication xmi:id="_19s3obadEduYg9z0frhrGw">
>>>>>> <eAnnotations xmi:id="_19s3oradEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>> <references xmi:type="ecore:EPackage"
>>>>>> href="PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw"/ >
>>>>>> </eAnnotations>
>>>>>> <appliedProfile
>>>>>> href="PEPA.profile.uml.profile.uml#_19s2fLadEduYg9z0frhrGw"/ >
>>>>>> </profileApplication>
>>>>>> </uml:Model>
>>>>>> <PEPAProfile:ActiveRate xmi:id="_19s3o7adEduYg9z0frhrGw" value="2.0"
>>>>>> base_Behavior="_19s3mbadEduYg9z0frhrGw"/>
>>>>>> </xmi:XMI>
>>>>>>
>>>>> ------------------------------------------------------------ --------------------
>>>>>
>>>>>
>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>> <uml:Profile xmi:version="2.1"
>>>>>> xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
>>>>>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
>>>>>> xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> xmi:id="_19s2fLadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>> metamodelReference="_19s3FLadEduYg9z0frhrGw">
>>>>>> <eAnnotations xmi:id="_19s2fbadEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>> xmi:id="_19s2fradEduYg9z0frhrGw" name="PEPAProfile"
>>>>>> nsURI="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13"
>>>>>> nsPrefix="PEPAProfile">
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s2f7adEduYg9z0frhrGw" name="ActiveRate">
>>>>>> <eAnnotations xmi:id="_19s2gLadEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s2gbadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s2gradEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s2g7adEduYg9z0frhrGw" name="PassiveRate">
>>>>>> <eAnnotations xmi:id="_19s2hLadEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s2hbadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s2hradEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s2h7adEduYg9z0frhrGw" name="UtilisationResult">
>>>>>> <eAnnotations xmi:id="_19s2iLadEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s2ibadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s2iradEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> </contents>
>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>> xmi:id="_19s2i7adEduYg9z0frhrGw" name="PEPAProfile"
>>>>>> nsURI="http:///schemas/PEPAProfile/_PYPuQLXrEduQbrr1ndBC-A/12"
>>>>>> nsPrefix="PEPAProfile">
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s2jLadEduYg9z0frhrGw" name="ActiveRate">
>>>>>> <eAnnotations xmi:id="_19s2jbadEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s2jradEduYg9z0frhrGw" name="value" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s2j7adEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s2kLadEduYg9z0frhrGw" name="PassiveRate">
>>>>>> <eAnnotations xmi:id="_19s2kbadEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s2kradEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s2k7adEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s2lLadEduYg9z0frhrGw" name="UtilisationResult">
>>>>>> <eAnnotations xmi:id="_19s2lbadEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s2lradEduYg9z0frhrGw" name="value" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s2l7adEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s2mLadEduYg9z0frhrGw" name="state" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> </contents>
>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>> xmi:id="_19s2mbadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>> nsURI="http:///schemas/PEPAProfile/_CQeHELXoEduQbrr1ndBC-A/11"
>>>>>> nsPrefix="PEPAProfile">
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s2mradEduYg9z0frhrGw" name="ActiveRate">
>>>>>> <eAnnotations xmi:id="_19s2m7adEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s2nLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s2nbadEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s2nradEduYg9z0frhrGw" name="PassiveRate">
>>>>>> <eAnnotations xmi:id="_19s2n7adEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s2oLadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s2obadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s2oradEduYg9z0frhrGw" name="UtilisationResult">
>>>>>> <eAnnotations xmi:id="_19s2o7adEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s2pLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s2pbadEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> </contents>
>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>> xmi:id="_19s2pradEduYg9z0frhrGw" name="PEPAProfile"
>>>>>> nsURI="http:///schemas/PEPAProfile/_1FD1sLXnEduQbrr1ndBC-A/10"
>>>>>> nsPrefix="PEPAProfile">
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s2p7adEduYg9z0frhrGw" name="ActiveRate">
>>>>>> <eAnnotations xmi:id="_19s2qLadEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s2qbadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s2qradEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s2q7adEduYg9z0frhrGw" name="PassiveRate">
>>>>>> <eAnnotations xmi:id="_19s2rLadEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s2rbadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s2rradEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s2r7adEduYg9z0frhrGw" name="UtilisationResult">
>>>>>> <eAnnotations xmi:id="_19s2sLadEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s2sbadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s2sradEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s2s7adEduYg9z0frhrGw" name="state" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> </contents>
>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>> xmi:id="_19s2tLadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>> nsURI="http:///schemas/PEPAProfile/_aAgqQLXnEduQbrr1ndBC-A/9"
>>>>>> nsPrefix="PEPAProfile">
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s2tbadEduYg9z0frhrGw" name="ActiveRate">
>>>>>> <eAnnotations xmi:id="_19s2tradEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s2t7adEduYg9z0frhrGw" name="value" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s2uLadEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s2ubadEduYg9z0frhrGw" name="PassiveRate">
>>>>>> <eAnnotations xmi:id="_19s2uradEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s2u7adEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s2vLadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s2vbadEduYg9z0frhrGw" name="UtilisationResult">
>>>>>> <eAnnotations xmi:id="_19s2vradEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s2v7adEduYg9z0frhrGw" name="value" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s2wLadEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> </contents>
>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>> xmi:id="_19s2wbadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>> nsURI="http:///schemas/PEPAProfile/_XtISYLXnEduQbrr1ndBC-A/8"
>>>>>> nsPrefix="PEPAProfile">
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s2wradEduYg9z0frhrGw" name="ActiveRate">
>>>>>> <eAnnotations xmi:id="_19s2w7adEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s2xLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s2xbadEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s2xradEduYg9z0frhrGw" name="PassiveRate">
>>>>>> <eAnnotations xmi:id="_19s2x7adEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s2yLadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s2ybadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s2yradEduYg9z0frhrGw" name="UtilisationResult">
>>>>>> <eAnnotations xmi:id="_19s2y7adEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s2zLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> </contents>
>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>> xmi:id="_19s2zbadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>> nsURI="http:///schemas/PEPAProfile/_HCgvMLXnEduQbrr1ndBC-A/7"
>>>>>> nsPrefix="PEPAProfile">
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s2zradEduYg9z0frhrGw" name="ActiveRate">
>>>>>> <eAnnotations xmi:id="_19s2z7adEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s20LadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s20badEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s20radEduYg9z0frhrGw" name="PassiveRate">
>>>>>> <eAnnotations xmi:id="_19s207adEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s21LadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s21badEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> </contents>
>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>> xmi:id="_19s21radEduYg9z0frhrGw" name="PEPAProfile"
>>>>>> nsURI="http:///schemas/PEPAProfile/_nY1ywLXmEduQbrr1ndBC-A/6"
>>>>>> nsPrefix="PEPAProfile">
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s217adEduYg9z0frhrGw" name="ActiveRate">
>>>>>> <eAnnotations xmi:id="_19s22LadEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s22badEduYg9z0frhrGw" name="value" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s22radEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s227adEduYg9z0frhrGw" name="PassiveRate">
>>>>>> <eAnnotations xmi:id="_19s23LadEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s23badEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s23radEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s237adEduYg9z0frhrGw" name="UtilisationResult">
>>>>>> <eAnnotations xmi:id="_19s24LadEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s24badEduYg9z0frhrGw" name="value" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s24radEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> </contents>
>>>>>> <contents xmi:type="ecore:EPac
Re: Programmatic Navigation of a UML2 Model with Custom Profiles [message #470400 is a reply to message #470389] Tue, 13 February 2007 18:18 Go to previous messageGo to next message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
Mirco,

If you select 'Help > About Eclipse SDK', then press the 'Plug-in Details'
buton, do you see the UML2 plug-ins listed?

Kenn

"Mirco Tribastone" <mtribast@inf.ed.ac.uk> wrote in message
news:eqshm4$3s0$1@utils.eclipse.org...
> Hi Kenn,
>
> I did that, but it didn't work. I also installed a fresh version of
> Eclipse with EMF and UML2 only and tried to run the application from
> there, but that didn't work too. I did some more work on my code and I can
> confirm that my models are loaded and navigated successfully from a
> stand-alone application. What could I do next to solve my problem?
>
> Cheers,
> Mirco
>
>
> Kenn Hussey wrote:
>> Mirco,
>>
>> Try deleting the old features and plug-ins from your filesystem and
>> launching with the -clean option.
>>
>> Kenn
>>
>> "Mirco Tribastone" <mtribast@inf.ed.ac.uk> wrote in message
>> news:eqpss4$e5g$1@utils.eclipse.org...
>>> Kenn,
>>>
>>> Actually the platform log reports "Duplicate feature found" for
>>> UML2-related features. I am trying to figure out how to uninstall the
>>> previous versions; I have tried the Manage Configuration dialog. It
>>> shows the previous versions as disabled but the "Uninstall" menu item is
>>> not enabled. How can I solve this problem? (Sorry if this question is
>>> slightly out of topic...)
>>>
>>> Thanks again
>>> Mirco
>>>
>>> Kenn Hussey wrote:
>>>> Mirco,
>>>>
>>>> Do you have any problems with your Eclipse configuration? Did you
>>>> previously have an old version of UML2 installed? Are you seeing any
>>>> exceptions in the platform log?
>>>>
>>>> Kenn
>>>>
>>>> "Mirco Tribastone" <mtribast@inf.ed.ac.uk> wrote in message
>>>> news:eqhmk1$ipt$1@utils.eclipse.org...
>>>>> Hi Kenn,
>>>>>
>>>>> I had already checked that, and that was not the problem. The name of
>>>>> the resource is now PEPA.profile.uml. I think I made some progress in
>>>>> finding the problem. I load the model programmatically from a
>>>>> stand-alone application that I wrote by slightly modifying the
>>>>> UML2Article class downloaded from the Eclipse website. I load the
>>>>> model by using the same load(URI) method and registering the resource
>>>>> factories as follows:
>>>>>
>>>>> RESOURCE_SET.getPackageRegistry().put(UMLPackage.eNS_URI,
>>>>> UMLPackage.eINSTANCE);
>>>>> Map extensionToFactoryMap = RESOURCE_SET.getResourceFactoryRegistry()
>>>>> .getExtensionToFactoryMap();
>>>>> extensionToFactoryMap.put(UMLResource.FILE_EXTENSION,
>>>>> UMLResource.Factory.INSTANCE);
>>>>>
>>>>> The output of the programs gives me correct information about the
>>>>> applied stereotypes.
>>>>> The problem seems to persist though when the same code is launched
>>>>> from within an Eclipse instance. I initially thought that problem
>>>>> would be that the UML2Article uses different versions of the plug-ins;
>>>>> hence I created another stand-alone app with the same plug-in versions
>>>>> as my Eclipse configuration, but the model is navigated correctly also
>>>>> in this case.
>>>>>
>>>>> Do you have any idea why the code refuses to work in the Eclipse
>>>>> environment?
>>>>>
>>>>> Thanks for your precious help.
>>>>>
>>>>> Cheers,
>>>>> Mirco
>>>>>
>>>>> Kenn Hussey wrote:
>>>>>> Mirco,
>>>>>>
>>>>>> It sounds like the model is having a hard time finding the profile.
>>>>>> Incidentally, what is the name of the resource that contains the
>>>>>> profile? Based on the schemaLocation declaration in the model, it
>>>>>> looks as though the model is expecting it to be in a
>>>>>> 'PEPA.profile.uml.profile.uml' resource in the same folder as the
>>>>>> model...
>>>>>>
>>>>>> Kenn
>>>>>>
>>>>>> "Mirco" <mtribast@inf.ed.ac.uk> wrote in message
>>>>>> news:eqcjth$u0e$1@utils.eclipse.org...
>>>>>>> Hi all,
>>>>>>>
>>>>>>> I've been trying to navigate a UML2 Model to which a custom profile
>>>>>>> has
>>>>>>> been applied. I defined both the model and the profile by using
>>>>>>> Rational
>>>>>>> Software Architect 7.0.0. I exported the model into the .uml format
>>>>>>> and
>>>>>>> developed a plug-in which reads that file and shows information to
>>>>>>> the
>>>>>>> user. The plug-in runs on the Eclipse run-time workspace of RSA.
>>>>>>> The profile extends an Effect with a stereotype called ActiveRate
>>>>>>> which
>>>>>>> has a property (double) called 'value'. I use the following code for
>>>>>>> retrieving the information about the stereotypes applied to a
>>>>>>> transition's effect:
>>>>>>>
>>>>>>> /* t is an instance of Transition */
>>>>>>> Behavior behavior = t.getEffect();
>>>>>>> buf.append(" Effect: " + ((behavior == null) ?
>>>>>>> "None":behavior.getName())+ "\n");
>>>>>>> if (behavior != null) {
>>>>>>> for (int s = 0; s < behavior.getAppliedStereotypes().size();s++) {
>>>>>>> Stereotype aStereoType = (Stereotype)
>>>>>>> behavior.getAppliedStereotypes().get(s);
>>>>>>> buf.append(" Stereotype: " + aStereoType.getName()+ "\n");
>>>>>>> }
>>>>>>> }
>>>>>>>
>>>>>>> Although the name of the effect is shown correctly, the size of the
>>>>>>> applied stereotype list is 0. How can I use the API to discover if a
>>>>>>> Transition.getEffect() is applied a stereotype described in a custom
>>>>>>> profile?
>>>>>>>
>>>>>>> I attach the exported model and custom profile. (RSA uses UML2
>>>>>>> 2.0.2v200610251409)
>>>>>>>
>>>>>>> Thanks for your attention,
>>>>>>> Mirco
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> ------------------------------------------------------------ --------------------
>>>>>>
>>>>>>
>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>> <xmi:XMI xmi:version="2.1"
>>>>>>> xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
>>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>> xmlns:PEPAProfile="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13"
>>>>>>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
>>>>>>> xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> xsi:schemaLocation="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13
>>>>>>> PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw">
>>>>>>> <uml:Model xmi:id="_19s3j7adEduYg9z0frhrGw" name="FirstModel">
>>>>>>> <packageImport xmi:id="_19s3kLadEduYg9z0frhrGw">
>>>>>>> <importedPackage xmi:type="uml:Model"
>>>>>>> href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
>>>>>>> </packageImport>
>>>>>>> <packagedElement xmi:type="uml:StateMachine"
>>>>>>> xmi:id="_19s3kbadEduYg9z0frhrGw" name="StateMachine">
>>>>>>> <region xmi:id="_19s3kradEduYg9z0frhrGw" name="Region1">
>>>>>>> <subvertex xmi:type="uml:Pseudostate"
>>>>>>> xmi:id="_19s3k7adEduYg9z0frhrGw"
>>>>>>> outgoing="_19s3l7adEduYg9z0frhrGw"/>
>>>>>>> <subvertex xmi:type="uml:State"
>>>>>>> xmi:id="_19s3lLadEduYg9z0frhrGw" name="P1"
>>>>>>> outgoing="_19s3mLadEduYg9z0frhrGw"
>>>>>>> incoming="_19s3l7adEduYg9z0frhrGw"/>
>>>>>>> <subvertex xmi:type="uml:State"
>>>>>>> xmi:id="_19s3lbadEduYg9z0frhrGw" name="P2"
>>>>>>> outgoing="_19s3mradEduYg9z0frhrGw"
>>>>>>> incoming="_19s3mLadEduYg9z0frhrGw"/>
>>>>>>> <subvertex xmi:type="uml:FinalState"
>>>>>>> xmi:id="_19s3lradEduYg9z0frhrGw"
>>>>>>> incoming="_19s3mradEduYg9z0frhrGw"/>
>>>>>>> <transition xmi:id="_19s3l7adEduYg9z0frhrGw" kind="local"
>>>>>>> target="_19s3lLadEduYg9z0frhrGw" source="_19s3k7adEduYg9z0frhrGw"/>
>>>>>>> <transition xmi:id="_19s3mLadEduYg9z0frhrGw" name="a"
>>>>>>> kind="local" target="_19s3lbadEduYg9z0frhrGw"
>>>>>>> source="_19s3lLadEduYg9z0frhrGw">
>>>>>>> <effect xmi:type="uml:OpaqueBehavior"
>>>>>>> xmi:id="_19s3mbadEduYg9z0frhrGw" name="anEffect"/>
>>>>>>> </transition>
>>>>>>> <transition xmi:id="_19s3mradEduYg9z0frhrGw" kind="local"
>>>>>>> target="_19s3lradEduYg9z0frhrGw" source="_19s3lbadEduYg9z0frhrGw"/>
>>>>>>> </region>
>>>>>>> </packagedElement>
>>>>>>> <profileApplication xmi:id="_19s3m7adEduYg9z0frhrGw">
>>>>>>> <eAnnotations xmi:id="_19s3nLadEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>>> <references xmi:type="ecore:EPackage"
>>>>>>> href=" pathmap://UML_PROFILES/Standard.profile.uml#_yzU58YinEdqtvbn fB2L_5w"/>
>>>>>>> </eAnnotations>
>>>>>>> <appliedProfile
>>>>>>> href="pathmap://UML_PROFILES/Standard.profile.uml#_0"/>
>>>>>>> </profileApplication>
>>>>>>> <profileApplication xmi:id="_19s3nbadEduYg9z0frhrGw">
>>>>>>> <eAnnotations xmi:id="_19s3nradEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>>> <references xmi:type="ecore:EPackage"
>>>>>>> href="Default.profile.uml#_19s3KbadEduYg9z0frhrGw"/>
>>>>>>> </eAnnotations>
>>>>>>> <appliedProfile
>>>>>>> href="Default.profile.uml#_19s3J7adEduYg9z0frhrGw"/>
>>>>>>> </profileApplication>
>>>>>>> <profileApplication xmi:id="_19s3n7adEduYg9z0frhrGw">
>>>>>>> <eAnnotations xmi:id="_19s3oLadEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>>> <references xmi:type="ecore:EPackage"
>>>>>>> href="Deployment.profile.uml#_19s3pradEduYg9z0frhrGw"/>
>>>>>>> </eAnnotations>
>>>>>>> <appliedProfile
>>>>>>> href="Deployment.profile.uml#_19s3pLadEduYg9z0frhrGw"/>
>>>>>>> </profileApplication>
>>>>>>> <profileApplication xmi:id="_19s3obadEduYg9z0frhrGw">
>>>>>>> <eAnnotations xmi:id="_19s3oradEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>>> <references xmi:type="ecore:EPackage"
>>>>>>> href="PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw"/ >
>>>>>>> </eAnnotations>
>>>>>>> <appliedProfile
>>>>>>> href="PEPA.profile.uml.profile.uml#_19s2fLadEduYg9z0frhrGw"/ >
>>>>>>> </profileApplication>
>>>>>>> </uml:Model>
>>>>>>> <PEPAProfile:ActiveRate xmi:id="_19s3o7adEduYg9z0frhrGw"
>>>>>>> value="2.0" base_Behavior="_19s3mbadEduYg9z0frhrGw"/>
>>>>>>> </xmi:XMI>
>>>>>>>
>>>>>> ------------------------------------------------------------ --------------------
>>>>>>
>>>>>>
>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>> <uml:Profile xmi:version="2.1"
>>>>>>> xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
>>>>>>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
>>>>>>> xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> xmi:id="_19s2fLadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>> metamodelReference="_19s3FLadEduYg9z0frhrGw">
>>>>>>> <eAnnotations xmi:id="_19s2fbadEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>> xmi:id="_19s2fradEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>> nsURI="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13"
>>>>>>> nsPrefix="PEPAProfile">
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s2f7adEduYg9z0frhrGw" name="ActiveRate">
>>>>>>> <eAnnotations xmi:id="_19s2gLadEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s2gbadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s2gradEduYg9z0frhrGw" name="base_Behavior"
>>>>>>> ordered="false" lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s2g7adEduYg9z0frhrGw" name="PassiveRate">
>>>>>>> <eAnnotations xmi:id="_19s2hLadEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s2hbadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s2hradEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s2h7adEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>> <eAnnotations xmi:id="_19s2iLadEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s2ibadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s2iradEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> </contents>
>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>> xmi:id="_19s2i7adEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>> nsURI="http:///schemas/PEPAProfile/_PYPuQLXrEduQbrr1ndBC-A/12"
>>>>>>> nsPrefix="PEPAProfile">
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s2jLadEduYg9z0frhrGw" name="ActiveRate">
>>>>>>> <eAnnotations xmi:id="_19s2jbadEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s2jradEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s2j7adEduYg9z0frhrGw" name="base_Behavior"
>>>>>>> ordered="false" lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s2kLadEduYg9z0frhrGw" name="PassiveRate">
>>>>>>> <eAnnotations xmi:id="_19s2kbadEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s2kradEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s2k7adEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s2lLadEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>> <eAnnotations xmi:id="_19s2lbadEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s2lradEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s2l7adEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s2mLadEduYg9z0frhrGw" name="state" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> </contents>
>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>> xmi:id="_19s2mbadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>> nsURI="http:///schemas/PEPAProfile/_CQeHELXoEduQbrr1ndBC-A/11"
>>>>>>> nsPrefix="PEPAProfile">
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s2mradEduYg9z0frhrGw" name="ActiveRate">
>>>>>>> <eAnnotations xmi:id="_19s2m7adEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s2nLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s2nbadEduYg9z0frhrGw" name="base_Behavior"
>>>>>>> ordered="false" lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s2nradEduYg9z0frhrGw" name="PassiveRate">
>>>>>>> <eAnnotations xmi:id="_19s2n7adEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s2oLadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s2obadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s2oradEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>> <eAnnotations xmi:id="_19s2o7adEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s2pLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s2pbadEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> </contents>
>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>> xmi:id="_19s2pradEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>> nsURI="http:///schemas/PEPAProfile/_1FD1sLXnEduQbrr1ndBC-A/10"
>>>>>>> nsPrefix="PEPAProfile">
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s2p7adEduYg9z0frhrGw" name="ActiveRate">
>>>>>>> <eAnnotations xmi:id="_19s2qLadEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s2qbadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s2qradEduYg9z0frhrGw" name="base_Behavior"
>>>>>>> ordered="false" lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s2q7adEduYg9z0frhrGw" name="PassiveRate">
>>>>>>> <eAnnotations xmi:id="_19s2rLadEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s2rbadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s2rradEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s2r7adEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>> <eAnnotations xmi:id="_19s2sLadEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s2sbadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s2sradEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s2s7adEduYg9z0frhrGw" name="state" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> </contents>
>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>> xmi:id="_19s2tLadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>> nsURI="http:///schemas/PEPAProfile/_aAgqQLXnEduQbrr1ndBC-A/9"
>>>>>>> nsPrefix="PEPAProfile">
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s2tbadEduYg9z0frhrGw" name="ActiveRate">
>>>>>>> <eAnnotations xmi:id="_19s2tradEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s2t7adEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s2uLadEduYg9z0frhrGw" name="base_Behavior"
>>>>>>> ordered="false" lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s2ubadEduYg9z0frhrGw" name="PassiveRate">
>>>>>>> <eAnnotations xmi:id="_19s2uradEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s2u7adEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s2vLadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s2vbadEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>> <eAnnotations xmi:id="_19s2vradEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s2v7adEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s2wLadEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> </contents>
>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>> xmi:id="_19s2wbadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>> nsURI="http:///schemas/PEPAProfile/_XtISYLXnEduQbrr1ndBC-A/8"
>>>>>>> nsPrefix="PEPAProfile">
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s2wradEduYg9z0frhrGw" name="ActiveRate">
>>>>>>> <eAnnotations xmi:id="_19s2w7adEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s2xLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s2xbadEduYg9z0frhrGw" name="base_Behavior"
>>>>>>> ordered="false" lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s2xradEduYg9z0frhrGw" name="PassiveRate">
>>>>>>> <eAnnotations xmi:id="_19s2x7adEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s2yLadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s2ybadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s2yradEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>> <eAnnotations xmi:id="_19s2y7adEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s2zLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> </contents>
>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>> xmi:id="_19s2zbadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>> nsURI="http:///schemas/PEPAProfile/_HCgvMLXnEduQbrr1ndBC-A/7"
>>>>>>> nsPrefix="PEPAProfile">
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s2zradEduYg9z0frhrGw" name="ActiveRate">
>>>>>>> <eAnnotations xmi:id="_19s2z7adEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s20LadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s20badEduYg9z0frhrGw" name="base_Behavior"
>>>>>>> ordered="false" lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s20radEduYg9z0frhrGw" name="PassiveRate">
>>>>>>> <eAnnotations xmi:id="_19s207adEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s21LadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s21badEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> </contents>
>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>> xmi:id="_19s21radEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>> nsURI="http:///schemas/PEPAProfile/_nY1ywLXmEduQbrr1ndBC-A/6"
>>>>>>> nsPrefix="PEPAProfile">
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s217adEduYg9z0frhrGw" name="ActiveRate">
>>>>>>> <eAnnotations xmi:id="_19s22LadEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s22badEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s22radEduYg9z0frhrGw" name="base_Behavior"
>>>>>>> ordered="false" lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s227adEduYg9z0frhrGw" name="PassiveRate">
>>>>>>> <eAnnotations xmi:id="_19s23LadEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute&
Re: Programmatic Navigation of a UML2 Model with Custom Profiles [message #470411 is a reply to message #470400] Wed, 14 February 2007 09:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mtribast.inf.ed.ac.uk

Hi Kenn,

I have the following plug-in ids:

org.eclipse.uml2
..common
..common.edit
..doc
..codegen.ecore.ui
..codegen.ecore
..examples
..examples.sources
..source
..edit
..editor
..ecore.importer
..ecore.exporter
..uml
..uml.resources

They're all x.x.x.v200610251409

Thanks again

Mirco

Kenn Hussey wrote:
> Mirco,
>
> If you select 'Help > About Eclipse SDK', then press the 'Plug-in Details'
> buton, do you see the UML2 plug-ins listed?
>
> Kenn
>
> "Mirco Tribastone" <mtribast@inf.ed.ac.uk> wrote in message
> news:eqshm4$3s0$1@utils.eclipse.org...
>> Hi Kenn,
>>
>> I did that, but it didn't work. I also installed a fresh version of
>> Eclipse with EMF and UML2 only and tried to run the application from
>> there, but that didn't work too. I did some more work on my code and I can
>> confirm that my models are loaded and navigated successfully from a
>> stand-alone application. What could I do next to solve my problem?
>>
>> Cheers,
>> Mirco
>>
>>
>> Kenn Hussey wrote:
>>> Mirco,
>>>
>>> Try deleting the old features and plug-ins from your filesystem and
>>> launching with the -clean option.
>>>
>>> Kenn
>>>
>>> "Mirco Tribastone" <mtribast@inf.ed.ac.uk> wrote in message
>>> news:eqpss4$e5g$1@utils.eclipse.org...
>>>> Kenn,
>>>>
>>>> Actually the platform log reports "Duplicate feature found" for
>>>> UML2-related features. I am trying to figure out how to uninstall the
>>>> previous versions; I have tried the Manage Configuration dialog. It
>>>> shows the previous versions as disabled but the "Uninstall" menu item is
>>>> not enabled. How can I solve this problem? (Sorry if this question is
>>>> slightly out of topic...)
>>>>
>>>> Thanks again
>>>> Mirco
>>>>
>>>> Kenn Hussey wrote:
>>>>> Mirco,
>>>>>
>>>>> Do you have any problems with your Eclipse configuration? Did you
>>>>> previously have an old version of UML2 installed? Are you seeing any
>>>>> exceptions in the platform log?
>>>>>
>>>>> Kenn
>>>>>
>>>>> "Mirco Tribastone" <mtribast@inf.ed.ac.uk> wrote in message
>>>>> news:eqhmk1$ipt$1@utils.eclipse.org...
>>>>>> Hi Kenn,
>>>>>>
>>>>>> I had already checked that, and that was not the problem. The name of
>>>>>> the resource is now PEPA.profile.uml. I think I made some progress in
>>>>>> finding the problem. I load the model programmatically from a
>>>>>> stand-alone application that I wrote by slightly modifying the
>>>>>> UML2Article class downloaded from the Eclipse website. I load the
>>>>>> model by using the same load(URI) method and registering the resource
>>>>>> factories as follows:
>>>>>>
>>>>>> RESOURCE_SET.getPackageRegistry().put(UMLPackage.eNS_URI,
>>>>>> UMLPackage.eINSTANCE);
>>>>>> Map extensionToFactoryMap = RESOURCE_SET.getResourceFactoryRegistry()
>>>>>> .getExtensionToFactoryMap();
>>>>>> extensionToFactoryMap.put(UMLResource.FILE_EXTENSION,
>>>>>> UMLResource.Factory.INSTANCE);
>>>>>>
>>>>>> The output of the programs gives me correct information about the
>>>>>> applied stereotypes.
>>>>>> The problem seems to persist though when the same code is launched
>>>>>> from within an Eclipse instance. I initially thought that problem
>>>>>> would be that the UML2Article uses different versions of the plug-ins;
>>>>>> hence I created another stand-alone app with the same plug-in versions
>>>>>> as my Eclipse configuration, but the model is navigated correctly also
>>>>>> in this case.
>>>>>>
>>>>>> Do you have any idea why the code refuses to work in the Eclipse
>>>>>> environment?
>>>>>>
>>>>>> Thanks for your precious help.
>>>>>>
>>>>>> Cheers,
>>>>>> Mirco
>>>>>>
>>>>>> Kenn Hussey wrote:
>>>>>>> Mirco,
>>>>>>>
>>>>>>> It sounds like the model is having a hard time finding the profile.
>>>>>>> Incidentally, what is the name of the resource that contains the
>>>>>>> profile? Based on the schemaLocation declaration in the model, it
>>>>>>> looks as though the model is expecting it to be in a
>>>>>>> 'PEPA.profile.uml.profile.uml' resource in the same folder as the
>>>>>>> model...
>>>>>>>
>>>>>>> Kenn
>>>>>>>
>>>>>>> "Mirco" <mtribast@inf.ed.ac.uk> wrote in message
>>>>>>> news:eqcjth$u0e$1@utils.eclipse.org...
>>>>>>>> Hi all,
>>>>>>>>
>>>>>>>> I've been trying to navigate a UML2 Model to which a custom profile
>>>>>>>> has
>>>>>>>> been applied. I defined both the model and the profile by using
>>>>>>>> Rational
>>>>>>>> Software Architect 7.0.0. I exported the model into the .uml format
>>>>>>>> and
>>>>>>>> developed a plug-in which reads that file and shows information to
>>>>>>>> the
>>>>>>>> user. The plug-in runs on the Eclipse run-time workspace of RSA.
>>>>>>>> The profile extends an Effect with a stereotype called ActiveRate
>>>>>>>> which
>>>>>>>> has a property (double) called 'value'. I use the following code for
>>>>>>>> retrieving the information about the stereotypes applied to a
>>>>>>>> transition's effect:
>>>>>>>>
>>>>>>>> /* t is an instance of Transition */
>>>>>>>> Behavior behavior = t.getEffect();
>>>>>>>> buf.append(" Effect: " + ((behavior == null) ?
>>>>>>>> "None":behavior.getName())+ "\n");
>>>>>>>> if (behavior != null) {
>>>>>>>> for (int s = 0; s < behavior.getAppliedStereotypes().size();s++) {
>>>>>>>> Stereotype aStereoType = (Stereotype)
>>>>>>>> behavior.getAppliedStereotypes().get(s);
>>>>>>>> buf.append(" Stereotype: " + aStereoType.getName()+ "\n");
>>>>>>>> }
>>>>>>>> }
>>>>>>>>
>>>>>>>> Although the name of the effect is shown correctly, the size of the
>>>>>>>> applied stereotype list is 0. How can I use the API to discover if a
>>>>>>>> Transition.getEffect() is applied a stereotype described in a custom
>>>>>>>> profile?
>>>>>>>>
>>>>>>>> I attach the exported model and custom profile. (RSA uses UML2
>>>>>>>> 2.0.2v200610251409)
>>>>>>>>
>>>>>>>> Thanks for your attention,
>>>>>>>> Mirco
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>> ------------------------------------------------------------ --------------------
>>>>>>>
>>>>>>>
>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>> <xmi:XMI xmi:version="2.1"
>>>>>>>> xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
>>>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>> xmlns:PEPAProfile="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13"
>>>>>>>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
>>>>>>>> xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> xsi:schemaLocation="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13
>>>>>>>> PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw">
>>>>>>>> <uml:Model xmi:id="_19s3j7adEduYg9z0frhrGw" name="FirstModel">
>>>>>>>> <packageImport xmi:id="_19s3kLadEduYg9z0frhrGw">
>>>>>>>> <importedPackage xmi:type="uml:Model"
>>>>>>>> href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
>>>>>>>> </packageImport>
>>>>>>>> <packagedElement xmi:type="uml:StateMachine"
>>>>>>>> xmi:id="_19s3kbadEduYg9z0frhrGw" name="StateMachine">
>>>>>>>> <region xmi:id="_19s3kradEduYg9z0frhrGw" name="Region1">
>>>>>>>> <subvertex xmi:type="uml:Pseudostate"
>>>>>>>> xmi:id="_19s3k7adEduYg9z0frhrGw"
>>>>>>>> outgoing="_19s3l7adEduYg9z0frhrGw"/>
>>>>>>>> <subvertex xmi:type="uml:State"
>>>>>>>> xmi:id="_19s3lLadEduYg9z0frhrGw" name="P1"
>>>>>>>> outgoing="_19s3mLadEduYg9z0frhrGw"
>>>>>>>> incoming="_19s3l7adEduYg9z0frhrGw"/>
>>>>>>>> <subvertex xmi:type="uml:State"
>>>>>>>> xmi:id="_19s3lbadEduYg9z0frhrGw" name="P2"
>>>>>>>> outgoing="_19s3mradEduYg9z0frhrGw"
>>>>>>>> incoming="_19s3mLadEduYg9z0frhrGw"/>
>>>>>>>> <subvertex xmi:type="uml:FinalState"
>>>>>>>> xmi:id="_19s3lradEduYg9z0frhrGw"
>>>>>>>> incoming="_19s3mradEduYg9z0frhrGw"/>
>>>>>>>> <transition xmi:id="_19s3l7adEduYg9z0frhrGw" kind="local"
>>>>>>>> target="_19s3lLadEduYg9z0frhrGw" source="_19s3k7adEduYg9z0frhrGw"/>
>>>>>>>> <transition xmi:id="_19s3mLadEduYg9z0frhrGw" name="a"
>>>>>>>> kind="local" target="_19s3lbadEduYg9z0frhrGw"
>>>>>>>> source="_19s3lLadEduYg9z0frhrGw">
>>>>>>>> <effect xmi:type="uml:OpaqueBehavior"
>>>>>>>> xmi:id="_19s3mbadEduYg9z0frhrGw" name="anEffect"/>
>>>>>>>> </transition>
>>>>>>>> <transition xmi:id="_19s3mradEduYg9z0frhrGw" kind="local"
>>>>>>>> target="_19s3lradEduYg9z0frhrGw" source="_19s3lbadEduYg9z0frhrGw"/>
>>>>>>>> </region>
>>>>>>>> </packagedElement>
>>>>>>>> <profileApplication xmi:id="_19s3m7adEduYg9z0frhrGw">
>>>>>>>> <eAnnotations xmi:id="_19s3nLadEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>>>> <references xmi:type="ecore:EPackage"
>>>>>>>> href=" pathmap://UML_PROFILES/Standard.profile.uml#_yzU58YinEdqtvbn fB2L_5w"/>
>>>>>>>> </eAnnotations>
>>>>>>>> <appliedProfile
>>>>>>>> href="pathmap://UML_PROFILES/Standard.profile.uml#_0"/>
>>>>>>>> </profileApplication>
>>>>>>>> <profileApplication xmi:id="_19s3nbadEduYg9z0frhrGw">
>>>>>>>> <eAnnotations xmi:id="_19s3nradEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>>>> <references xmi:type="ecore:EPackage"
>>>>>>>> href="Default.profile.uml#_19s3KbadEduYg9z0frhrGw"/>
>>>>>>>> </eAnnotations>
>>>>>>>> <appliedProfile
>>>>>>>> href="Default.profile.uml#_19s3J7adEduYg9z0frhrGw"/>
>>>>>>>> </profileApplication>
>>>>>>>> <profileApplication xmi:id="_19s3n7adEduYg9z0frhrGw">
>>>>>>>> <eAnnotations xmi:id="_19s3oLadEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>>>> <references xmi:type="ecore:EPackage"
>>>>>>>> href="Deployment.profile.uml#_19s3pradEduYg9z0frhrGw"/>
>>>>>>>> </eAnnotations>
>>>>>>>> <appliedProfile
>>>>>>>> href="Deployment.profile.uml#_19s3pLadEduYg9z0frhrGw"/>
>>>>>>>> </profileApplication>
>>>>>>>> <profileApplication xmi:id="_19s3obadEduYg9z0frhrGw">
>>>>>>>> <eAnnotations xmi:id="_19s3oradEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>>>> <references xmi:type="ecore:EPackage"
>>>>>>>> href="PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw"/ >
>>>>>>>> </eAnnotations>
>>>>>>>> <appliedProfile
>>>>>>>> href="PEPA.profile.uml.profile.uml#_19s2fLadEduYg9z0frhrGw"/ >
>>>>>>>> </profileApplication>
>>>>>>>> </uml:Model>
>>>>>>>> <PEPAProfile:ActiveRate xmi:id="_19s3o7adEduYg9z0frhrGw"
>>>>>>>> value="2.0" base_Behavior="_19s3mbadEduYg9z0frhrGw"/>
>>>>>>>> </xmi:XMI>
>>>>>>>>
>>>>>>> ------------------------------------------------------------ --------------------
>>>>>>>
>>>>>>>
>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>> <uml:Profile xmi:version="2.1"
>>>>>>>> xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
>>>>>>>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
>>>>>>>> xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> xmi:id="_19s2fLadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>> metamodelReference="_19s3FLadEduYg9z0frhrGw">
>>>>>>>> <eAnnotations xmi:id="_19s2fbadEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>>> xmi:id="_19s2fradEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>> nsURI="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13"
>>>>>>>> nsPrefix="PEPAProfile">
>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>> xmi:id="_19s2f7adEduYg9z0frhrGw" name="ActiveRate">
>>>>>>>> <eAnnotations xmi:id="_19s2gLadEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>> xmi:id="_19s2gbadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s2gradEduYg9z0frhrGw" name="base_Behavior"
>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> </eClassifiers>
>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>> xmi:id="_19s2g7adEduYg9z0frhrGw" name="PassiveRate">
>>>>>>>> <eAnnotations xmi:id="_19s2hLadEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>> xmi:id="_19s2hbadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s2hradEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> </eClassifiers>
>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>> xmi:id="_19s2h7adEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>>> <eAnnotations xmi:id="_19s2iLadEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>> xmi:id="_19s2ibadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s2iradEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> </eClassifiers>
>>>>>>>> </contents>
>>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>>> xmi:id="_19s2i7adEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>> nsURI="http:///schemas/PEPAProfile/_PYPuQLXrEduQbrr1ndBC-A/12"
>>>>>>>> nsPrefix="PEPAProfile">
>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>> xmi:id="_19s2jLadEduYg9z0frhrGw" name="ActiveRate">
>>>>>>>> <eAnnotations xmi:id="_19s2jbadEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>> xmi:id="_19s2jradEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s2j7adEduYg9z0frhrGw" name="base_Behavior"
>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> </eClassifiers>
>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>> xmi:id="_19s2kLadEduYg9z0frhrGw" name="PassiveRate">
>>>>>>>> <eAnnotations xmi:id="_19s2kbadEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>> xmi:id="_19s2kradEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s2k7adEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> </eClassifiers>
>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>> xmi:id="_19s2lLadEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>>> <eAnnotations xmi:id="_19s2lbadEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>> xmi:id="_19s2lradEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s2l7adEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s2mLadEduYg9z0frhrGw" name="state" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> </eClassifiers>
>>>>>>>> </contents>
>>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>>> xmi:id="_19s2mbadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>> nsURI="http:///schemas/PEPAProfile/_CQeHELXoEduQbrr1ndBC-A/11"
>>>>>>>> nsPrefix="PEPAProfile">
>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>> xmi:id="_19s2mradEduYg9z0frhrGw" name="ActiveRate">
>>>>>>>> <eAnnotations xmi:id="_19s2m7adEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>> xmi:id="_19s2nLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s2nbadEduYg9z0frhrGw" name="base_Behavior"
>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> </eClassifiers>
>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>> xmi:id="_19s2nradEduYg9z0frhrGw" name="PassiveRate">
>>>>>>>> <eAnnotations xmi:id="_19s2n7adEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>> xmi:id="_19s2oLadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s2obadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> </eClassifiers>
>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>> xmi:id="_19s2oradEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>>> <eAnnotations xmi:id="_19s2o7adEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>> xmi:id="_19s2pLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s2pbadEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> </eClassifiers>
>>>>>>>> </contents>
>>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>>> xmi:id="_19s2pradEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>> nsURI="http:///schemas/PEPAProfile/_1FD1sLXnEduQbrr1ndBC-A/10"
>>>>>>>> nsPrefix="PEPAProfile">
>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>> xmi:id="_19s2p7adEduYg9z0frhrGw" name="ActiveRate">
>>>>>>>> <eAnnotations xmi:id="_19s2qLadEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>> xmi:id="_19s2qbadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s2qradEduYg9z0frhrGw" name="base_Behavior"
>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> </eClassifiers>
>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>> xmi:id="_19s2q7adEduYg9z0frhrGw" name="PassiveRate">
>>>>>>>> <eAnnotations xmi:id="_19s2rLadEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>> xmi:id="_19s2rbadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s2rradEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> </eClassifiers>
>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>> xmi:id="_19s2r7adEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>>> <eAnnotations xmi:id="_19s2sLadEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>> xmi:id="_19s2sbadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s2sradEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s2s7adEduYg9z0frhrGw" name="state" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> </eClassifiers>
>>>>>>>> </contents>
>>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>>> xmi:id="_19s2tLadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>> nsURI="http:///schemas/PEPAProfile/_aAgqQLXnEduQbrr1ndBC-A/9"
>>>>>>>> nsPrefix="PEPAProfile">
>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>> xmi:id="_19s2tbadEduYg9z0frhrGw" name="ActiveRate">
>>>>>>>> <eAnnotations xmi:id="_19s2tradEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>> xmi:id="_19s2t7adEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s2uLadEduYg9z0frhrGw" name="base_Behavior"
>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> </eClassifiers>
>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>> xmi:id="_19s2ubadEduYg9z0frhrGw" name="PassiveRate">
>>>>>>>> <eAnnotations xmi:id="_19s2uradEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>> xmi:id="_19s2u7adEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s2vLadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> </eClassifiers>
>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>> xmi:id="_19s2vbadEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>>> <eAnnotations xmi:id="_19s2vradEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>> xmi:id="_19s2v7adEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s2wLadEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> </eClassifiers>
>>>>>>>> </contents>
>>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>>> xmi:id="_19s2wbadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>> nsURI="http:///schemas/PEPAProfile/_XtISYLXnEduQbrr1ndBC-A/8"
>>>>>>>> nsPrefix="PEPAProfile">
>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>> xmi:id="_19s2wradEduYg9z0frhrGw" name="ActiveRate">
>>>>>>>> <eAnnotations xmi:id="_19s2w7adEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>> xmi:id="_19s2xLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s2xbadEduYg9z0frhrGw" name="base_Behavior"
>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> </eClassifiers>
>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>> xmi:id="_19s2xradEduYg9z0frhrGw" name="PassiveRate">
>>>>>>>> <eAnnotations xmi:id="_19s2x7adEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>> xmi:id="_19s2yLadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s2ybadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> </eClassifiers>
>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>> xmi:id="_19s2yradEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>>> <eAnnotations xmi:id="_19s2y7adEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>> xmi:id="_19s2zLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> </eClassifiers>
>>>>>>>> </contents>
>>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>>> xmi:id="_19s2zbadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>> nsURI="http:///schemas/PEPAProfile/_HCgvMLXnEduQbrr1ndBC-A/7"
>>>>>>>> nsPrefix="PEPAProfile">
>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>> xmi:id="_19s2zradEduYg9z0frhrGw" name="ActiveRate">
>>>>>>>> <eAnnotations xmi:id="_19s2z7adEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>> xmi:id="_19s20LadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s20badEduYg9z0frhrGw" name="base_Behavior"
>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> </eClassifiers>
>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>> xmi:id="_19s20radEduYg9z0frhrGw" name="PassiveRate">
>>>>>>>> <eAnnotations xmi:id="_19s207adEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>> xmi:id="_19s21LadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s21badEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>>> </eStructuralFeatures>
>>
Re: Programmatic Navigation of a UML2 Model with Custom Profiles [message #470416 is a reply to message #470411] Wed, 14 February 2007 14:34 Go to previous messageGo to next message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
Mirco,

The only thing I can suggest at this point is to send us a sample program
(and associated models) that demonstrate the problem so that we can take a
closer look...

Kenn

"Mirco Tribastone" <mtribast@inf.ed.ac.uk> wrote in message
news:equl03$rk9$1@utils.eclipse.org...
> Hi Kenn,
>
> I have the following plug-in ids:
>
> org.eclipse.uml2
> .common
> .common.edit
> .doc
> .codegen.ecore.ui
> .codegen.ecore
> .examples
> .examples.sources
> .source
> .edit
> .editor
> .ecore.importer
> .ecore.exporter
> .uml
> .uml.resources
>
> They're all x.x.x.v200610251409
>
> Thanks again
>
> Mirco
>
> Kenn Hussey wrote:
>> Mirco,
>>
>> If you select 'Help > About Eclipse SDK', then press the 'Plug-in
>> Details' buton, do you see the UML2 plug-ins listed?
>>
>> Kenn
>>
>> "Mirco Tribastone" <mtribast@inf.ed.ac.uk> wrote in message
>> news:eqshm4$3s0$1@utils.eclipse.org...
>>> Hi Kenn,
>>>
>>> I did that, but it didn't work. I also installed a fresh version of
>>> Eclipse with EMF and UML2 only and tried to run the application from
>>> there, but that didn't work too. I did some more work on my code and I
>>> can confirm that my models are loaded and navigated successfully from a
>>> stand-alone application. What could I do next to solve my problem?
>>>
>>> Cheers,
>>> Mirco
>>>
>>>
>>> Kenn Hussey wrote:
>>>> Mirco,
>>>>
>>>> Try deleting the old features and plug-ins from your filesystem and
>>>> launching with the -clean option.
>>>>
>>>> Kenn
>>>>
>>>> "Mirco Tribastone" <mtribast@inf.ed.ac.uk> wrote in message
>>>> news:eqpss4$e5g$1@utils.eclipse.org...
>>>>> Kenn,
>>>>>
>>>>> Actually the platform log reports "Duplicate feature found" for
>>>>> UML2-related features. I am trying to figure out how to uninstall the
>>>>> previous versions; I have tried the Manage Configuration dialog. It
>>>>> shows the previous versions as disabled but the "Uninstall" menu item
>>>>> is not enabled. How can I solve this problem? (Sorry if this question
>>>>> is slightly out of topic...)
>>>>>
>>>>> Thanks again
>>>>> Mirco
>>>>>
>>>>> Kenn Hussey wrote:
>>>>>> Mirco,
>>>>>>
>>>>>> Do you have any problems with your Eclipse configuration? Did you
>>>>>> previously have an old version of UML2 installed? Are you seeing any
>>>>>> exceptions in the platform log?
>>>>>>
>>>>>> Kenn
>>>>>>
>>>>>> "Mirco Tribastone" <mtribast@inf.ed.ac.uk> wrote in message
>>>>>> news:eqhmk1$ipt$1@utils.eclipse.org...
>>>>>>> Hi Kenn,
>>>>>>>
>>>>>>> I had already checked that, and that was not the problem. The name
>>>>>>> of the resource is now PEPA.profile.uml. I think I made some
>>>>>>> progress in finding the problem. I load the model programmatically
>>>>>>> from a stand-alone application that I wrote by slightly modifying
>>>>>>> the UML2Article class downloaded from the Eclipse website. I load
>>>>>>> the model by using the same load(URI) method and registering the
>>>>>>> resource factories as follows:
>>>>>>>
>>>>>>> RESOURCE_SET.getPackageRegistry().put(UMLPackage.eNS_URI,
>>>>>>> UMLPackage.eINSTANCE);
>>>>>>> Map extensionToFactoryMap =
>>>>>>> RESOURCE_SET.getResourceFactoryRegistry()
>>>>>>> .getExtensionToFactoryMap();
>>>>>>> extensionToFactoryMap.put(UMLResource.FILE_EXTENSION,
>>>>>>> UMLResource.Factory.INSTANCE);
>>>>>>>
>>>>>>> The output of the programs gives me correct information about the
>>>>>>> applied stereotypes.
>>>>>>> The problem seems to persist though when the same code is launched
>>>>>>> from within an Eclipse instance. I initially thought that problem
>>>>>>> would be that the UML2Article uses different versions of the
>>>>>>> plug-ins; hence I created another stand-alone app with the same
>>>>>>> plug-in versions as my Eclipse configuration, but the model is
>>>>>>> navigated correctly also in this case.
>>>>>>>
>>>>>>> Do you have any idea why the code refuses to work in the Eclipse
>>>>>>> environment?
>>>>>>>
>>>>>>> Thanks for your precious help.
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Mirco
>>>>>>>
>>>>>>> Kenn Hussey wrote:
>>>>>>>> Mirco,
>>>>>>>>
>>>>>>>> It sounds like the model is having a hard time finding the profile.
>>>>>>>> Incidentally, what is the name of the resource that contains the
>>>>>>>> profile? Based on the schemaLocation declaration in the model, it
>>>>>>>> looks as though the model is expecting it to be in a
>>>>>>>> 'PEPA.profile.uml.profile.uml' resource in the same folder as the
>>>>>>>> model...
>>>>>>>>
>>>>>>>> Kenn
>>>>>>>>
>>>>>>>> "Mirco" <mtribast@inf.ed.ac.uk> wrote in message
>>>>>>>> news:eqcjth$u0e$1@utils.eclipse.org...
>>>>>>>>> Hi all,
>>>>>>>>>
>>>>>>>>> I've been trying to navigate a UML2 Model to which a custom
>>>>>>>>> profile has
>>>>>>>>> been applied. I defined both the model and the profile by using
>>>>>>>>> Rational
>>>>>>>>> Software Architect 7.0.0. I exported the model into the .uml
>>>>>>>>> format and
>>>>>>>>> developed a plug-in which reads that file and shows information to
>>>>>>>>> the
>>>>>>>>> user. The plug-in runs on the Eclipse run-time workspace of RSA.
>>>>>>>>> The profile extends an Effect with a stereotype called ActiveRate
>>>>>>>>> which
>>>>>>>>> has a property (double) called 'value'. I use the following code
>>>>>>>>> for
>>>>>>>>> retrieving the information about the stereotypes applied to a
>>>>>>>>> transition's effect:
>>>>>>>>>
>>>>>>>>> /* t is an instance of Transition */
>>>>>>>>> Behavior behavior = t.getEffect();
>>>>>>>>> buf.append(" Effect: " + ((behavior == null) ?
>>>>>>>>> "None":behavior.getName())+ "\n");
>>>>>>>>> if (behavior != null) {
>>>>>>>>> for (int s = 0; s < behavior.getAppliedStereotypes().size();s++) {
>>>>>>>>> Stereotype aStereoType = (Stereotype)
>>>>>>>>> behavior.getAppliedStereotypes().get(s);
>>>>>>>>> buf.append(" Stereotype: " + aStereoType.getName()+ "\n");
>>>>>>>>> }
>>>>>>>>> }
>>>>>>>>>
>>>>>>>>> Although the name of the effect is shown correctly, the size of
>>>>>>>>> the
>>>>>>>>> applied stereotype list is 0. How can I use the API to discover if
>>>>>>>>> a
>>>>>>>>> Transition.getEffect() is applied a stereotype described in a
>>>>>>>>> custom
>>>>>>>>> profile?
>>>>>>>>>
>>>>>>>>> I attach the exported model and custom profile. (RSA uses UML2
>>>>>>>>> 2.0.2v200610251409)
>>>>>>>>>
>>>>>>>>> Thanks for your attention,
>>>>>>>>> Mirco
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>> ------------------------------------------------------------ --------------------
>>>>>>>>
>>>>>>>>
>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>>> <xmi:XMI xmi:version="2.1"
>>>>>>>>> xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
>>>>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>>> xmlns:PEPAProfile="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13"
>>>>>>>>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
>>>>>>>>> xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> xsi:schemaLocation="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13
>>>>>>>>> PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw">
>>>>>>>>> <uml:Model xmi:id="_19s3j7adEduYg9z0frhrGw" name="FirstModel">
>>>>>>>>> <packageImport xmi:id="_19s3kLadEduYg9z0frhrGw">
>>>>>>>>> <importedPackage xmi:type="uml:Model"
>>>>>>>>> href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
>>>>>>>>> </packageImport>
>>>>>>>>> <packagedElement xmi:type="uml:StateMachine"
>>>>>>>>> xmi:id="_19s3kbadEduYg9z0frhrGw" name="StateMachine">
>>>>>>>>> <region xmi:id="_19s3kradEduYg9z0frhrGw" name="Region1">
>>>>>>>>> <subvertex xmi:type="uml:Pseudostate"
>>>>>>>>> xmi:id="_19s3k7adEduYg9z0frhrGw"
>>>>>>>>> outgoing="_19s3l7adEduYg9z0frhrGw"/>
>>>>>>>>> <subvertex xmi:type="uml:State"
>>>>>>>>> xmi:id="_19s3lLadEduYg9z0frhrGw" name="P1"
>>>>>>>>> outgoing="_19s3mLadEduYg9z0frhrGw"
>>>>>>>>> incoming="_19s3l7adEduYg9z0frhrGw"/>
>>>>>>>>> <subvertex xmi:type="uml:State"
>>>>>>>>> xmi:id="_19s3lbadEduYg9z0frhrGw" name="P2"
>>>>>>>>> outgoing="_19s3mradEduYg9z0frhrGw"
>>>>>>>>> incoming="_19s3mLadEduYg9z0frhrGw"/>
>>>>>>>>> <subvertex xmi:type="uml:FinalState"
>>>>>>>>> xmi:id="_19s3lradEduYg9z0frhrGw"
>>>>>>>>> incoming="_19s3mradEduYg9z0frhrGw"/>
>>>>>>>>> <transition xmi:id="_19s3l7adEduYg9z0frhrGw" kind="local"
>>>>>>>>> target="_19s3lLadEduYg9z0frhrGw"
>>>>>>>>> source="_19s3k7adEduYg9z0frhrGw"/>
>>>>>>>>> <transition xmi:id="_19s3mLadEduYg9z0frhrGw" name="a"
>>>>>>>>> kind="local" target="_19s3lbadEduYg9z0frhrGw"
>>>>>>>>> source="_19s3lLadEduYg9z0frhrGw">
>>>>>>>>> <effect xmi:type="uml:OpaqueBehavior"
>>>>>>>>> xmi:id="_19s3mbadEduYg9z0frhrGw" name="anEffect"/>
>>>>>>>>> </transition>
>>>>>>>>> <transition xmi:id="_19s3mradEduYg9z0frhrGw" kind="local"
>>>>>>>>> target="_19s3lradEduYg9z0frhrGw"
>>>>>>>>> source="_19s3lbadEduYg9z0frhrGw"/>
>>>>>>>>> </region>
>>>>>>>>> </packagedElement>
>>>>>>>>> <profileApplication xmi:id="_19s3m7adEduYg9z0frhrGw">
>>>>>>>>> <eAnnotations xmi:id="_19s3nLadEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>>>>> <references xmi:type="ecore:EPackage"
>>>>>>>>> href=" pathmap://UML_PROFILES/Standard.profile.uml#_yzU58YinEdqtvbn fB2L_5w"/>
>>>>>>>>> </eAnnotations>
>>>>>>>>> <appliedProfile
>>>>>>>>> href="pathmap://UML_PROFILES/Standard.profile.uml#_0"/>
>>>>>>>>> </profileApplication>
>>>>>>>>> <profileApplication xmi:id="_19s3nbadEduYg9z0frhrGw">
>>>>>>>>> <eAnnotations xmi:id="_19s3nradEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>>>>> <references xmi:type="ecore:EPackage"
>>>>>>>>> href="Default.profile.uml#_19s3KbadEduYg9z0frhrGw"/>
>>>>>>>>> </eAnnotations>
>>>>>>>>> <appliedProfile
>>>>>>>>> href="Default.profile.uml#_19s3J7adEduYg9z0frhrGw"/>
>>>>>>>>> </profileApplication>
>>>>>>>>> <profileApplication xmi:id="_19s3n7adEduYg9z0frhrGw">
>>>>>>>>> <eAnnotations xmi:id="_19s3oLadEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>>>>> <references xmi:type="ecore:EPackage"
>>>>>>>>> href="Deployment.profile.uml#_19s3pradEduYg9z0frhrGw"/>
>>>>>>>>> </eAnnotations>
>>>>>>>>> <appliedProfile
>>>>>>>>> href="Deployment.profile.uml#_19s3pLadEduYg9z0frhrGw"/>
>>>>>>>>> </profileApplication>
>>>>>>>>> <profileApplication xmi:id="_19s3obadEduYg9z0frhrGw">
>>>>>>>>> <eAnnotations xmi:id="_19s3oradEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>>>>> <references xmi:type="ecore:EPackage"
>>>>>>>>> href="PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw"/ >
>>>>>>>>> </eAnnotations>
>>>>>>>>> <appliedProfile
>>>>>>>>> href="PEPA.profile.uml.profile.uml#_19s2fLadEduYg9z0frhrGw"/ >
>>>>>>>>> </profileApplication>
>>>>>>>>> </uml:Model>
>>>>>>>>> <PEPAProfile:ActiveRate xmi:id="_19s3o7adEduYg9z0frhrGw"
>>>>>>>>> value="2.0" base_Behavior="_19s3mbadEduYg9z0frhrGw"/>
>>>>>>>>> </xmi:XMI>
>>>>>>>>>
>>>>>>>> ------------------------------------------------------------ --------------------
>>>>>>>>
>>>>>>>>
>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>>> <uml:Profile xmi:version="2.1"
>>>>>>>>> xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
>>>>>>>>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
>>>>>>>>> xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> xmi:id="_19s2fLadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>>> metamodelReference="_19s3FLadEduYg9z0frhrGw">
>>>>>>>>> <eAnnotations xmi:id="_19s2fbadEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>>>> xmi:id="_19s2fradEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>>> nsURI="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13"
>>>>>>>>> nsPrefix="PEPAProfile">
>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>> xmi:id="_19s2f7adEduYg9z0frhrGw" name="ActiveRate">
>>>>>>>>> <eAnnotations xmi:id="_19s2gLadEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>> xmi:id="_19s2gbadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>> lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>> xmi:id="_19s2gradEduYg9z0frhrGw" name="base_Behavior"
>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> </eClassifiers>
>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>> xmi:id="_19s2g7adEduYg9z0frhrGw" name="PassiveRate">
>>>>>>>>> <eAnnotations xmi:id="_19s2hLadEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>> xmi:id="_19s2hbadEduYg9z0frhrGw" name="multiplicity"
>>>>>>>>> ordered="false" lowerBound="1" defaultValueLiteral="1">
>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>> xmi:id="_19s2hradEduYg9z0frhrGw" name="base_Trigger"
>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> </eClassifiers>
>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>> xmi:id="_19s2h7adEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>>>> <eAnnotations xmi:id="_19s2iLadEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>> xmi:id="_19s2ibadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>> lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>> xmi:id="_19s2iradEduYg9z0frhrGw" name="base_Comment"
>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> </eClassifiers>
>>>>>>>>> </contents>
>>>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>>>> xmi:id="_19s2i7adEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>>> nsURI="http:///schemas/PEPAProfile/_PYPuQLXrEduQbrr1ndBC-A/12"
>>>>>>>>> nsPrefix="PEPAProfile">
>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>> xmi:id="_19s2jLadEduYg9z0frhrGw" name="ActiveRate">
>>>>>>>>> <eAnnotations xmi:id="_19s2jbadEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>> xmi:id="_19s2jradEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>> lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>> xmi:id="_19s2j7adEduYg9z0frhrGw" name="base_Behavior"
>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> </eClassifiers>
>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>> xmi:id="_19s2kLadEduYg9z0frhrGw" name="PassiveRate">
>>>>>>>>> <eAnnotations xmi:id="_19s2kbadEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>> xmi:id="_19s2kradEduYg9z0frhrGw" name="multiplicity"
>>>>>>>>> ordered="false" lowerBound="1" defaultValueLiteral="1">
>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>> xmi:id="_19s2k7adEduYg9z0frhrGw" name="base_Trigger"
>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> </eClassifiers>
>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>> xmi:id="_19s2lLadEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>>>> <eAnnotations xmi:id="_19s2lbadEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>> xmi:id="_19s2lradEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>> lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>> xmi:id="_19s2l7adEduYg9z0frhrGw" name="base_Comment"
>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>> xmi:id="_19s2mLadEduYg9z0frhrGw" name="state" ordered="false"
>>>>>>>>> lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> </eClassifiers>
>>>>>>>>> </contents>
>>>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>>>> xmi:id="_19s2mbadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>>> nsURI="http:///schemas/PEPAProfile/_CQeHELXoEduQbrr1ndBC-A/11"
>>>>>>>>> nsPrefix="PEPAProfile">
>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>> xmi:id="_19s2mradEduYg9z0frhrGw" name="ActiveRate">
>>>>>>>>> <eAnnotations xmi:id="_19s2m7adEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>> xmi:id="_19s2nLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>> lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>> xmi:id="_19s2nbadEduYg9z0frhrGw" name="base_Behavior"
>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> </eClassifiers>
>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>> xmi:id="_19s2nradEduYg9z0frhrGw" name="PassiveRate">
>>>>>>>>> <eAnnotations xmi:id="_19s2n7adEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>> xmi:id="_19s2oLadEduYg9z0frhrGw" name="multiplicity"
>>>>>>>>> ordered="false" lowerBound="1" defaultValueLiteral="1">
>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>> xmi:id="_19s2obadEduYg9z0frhrGw" name="base_Trigger"
>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> </eClassifiers>
>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>> xmi:id="_19s2oradEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>>>> <eAnnotations xmi:id="_19s2o7adEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>> xmi:id="_19s2pLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>> lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>> xmi:id="_19s2pbadEduYg9z0frhrGw" name="base_Comment"
>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> </eClassifiers>
>>>>>>>>> </contents>
>>>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>>>> xmi:id="_19s2pradEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>>> nsURI="http:///schemas/PEPAProfile/_1FD1sLXnEduQbrr1ndBC-A/10"
>>>>>>>>> nsPrefix="PEPAProfile">
>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>> xmi:id="_19s2p7adEduYg9z0frhrGw" name="ActiveRate">
>>>>>>>>> <eAnnotations xmi:id="_19s2qLadEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>> xmi:id="_19s2qbadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>> lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>> xmi:id="_19s2qradEduYg9z0frhrGw" name="base_Behavior"
>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> </eClassifiers>
>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>> xmi:id="_19s2q7adEduYg9z0frhrGw" name="PassiveRate">
>>>>>>>>> <eAnnotations xmi:id="_19s2rLadEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>> xmi:id="_19s2rbadEduYg9z0frhrGw" name="multiplicity"
>>>>>>>>> ordered="false" lowerBound="1" defaultValueLiteral="1">
>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>> xmi:id="_19s2rradEduYg9z0frhrGw" name="base_Trigger"
>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> </eClassifiers>
>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>> xmi:id="_19s2r7adEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>>>> <eAnnotations xmi:id="_19s2sLadEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>> xmi:id="_19s2sbadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>> lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>> xmi:id="_19s2sradEduYg9z0frhrGw" name="base_Comment"
>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>> xmi:id="_19s2s7adEduYg9z0frhrGw" name="state" ordered="false"
>>>>>>>>> lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> </eClassifiers>
>>>>>>>>> </contents>
>>>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>>>> xmi:id="_19s2tLadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>>> nsURI="http:///schemas/PEPAProfile/_aAgqQLXnEduQbrr1ndBC-A/9"
>>>>>>>>> nsPrefix="PEPAProfile">
>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>> xmi:id="_19s2tbadEduYg9z0frhrGw" name="ActiveRate">
>>>>>>>>> <eAnnotations xmi:id="_19s2tradEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>> xmi:id="_19s2t7adEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>> lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>> xmi:id="_19s2uLadEduYg9z0frhrGw" name="base_Behavior"
>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> </eClassifiers>
>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>> xmi:id="_19s2ubadEduYg9z0frhrGw" name="PassiveRate">
>>>>>>>>> <eAnnotations xmi:id="_19s2uradEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>> xmi:id="_19s2u7adEduYg9z0frhrGw" name="multiplicity"
>>>>>>>>> ordered="false" lowerBound="1" defaultValueLiteral="1">
>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>> xmi:id="_19s2vLadEduYg9z0frhrGw" name="base_Trigger"
>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> </eClassifiers>
>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>> xmi:id="_19s2vbadEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>>>> <eAnnotations xmi:id="_19s2vradEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>> xmi:id="_19s2v7adEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>> lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>> xmi:id="_19s2wLadEduYg9z0frhrGw" name="base_Comment"
>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> </eClassifiers>
>>>>>>>>> </contents>
>>>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>>>> xmi:id="_19s2wbadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>>> nsURI="http:///schemas/PEPAProfile/_XtISYLXnEduQbrr1ndBC-A/8"
>>>>>>>>> nsPrefix="PEPAProfile">
>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>> xmi:id="_19s2wradEduYg9z0frhrGw" name="ActiveRate">
>>>>>>>>> <eAnnotations xmi:id="_19s2w7adEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>> xmi:id="_19s2xLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>> lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>> xmi:id="_19s2xbadEduYg9z0frhrGw" name="base_Behavior"
>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> </eClassifiers>
>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>> xmi:id="_19s2xradEduYg9z0frhrGw" name="PassiveRate">
>>>>>>>>> <eAnnotations xmi:id="_19s2x7adEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>> xmi:id="_19s2yLadEduYg9z0frhrGw" name="multiplicity"
>>>>>>>>> ordered="false" lowerBound="1" defaultValueLiteral="1">
>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>> xmi:id="_19s2ybadEduYg9z0frhrGw" name="base_Trigger"
>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> </eClassifiers>
>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>> xmi:id="_19s2yradEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>>>> <eAnnotations xmi:id="_19s2y7adEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>> xmi:id="_19s2zLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>> lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> </eClassifiers>
>>>>>>>>> </contents>
>>>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>>>> xmi:id="_19s2zbadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>>> nsURI="http:///schemas/PEPAProfile/_HCgvMLXnEduQbrr1ndBC-A/7"
>>>>>>>>> nsPrefix="PEPAProfile">
>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>> xmi:id="_19s2zradEduYg9z0frhrGw" name="ActiveRate">
>>>>>>>>> <eAnnotations xmi:id="_19s2z7adEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>>>> <eStructuralFeatures xmi:typ
Re: Programmatic Navigation of a UML2 Model with Custom Profiles [message #470941 is a reply to message #470416] Thu, 15 February 2007 13:48 Go to previous message
Eclipse UserFriend
Originally posted by: mtribast.inf.ed.ac.uk

Hi Kenn,

I solved the problem. That was the creation of the URI. In the
stand-alone application that was created as follows:

URI.createURI("file://c:/...")

The plug-in used the IResource API to create the URI. The *wrong* way was:

URI.createFileURI(umlFile.getFullPath().toFile().getPath());

as getFullPath() returns the path relative to the workspace. The
*correct* way (I don't know of anything better though) is:

URI.createFileURI(umlFile.getLocation().toFile().getPath());

because getLocation() returns the absolute path in the file system. What
confused me though was that the former call would give me partial
information on the model (i.e., no stereotypes) on Windows. The same
call on Linux would throw a FileNotFoundException.

Thank you for your help.

Cheers
Mirco



Kenn Hussey wrote:
> Mirco,
>
> The only thing I can suggest at this point is to send us a sample program
> (and associated models) that demonstrate the problem so that we can take a
> closer look...
>
> Kenn
>
> "Mirco Tribastone" <mtribast@inf.ed.ac.uk> wrote in message
> news:equl03$rk9$1@utils.eclipse.org...
>> Hi Kenn,
>>
>> I have the following plug-in ids:
>>
>> org.eclipse.uml2
>> .common
>> .common.edit
>> .doc
>> .codegen.ecore.ui
>> .codegen.ecore
>> .examples
>> .examples.sources
>> .source
>> .edit
>> .editor
>> .ecore.importer
>> .ecore.exporter
>> .uml
>> .uml.resources
>>
>> They're all x.x.x.v200610251409
>>
>> Thanks again
>>
>> Mirco
>>
>> Kenn Hussey wrote:
>>> Mirco,
>>>
>>> If you select 'Help > About Eclipse SDK', then press the 'Plug-in
>>> Details' buton, do you see the UML2 plug-ins listed?
>>>
>>> Kenn
>>>
>>> "Mirco Tribastone" <mtribast@inf.ed.ac.uk> wrote in message
>>> news:eqshm4$3s0$1@utils.eclipse.org...
>>>> Hi Kenn,
>>>>
>>>> I did that, but it didn't work. I also installed a fresh version of
>>>> Eclipse with EMF and UML2 only and tried to run the application from
>>>> there, but that didn't work too. I did some more work on my code and I
>>>> can confirm that my models are loaded and navigated successfully from a
>>>> stand-alone application. What could I do next to solve my problem?
>>>>
>>>> Cheers,
>>>> Mirco
>>>>
>>>>
>>>> Kenn Hussey wrote:
>>>>> Mirco,
>>>>>
>>>>> Try deleting the old features and plug-ins from your filesystem and
>>>>> launching with the -clean option.
>>>>>
>>>>> Kenn
>>>>>
>>>>> "Mirco Tribastone" <mtribast@inf.ed.ac.uk> wrote in message
>>>>> news:eqpss4$e5g$1@utils.eclipse.org...
>>>>>> Kenn,
>>>>>>
>>>>>> Actually the platform log reports "Duplicate feature found" for
>>>>>> UML2-related features. I am trying to figure out how to uninstall the
>>>>>> previous versions; I have tried the Manage Configuration dialog. It
>>>>>> shows the previous versions as disabled but the "Uninstall" menu item
>>>>>> is not enabled. How can I solve this problem? (Sorry if this question
>>>>>> is slightly out of topic...)
>>>>>>
>>>>>> Thanks again
>>>>>> Mirco
>>>>>>
>>>>>> Kenn Hussey wrote:
>>>>>>> Mirco,
>>>>>>>
>>>>>>> Do you have any problems with your Eclipse configuration? Did you
>>>>>>> previously have an old version of UML2 installed? Are you seeing any
>>>>>>> exceptions in the platform log?
>>>>>>>
>>>>>>> Kenn
>>>>>>>
>>>>>>> "Mirco Tribastone" <mtribast@inf.ed.ac.uk> wrote in message
>>>>>>> news:eqhmk1$ipt$1@utils.eclipse.org...
>>>>>>>> Hi Kenn,
>>>>>>>>
>>>>>>>> I had already checked that, and that was not the problem. The name
>>>>>>>> of the resource is now PEPA.profile.uml. I think I made some
>>>>>>>> progress in finding the problem. I load the model programmatically
>>>>>>>> from a stand-alone application that I wrote by slightly modifying
>>>>>>>> the UML2Article class downloaded from the Eclipse website. I load
>>>>>>>> the model by using the same load(URI) method and registering the
>>>>>>>> resource factories as follows:
>>>>>>>>
>>>>>>>> RESOURCE_SET.getPackageRegistry().put(UMLPackage.eNS_URI,
>>>>>>>> UMLPackage.eINSTANCE);
>>>>>>>> Map extensionToFactoryMap =
>>>>>>>> RESOURCE_SET.getResourceFactoryRegistry()
>>>>>>>> .getExtensionToFactoryMap();
>>>>>>>> extensionToFactoryMap.put(UMLResource.FILE_EXTENSION,
>>>>>>>> UMLResource.Factory.INSTANCE);
>>>>>>>>
>>>>>>>> The output of the programs gives me correct information about the
>>>>>>>> applied stereotypes.
>>>>>>>> The problem seems to persist though when the same code is launched
>>>>>>>> from within an Eclipse instance. I initially thought that problem
>>>>>>>> would be that the UML2Article uses different versions of the
>>>>>>>> plug-ins; hence I created another stand-alone app with the same
>>>>>>>> plug-in versions as my Eclipse configuration, but the model is
>>>>>>>> navigated correctly also in this case.
>>>>>>>>
>>>>>>>> Do you have any idea why the code refuses to work in the Eclipse
>>>>>>>> environment?
>>>>>>>>
>>>>>>>> Thanks for your precious help.
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> Mirco
>>>>>>>>
>>>>>>>> Kenn Hussey wrote:
>>>>>>>>> Mirco,
>>>>>>>>>
>>>>>>>>> It sounds like the model is having a hard time finding the profile.
>>>>>>>>> Incidentally, what is the name of the resource that contains the
>>>>>>>>> profile? Based on the schemaLocation declaration in the model, it
>>>>>>>>> looks as though the model is expecting it to be in a
>>>>>>>>> 'PEPA.profile.uml.profile.uml' resource in the same folder as the
>>>>>>>>> model...
>>>>>>>>>
>>>>>>>>> Kenn
>>>>>>>>>
>>>>>>>>> "Mirco" <mtribast@inf.ed.ac.uk> wrote in message
>>>>>>>>> news:eqcjth$u0e$1@utils.eclipse.org...
>>>>>>>>>> Hi all,
>>>>>>>>>>
>>>>>>>>>> I've been trying to navigate a UML2 Model to which a custom
>>>>>>>>>> profile has
>>>>>>>>>> been applied. I defined both the model and the profile by using
>>>>>>>>>> Rational
>>>>>>>>>> Software Architect 7.0.0. I exported the model into the .uml
>>>>>>>>>> format and
>>>>>>>>>> developed a plug-in which reads that file and shows information to
>>>>>>>>>> the
>>>>>>>>>> user. The plug-in runs on the Eclipse run-time workspace of RSA.
>>>>>>>>>> The profile extends an Effect with a stereotype called ActiveRate
>>>>>>>>>> which
>>>>>>>>>> has a property (double) called 'value'. I use the following code
>>>>>>>>>> for
>>>>>>>>>> retrieving the information about the stereotypes applied to a
>>>>>>>>>> transition's effect:
>>>>>>>>>>
>>>>>>>>>> /* t is an instance of Transition */
>>>>>>>>>> Behavior behavior = t.getEffect();
>>>>>>>>>> buf.append(" Effect: " + ((behavior == null) ?
>>>>>>>>>> "None":behavior.getName())+ "\n");
>>>>>>>>>> if (behavior != null) {
>>>>>>>>>> for (int s = 0; s < behavior.getAppliedStereotypes().size();s++) {
>>>>>>>>>> Stereotype aStereoType = (Stereotype)
>>>>>>>>>> behavior.getAppliedStereotypes().get(s);
>>>>>>>>>> buf.append(" Stereotype: " + aStereoType.getName()+ "\n");
>>>>>>>>>> }
>>>>>>>>>> }
>>>>>>>>>>
>>>>>>>>>> Although the name of the effect is shown correctly, the size of
>>>>>>>>>> the
>>>>>>>>>> applied stereotype list is 0. How can I use the API to discover if
>>>>>>>>>> a
>>>>>>>>>> Transition.getEffect() is applied a stereotype described in a
>>>>>>>>>> custom
>>>>>>>>>> profile?
>>>>>>>>>>
>>>>>>>>>> I attach the exported model and custom profile. (RSA uses UML2
>>>>>>>>>> 2.0.2v200610251409)
>>>>>>>>>>
>>>>>>>>>> Thanks for your attention,
>>>>>>>>>> Mirco
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------ --------------------
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>>>> <xmi:XMI xmi:version="2.1"
>>>>>>>>>> xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
>>>>>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>>>> xmlns:PEPAProfile="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13"
>>>>>>>>>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
>>>>>>>>>> xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>>> xsi:schemaLocation="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13
>>>>>>>>>> PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw">
>>>>>>>>>> <uml:Model xmi:id="_19s3j7adEduYg9z0frhrGw" name="FirstModel">
>>>>>>>>>> <packageImport xmi:id="_19s3kLadEduYg9z0frhrGw">
>>>>>>>>>> <importedPackage xmi:type="uml:Model"
>>>>>>>>>> href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
>>>>>>>>>> </packageImport>
>>>>>>>>>> <packagedElement xmi:type="uml:StateMachine"
>>>>>>>>>> xmi:id="_19s3kbadEduYg9z0frhrGw" name="StateMachine">
>>>>>>>>>> <region xmi:id="_19s3kradEduYg9z0frhrGw" name="Region1">
>>>>>>>>>> <subvertex xmi:type="uml:Pseudostate"
>>>>>>>>>> xmi:id="_19s3k7adEduYg9z0frhrGw"
>>>>>>>>>> outgoing="_19s3l7adEduYg9z0frhrGw"/>
>>>>>>>>>> <subvertex xmi:type="uml:State"
>>>>>>>>>> xmi:id="_19s3lLadEduYg9z0frhrGw" name="P1"
>>>>>>>>>> outgoing="_19s3mLadEduYg9z0frhrGw"
>>>>>>>>>> incoming="_19s3l7adEduYg9z0frhrGw"/>
>>>>>>>>>> <subvertex xmi:type="uml:State"
>>>>>>>>>> xmi:id="_19s3lbadEduYg9z0frhrGw" name="P2"
>>>>>>>>>> outgoing="_19s3mradEduYg9z0frhrGw"
>>>>>>>>>> incoming="_19s3mLadEduYg9z0frhrGw"/>
>>>>>>>>>> <subvertex xmi:type="uml:FinalState"
>>>>>>>>>> xmi:id="_19s3lradEduYg9z0frhrGw"
>>>>>>>>>> incoming="_19s3mradEduYg9z0frhrGw"/>
>>>>>>>>>> <transition xmi:id="_19s3l7adEduYg9z0frhrGw" kind="local"
>>>>>>>>>> target="_19s3lLadEduYg9z0frhrGw"
>>>>>>>>>> source="_19s3k7adEduYg9z0frhrGw"/>
>>>>>>>>>> <transition xmi:id="_19s3mLadEduYg9z0frhrGw" name="a"
>>>>>>>>>> kind="local" target="_19s3lbadEduYg9z0frhrGw"
>>>>>>>>>> source="_19s3lLadEduYg9z0frhrGw">
>>>>>>>>>> <effect xmi:type="uml:OpaqueBehavior"
>>>>>>>>>> xmi:id="_19s3mbadEduYg9z0frhrGw" name="anEffect"/>
>>>>>>>>>> </transition>
>>>>>>>>>> <transition xmi:id="_19s3mradEduYg9z0frhrGw" kind="local"
>>>>>>>>>> target="_19s3lradEduYg9z0frhrGw"
>>>>>>>>>> source="_19s3lbadEduYg9z0frhrGw"/>
>>>>>>>>>> </region>
>>>>>>>>>> </packagedElement>
>>>>>>>>>> <profileApplication xmi:id="_19s3m7adEduYg9z0frhrGw">
>>>>>>>>>> <eAnnotations xmi:id="_19s3nLadEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>>>>>> <references xmi:type="ecore:EPackage"
>>>>>>>>>> href=" pathmap://UML_PROFILES/Standard.profile.uml#_yzU58YinEdqtvbn fB2L_5w"/>
>>>>>>>>>> </eAnnotations>
>>>>>>>>>> <appliedProfile
>>>>>>>>>> href="pathmap://UML_PROFILES/Standard.profile.uml#_0"/>
>>>>>>>>>> </profileApplication>
>>>>>>>>>> <profileApplication xmi:id="_19s3nbadEduYg9z0frhrGw">
>>>>>>>>>> <eAnnotations xmi:id="_19s3nradEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>>>>>> <references xmi:type="ecore:EPackage"
>>>>>>>>>> href="Default.profile.uml#_19s3KbadEduYg9z0frhrGw"/>
>>>>>>>>>> </eAnnotations>
>>>>>>>>>> <appliedProfile
>>>>>>>>>> href="Default.profile.uml#_19s3J7adEduYg9z0frhrGw"/>
>>>>>>>>>> </profileApplication>
>>>>>>>>>> <profileApplication xmi:id="_19s3n7adEduYg9z0frhrGw">
>>>>>>>>>> <eAnnotations xmi:id="_19s3oLadEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>>>>>> <references xmi:type="ecore:EPackage"
>>>>>>>>>> href="Deployment.profile.uml#_19s3pradEduYg9z0frhrGw"/>
>>>>>>>>>> </eAnnotations>
>>>>>>>>>> <appliedProfile
>>>>>>>>>> href="Deployment.profile.uml#_19s3pLadEduYg9z0frhrGw"/>
>>>>>>>>>> </profileApplication>
>>>>>>>>>> <profileApplication xmi:id="_19s3obadEduYg9z0frhrGw">
>>>>>>>>>> <eAnnotations xmi:id="_19s3oradEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>>>>>> <references xmi:type="ecore:EPackage"
>>>>>>>>>> href="PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw"/ >
>>>>>>>>>> </eAnnotations>
>>>>>>>>>> <appliedProfile
>>>>>>>>>> href="PEPA.profile.uml.profile.uml#_19s2fLadEduYg9z0frhrGw"/ >
>>>>>>>>>> </profileApplication>
>>>>>>>>>> </uml:Model>
>>>>>>>>>> <PEPAProfile:ActiveRate xmi:id="_19s3o7adEduYg9z0frhrGw"
>>>>>>>>>> value="2.0" base_Behavior="_19s3mbadEduYg9z0frhrGw"/>
>>>>>>>>>> </xmi:XMI>
>>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------ --------------------
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>>>> <uml:Profile xmi:version="2.1"
>>>>>>>>>> xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
>>>>>>>>>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
>>>>>>>>>> xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>>> xmi:id="_19s2fLadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>>>> metamodelReference="_19s3FLadEduYg9z0frhrGw">
>>>>>>>>>> <eAnnotations xmi:id="_19s2fbadEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>>>>> xmi:id="_19s2fradEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>>>> nsURI="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13"
>>>>>>>>>> nsPrefix="PEPAProfile">
>>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>>> xmi:id="_19s2f7adEduYg9z0frhrGw" name="ActiveRate">
>>>>>>>>>> <eAnnotations xmi:id="_19s2gLadEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>>> xmi:id="_19s2gbadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>>> lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>>> xmi:id="_19s2gradEduYg9z0frhrGw" name="base_Behavior"
>>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> </eClassifiers>
>>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>>> xmi:id="_19s2g7adEduYg9z0frhrGw" name="PassiveRate">
>>>>>>>>>> <eAnnotations xmi:id="_19s2hLadEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>>> xmi:id="_19s2hbadEduYg9z0frhrGw" name="multiplicity"
>>>>>>>>>> ordered="false" lowerBound="1" defaultValueLiteral="1">
>>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>>> xmi:id="_19s2hradEduYg9z0frhrGw" name="base_Trigger"
>>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> </eClassifiers>
>>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>>> xmi:id="_19s2h7adEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>>>>> <eAnnotations xmi:id="_19s2iLadEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>>> xmi:id="_19s2ibadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>>> lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>>> xmi:id="_19s2iradEduYg9z0frhrGw" name="base_Comment"
>>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> </eClassifiers>
>>>>>>>>>> </contents>
>>>>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>>>>> xmi:id="_19s2i7adEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>>>> nsURI="http:///schemas/PEPAProfile/_PYPuQLXrEduQbrr1ndBC-A/12"
>>>>>>>>>> nsPrefix="PEPAProfile">
>>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>>> xmi:id="_19s2jLadEduYg9z0frhrGw" name="ActiveRate">
>>>>>>>>>> <eAnnotations xmi:id="_19s2jbadEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>>> xmi:id="_19s2jradEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>>> lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>>> xmi:id="_19s2j7adEduYg9z0frhrGw" name="base_Behavior"
>>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> </eClassifiers>
>>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>>> xmi:id="_19s2kLadEduYg9z0frhrGw" name="PassiveRate">
>>>>>>>>>> <eAnnotations xmi:id="_19s2kbadEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>>> xmi:id="_19s2kradEduYg9z0frhrGw" name="multiplicity"
>>>>>>>>>> ordered="false" lowerBound="1" defaultValueLiteral="1">
>>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>>> xmi:id="_19s2k7adEduYg9z0frhrGw" name="base_Trigger"
>>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> </eClassifiers>
>>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>>> xmi:id="_19s2lLadEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>>>>> <eAnnotations xmi:id="_19s2lbadEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>>> xmi:id="_19s2lradEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>>> lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>>> xmi:id="_19s2l7adEduYg9z0frhrGw" name="base_Comment"
>>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>>> xmi:id="_19s2mLadEduYg9z0frhrGw" name="state" ordered="false"
>>>>>>>>>> lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> </eClassifiers>
>>>>>>>>>> </contents>
>>>>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>>>>> xmi:id="_19s2mbadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>>>> nsURI="http:///schemas/PEPAProfile/_CQeHELXoEduQbrr1ndBC-A/11"
>>>>>>>>>> nsPrefix="PEPAProfile">
>>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>>> xmi:id="_19s2mradEduYg9z0frhrGw" name="ActiveRate">
>>>>>>>>>> <eAnnotations xmi:id="_19s2m7adEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>>> xmi:id="_19s2nLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>>> lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>>> xmi:id="_19s2nbadEduYg9z0frhrGw" name="base_Behavior"
>>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> </eClassifiers>
>>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>>> xmi:id="_19s2nradEduYg9z0frhrGw" name="PassiveRate">
>>>>>>>>>> <eAnnotations xmi:id="_19s2n7adEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>>> xmi:id="_19s2oLadEduYg9z0frhrGw" name="multiplicity"
>>>>>>>>>> ordered="false" lowerBound="1" defaultValueLiteral="1">
>>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>>> xmi:id="_19s2obadEduYg9z0frhrGw" name="base_Trigger"
>>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> </eClassifiers>
>>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>>> xmi:id="_19s2oradEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>>>>> <eAnnotations xmi:id="_19s2o7adEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>>> xmi:id="_19s2pLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>>> lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>>> xmi:id="_19s2pbadEduYg9z0frhrGw" name="base_Comment"
>>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> </eClassifiers>
>>>>>>>>>> </contents>
>>>>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>>>>> xmi:id="_19s2pradEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>>>> nsURI="http:///schemas/PEPAProfile/_1FD1sLXnEduQbrr1ndBC-A/10"
>>>>>>>>>> nsPrefix="PEPAProfile">
>>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>>> xmi:id="_19s2p7adEduYg9z0frhrGw" name="ActiveRate">
>>>>>>>>>> <eAnnotations xmi:id="_19s2qLadEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>>> xmi:id="_19s2qbadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>>> lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>>> xmi:id="_19s2qradEduYg9z0frhrGw" name="base_Behavior"
>>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> </eClassifiers>
>>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>>> xmi:id="_19s2q7adEduYg9z0frhrGw" name="PassiveRate">
>>>>>>>>>> <eAnnotations xmi:id="_19s2rLadEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>>> xmi:id="_19s2rbadEduYg9z0frhrGw" name="multiplicity"
>>>>>>>>>> ordered="false" lowerBound="1" defaultValueLiteral="1">
>>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>>> xmi:id="_19s2rradEduYg9z0frhrGw" name="base_Trigger"
>>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> </eClassifiers>
>>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>>> xmi:id="_19s2r7adEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>>>>> <eAnnotations xmi:id="_19s2sLadEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>>> xmi:id="_19s2sbadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>>> lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>>> xmi:id="_19s2sradEduYg9z0frhrGw" name="base_Comment"
>>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>>> xmi:id="_19s2s7adEduYg9z0frhrGw" name="state" ordered="false"
>>>>>>>>>> lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> </eClassifiers>
>>>>>>>>>> </contents>
>>>>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>>>>> xmi:id="_19s2tLadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>>>> nsURI="http:///schemas/PEPAProfile/_aAgqQLXnEduQbrr1ndBC-A/9"
>>>>>>>>>> nsPrefix="PEPAProfile">
>>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>>> xmi:id="_19s2tbadEduYg9z0frhrGw" name="ActiveRate">
>>>>>>>>>> <eAnnotations xmi:id="_19s2tradEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>>> xmi:id="_19s2t7adEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>>> lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>>> xmi:id="_19s2uLadEduYg9z0frhrGw" name="base_Behavior"
>>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> </eClassifiers>
>>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>>> xmi:id="_19s2ubadEduYg9z0frhrGw" name="PassiveRate">
>>>>>>>>>> <eAnnotations xmi:id="_19s2uradEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>>> xmi:id="_19s2u7adEduYg9z0frhrGw" name="multiplicity"
>>>>>>>>>> ordered="false" lowerBound="1" defaultValueLiteral="1">
>>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>>> xmi:id="_19s2vLadEduYg9z0frhrGw" name="base_Trigger"
>>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> </eClassifiers>
>>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>>> xmi:id="_19s2vbadEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>>>>> <eAnnotations xmi:id="_19s2vradEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>>> xmi:id="_19s2v7adEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>>> lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>>> xmi:id="_19s2wLadEduYg9z0frhrGw" name="base_Comment"
>>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> </eClassifiers>
>>>>>>>>>> </contents>
>>>>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>>>>> xmi:id="_19s2wbadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>>>> nsURI="http:///schemas/PEPAProfile/_XtISYLXnEduQbrr1ndBC-A/8"
>>>>>>>>>> nsPrefix="PEPAProfile">
>>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>>> xmi:id="_19s2wradEduYg9z0frhrGw" name="ActiveRate">
>>>>>>>>>> <eAnnotations xmi:id="_19s2w7adEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>>> xmi:id="_19s2xLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>>> lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>>> xmi:id="_19s2xbadEduYg9z0frhrGw" name="base_Behavior"
>>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> </eClassifiers>
>>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>>> xmi:id="_19s2xradEduYg9z0frhrGw" name="PassiveRate">
>>>>>>>>>> <eAnnotations xmi:id="_19s2x7adEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>>> xmi:id="_19s2yLadEduYg9z0frhrGw" name="multiplicity"
>>>>>>>>>> ordered="false" lowerBound="1" defaultValueLiteral="1">
>>>>>>>>>> <eType xmi:type="ecore:EDataType"
Re: Programmatic Navigation of a UML2 Model with Custom Profiles [message #583123 is a reply to message #470132] Wed, 07 February 2007 22:26 Go to previous message
Tas Frangoullides is currently offline Tas FrangoullidesFriend
Messages: 195
Registered: July 2009
Senior Member
Hi Micro,

Would the following code do what you want?

behaviour.getAppliedStereotype("PEPAProfile::ActiveRate") != null

Another way would be to get the profile from the same resource set and
obtain a reference to ActiveRate stereotype and use the
isStereotypeApplied method. Something like this:

Profile pepaProfle =
resourceSet.getResource(URI.createFileURI("PEPA.profile.uml "));
Stereotype activeRate = pepaProfile.getOwnedStereotype("ActiveRate");
....
behaviour.isStereotypeApplied(activeRate);

Hope that helps,

Tas

Mirco wrote:

> Hi all,

> I've been trying to navigate a UML2 Model to which a custom profile has
> been applied. I defined both the model and the profile by using Rational
> Software Architect 7.0.0. I exported the model into the .uml format and
> developed a plug-in which reads that file and shows information to the
> user. The plug-in runs on the Eclipse run-time workspace of RSA.
> The profile extends an Effect with a stereotype called ActiveRate which
> has a property (double) called 'value'. I use the following code for
> retrieving the information about the stereotypes applied to a
> transition's effect:

> /* t is an instance of Transition */
> Behavior behavior = t.getEffect();
> buf.append(" Effect: " + ((behavior == null) ?
> "None":behavior.getName())+ "n");
> if (behavior != null) {
> for (int s = 0; s < behavior.getAppliedStereotypes().size();s++) {
> Stereotype aStereoType = (Stereotype)
> behavior.getAppliedStereotypes().get(s);
> buf.append(" Stereotype: " + aStereoType.getName()+ "n");
> }
> }

> Although the name of the effect is shown correctly, the size of the
> applied stereotype list is 0. How can I use the API to discover if a
> Transition.getEffect() is applied a stereotype described in a custom
> profile?

> I attach the exported model and custom profile. (RSA uses UML2
> 2.0.2v200610251409)

> Thanks for your attention,
> Mirco
Re: Programmatic Navigation of a UML2 Model with Custom Profiles [message #583197 is a reply to message #470147] Thu, 08 February 2007 09:06 Go to previous message
Eclipse UserFriend
Originally posted by: mtribast.inf.ed.ac.uk

Hi Tas,

Tas Frangoullides wrote:
> Would the following code do what you want?
>
> behaviour.getAppliedStereotype("PEPAProfile::ActiveRate") != null
>
Although this is exactly what I was looking for, this piece of code is
not working. This expression evaluates 'false' and
behavior.getAppliedStereotypes() is an empty collection. I was wondering
if there is anybody who can let me know if there is something wrong in
the serialised uml file.

Cheers,
Mirco

> Another way would be to get the profile from the same resource set and
> obtain a reference to ActiveRate stereotype and use the
> isStereotypeApplied method. Something like this:
>
> Profile pepaProfle =
> resourceSet.getResource(URI.createFileURI("PEPA.profile.uml "));
> Stereotype activeRate = pepaProfile.getOwnedStereotype("ActiveRate");
> ...
> behaviour.isStereotypeApplied(activeRate);
>
> Hope that helps,
>
> Tas
>
> Mirco wrote:
>
>> Hi all,
>
>> I've been trying to navigate a UML2 Model to which a custom profile
>> has been applied. I defined both the model and the profile by using
>> Rational Software Architect 7.0.0. I exported the model into the .uml
>> format and developed a plug-in which reads that file and shows
>> information to the user. The plug-in runs on the Eclipse run-time
>> workspace of RSA.
>> The profile extends an Effect with a stereotype called ActiveRate
>> which has a property (double) called 'value'. I use the following code
>> for retrieving the information about the stereotypes applied to a
>> transition's effect:
>
>> /* t is an instance of Transition */
>> Behavior behavior = t.getEffect();
>> buf.append(" Effect: " + ((behavior == null) ?
>> "None":behavior.getName())+ "n");
>> if (behavior != null) {
>> for (int s = 0; s <
>> behavior.getAppliedStereotypes().size();s++) {
>> Stereotype aStereoType = (Stereotype)
>> behavior.getAppliedStereotypes().get(s);
>> buf.append(" Stereotype: " +
>> aStereoType.getName()+ "n");
>> }
>> }
>
>> Although the name of the effect is shown correctly, the size of the
>> applied stereotype list is 0. How can I use the API to discover if a
>> Transition.getEffect() is applied a stereotype described in a custom
>> profile?
>
>> I attach the exported model and custom profile. (RSA uses UML2
>> 2.0.2v200610251409)
>
>> Thanks for your attention,
>> Mirco
>
>
Re: Programmatic Navigation of a UML2 Model with Custom Profiles [message #583234 is a reply to message #470132] Thu, 08 February 2007 14:04 Go to previous message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
Mirco,

It sounds like the model is having a hard time finding the profile.
Incidentally, what is the name of the resource that contains the profile?
Based on the schemaLocation declaration in the model, it looks as though the
model is expecting it to be in a 'PEPA.profile.uml.profile.uml' resource in
the same folder as the model...

Kenn

"Mirco" <mtribast@inf.ed.ac.uk> wrote in message
news:eqcjth$u0e$1@utils.eclipse.org...
> Hi all,
>
> I've been trying to navigate a UML2 Model to which a custom profile has
> been applied. I defined both the model and the profile by using Rational
> Software Architect 7.0.0. I exported the model into the .uml format and
> developed a plug-in which reads that file and shows information to the
> user. The plug-in runs on the Eclipse run-time workspace of RSA.
> The profile extends an Effect with a stereotype called ActiveRate which
> has a property (double) called 'value'. I use the following code for
> retrieving the information about the stereotypes applied to a
> transition's effect:
>
> /* t is an instance of Transition */
> Behavior behavior = t.getEffect();
> buf.append(" Effect: " + ((behavior == null) ?
> "None":behavior.getName())+ "\n");
> if (behavior != null) {
> for (int s = 0; s < behavior.getAppliedStereotypes().size();s++) {
> Stereotype aStereoType = (Stereotype)
> behavior.getAppliedStereotypes().get(s);
> buf.append(" Stereotype: " + aStereoType.getName()+ "\n");
> }
> }
>
> Although the name of the effect is shown correctly, the size of the
> applied stereotype list is 0. How can I use the API to discover if a
> Transition.getEffect() is applied a stereotype described in a custom
> profile?
>
> I attach the exported model and custom profile. (RSA uses UML2
> 2.0.2v200610251409)
>
> Thanks for your attention,
> Mirco
>
>
>
>
>
>


------------------------------------------------------------ --------------------


> <?xml version="1.0" encoding="UTF-8"?>
> <xmi:XMI xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:PEPAProfile="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13"
> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
> xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"
> xsi:schemaLocation="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13
> PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw">
> <uml:Model xmi:id="_19s3j7adEduYg9z0frhrGw" name="FirstModel">
> <packageImport xmi:id="_19s3kLadEduYg9z0frhrGw">
> <importedPackage xmi:type="uml:Model"
> href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
> </packageImport>
> <packagedElement xmi:type="uml:StateMachine"
> xmi:id="_19s3kbadEduYg9z0frhrGw" name="StateMachine">
> <region xmi:id="_19s3kradEduYg9z0frhrGw" name="Region1">
> <subvertex xmi:type="uml:Pseudostate"
> xmi:id="_19s3k7adEduYg9z0frhrGw" outgoing="_19s3l7adEduYg9z0frhrGw"/>
> <subvertex xmi:type="uml:State" xmi:id="_19s3lLadEduYg9z0frhrGw"
> name="P1" outgoing="_19s3mLadEduYg9z0frhrGw"
> incoming="_19s3l7adEduYg9z0frhrGw"/>
> <subvertex xmi:type="uml:State" xmi:id="_19s3lbadEduYg9z0frhrGw"
> name="P2" outgoing="_19s3mradEduYg9z0frhrGw"
> incoming="_19s3mLadEduYg9z0frhrGw"/>
> <subvertex xmi:type="uml:FinalState"
> xmi:id="_19s3lradEduYg9z0frhrGw" incoming="_19s3mradEduYg9z0frhrGw"/>
> <transition xmi:id="_19s3l7adEduYg9z0frhrGw" kind="local"
> target="_19s3lLadEduYg9z0frhrGw" source="_19s3k7adEduYg9z0frhrGw"/>
> <transition xmi:id="_19s3mLadEduYg9z0frhrGw" name="a" kind="local"
> target="_19s3lbadEduYg9z0frhrGw" source="_19s3lLadEduYg9z0frhrGw">
> <effect xmi:type="uml:OpaqueBehavior"
> xmi:id="_19s3mbadEduYg9z0frhrGw" name="anEffect"/>
> </transition>
> <transition xmi:id="_19s3mradEduYg9z0frhrGw" kind="local"
> target="_19s3lradEduYg9z0frhrGw" source="_19s3lbadEduYg9z0frhrGw"/>
> </region>
> </packagedElement>
> <profileApplication xmi:id="_19s3m7adEduYg9z0frhrGw">
> <eAnnotations xmi:id="_19s3nLadEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML">
> <references xmi:type="ecore:EPackage"
> href=" pathmap://UML_PROFILES/Standard.profile.uml#_yzU58YinEdqtvbn fB2L_5w"/>
> </eAnnotations>
> <appliedProfile
> href="pathmap://UML_PROFILES/Standard.profile.uml#_0"/>
> </profileApplication>
> <profileApplication xmi:id="_19s3nbadEduYg9z0frhrGw">
> <eAnnotations xmi:id="_19s3nradEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML">
> <references xmi:type="ecore:EPackage"
> href="Default.profile.uml#_19s3KbadEduYg9z0frhrGw"/>
> </eAnnotations>
> <appliedProfile href="Default.profile.uml#_19s3J7adEduYg9z0frhrGw"/>
> </profileApplication>
> <profileApplication xmi:id="_19s3n7adEduYg9z0frhrGw">
> <eAnnotations xmi:id="_19s3oLadEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML">
> <references xmi:type="ecore:EPackage"
> href="Deployment.profile.uml#_19s3pradEduYg9z0frhrGw"/>
> </eAnnotations>
> <appliedProfile
> href="Deployment.profile.uml#_19s3pLadEduYg9z0frhrGw"/>
> </profileApplication>
> <profileApplication xmi:id="_19s3obadEduYg9z0frhrGw">
> <eAnnotations xmi:id="_19s3oradEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML">
> <references xmi:type="ecore:EPackage"
> href="PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw"/ >
> </eAnnotations>
> <appliedProfile
> href="PEPA.profile.uml.profile.uml#_19s2fLadEduYg9z0frhrGw"/ >
> </profileApplication>
> </uml:Model>
> <PEPAProfile:ActiveRate xmi:id="_19s3o7adEduYg9z0frhrGw" value="2.0"
> base_Behavior="_19s3mbadEduYg9z0frhrGw"/>
> </xmi:XMI>
>


------------------------------------------------------------ --------------------


> <?xml version="1.0" encoding="UTF-8"?>
> <uml:Profile xmi:version="2.1"
> xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
> xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"
> xmi:id="_19s2fLadEduYg9z0frhrGw" name="PEPAProfile"
> metamodelReference="_19s3FLadEduYg9z0frhrGw">
> <eAnnotations xmi:id="_19s2fbadEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML">
> <contents xmi:type="ecore:EPackage" xmi:id="_19s2fradEduYg9z0frhrGw"
> name="PEPAProfile"
> nsURI="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13"
> nsPrefix="PEPAProfile">
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2f7adEduYg9z0frhrGw" name="ActiveRate">
> <eAnnotations xmi:id="_19s2gLadEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3FbadEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s2gbadEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s2gradEduYg9z0frhrGw" name="base_Behavior" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2g7adEduYg9z0frhrGw" name="PassiveRate">
> <eAnnotations xmi:id="_19s2hLadEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3GradEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s2hbadEduYg9z0frhrGw" name="multiplicity" ordered="false"
> lowerBound="1" defaultValueLiteral="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s2hradEduYg9z0frhrGw" name="base_Trigger" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2h7adEduYg9z0frhrGw" name="UtilisationResult">
> <eAnnotations xmi:id="_19s2iLadEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3ILadEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s2ibadEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s2iradEduYg9z0frhrGw" name="base_Comment" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
> </eStructuralFeatures>
> </eClassifiers>
> </contents>
> <contents xmi:type="ecore:EPackage" xmi:id="_19s2i7adEduYg9z0frhrGw"
> name="PEPAProfile"
> nsURI="http:///schemas/PEPAProfile/_PYPuQLXrEduQbrr1ndBC-A/12"
> nsPrefix="PEPAProfile">
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2jLadEduYg9z0frhrGw" name="ActiveRate">
> <eAnnotations xmi:id="_19s2jbadEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3FbadEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s2jradEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s2j7adEduYg9z0frhrGw" name="base_Behavior" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2kLadEduYg9z0frhrGw" name="PassiveRate">
> <eAnnotations xmi:id="_19s2kbadEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3GradEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s2kradEduYg9z0frhrGw" name="multiplicity" ordered="false"
> lowerBound="1" defaultValueLiteral="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s2k7adEduYg9z0frhrGw" name="base_Trigger" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2lLadEduYg9z0frhrGw" name="UtilisationResult">
> <eAnnotations xmi:id="_19s2lbadEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3ILadEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s2lradEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s2l7adEduYg9z0frhrGw" name="base_Comment" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s2mLadEduYg9z0frhrGw" name="state" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
> </eStructuralFeatures>
> </eClassifiers>
> </contents>
> <contents xmi:type="ecore:EPackage" xmi:id="_19s2mbadEduYg9z0frhrGw"
> name="PEPAProfile"
> nsURI="http:///schemas/PEPAProfile/_CQeHELXoEduQbrr1ndBC-A/11"
> nsPrefix="PEPAProfile">
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2mradEduYg9z0frhrGw" name="ActiveRate">
> <eAnnotations xmi:id="_19s2m7adEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3FbadEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s2nLadEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s2nbadEduYg9z0frhrGw" name="base_Behavior" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2nradEduYg9z0frhrGw" name="PassiveRate">
> <eAnnotations xmi:id="_19s2n7adEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3GradEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s2oLadEduYg9z0frhrGw" name="multiplicity" ordered="false"
> lowerBound="1" defaultValueLiteral="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s2obadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2oradEduYg9z0frhrGw" name="UtilisationResult">
> <eAnnotations xmi:id="_19s2o7adEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3ILadEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s2pLadEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s2pbadEduYg9z0frhrGw" name="base_Comment" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
> </eStructuralFeatures>
> </eClassifiers>
> </contents>
> <contents xmi:type="ecore:EPackage" xmi:id="_19s2pradEduYg9z0frhrGw"
> name="PEPAProfile"
> nsURI="http:///schemas/PEPAProfile/_1FD1sLXnEduQbrr1ndBC-A/10"
> nsPrefix="PEPAProfile">
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2p7adEduYg9z0frhrGw" name="ActiveRate">
> <eAnnotations xmi:id="_19s2qLadEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3FbadEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s2qbadEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s2qradEduYg9z0frhrGw" name="base_Behavior" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2q7adEduYg9z0frhrGw" name="PassiveRate">
> <eAnnotations xmi:id="_19s2rLadEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3GradEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s2rbadEduYg9z0frhrGw" name="multiplicity" ordered="false"
> lowerBound="1" defaultValueLiteral="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s2rradEduYg9z0frhrGw" name="base_Trigger" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2r7adEduYg9z0frhrGw" name="UtilisationResult">
> <eAnnotations xmi:id="_19s2sLadEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3ILadEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s2sbadEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s2sradEduYg9z0frhrGw" name="base_Comment" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s2s7adEduYg9z0frhrGw" name="state" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
> </eStructuralFeatures>
> </eClassifiers>
> </contents>
> <contents xmi:type="ecore:EPackage" xmi:id="_19s2tLadEduYg9z0frhrGw"
> name="PEPAProfile"
> nsURI="http:///schemas/PEPAProfile/_aAgqQLXnEduQbrr1ndBC-A/9"
> nsPrefix="PEPAProfile">
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2tbadEduYg9z0frhrGw" name="ActiveRate">
> <eAnnotations xmi:id="_19s2tradEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3FbadEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s2t7adEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s2uLadEduYg9z0frhrGw" name="base_Behavior" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2ubadEduYg9z0frhrGw" name="PassiveRate">
> <eAnnotations xmi:id="_19s2uradEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3GradEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s2u7adEduYg9z0frhrGw" name="multiplicity" ordered="false"
> lowerBound="1" defaultValueLiteral="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s2vLadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2vbadEduYg9z0frhrGw" name="UtilisationResult">
> <eAnnotations xmi:id="_19s2vradEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3ILadEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s2v7adEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s2wLadEduYg9z0frhrGw" name="base_Comment" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
> </eStructuralFeatures>
> </eClassifiers>
> </contents>
> <contents xmi:type="ecore:EPackage" xmi:id="_19s2wbadEduYg9z0frhrGw"
> name="PEPAProfile"
> nsURI="http:///schemas/PEPAProfile/_XtISYLXnEduQbrr1ndBC-A/8"
> nsPrefix="PEPAProfile">
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2wradEduYg9z0frhrGw" name="ActiveRate">
> <eAnnotations xmi:id="_19s2w7adEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3FbadEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s2xLadEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s2xbadEduYg9z0frhrGw" name="base_Behavior" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2xradEduYg9z0frhrGw" name="PassiveRate">
> <eAnnotations xmi:id="_19s2x7adEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3GradEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s2yLadEduYg9z0frhrGw" name="multiplicity" ordered="false"
> lowerBound="1" defaultValueLiteral="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s2ybadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2yradEduYg9z0frhrGw" name="UtilisationResult">
> <eAnnotations xmi:id="_19s2y7adEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3ILadEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s2zLadEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
> </eStructuralFeatures>
> </eClassifiers>
> </contents>
> <contents xmi:type="ecore:EPackage" xmi:id="_19s2zbadEduYg9z0frhrGw"
> name="PEPAProfile"
> nsURI="http:///schemas/PEPAProfile/_HCgvMLXnEduQbrr1ndBC-A/7"
> nsPrefix="PEPAProfile">
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2zradEduYg9z0frhrGw" name="ActiveRate">
> <eAnnotations xmi:id="_19s2z7adEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3FbadEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s20LadEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s20badEduYg9z0frhrGw" name="base_Behavior" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s20radEduYg9z0frhrGw" name="PassiveRate">
> <eAnnotations xmi:id="_19s207adEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3GradEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s21LadEduYg9z0frhrGw" name="multiplicity" ordered="false"
> lowerBound="1" defaultValueLiteral="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s21badEduYg9z0frhrGw" name="base_Trigger" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
> </eStructuralFeatures>
> </eClassifiers>
> </contents>
> <contents xmi:type="ecore:EPackage" xmi:id="_19s21radEduYg9z0frhrGw"
> name="PEPAProfile"
> nsURI="http:///schemas/PEPAProfile/_nY1ywLXmEduQbrr1ndBC-A/6"
> nsPrefix="PEPAProfile">
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s217adEduYg9z0frhrGw" name="ActiveRate">
> <eAnnotations xmi:id="_19s22LadEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3FbadEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s22badEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s22radEduYg9z0frhrGw" name="base_Behavior" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s227adEduYg9z0frhrGw" name="PassiveRate">
> <eAnnotations xmi:id="_19s23LadEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3GradEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s23badEduYg9z0frhrGw" name="multiplicity" ordered="false"
> lowerBound="1" defaultValueLiteral="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s23radEduYg9z0frhrGw" name="base_Trigger" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s237adEduYg9z0frhrGw" name="UtilisationResult">
> <eAnnotations xmi:id="_19s24LadEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s24badEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s24radEduYg9z0frhrGw" name="base_Comment" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
> </eStructuralFeatures>
> </eClassifiers>
> </contents>
> <contents xmi:type="ecore:EPackage" xmi:id="_19s247adEduYg9z0frhrGw"
> name="PEPAProfile"
> nsURI="http:///schemas/PEPAProfile/_gYUWULXmEduQbrr1ndBC-A/5"
> nsPrefix="PEPAProfile">
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s25LadEduYg9z0frhrGw" name="ActiveRate">
> <eAnnotations xmi:id="_19s25badEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3FbadEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s25radEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s257adEduYg9z0frhrGw" name="base_Behavior" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s26LadEduYg9z0frhrGw" name="PassiveRate">
> <eAnnotations xmi:id="_19s26badEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3GradEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s26radEduYg9z0frhrGw" name="multiplicity" ordered="false"
> lowerBound="1" defaultValueLiteral="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s267adEduYg9z0frhrGw" name="base_Trigger" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s27LadEduYg9z0frhrGw" name="UtilisationResult">
> <eAnnotations xmi:id="_19s27badEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s27radEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
> </eStructuralFeatures>
> </eClassifiers>
> </contents>
> <contents xmi:type="ecore:EPackage" xmi:id="_19s277adEduYg9z0frhrGw"
> name="PEPAProfile"
> nsURI="http:///schemas/PEPAProfile/_AngQELXmEduQbrr1ndBC-A/4"
> nsPrefix="PEPAProfile">
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s28LadEduYg9z0frhrGw" name="ActiveRate">
> <eAnnotations xmi:id="_19s28badEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3FbadEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s28radEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s287adEduYg9z0frhrGw" name="base_Behavior" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s29LadEduYg9z0frhrGw" name="PassiveRate">
> <eAnnotations xmi:id="_19s29badEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3GradEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s29radEduYg9z0frhrGw" name="multiplicity" ordered="false"
> lowerBound="1" defaultValueLiteral="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s297adEduYg9z0frhrGw" name="base_Trigger" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
> </eStructuralFeatures>
> </eClassifiers>
> </contents>
> <contents xmi:type="ecore:EPackage" xmi:id="_19s2-LadEduYg9z0frhrGw"
> name="PEPAProfile"
> nsURI="http:///schemas/PEPAProfile/_j387YLXlEduQbrr1ndBC-A/3"
> nsPrefix="PEPAProfile">
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2-badEduYg9z0frhrGw" name="ActiveRate">
> <eAnnotations xmi:id="_19s2-radEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3FbadEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s2-7adEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s2_LadEduYg9z0frhrGw" name="base_Behavior" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s2_badEduYg9z0frhrGw" name="PassiveRate">
> <eAnnotations xmi:id="_19s2_radEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3GradEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s2_7adEduYg9z0frhrGw" name="multiplicity" ordered="false"
> lowerBound="1" defaultValueLiteral="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s3ALadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
> </eStructuralFeatures>
> </eClassifiers>
> </contents>
> <contents xmi:type="ecore:EPackage" xmi:id="_19s3AbadEduYg9z0frhrGw"
> name="PEPAProfile"
> nsURI="http:///schemas/PEPAProfile/_iAcnMLXlEduQbrr1ndBC-A/2"
> nsPrefix="PEPAProfile">
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s3AradEduYg9z0frhrGw" name="ActiveRate">
> <eAnnotations xmi:id="_19s3A7adEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3FbadEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s3BLadEduYg9z0frhrGw" name="name" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s3BbadEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s3BradEduYg9z0frhrGw" name="base_Behavior" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
> </eStructuralFeatures>
> </eClassifiers>
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s3B7adEduYg9z0frhrGw" name="PassiveRate">
> <eAnnotations xmi:id="_19s3CLadEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3GradEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s3CbadEduYg9z0frhrGw" name="multiplicity" ordered="false"
> lowerBound="1" defaultValueLiteral="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EReference"
> xmi:id="_19s3CradEduYg9z0frhrGw" name="base_Trigger" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EClass"
> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
> </eStructuralFeatures>
> </eClassifiers>
> </contents>
> <contents xmi:type="ecore:EPackage" xmi:id="_19s3C7adEduYg9z0frhrGw"
> name="PEPAProfile"
> nsURI="http:///schemas/PEPAProfile/_fwWz4LXlEduQbrr1ndBC-A/1"
> nsPrefix="PEPAProfile">
> <eClassifiers xmi:type="ecore:EClass"
> xmi:id="_19s3DLadEduYg9z0frhrGw" name="ActiveRate">
> <eAnnotations xmi:id="_19s3DbadEduYg9z0frhrGw"
> source="http://www.eclipse.org/uml2/2.0.0/UML"
> references="_19s3FbadEduYg9z0frhrGw"/>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s3DradEduYg9z0frhrGw" name="name" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
> </eStructuralFeatures>
> <eStructuralFeatures xmi:type="ecore:EAttribute"
> xmi:id="_19s3D7adEduYg9z0frhrGw" name="value" ordered="false"
> lowerBound="1">
> <eType xmi:type="ecore:EDataType"
> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>
Re: Programmatic Navigation of a UML2 Model with Custom Profiles [message #586768 is a reply to message #470164] Fri, 09 February 2007 11:35 Go to previous message
Eclipse UserFriend
Originally posted by: mtribast.inf.ed.ac.uk

Hi Kenn,

I had already checked that, and that was not the problem. The name of
the resource is now PEPA.profile.uml. I think I made some progress in
finding the problem. I load the model programmatically from a
stand-alone application that I wrote by slightly modifying the
UML2Article class downloaded from the Eclipse website. I load the model
by using the same load(URI) method and registering the resource
factories as follows:

RESOURCE_SET.getPackageRegistry().put(UMLPackage.eNS_URI,
UMLPackage.eINSTANCE);
Map extensionToFactoryMap = RESOURCE_SET.getResourceFactoryRegistry()
.getExtensionToFactoryMap();
extensionToFactoryMap.put(UMLResource.FILE_EXTENSION,
UMLResource.Factory.INSTANCE);

The output of the programs gives me correct information about the
applied stereotypes.
The problem seems to persist though when the same code is launched from
within an Eclipse instance. I initially thought that problem would be
that the UML2Article uses different versions of the plug-ins; hence I
created another stand-alone app with the same plug-in versions as my
Eclipse configuration, but the model is navigated correctly also in this
case.

Do you have any idea why the code refuses to work in the Eclipse
environment?

Thanks for your precious help.

Cheers,
Mirco

Kenn Hussey wrote:
> Mirco,
>
> It sounds like the model is having a hard time finding the profile.
> Incidentally, what is the name of the resource that contains the profile?
> Based on the schemaLocation declaration in the model, it looks as though the
> model is expecting it to be in a 'PEPA.profile.uml.profile.uml' resource in
> the same folder as the model...
>
> Kenn
>
> "Mirco" <mtribast@inf.ed.ac.uk> wrote in message
> news:eqcjth$u0e$1@utils.eclipse.org...
>> Hi all,
>>
>> I've been trying to navigate a UML2 Model to which a custom profile has
>> been applied. I defined both the model and the profile by using Rational
>> Software Architect 7.0.0. I exported the model into the .uml format and
>> developed a plug-in which reads that file and shows information to the
>> user. The plug-in runs on the Eclipse run-time workspace of RSA.
>> The profile extends an Effect with a stereotype called ActiveRate which
>> has a property (double) called 'value'. I use the following code for
>> retrieving the information about the stereotypes applied to a
>> transition's effect:
>>
>> /* t is an instance of Transition */
>> Behavior behavior = t.getEffect();
>> buf.append(" Effect: " + ((behavior == null) ?
>> "None":behavior.getName())+ "\n");
>> if (behavior != null) {
>> for (int s = 0; s < behavior.getAppliedStereotypes().size();s++) {
>> Stereotype aStereoType = (Stereotype)
>> behavior.getAppliedStereotypes().get(s);
>> buf.append(" Stereotype: " + aStereoType.getName()+ "\n");
>> }
>> }
>>
>> Although the name of the effect is shown correctly, the size of the
>> applied stereotype list is 0. How can I use the API to discover if a
>> Transition.getEffect() is applied a stereotype described in a custom
>> profile?
>>
>> I attach the exported model and custom profile. (RSA uses UML2
>> 2.0.2v200610251409)
>>
>> Thanks for your attention,
>> Mirco
>>
>>
>>
>>
>>
>>
>
>
> ------------------------------------------------------------ --------------------
>
>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <xmi:XMI xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xmlns:PEPAProfile="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13"
>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
>> xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"
>> xsi:schemaLocation="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13
>> PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw">
>> <uml:Model xmi:id="_19s3j7adEduYg9z0frhrGw" name="FirstModel">
>> <packageImport xmi:id="_19s3kLadEduYg9z0frhrGw">
>> <importedPackage xmi:type="uml:Model"
>> href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
>> </packageImport>
>> <packagedElement xmi:type="uml:StateMachine"
>> xmi:id="_19s3kbadEduYg9z0frhrGw" name="StateMachine">
>> <region xmi:id="_19s3kradEduYg9z0frhrGw" name="Region1">
>> <subvertex xmi:type="uml:Pseudostate"
>> xmi:id="_19s3k7adEduYg9z0frhrGw" outgoing="_19s3l7adEduYg9z0frhrGw"/>
>> <subvertex xmi:type="uml:State" xmi:id="_19s3lLadEduYg9z0frhrGw"
>> name="P1" outgoing="_19s3mLadEduYg9z0frhrGw"
>> incoming="_19s3l7adEduYg9z0frhrGw"/>
>> <subvertex xmi:type="uml:State" xmi:id="_19s3lbadEduYg9z0frhrGw"
>> name="P2" outgoing="_19s3mradEduYg9z0frhrGw"
>> incoming="_19s3mLadEduYg9z0frhrGw"/>
>> <subvertex xmi:type="uml:FinalState"
>> xmi:id="_19s3lradEduYg9z0frhrGw" incoming="_19s3mradEduYg9z0frhrGw"/>
>> <transition xmi:id="_19s3l7adEduYg9z0frhrGw" kind="local"
>> target="_19s3lLadEduYg9z0frhrGw" source="_19s3k7adEduYg9z0frhrGw"/>
>> <transition xmi:id="_19s3mLadEduYg9z0frhrGw" name="a" kind="local"
>> target="_19s3lbadEduYg9z0frhrGw" source="_19s3lLadEduYg9z0frhrGw">
>> <effect xmi:type="uml:OpaqueBehavior"
>> xmi:id="_19s3mbadEduYg9z0frhrGw" name="anEffect"/>
>> </transition>
>> <transition xmi:id="_19s3mradEduYg9z0frhrGw" kind="local"
>> target="_19s3lradEduYg9z0frhrGw" source="_19s3lbadEduYg9z0frhrGw"/>
>> </region>
>> </packagedElement>
>> <profileApplication xmi:id="_19s3m7adEduYg9z0frhrGw">
>> <eAnnotations xmi:id="_19s3nLadEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>> <references xmi:type="ecore:EPackage"
>> href=" pathmap://UML_PROFILES/Standard.profile.uml#_yzU58YinEdqtvbn fB2L_5w"/>
>> </eAnnotations>
>> <appliedProfile
>> href="pathmap://UML_PROFILES/Standard.profile.uml#_0"/>
>> </profileApplication>
>> <profileApplication xmi:id="_19s3nbadEduYg9z0frhrGw">
>> <eAnnotations xmi:id="_19s3nradEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>> <references xmi:type="ecore:EPackage"
>> href="Default.profile.uml#_19s3KbadEduYg9z0frhrGw"/>
>> </eAnnotations>
>> <appliedProfile href="Default.profile.uml#_19s3J7adEduYg9z0frhrGw"/>
>> </profileApplication>
>> <profileApplication xmi:id="_19s3n7adEduYg9z0frhrGw">
>> <eAnnotations xmi:id="_19s3oLadEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>> <references xmi:type="ecore:EPackage"
>> href="Deployment.profile.uml#_19s3pradEduYg9z0frhrGw"/>
>> </eAnnotations>
>> <appliedProfile
>> href="Deployment.profile.uml#_19s3pLadEduYg9z0frhrGw"/>
>> </profileApplication>
>> <profileApplication xmi:id="_19s3obadEduYg9z0frhrGw">
>> <eAnnotations xmi:id="_19s3oradEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>> <references xmi:type="ecore:EPackage"
>> href="PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw"/ >
>> </eAnnotations>
>> <appliedProfile
>> href="PEPA.profile.uml.profile.uml#_19s2fLadEduYg9z0frhrGw"/ >
>> </profileApplication>
>> </uml:Model>
>> <PEPAProfile:ActiveRate xmi:id="_19s3o7adEduYg9z0frhrGw" value="2.0"
>> base_Behavior="_19s3mbadEduYg9z0frhrGw"/>
>> </xmi:XMI>
>>
>
>
> ------------------------------------------------------------ --------------------
>
>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <uml:Profile xmi:version="2.1"
>> xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
>> xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"
>> xmi:id="_19s2fLadEduYg9z0frhrGw" name="PEPAProfile"
>> metamodelReference="_19s3FLadEduYg9z0frhrGw">
>> <eAnnotations xmi:id="_19s2fbadEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2fradEduYg9z0frhrGw"
>> name="PEPAProfile"
>> nsURI="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13"
>> nsPrefix="PEPAProfile">
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2f7adEduYg9z0frhrGw" name="ActiveRate">
>> <eAnnotations xmi:id="_19s2gLadEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3FbadEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s2gbadEduYg9z0frhrGw" name="value" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s2gradEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2g7adEduYg9z0frhrGw" name="PassiveRate">
>> <eAnnotations xmi:id="_19s2hLadEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3GradEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s2hbadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>> lowerBound="1" defaultValueLiteral="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s2hradEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2h7adEduYg9z0frhrGw" name="UtilisationResult">
>> <eAnnotations xmi:id="_19s2iLadEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3ILadEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s2ibadEduYg9z0frhrGw" name="value" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s2iradEduYg9z0frhrGw" name="base_Comment" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> </contents>
>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2i7adEduYg9z0frhrGw"
>> name="PEPAProfile"
>> nsURI="http:///schemas/PEPAProfile/_PYPuQLXrEduQbrr1ndBC-A/12"
>> nsPrefix="PEPAProfile">
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2jLadEduYg9z0frhrGw" name="ActiveRate">
>> <eAnnotations xmi:id="_19s2jbadEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3FbadEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s2jradEduYg9z0frhrGw" name="value" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s2j7adEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2kLadEduYg9z0frhrGw" name="PassiveRate">
>> <eAnnotations xmi:id="_19s2kbadEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3GradEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s2kradEduYg9z0frhrGw" name="multiplicity" ordered="false"
>> lowerBound="1" defaultValueLiteral="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s2k7adEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2lLadEduYg9z0frhrGw" name="UtilisationResult">
>> <eAnnotations xmi:id="_19s2lbadEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3ILadEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s2lradEduYg9z0frhrGw" name="value" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s2l7adEduYg9z0frhrGw" name="base_Comment" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s2mLadEduYg9z0frhrGw" name="state" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> </contents>
>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2mbadEduYg9z0frhrGw"
>> name="PEPAProfile"
>> nsURI="http:///schemas/PEPAProfile/_CQeHELXoEduQbrr1ndBC-A/11"
>> nsPrefix="PEPAProfile">
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2mradEduYg9z0frhrGw" name="ActiveRate">
>> <eAnnotations xmi:id="_19s2m7adEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3FbadEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s2nLadEduYg9z0frhrGw" name="value" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s2nbadEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2nradEduYg9z0frhrGw" name="PassiveRate">
>> <eAnnotations xmi:id="_19s2n7adEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3GradEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s2oLadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>> lowerBound="1" defaultValueLiteral="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s2obadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2oradEduYg9z0frhrGw" name="UtilisationResult">
>> <eAnnotations xmi:id="_19s2o7adEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3ILadEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s2pLadEduYg9z0frhrGw" name="value" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s2pbadEduYg9z0frhrGw" name="base_Comment" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> </contents>
>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2pradEduYg9z0frhrGw"
>> name="PEPAProfile"
>> nsURI="http:///schemas/PEPAProfile/_1FD1sLXnEduQbrr1ndBC-A/10"
>> nsPrefix="PEPAProfile">
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2p7adEduYg9z0frhrGw" name="ActiveRate">
>> <eAnnotations xmi:id="_19s2qLadEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3FbadEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s2qbadEduYg9z0frhrGw" name="value" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s2qradEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2q7adEduYg9z0frhrGw" name="PassiveRate">
>> <eAnnotations xmi:id="_19s2rLadEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3GradEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s2rbadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>> lowerBound="1" defaultValueLiteral="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s2rradEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2r7adEduYg9z0frhrGw" name="UtilisationResult">
>> <eAnnotations xmi:id="_19s2sLadEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3ILadEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s2sbadEduYg9z0frhrGw" name="value" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s2sradEduYg9z0frhrGw" name="base_Comment" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s2s7adEduYg9z0frhrGw" name="state" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> </contents>
>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2tLadEduYg9z0frhrGw"
>> name="PEPAProfile"
>> nsURI="http:///schemas/PEPAProfile/_aAgqQLXnEduQbrr1ndBC-A/9"
>> nsPrefix="PEPAProfile">
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2tbadEduYg9z0frhrGw" name="ActiveRate">
>> <eAnnotations xmi:id="_19s2tradEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3FbadEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s2t7adEduYg9z0frhrGw" name="value" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s2uLadEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2ubadEduYg9z0frhrGw" name="PassiveRate">
>> <eAnnotations xmi:id="_19s2uradEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3GradEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s2u7adEduYg9z0frhrGw" name="multiplicity" ordered="false"
>> lowerBound="1" defaultValueLiteral="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s2vLadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2vbadEduYg9z0frhrGw" name="UtilisationResult">
>> <eAnnotations xmi:id="_19s2vradEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3ILadEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s2v7adEduYg9z0frhrGw" name="value" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s2wLadEduYg9z0frhrGw" name="base_Comment" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> </contents>
>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2wbadEduYg9z0frhrGw"
>> name="PEPAProfile"
>> nsURI="http:///schemas/PEPAProfile/_XtISYLXnEduQbrr1ndBC-A/8"
>> nsPrefix="PEPAProfile">
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2wradEduYg9z0frhrGw" name="ActiveRate">
>> <eAnnotations xmi:id="_19s2w7adEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3FbadEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s2xLadEduYg9z0frhrGw" name="value" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s2xbadEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2xradEduYg9z0frhrGw" name="PassiveRate">
>> <eAnnotations xmi:id="_19s2x7adEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3GradEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s2yLadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>> lowerBound="1" defaultValueLiteral="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s2ybadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2yradEduYg9z0frhrGw" name="UtilisationResult">
>> <eAnnotations xmi:id="_19s2y7adEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3ILadEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s2zLadEduYg9z0frhrGw" name="value" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> </contents>
>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2zbadEduYg9z0frhrGw"
>> name="PEPAProfile"
>> nsURI="http:///schemas/PEPAProfile/_HCgvMLXnEduQbrr1ndBC-A/7"
>> nsPrefix="PEPAProfile">
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2zradEduYg9z0frhrGw" name="ActiveRate">
>> <eAnnotations xmi:id="_19s2z7adEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3FbadEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s20LadEduYg9z0frhrGw" name="value" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s20badEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s20radEduYg9z0frhrGw" name="PassiveRate">
>> <eAnnotations xmi:id="_19s207adEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3GradEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s21LadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>> lowerBound="1" defaultValueLiteral="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s21badEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> </contents>
>> <contents xmi:type="ecore:EPackage" xmi:id="_19s21radEduYg9z0frhrGw"
>> name="PEPAProfile"
>> nsURI="http:///schemas/PEPAProfile/_nY1ywLXmEduQbrr1ndBC-A/6"
>> nsPrefix="PEPAProfile">
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s217adEduYg9z0frhrGw" name="ActiveRate">
>> <eAnnotations xmi:id="_19s22LadEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3FbadEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s22badEduYg9z0frhrGw" name="value" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s22radEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s227adEduYg9z0frhrGw" name="PassiveRate">
>> <eAnnotations xmi:id="_19s23LadEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3GradEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s23badEduYg9z0frhrGw" name="multiplicity" ordered="false"
>> lowerBound="1" defaultValueLiteral="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s23radEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s237adEduYg9z0frhrGw" name="UtilisationResult">
>> <eAnnotations xmi:id="_19s24LadEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s24badEduYg9z0frhrGw" name="value" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s24radEduYg9z0frhrGw" name="base_Comment" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> </contents>
>> <contents xmi:type="ecore:EPackage" xmi:id="_19s247adEduYg9z0frhrGw"
>> name="PEPAProfile"
>> nsURI="http:///schemas/PEPAProfile/_gYUWULXmEduQbrr1ndBC-A/5"
>> nsPrefix="PEPAProfile">
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s25LadEduYg9z0frhrGw" name="ActiveRate">
>> <eAnnotations xmi:id="_19s25badEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3FbadEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s25radEduYg9z0frhrGw" name="value" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s257adEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s26LadEduYg9z0frhrGw" name="PassiveRate">
>> <eAnnotations xmi:id="_19s26badEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3GradEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s26radEduYg9z0frhrGw" name="multiplicity" ordered="false"
>> lowerBound="1" defaultValueLiteral="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s267adEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s27LadEduYg9z0frhrGw" name="UtilisationResult">
>> <eAnnotations xmi:id="_19s27badEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s27radEduYg9z0frhrGw" name="value" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> </contents>
>> <contents xmi:type="ecore:EPackage" xmi:id="_19s277adEduYg9z0frhrGw"
>> name="PEPAProfile"
>> nsURI="http:///schemas/PEPAProfile/_AngQELXmEduQbrr1ndBC-A/4"
>> nsPrefix="PEPAProfile">
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s28LadEduYg9z0frhrGw" name="ActiveRate">
>> <eAnnotations xmi:id="_19s28badEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3FbadEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s28radEduYg9z0frhrGw" name="value" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s287adEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s29LadEduYg9z0frhrGw" name="PassiveRate">
>> <eAnnotations xmi:id="_19s29badEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3GradEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s29radEduYg9z0frhrGw" name="multiplicity" ordered="false"
>> lowerBound="1" defaultValueLiteral="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s297adEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> </contents>
>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2-LadEduYg9z0frhrGw"
>> name="PEPAProfile"
>> nsURI="http:///schemas/PEPAProfile/_j387YLXlEduQbrr1ndBC-A/3"
>> nsPrefix="PEPAProfile">
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2-badEduYg9z0frhrGw" name="ActiveRate">
>> <eAnnotations xmi:id="_19s2-radEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3FbadEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s2-7adEduYg9z0frhrGw" name="value" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s2_LadEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s2_badEduYg9z0frhrGw" name="PassiveRate">
>> <eAnnotations xmi:id="_19s2_radEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3GradEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s2_7adEduYg9z0frhrGw" name="multiplicity" ordered="false"
>> lowerBound="1" defaultValueLiteral="1">
>> <eType xmi:type="ecore:EDataType"
>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>> </eStructuralFeatures>
>> <eStructuralFeatures xmi:type="ecore:EReference"
>> xmi:id="_19s3ALadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>> lowerBound="1">
>> <eType xmi:type="ecore:EClass"
>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>> </eStructuralFeatures>
>> </eClassifiers>
>> </contents>
>> <contents xmi:type="ecore:EPackage" xmi:id="_19s3AbadEduYg9z0frhrGw"
>> name="PEPAProfile"
>> nsURI="http:///schemas/PEPAProfile/_iAcnMLXlEduQbrr1ndBC-A/2"
>> nsPrefix="PEPAProfile">
>> <eClassifiers xmi:type="ecore:EClass"
>> xmi:id="_19s3AradEduYg9z0frhrGw" name="ActiveRate">
>> <eAnnotations xmi:id="_19s3A7adEduYg9z0frhrGw"
>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>> references="_19s3FbadEduYg9z0frhrGw"/>
>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>> xmi:id="_19s3BLadEduYg9z0frhrGw" name="name" ordered="false"
>> lowerBound="1">
&g
Re: Programmatic Navigation of a UML2 Model with Custom Profiles [message #586823 is a reply to message #470233] Fri, 09 February 2007 21:54 Go to previous message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
Mirco,

Do you have any problems with your Eclipse configuration? Did you previously
have an old version of UML2 installed? Are you seeing any exceptions in the
platform log?

Kenn

"Mirco Tribastone" <mtribast@inf.ed.ac.uk> wrote in message
news:eqhmk1$ipt$1@utils.eclipse.org...
> Hi Kenn,
>
> I had already checked that, and that was not the problem. The name of the
> resource is now PEPA.profile.uml. I think I made some progress in finding
> the problem. I load the model programmatically from a stand-alone
> application that I wrote by slightly modifying the UML2Article class
> downloaded from the Eclipse website. I load the model by using the same
> load(URI) method and registering the resource factories as follows:
>
> RESOURCE_SET.getPackageRegistry().put(UMLPackage.eNS_URI,
> UMLPackage.eINSTANCE);
> Map extensionToFactoryMap = RESOURCE_SET.getResourceFactoryRegistry()
> .getExtensionToFactoryMap();
> extensionToFactoryMap.put(UMLResource.FILE_EXTENSION,
> UMLResource.Factory.INSTANCE);
>
> The output of the programs gives me correct information about the applied
> stereotypes.
> The problem seems to persist though when the same code is launched from
> within an Eclipse instance. I initially thought that problem would be that
> the UML2Article uses different versions of the plug-ins; hence I created
> another stand-alone app with the same plug-in versions as my Eclipse
> configuration, but the model is navigated correctly also in this case.
>
> Do you have any idea why the code refuses to work in the Eclipse
> environment?
>
> Thanks for your precious help.
>
> Cheers,
> Mirco
>
> Kenn Hussey wrote:
>> Mirco,
>>
>> It sounds like the model is having a hard time finding the profile.
>> Incidentally, what is the name of the resource that contains the profile?
>> Based on the schemaLocation declaration in the model, it looks as though
>> the model is expecting it to be in a 'PEPA.profile.uml.profile.uml'
>> resource in the same folder as the model...
>>
>> Kenn
>>
>> "Mirco" <mtribast@inf.ed.ac.uk> wrote in message
>> news:eqcjth$u0e$1@utils.eclipse.org...
>>> Hi all,
>>>
>>> I've been trying to navigate a UML2 Model to which a custom profile has
>>> been applied. I defined both the model and the profile by using Rational
>>> Software Architect 7.0.0. I exported the model into the .uml format and
>>> developed a plug-in which reads that file and shows information to the
>>> user. The plug-in runs on the Eclipse run-time workspace of RSA.
>>> The profile extends an Effect with a stereotype called ActiveRate which
>>> has a property (double) called 'value'. I use the following code for
>>> retrieving the information about the stereotypes applied to a
>>> transition's effect:
>>>
>>> /* t is an instance of Transition */
>>> Behavior behavior = t.getEffect();
>>> buf.append(" Effect: " + ((behavior == null) ?
>>> "None":behavior.getName())+ "\n");
>>> if (behavior != null) {
>>> for (int s = 0; s < behavior.getAppliedStereotypes().size();s++) {
>>> Stereotype aStereoType = (Stereotype)
>>> behavior.getAppliedStereotypes().get(s);
>>> buf.append(" Stereotype: " + aStereoType.getName()+ "\n");
>>> }
>>> }
>>>
>>> Although the name of the effect is shown correctly, the size of the
>>> applied stereotype list is 0. How can I use the API to discover if a
>>> Transition.getEffect() is applied a stereotype described in a custom
>>> profile?
>>>
>>> I attach the exported model and custom profile. (RSA uses UML2
>>> 2.0.2v200610251409)
>>>
>>> Thanks for your attention,
>>> Mirco
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>> ------------------------------------------------------------ --------------------
>>
>>
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <xmi:XMI xmi:version="2.1"
>>> xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>> xmlns:PEPAProfile="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13"
>>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
>>> xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"
>>> xsi:schemaLocation="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13
>>> PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw">
>>> <uml:Model xmi:id="_19s3j7adEduYg9z0frhrGw" name="FirstModel">
>>> <packageImport xmi:id="_19s3kLadEduYg9z0frhrGw">
>>> <importedPackage xmi:type="uml:Model"
>>> href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
>>> </packageImport>
>>> <packagedElement xmi:type="uml:StateMachine"
>>> xmi:id="_19s3kbadEduYg9z0frhrGw" name="StateMachine">
>>> <region xmi:id="_19s3kradEduYg9z0frhrGw" name="Region1">
>>> <subvertex xmi:type="uml:Pseudostate"
>>> xmi:id="_19s3k7adEduYg9z0frhrGw" outgoing="_19s3l7adEduYg9z0frhrGw"/>
>>> <subvertex xmi:type="uml:State" xmi:id="_19s3lLadEduYg9z0frhrGw"
>>> name="P1" outgoing="_19s3mLadEduYg9z0frhrGw"
>>> incoming="_19s3l7adEduYg9z0frhrGw"/>
>>> <subvertex xmi:type="uml:State" xmi:id="_19s3lbadEduYg9z0frhrGw"
>>> name="P2" outgoing="_19s3mradEduYg9z0frhrGw"
>>> incoming="_19s3mLadEduYg9z0frhrGw"/>
>>> <subvertex xmi:type="uml:FinalState"
>>> xmi:id="_19s3lradEduYg9z0frhrGw" incoming="_19s3mradEduYg9z0frhrGw"/>
>>> <transition xmi:id="_19s3l7adEduYg9z0frhrGw" kind="local"
>>> target="_19s3lLadEduYg9z0frhrGw" source="_19s3k7adEduYg9z0frhrGw"/>
>>> <transition xmi:id="_19s3mLadEduYg9z0frhrGw" name="a"
>>> kind="local" target="_19s3lbadEduYg9z0frhrGw"
>>> source="_19s3lLadEduYg9z0frhrGw">
>>> <effect xmi:type="uml:OpaqueBehavior"
>>> xmi:id="_19s3mbadEduYg9z0frhrGw" name="anEffect"/>
>>> </transition>
>>> <transition xmi:id="_19s3mradEduYg9z0frhrGw" kind="local"
>>> target="_19s3lradEduYg9z0frhrGw" source="_19s3lbadEduYg9z0frhrGw"/>
>>> </region>
>>> </packagedElement>
>>> <profileApplication xmi:id="_19s3m7adEduYg9z0frhrGw">
>>> <eAnnotations xmi:id="_19s3nLadEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>> <references xmi:type="ecore:EPackage"
>>> href=" pathmap://UML_PROFILES/Standard.profile.uml#_yzU58YinEdqtvbn fB2L_5w"/>
>>> </eAnnotations>
>>> <appliedProfile
>>> href="pathmap://UML_PROFILES/Standard.profile.uml#_0"/>
>>> </profileApplication>
>>> <profileApplication xmi:id="_19s3nbadEduYg9z0frhrGw">
>>> <eAnnotations xmi:id="_19s3nradEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>> <references xmi:type="ecore:EPackage"
>>> href="Default.profile.uml#_19s3KbadEduYg9z0frhrGw"/>
>>> </eAnnotations>
>>> <appliedProfile
>>> href="Default.profile.uml#_19s3J7adEduYg9z0frhrGw"/>
>>> </profileApplication>
>>> <profileApplication xmi:id="_19s3n7adEduYg9z0frhrGw">
>>> <eAnnotations xmi:id="_19s3oLadEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>> <references xmi:type="ecore:EPackage"
>>> href="Deployment.profile.uml#_19s3pradEduYg9z0frhrGw"/>
>>> </eAnnotations>
>>> <appliedProfile
>>> href="Deployment.profile.uml#_19s3pLadEduYg9z0frhrGw"/>
>>> </profileApplication>
>>> <profileApplication xmi:id="_19s3obadEduYg9z0frhrGw">
>>> <eAnnotations xmi:id="_19s3oradEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>> <references xmi:type="ecore:EPackage"
>>> href="PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw"/ >
>>> </eAnnotations>
>>> <appliedProfile
>>> href="PEPA.profile.uml.profile.uml#_19s2fLadEduYg9z0frhrGw"/ >
>>> </profileApplication>
>>> </uml:Model>
>>> <PEPAProfile:ActiveRate xmi:id="_19s3o7adEduYg9z0frhrGw" value="2.0"
>>> base_Behavior="_19s3mbadEduYg9z0frhrGw"/>
>>> </xmi:XMI>
>>>
>>
>>
>> ------------------------------------------------------------ --------------------
>>
>>
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <uml:Profile xmi:version="2.1"
>>> xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
>>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
>>> xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"
>>> xmi:id="_19s2fLadEduYg9z0frhrGw" name="PEPAProfile"
>>> metamodelReference="_19s3FLadEduYg9z0frhrGw">
>>> <eAnnotations xmi:id="_19s2fbadEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2fradEduYg9z0frhrGw"
>>> name="PEPAProfile"
>>> nsURI="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13"
>>> nsPrefix="PEPAProfile">
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s2f7adEduYg9z0frhrGw" name="ActiveRate">
>>> <eAnnotations xmi:id="_19s2gLadEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s2gbadEduYg9z0frhrGw" name="value" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s2gradEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s2g7adEduYg9z0frhrGw" name="PassiveRate">
>>> <eAnnotations xmi:id="_19s2hLadEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3GradEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s2hbadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>> lowerBound="1" defaultValueLiteral="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s2hradEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s2h7adEduYg9z0frhrGw" name="UtilisationResult">
>>> <eAnnotations xmi:id="_19s2iLadEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s2ibadEduYg9z0frhrGw" name="value" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s2iradEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> </contents>
>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2i7adEduYg9z0frhrGw"
>>> name="PEPAProfile"
>>> nsURI="http:///schemas/PEPAProfile/_PYPuQLXrEduQbrr1ndBC-A/12"
>>> nsPrefix="PEPAProfile">
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s2jLadEduYg9z0frhrGw" name="ActiveRate">
>>> <eAnnotations xmi:id="_19s2jbadEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s2jradEduYg9z0frhrGw" name="value" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s2j7adEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s2kLadEduYg9z0frhrGw" name="PassiveRate">
>>> <eAnnotations xmi:id="_19s2kbadEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3GradEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s2kradEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>> lowerBound="1" defaultValueLiteral="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s2k7adEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s2lLadEduYg9z0frhrGw" name="UtilisationResult">
>>> <eAnnotations xmi:id="_19s2lbadEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s2lradEduYg9z0frhrGw" name="value" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s2l7adEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s2mLadEduYg9z0frhrGw" name="state" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> </contents>
>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2mbadEduYg9z0frhrGw"
>>> name="PEPAProfile"
>>> nsURI="http:///schemas/PEPAProfile/_CQeHELXoEduQbrr1ndBC-A/11"
>>> nsPrefix="PEPAProfile">
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s2mradEduYg9z0frhrGw" name="ActiveRate">
>>> <eAnnotations xmi:id="_19s2m7adEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s2nLadEduYg9z0frhrGw" name="value" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s2nbadEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s2nradEduYg9z0frhrGw" name="PassiveRate">
>>> <eAnnotations xmi:id="_19s2n7adEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3GradEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s2oLadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>> lowerBound="1" defaultValueLiteral="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s2obadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s2oradEduYg9z0frhrGw" name="UtilisationResult">
>>> <eAnnotations xmi:id="_19s2o7adEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s2pLadEduYg9z0frhrGw" name="value" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s2pbadEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> </contents>
>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2pradEduYg9z0frhrGw"
>>> name="PEPAProfile"
>>> nsURI="http:///schemas/PEPAProfile/_1FD1sLXnEduQbrr1ndBC-A/10"
>>> nsPrefix="PEPAProfile">
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s2p7adEduYg9z0frhrGw" name="ActiveRate">
>>> <eAnnotations xmi:id="_19s2qLadEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s2qbadEduYg9z0frhrGw" name="value" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s2qradEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s2q7adEduYg9z0frhrGw" name="PassiveRate">
>>> <eAnnotations xmi:id="_19s2rLadEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3GradEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s2rbadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>> lowerBound="1" defaultValueLiteral="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s2rradEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s2r7adEduYg9z0frhrGw" name="UtilisationResult">
>>> <eAnnotations xmi:id="_19s2sLadEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s2sbadEduYg9z0frhrGw" name="value" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s2sradEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s2s7adEduYg9z0frhrGw" name="state" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> </contents>
>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2tLadEduYg9z0frhrGw"
>>> name="PEPAProfile"
>>> nsURI="http:///schemas/PEPAProfile/_aAgqQLXnEduQbrr1ndBC-A/9"
>>> nsPrefix="PEPAProfile">
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s2tbadEduYg9z0frhrGw" name="ActiveRate">
>>> <eAnnotations xmi:id="_19s2tradEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s2t7adEduYg9z0frhrGw" name="value" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s2uLadEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s2ubadEduYg9z0frhrGw" name="PassiveRate">
>>> <eAnnotations xmi:id="_19s2uradEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3GradEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s2u7adEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>> lowerBound="1" defaultValueLiteral="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s2vLadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s2vbadEduYg9z0frhrGw" name="UtilisationResult">
>>> <eAnnotations xmi:id="_19s2vradEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s2v7adEduYg9z0frhrGw" name="value" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s2wLadEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> </contents>
>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2wbadEduYg9z0frhrGw"
>>> name="PEPAProfile"
>>> nsURI="http:///schemas/PEPAProfile/_XtISYLXnEduQbrr1ndBC-A/8"
>>> nsPrefix="PEPAProfile">
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s2wradEduYg9z0frhrGw" name="ActiveRate">
>>> <eAnnotations xmi:id="_19s2w7adEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s2xLadEduYg9z0frhrGw" name="value" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s2xbadEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s2xradEduYg9z0frhrGw" name="PassiveRate">
>>> <eAnnotations xmi:id="_19s2x7adEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3GradEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s2yLadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>> lowerBound="1" defaultValueLiteral="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s2ybadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s2yradEduYg9z0frhrGw" name="UtilisationResult">
>>> <eAnnotations xmi:id="_19s2y7adEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s2zLadEduYg9z0frhrGw" name="value" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> </contents>
>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2zbadEduYg9z0frhrGw"
>>> name="PEPAProfile"
>>> nsURI="http:///schemas/PEPAProfile/_HCgvMLXnEduQbrr1ndBC-A/7"
>>> nsPrefix="PEPAProfile">
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s2zradEduYg9z0frhrGw" name="ActiveRate">
>>> <eAnnotations xmi:id="_19s2z7adEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s20LadEduYg9z0frhrGw" name="value" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s20badEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s20radEduYg9z0frhrGw" name="PassiveRate">
>>> <eAnnotations xmi:id="_19s207adEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3GradEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s21LadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>> lowerBound="1" defaultValueLiteral="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s21badEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> </contents>
>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s21radEduYg9z0frhrGw"
>>> name="PEPAProfile"
>>> nsURI="http:///schemas/PEPAProfile/_nY1ywLXmEduQbrr1ndBC-A/6"
>>> nsPrefix="PEPAProfile">
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s217adEduYg9z0frhrGw" name="ActiveRate">
>>> <eAnnotations xmi:id="_19s22LadEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s22badEduYg9z0frhrGw" name="value" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s22radEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s227adEduYg9z0frhrGw" name="PassiveRate">
>>> <eAnnotations xmi:id="_19s23LadEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3GradEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s23badEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>> lowerBound="1" defaultValueLiteral="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s23radEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s237adEduYg9z0frhrGw" name="UtilisationResult">
>>> <eAnnotations xmi:id="_19s24LadEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s24badEduYg9z0frhrGw" name="value" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s24radEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> </contents>
>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s247adEduYg9z0frhrGw"
>>> name="PEPAProfile"
>>> nsURI="http:///schemas/PEPAProfile/_gYUWULXmEduQbrr1ndBC-A/5"
>>> nsPrefix="PEPAProfile">
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s25LadEduYg9z0frhrGw" name="ActiveRate">
>>> <eAnnotations xmi:id="_19s25badEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s25radEduYg9z0frhrGw" name="value" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s257adEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s26LadEduYg9z0frhrGw" name="PassiveRate">
>>> <eAnnotations xmi:id="_19s26badEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3GradEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s26radEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>> lowerBound="1" defaultValueLiteral="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s267adEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s27LadEduYg9z0frhrGw" name="UtilisationResult">
>>> <eAnnotations xmi:id="_19s27badEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s27radEduYg9z0frhrGw" name="value" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> </contents>
>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s277adEduYg9z0frhrGw"
>>> name="PEPAProfile"
>>> nsURI="http:///schemas/PEPAProfile/_AngQELXmEduQbrr1ndBC-A/4"
>>> nsPrefix="PEPAProfile">
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s28LadEduYg9z0frhrGw" name="ActiveRate">
>>> <eAnnotations xmi:id="_19s28badEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s28radEduYg9z0frhrGw" name="value" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s287adEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s29LadEduYg9z0frhrGw" name="PassiveRate">
>>> <eAnnotations xmi:id="_19s29badEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3GradEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s29radEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>> lowerBound="1" defaultValueLiteral="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>> </eStructuralFeatures>
>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>> xmi:id="_19s297adEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EClass"
>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>> </eStructuralFeatures>
>>> </eClassifiers>
>>> </contents>
>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2-LadEduYg9z0frhrGw"
>>> name="PEPAProfile"
>>> nsURI="http:///schemas/PEPAProfile/_j387YLXlEduQbrr1ndBC-A/3"
>>> nsPrefix="PEPAProfile">
>>> <eClassifiers xmi:type="ecore:EClass"
>>> xmi:id="_19s2-badEduYg9z0frhrGw" name="ActiveRate">
>>> <eAnnotations xmi:id="_19s2-radEduYg9z0frhrGw"
>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>> xmi:id="_19s2-7adEduYg9z0frhrGw" name="value" ordered="false"
>>> lowerBound="1">
>>> <eType xmi:type="ecore:EDataType"
>>> href="
Re: Programmatic Navigation of a UML2 Model with Custom Profiles [message #586878 is a reply to message #470241] Mon, 12 February 2007 14:11 Go to previous message
Eclipse UserFriend
Originally posted by: mtribast.inf.ed.ac.uk

Kenn,

Actually the platform log reports "Duplicate feature found" for
UML2-related features. I am trying to figure out how to uninstall the
previous versions; I have tried the Manage Configuration dialog. It
shows the previous versions as disabled but the "Uninstall" menu item is
not enabled. How can I solve this problem? (Sorry if this question is
slightly out of topic...)

Thanks again
Mirco

Kenn Hussey wrote:
> Mirco,
>
> Do you have any problems with your Eclipse configuration? Did you previously
> have an old version of UML2 installed? Are you seeing any exceptions in the
> platform log?
>
> Kenn
>
> "Mirco Tribastone" <mtribast@inf.ed.ac.uk> wrote in message
> news:eqhmk1$ipt$1@utils.eclipse.org...
>> Hi Kenn,
>>
>> I had already checked that, and that was not the problem. The name of the
>> resource is now PEPA.profile.uml. I think I made some progress in finding
>> the problem. I load the model programmatically from a stand-alone
>> application that I wrote by slightly modifying the UML2Article class
>> downloaded from the Eclipse website. I load the model by using the same
>> load(URI) method and registering the resource factories as follows:
>>
>> RESOURCE_SET.getPackageRegistry().put(UMLPackage.eNS_URI,
>> UMLPackage.eINSTANCE);
>> Map extensionToFactoryMap = RESOURCE_SET.getResourceFactoryRegistry()
>> .getExtensionToFactoryMap();
>> extensionToFactoryMap.put(UMLResource.FILE_EXTENSION,
>> UMLResource.Factory.INSTANCE);
>>
>> The output of the programs gives me correct information about the applied
>> stereotypes.
>> The problem seems to persist though when the same code is launched from
>> within an Eclipse instance. I initially thought that problem would be that
>> the UML2Article uses different versions of the plug-ins; hence I created
>> another stand-alone app with the same plug-in versions as my Eclipse
>> configuration, but the model is navigated correctly also in this case.
>>
>> Do you have any idea why the code refuses to work in the Eclipse
>> environment?
>>
>> Thanks for your precious help.
>>
>> Cheers,
>> Mirco
>>
>> Kenn Hussey wrote:
>>> Mirco,
>>>
>>> It sounds like the model is having a hard time finding the profile.
>>> Incidentally, what is the name of the resource that contains the profile?
>>> Based on the schemaLocation declaration in the model, it looks as though
>>> the model is expecting it to be in a 'PEPA.profile.uml.profile.uml'
>>> resource in the same folder as the model...
>>>
>>> Kenn
>>>
>>> "Mirco" <mtribast@inf.ed.ac.uk> wrote in message
>>> news:eqcjth$u0e$1@utils.eclipse.org...
>>>> Hi all,
>>>>
>>>> I've been trying to navigate a UML2 Model to which a custom profile has
>>>> been applied. I defined both the model and the profile by using Rational
>>>> Software Architect 7.0.0. I exported the model into the .uml format and
>>>> developed a plug-in which reads that file and shows information to the
>>>> user. The plug-in runs on the Eclipse run-time workspace of RSA.
>>>> The profile extends an Effect with a stereotype called ActiveRate which
>>>> has a property (double) called 'value'. I use the following code for
>>>> retrieving the information about the stereotypes applied to a
>>>> transition's effect:
>>>>
>>>> /* t is an instance of Transition */
>>>> Behavior behavior = t.getEffect();
>>>> buf.append(" Effect: " + ((behavior == null) ?
>>>> "None":behavior.getName())+ "\n");
>>>> if (behavior != null) {
>>>> for (int s = 0; s < behavior.getAppliedStereotypes().size();s++) {
>>>> Stereotype aStereoType = (Stereotype)
>>>> behavior.getAppliedStereotypes().get(s);
>>>> buf.append(" Stereotype: " + aStereoType.getName()+ "\n");
>>>> }
>>>> }
>>>>
>>>> Although the name of the effect is shown correctly, the size of the
>>>> applied stereotype list is 0. How can I use the API to discover if a
>>>> Transition.getEffect() is applied a stereotype described in a custom
>>>> profile?
>>>>
>>>> I attach the exported model and custom profile. (RSA uses UML2
>>>> 2.0.2v200610251409)
>>>>
>>>> Thanks for your attention,
>>>> Mirco
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>> ------------------------------------------------------------ --------------------
>>>
>>>
>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>> <xmi:XMI xmi:version="2.1"
>>>> xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>> xmlns:PEPAProfile="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13"
>>>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
>>>> xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> xsi:schemaLocation="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13
>>>> PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw">
>>>> <uml:Model xmi:id="_19s3j7adEduYg9z0frhrGw" name="FirstModel">
>>>> <packageImport xmi:id="_19s3kLadEduYg9z0frhrGw">
>>>> <importedPackage xmi:type="uml:Model"
>>>> href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
>>>> </packageImport>
>>>> <packagedElement xmi:type="uml:StateMachine"
>>>> xmi:id="_19s3kbadEduYg9z0frhrGw" name="StateMachine">
>>>> <region xmi:id="_19s3kradEduYg9z0frhrGw" name="Region1">
>>>> <subvertex xmi:type="uml:Pseudostate"
>>>> xmi:id="_19s3k7adEduYg9z0frhrGw" outgoing="_19s3l7adEduYg9z0frhrGw"/>
>>>> <subvertex xmi:type="uml:State" xmi:id="_19s3lLadEduYg9z0frhrGw"
>>>> name="P1" outgoing="_19s3mLadEduYg9z0frhrGw"
>>>> incoming="_19s3l7adEduYg9z0frhrGw"/>
>>>> <subvertex xmi:type="uml:State" xmi:id="_19s3lbadEduYg9z0frhrGw"
>>>> name="P2" outgoing="_19s3mradEduYg9z0frhrGw"
>>>> incoming="_19s3mLadEduYg9z0frhrGw"/>
>>>> <subvertex xmi:type="uml:FinalState"
>>>> xmi:id="_19s3lradEduYg9z0frhrGw" incoming="_19s3mradEduYg9z0frhrGw"/>
>>>> <transition xmi:id="_19s3l7adEduYg9z0frhrGw" kind="local"
>>>> target="_19s3lLadEduYg9z0frhrGw" source="_19s3k7adEduYg9z0frhrGw"/>
>>>> <transition xmi:id="_19s3mLadEduYg9z0frhrGw" name="a"
>>>> kind="local" target="_19s3lbadEduYg9z0frhrGw"
>>>> source="_19s3lLadEduYg9z0frhrGw">
>>>> <effect xmi:type="uml:OpaqueBehavior"
>>>> xmi:id="_19s3mbadEduYg9z0frhrGw" name="anEffect"/>
>>>> </transition>
>>>> <transition xmi:id="_19s3mradEduYg9z0frhrGw" kind="local"
>>>> target="_19s3lradEduYg9z0frhrGw" source="_19s3lbadEduYg9z0frhrGw"/>
>>>> </region>
>>>> </packagedElement>
>>>> <profileApplication xmi:id="_19s3m7adEduYg9z0frhrGw">
>>>> <eAnnotations xmi:id="_19s3nLadEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>> <references xmi:type="ecore:EPackage"
>>>> href=" pathmap://UML_PROFILES/Standard.profile.uml#_yzU58YinEdqtvbn fB2L_5w"/>
>>>> </eAnnotations>
>>>> <appliedProfile
>>>> href="pathmap://UML_PROFILES/Standard.profile.uml#_0"/>
>>>> </profileApplication>
>>>> <profileApplication xmi:id="_19s3nbadEduYg9z0frhrGw">
>>>> <eAnnotations xmi:id="_19s3nradEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>> <references xmi:type="ecore:EPackage"
>>>> href="Default.profile.uml#_19s3KbadEduYg9z0frhrGw"/>
>>>> </eAnnotations>
>>>> <appliedProfile
>>>> href="Default.profile.uml#_19s3J7adEduYg9z0frhrGw"/>
>>>> </profileApplication>
>>>> <profileApplication xmi:id="_19s3n7adEduYg9z0frhrGw">
>>>> <eAnnotations xmi:id="_19s3oLadEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>> <references xmi:type="ecore:EPackage"
>>>> href="Deployment.profile.uml#_19s3pradEduYg9z0frhrGw"/>
>>>> </eAnnotations>
>>>> <appliedProfile
>>>> href="Deployment.profile.uml#_19s3pLadEduYg9z0frhrGw"/>
>>>> </profileApplication>
>>>> <profileApplication xmi:id="_19s3obadEduYg9z0frhrGw">
>>>> <eAnnotations xmi:id="_19s3oradEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>> <references xmi:type="ecore:EPackage"
>>>> href="PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw"/ >
>>>> </eAnnotations>
>>>> <appliedProfile
>>>> href="PEPA.profile.uml.profile.uml#_19s2fLadEduYg9z0frhrGw"/ >
>>>> </profileApplication>
>>>> </uml:Model>
>>>> <PEPAProfile:ActiveRate xmi:id="_19s3o7adEduYg9z0frhrGw" value="2.0"
>>>> base_Behavior="_19s3mbadEduYg9z0frhrGw"/>
>>>> </xmi:XMI>
>>>>
>>>
>>> ------------------------------------------------------------ --------------------
>>>
>>>
>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>> <uml:Profile xmi:version="2.1"
>>>> xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
>>>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
>>>> xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> xmi:id="_19s2fLadEduYg9z0frhrGw" name="PEPAProfile"
>>>> metamodelReference="_19s3FLadEduYg9z0frhrGw">
>>>> <eAnnotations xmi:id="_19s2fbadEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2fradEduYg9z0frhrGw"
>>>> name="PEPAProfile"
>>>> nsURI="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13"
>>>> nsPrefix="PEPAProfile">
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s2f7adEduYg9z0frhrGw" name="ActiveRate">
>>>> <eAnnotations xmi:id="_19s2gLadEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s2gbadEduYg9z0frhrGw" name="value" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s2gradEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s2g7adEduYg9z0frhrGw" name="PassiveRate">
>>>> <eAnnotations xmi:id="_19s2hLadEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s2hbadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>> lowerBound="1" defaultValueLiteral="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s2hradEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s2h7adEduYg9z0frhrGw" name="UtilisationResult">
>>>> <eAnnotations xmi:id="_19s2iLadEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s2ibadEduYg9z0frhrGw" name="value" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s2iradEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> </contents>
>>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2i7adEduYg9z0frhrGw"
>>>> name="PEPAProfile"
>>>> nsURI="http:///schemas/PEPAProfile/_PYPuQLXrEduQbrr1ndBC-A/12"
>>>> nsPrefix="PEPAProfile">
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s2jLadEduYg9z0frhrGw" name="ActiveRate">
>>>> <eAnnotations xmi:id="_19s2jbadEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s2jradEduYg9z0frhrGw" name="value" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s2j7adEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s2kLadEduYg9z0frhrGw" name="PassiveRate">
>>>> <eAnnotations xmi:id="_19s2kbadEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s2kradEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>> lowerBound="1" defaultValueLiteral="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s2k7adEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s2lLadEduYg9z0frhrGw" name="UtilisationResult">
>>>> <eAnnotations xmi:id="_19s2lbadEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s2lradEduYg9z0frhrGw" name="value" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s2l7adEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s2mLadEduYg9z0frhrGw" name="state" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> </contents>
>>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2mbadEduYg9z0frhrGw"
>>>> name="PEPAProfile"
>>>> nsURI="http:///schemas/PEPAProfile/_CQeHELXoEduQbrr1ndBC-A/11"
>>>> nsPrefix="PEPAProfile">
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s2mradEduYg9z0frhrGw" name="ActiveRate">
>>>> <eAnnotations xmi:id="_19s2m7adEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s2nLadEduYg9z0frhrGw" name="value" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s2nbadEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s2nradEduYg9z0frhrGw" name="PassiveRate">
>>>> <eAnnotations xmi:id="_19s2n7adEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s2oLadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>> lowerBound="1" defaultValueLiteral="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s2obadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s2oradEduYg9z0frhrGw" name="UtilisationResult">
>>>> <eAnnotations xmi:id="_19s2o7adEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s2pLadEduYg9z0frhrGw" name="value" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s2pbadEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> </contents>
>>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2pradEduYg9z0frhrGw"
>>>> name="PEPAProfile"
>>>> nsURI="http:///schemas/PEPAProfile/_1FD1sLXnEduQbrr1ndBC-A/10"
>>>> nsPrefix="PEPAProfile">
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s2p7adEduYg9z0frhrGw" name="ActiveRate">
>>>> <eAnnotations xmi:id="_19s2qLadEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s2qbadEduYg9z0frhrGw" name="value" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s2qradEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s2q7adEduYg9z0frhrGw" name="PassiveRate">
>>>> <eAnnotations xmi:id="_19s2rLadEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s2rbadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>> lowerBound="1" defaultValueLiteral="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s2rradEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s2r7adEduYg9z0frhrGw" name="UtilisationResult">
>>>> <eAnnotations xmi:id="_19s2sLadEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s2sbadEduYg9z0frhrGw" name="value" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s2sradEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s2s7adEduYg9z0frhrGw" name="state" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> </contents>
>>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2tLadEduYg9z0frhrGw"
>>>> name="PEPAProfile"
>>>> nsURI="http:///schemas/PEPAProfile/_aAgqQLXnEduQbrr1ndBC-A/9"
>>>> nsPrefix="PEPAProfile">
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s2tbadEduYg9z0frhrGw" name="ActiveRate">
>>>> <eAnnotations xmi:id="_19s2tradEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s2t7adEduYg9z0frhrGw" name="value" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s2uLadEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s2ubadEduYg9z0frhrGw" name="PassiveRate">
>>>> <eAnnotations xmi:id="_19s2uradEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s2u7adEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>> lowerBound="1" defaultValueLiteral="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s2vLadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s2vbadEduYg9z0frhrGw" name="UtilisationResult">
>>>> <eAnnotations xmi:id="_19s2vradEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s2v7adEduYg9z0frhrGw" name="value" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s2wLadEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> </contents>
>>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2wbadEduYg9z0frhrGw"
>>>> name="PEPAProfile"
>>>> nsURI="http:///schemas/PEPAProfile/_XtISYLXnEduQbrr1ndBC-A/8"
>>>> nsPrefix="PEPAProfile">
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s2wradEduYg9z0frhrGw" name="ActiveRate">
>>>> <eAnnotations xmi:id="_19s2w7adEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s2xLadEduYg9z0frhrGw" name="value" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s2xbadEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s2xradEduYg9z0frhrGw" name="PassiveRate">
>>>> <eAnnotations xmi:id="_19s2x7adEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s2yLadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>> lowerBound="1" defaultValueLiteral="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s2ybadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s2yradEduYg9z0frhrGw" name="UtilisationResult">
>>>> <eAnnotations xmi:id="_19s2y7adEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s2zLadEduYg9z0frhrGw" name="value" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> </contents>
>>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s2zbadEduYg9z0frhrGw"
>>>> name="PEPAProfile"
>>>> nsURI="http:///schemas/PEPAProfile/_HCgvMLXnEduQbrr1ndBC-A/7"
>>>> nsPrefix="PEPAProfile">
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s2zradEduYg9z0frhrGw" name="ActiveRate">
>>>> <eAnnotations xmi:id="_19s2z7adEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s20LadEduYg9z0frhrGw" name="value" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s20badEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s20radEduYg9z0frhrGw" name="PassiveRate">
>>>> <eAnnotations xmi:id="_19s207adEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s21LadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>> lowerBound="1" defaultValueLiteral="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s21badEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> </contents>
>>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s21radEduYg9z0frhrGw"
>>>> name="PEPAProfile"
>>>> nsURI="http:///schemas/PEPAProfile/_nY1ywLXmEduQbrr1ndBC-A/6"
>>>> nsPrefix="PEPAProfile">
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s217adEduYg9z0frhrGw" name="ActiveRate">
>>>> <eAnnotations xmi:id="_19s22LadEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s22badEduYg9z0frhrGw" name="value" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s22radEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s227adEduYg9z0frhrGw" name="PassiveRate">
>>>> <eAnnotations xmi:id="_19s23LadEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s23badEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>> lowerBound="1" defaultValueLiteral="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s23radEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s237adEduYg9z0frhrGw" name="UtilisationResult">
>>>> <eAnnotations xmi:id="_19s24LadEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s24badEduYg9z0frhrGw" name="value" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s24radEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> </contents>
>>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s247adEduYg9z0frhrGw"
>>>> name="PEPAProfile"
>>>> nsURI="http:///schemas/PEPAProfile/_gYUWULXmEduQbrr1ndBC-A/5"
>>>> nsPrefix="PEPAProfile">
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s25LadEduYg9z0frhrGw" name="ActiveRate">
>>>> <eAnnotations xmi:id="_19s25badEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s25radEduYg9z0frhrGw" name="value" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s257adEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s26LadEduYg9z0frhrGw" name="PassiveRate">
>>>> <eAnnotations xmi:id="_19s26badEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s26radEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>> lowerBound="1" defaultValueLiteral="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>> xmi:id="_19s267adEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EClass"
>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s27LadEduYg9z0frhrGw" name="UtilisationResult">
>>>> <eAnnotations xmi:id="_19s27badEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s27radEduYg9z0frhrGw" name="value" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>> </eStructuralFeatures>
>>>> </eClassifiers>
>>>> </contents>
>>>> <contents xmi:type="ecore:EPackage" xmi:id="_19s277adEduYg9z0frhrGw"
>>>> name="PEPAProfile"
>>>> nsURI="http:///schemas/PEPAProfile/_AngQELXmEduQbrr1ndBC-A/4"
>>>> nsPrefix="PEPAProfile">
>>>> <eClassifiers xmi:type="ecore:EClass"
>>>> xmi:id="_19s28LadEduYg9z0frhrGw" name="ActiveRate">
>>>> <eAnnotations xmi:id="_19s28badEduYg9z0frhrGw"
>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>> xmi:id="_19s28radEduYg9z0frhrGw" name="value" ordered="false"
>>>> lowerBound="1">
>>>> <eType xmi:type="ecore:EDataType"
>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>> </eStructuralFeatures>
>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>
Re: Programmatic Navigation of a UML2 Model with Custom Profiles [message #586906 is a reply to message #470269] Mon, 12 February 2007 14:56 Go to previous message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
Mirco,

Try deleting the old features and plug-ins from your filesystem and
launching with the -clean option.

Kenn

"Mirco Tribastone" <mtribast@inf.ed.ac.uk> wrote in message
news:eqpss4$e5g$1@utils.eclipse.org...
> Kenn,
>
> Actually the platform log reports "Duplicate feature found" for
> UML2-related features. I am trying to figure out how to uninstall the
> previous versions; I have tried the Manage Configuration dialog. It shows
> the previous versions as disabled but the "Uninstall" menu item is not
> enabled. How can I solve this problem? (Sorry if this question is slightly
> out of topic...)
>
> Thanks again
> Mirco
>
> Kenn Hussey wrote:
>> Mirco,
>>
>> Do you have any problems with your Eclipse configuration? Did you
>> previously have an old version of UML2 installed? Are you seeing any
>> exceptions in the platform log?
>>
>> Kenn
>>
>> "Mirco Tribastone" <mtribast@inf.ed.ac.uk> wrote in message
>> news:eqhmk1$ipt$1@utils.eclipse.org...
>>> Hi Kenn,
>>>
>>> I had already checked that, and that was not the problem. The name of
>>> the resource is now PEPA.profile.uml. I think I made some progress in
>>> finding the problem. I load the model programmatically from a
>>> stand-alone application that I wrote by slightly modifying the
>>> UML2Article class downloaded from the Eclipse website. I load the model
>>> by using the same load(URI) method and registering the resource
>>> factories as follows:
>>>
>>> RESOURCE_SET.getPackageRegistry().put(UMLPackage.eNS_URI,
>>> UMLPackage.eINSTANCE);
>>> Map extensionToFactoryMap = RESOURCE_SET.getResourceFactoryRegistry()
>>> .getExtensionToFactoryMap();
>>> extensionToFactoryMap.put(UMLResource.FILE_EXTENSION,
>>> UMLResource.Factory.INSTANCE);
>>>
>>> The output of the programs gives me correct information about the
>>> applied stereotypes.
>>> The problem seems to persist though when the same code is launched from
>>> within an Eclipse instance. I initially thought that problem would be
>>> that the UML2Article uses different versions of the plug-ins; hence I
>>> created another stand-alone app with the same plug-in versions as my
>>> Eclipse configuration, but the model is navigated correctly also in this
>>> case.
>>>
>>> Do you have any idea why the code refuses to work in the Eclipse
>>> environment?
>>>
>>> Thanks for your precious help.
>>>
>>> Cheers,
>>> Mirco
>>>
>>> Kenn Hussey wrote:
>>>> Mirco,
>>>>
>>>> It sounds like the model is having a hard time finding the profile.
>>>> Incidentally, what is the name of the resource that contains the
>>>> profile? Based on the schemaLocation declaration in the model, it looks
>>>> as though the model is expecting it to be in a
>>>> 'PEPA.profile.uml.profile.uml' resource in the same folder as the
>>>> model...
>>>>
>>>> Kenn
>>>>
>>>> "Mirco" <mtribast@inf.ed.ac.uk> wrote in message
>>>> news:eqcjth$u0e$1@utils.eclipse.org...
>>>>> Hi all,
>>>>>
>>>>> I've been trying to navigate a UML2 Model to which a custom profile
>>>>> has
>>>>> been applied. I defined both the model and the profile by using
>>>>> Rational
>>>>> Software Architect 7.0.0. I exported the model into the .uml format
>>>>> and
>>>>> developed a plug-in which reads that file and shows information to the
>>>>> user. The plug-in runs on the Eclipse run-time workspace of RSA.
>>>>> The profile extends an Effect with a stereotype called ActiveRate
>>>>> which
>>>>> has a property (double) called 'value'. I use the following code for
>>>>> retrieving the information about the stereotypes applied to a
>>>>> transition's effect:
>>>>>
>>>>> /* t is an instance of Transition */
>>>>> Behavior behavior = t.getEffect();
>>>>> buf.append(" Effect: " + ((behavior == null) ?
>>>>> "None":behavior.getName())+ "\n");
>>>>> if (behavior != null) {
>>>>> for (int s = 0; s < behavior.getAppliedStereotypes().size();s++) {
>>>>> Stereotype aStereoType = (Stereotype)
>>>>> behavior.getAppliedStereotypes().get(s);
>>>>> buf.append(" Stereotype: " + aStereoType.getName()+ "\n");
>>>>> }
>>>>> }
>>>>>
>>>>> Although the name of the effect is shown correctly, the size of the
>>>>> applied stereotype list is 0. How can I use the API to discover if a
>>>>> Transition.getEffect() is applied a stereotype described in a custom
>>>>> profile?
>>>>>
>>>>> I attach the exported model and custom profile. (RSA uses UML2
>>>>> 2.0.2v200610251409)
>>>>>
>>>>> Thanks for your attention,
>>>>> Mirco
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>> ------------------------------------------------------------ --------------------
>>>>
>>>>
>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>> <xmi:XMI xmi:version="2.1"
>>>>> xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>> xmlns:PEPAProfile="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13"
>>>>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
>>>>> xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> xsi:schemaLocation="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13
>>>>> PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw">
>>>>> <uml:Model xmi:id="_19s3j7adEduYg9z0frhrGw" name="FirstModel">
>>>>> <packageImport xmi:id="_19s3kLadEduYg9z0frhrGw">
>>>>> <importedPackage xmi:type="uml:Model"
>>>>> href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
>>>>> </packageImport>
>>>>> <packagedElement xmi:type="uml:StateMachine"
>>>>> xmi:id="_19s3kbadEduYg9z0frhrGw" name="StateMachine">
>>>>> <region xmi:id="_19s3kradEduYg9z0frhrGw" name="Region1">
>>>>> <subvertex xmi:type="uml:Pseudostate"
>>>>> xmi:id="_19s3k7adEduYg9z0frhrGw" outgoing="_19s3l7adEduYg9z0frhrGw"/>
>>>>> <subvertex xmi:type="uml:State"
>>>>> xmi:id="_19s3lLadEduYg9z0frhrGw" name="P1"
>>>>> outgoing="_19s3mLadEduYg9z0frhrGw"
>>>>> incoming="_19s3l7adEduYg9z0frhrGw"/>
>>>>> <subvertex xmi:type="uml:State"
>>>>> xmi:id="_19s3lbadEduYg9z0frhrGw" name="P2"
>>>>> outgoing="_19s3mradEduYg9z0frhrGw"
>>>>> incoming="_19s3mLadEduYg9z0frhrGw"/>
>>>>> <subvertex xmi:type="uml:FinalState"
>>>>> xmi:id="_19s3lradEduYg9z0frhrGw" incoming="_19s3mradEduYg9z0frhrGw"/>
>>>>> <transition xmi:id="_19s3l7adEduYg9z0frhrGw" kind="local"
>>>>> target="_19s3lLadEduYg9z0frhrGw" source="_19s3k7adEduYg9z0frhrGw"/>
>>>>> <transition xmi:id="_19s3mLadEduYg9z0frhrGw" name="a"
>>>>> kind="local" target="_19s3lbadEduYg9z0frhrGw"
>>>>> source="_19s3lLadEduYg9z0frhrGw">
>>>>> <effect xmi:type="uml:OpaqueBehavior"
>>>>> xmi:id="_19s3mbadEduYg9z0frhrGw" name="anEffect"/>
>>>>> </transition>
>>>>> <transition xmi:id="_19s3mradEduYg9z0frhrGw" kind="local"
>>>>> target="_19s3lradEduYg9z0frhrGw" source="_19s3lbadEduYg9z0frhrGw"/>
>>>>> </region>
>>>>> </packagedElement>
>>>>> <profileApplication xmi:id="_19s3m7adEduYg9z0frhrGw">
>>>>> <eAnnotations xmi:id="_19s3nLadEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>> <references xmi:type="ecore:EPackage"
>>>>> href=" pathmap://UML_PROFILES/Standard.profile.uml#_yzU58YinEdqtvbn fB2L_5w"/>
>>>>> </eAnnotations>
>>>>> <appliedProfile
>>>>> href="pathmap://UML_PROFILES/Standard.profile.uml#_0"/>
>>>>> </profileApplication>
>>>>> <profileApplication xmi:id="_19s3nbadEduYg9z0frhrGw">
>>>>> <eAnnotations xmi:id="_19s3nradEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>> <references xmi:type="ecore:EPackage"
>>>>> href="Default.profile.uml#_19s3KbadEduYg9z0frhrGw"/>
>>>>> </eAnnotations>
>>>>> <appliedProfile
>>>>> href="Default.profile.uml#_19s3J7adEduYg9z0frhrGw"/>
>>>>> </profileApplication>
>>>>> <profileApplication xmi:id="_19s3n7adEduYg9z0frhrGw">
>>>>> <eAnnotations xmi:id="_19s3oLadEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>> <references xmi:type="ecore:EPackage"
>>>>> href="Deployment.profile.uml#_19s3pradEduYg9z0frhrGw"/>
>>>>> </eAnnotations>
>>>>> <appliedProfile
>>>>> href="Deployment.profile.uml#_19s3pLadEduYg9z0frhrGw"/>
>>>>> </profileApplication>
>>>>> <profileApplication xmi:id="_19s3obadEduYg9z0frhrGw">
>>>>> <eAnnotations xmi:id="_19s3oradEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>> <references xmi:type="ecore:EPackage"
>>>>> href="PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw"/ >
>>>>> </eAnnotations>
>>>>> <appliedProfile
>>>>> href="PEPA.profile.uml.profile.uml#_19s2fLadEduYg9z0frhrGw"/ >
>>>>> </profileApplication>
>>>>> </uml:Model>
>>>>> <PEPAProfile:ActiveRate xmi:id="_19s3o7adEduYg9z0frhrGw" value="2.0"
>>>>> base_Behavior="_19s3mbadEduYg9z0frhrGw"/>
>>>>> </xmi:XMI>
>>>>>
>>>>
>>>> ------------------------------------------------------------ --------------------
>>>>
>>>>
>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>> <uml:Profile xmi:version="2.1"
>>>>> xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
>>>>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
>>>>> xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> xmi:id="_19s2fLadEduYg9z0frhrGw" name="PEPAProfile"
>>>>> metamodelReference="_19s3FLadEduYg9z0frhrGw">
>>>>> <eAnnotations xmi:id="_19s2fbadEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>> <contents xmi:type="ecore:EPackage"
>>>>> xmi:id="_19s2fradEduYg9z0frhrGw" name="PEPAProfile"
>>>>> nsURI="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13"
>>>>> nsPrefix="PEPAProfile">
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s2f7adEduYg9z0frhrGw" name="ActiveRate">
>>>>> <eAnnotations xmi:id="_19s2gLadEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s2gbadEduYg9z0frhrGw" name="value" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s2gradEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s2g7adEduYg9z0frhrGw" name="PassiveRate">
>>>>> <eAnnotations xmi:id="_19s2hLadEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s2hbadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s2hradEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s2h7adEduYg9z0frhrGw" name="UtilisationResult">
>>>>> <eAnnotations xmi:id="_19s2iLadEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s2ibadEduYg9z0frhrGw" name="value" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s2iradEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> </contents>
>>>>> <contents xmi:type="ecore:EPackage"
>>>>> xmi:id="_19s2i7adEduYg9z0frhrGw" name="PEPAProfile"
>>>>> nsURI="http:///schemas/PEPAProfile/_PYPuQLXrEduQbrr1ndBC-A/12"
>>>>> nsPrefix="PEPAProfile">
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s2jLadEduYg9z0frhrGw" name="ActiveRate">
>>>>> <eAnnotations xmi:id="_19s2jbadEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s2jradEduYg9z0frhrGw" name="value" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s2j7adEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s2kLadEduYg9z0frhrGw" name="PassiveRate">
>>>>> <eAnnotations xmi:id="_19s2kbadEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s2kradEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s2k7adEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s2lLadEduYg9z0frhrGw" name="UtilisationResult">
>>>>> <eAnnotations xmi:id="_19s2lbadEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s2lradEduYg9z0frhrGw" name="value" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s2l7adEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s2mLadEduYg9z0frhrGw" name="state" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> </contents>
>>>>> <contents xmi:type="ecore:EPackage"
>>>>> xmi:id="_19s2mbadEduYg9z0frhrGw" name="PEPAProfile"
>>>>> nsURI="http:///schemas/PEPAProfile/_CQeHELXoEduQbrr1ndBC-A/11"
>>>>> nsPrefix="PEPAProfile">
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s2mradEduYg9z0frhrGw" name="ActiveRate">
>>>>> <eAnnotations xmi:id="_19s2m7adEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s2nLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s2nbadEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s2nradEduYg9z0frhrGw" name="PassiveRate">
>>>>> <eAnnotations xmi:id="_19s2n7adEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s2oLadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s2obadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s2oradEduYg9z0frhrGw" name="UtilisationResult">
>>>>> <eAnnotations xmi:id="_19s2o7adEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s2pLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s2pbadEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> </contents>
>>>>> <contents xmi:type="ecore:EPackage"
>>>>> xmi:id="_19s2pradEduYg9z0frhrGw" name="PEPAProfile"
>>>>> nsURI="http:///schemas/PEPAProfile/_1FD1sLXnEduQbrr1ndBC-A/10"
>>>>> nsPrefix="PEPAProfile">
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s2p7adEduYg9z0frhrGw" name="ActiveRate">
>>>>> <eAnnotations xmi:id="_19s2qLadEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s2qbadEduYg9z0frhrGw" name="value" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s2qradEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s2q7adEduYg9z0frhrGw" name="PassiveRate">
>>>>> <eAnnotations xmi:id="_19s2rLadEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s2rbadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s2rradEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s2r7adEduYg9z0frhrGw" name="UtilisationResult">
>>>>> <eAnnotations xmi:id="_19s2sLadEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s2sbadEduYg9z0frhrGw" name="value" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s2sradEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s2s7adEduYg9z0frhrGw" name="state" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> </contents>
>>>>> <contents xmi:type="ecore:EPackage"
>>>>> xmi:id="_19s2tLadEduYg9z0frhrGw" name="PEPAProfile"
>>>>> nsURI="http:///schemas/PEPAProfile/_aAgqQLXnEduQbrr1ndBC-A/9"
>>>>> nsPrefix="PEPAProfile">
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s2tbadEduYg9z0frhrGw" name="ActiveRate">
>>>>> <eAnnotations xmi:id="_19s2tradEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s2t7adEduYg9z0frhrGw" name="value" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s2uLadEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s2ubadEduYg9z0frhrGw" name="PassiveRate">
>>>>> <eAnnotations xmi:id="_19s2uradEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s2u7adEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s2vLadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s2vbadEduYg9z0frhrGw" name="UtilisationResult">
>>>>> <eAnnotations xmi:id="_19s2vradEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s2v7adEduYg9z0frhrGw" name="value" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s2wLadEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> </contents>
>>>>> <contents xmi:type="ecore:EPackage"
>>>>> xmi:id="_19s2wbadEduYg9z0frhrGw" name="PEPAProfile"
>>>>> nsURI="http:///schemas/PEPAProfile/_XtISYLXnEduQbrr1ndBC-A/8"
>>>>> nsPrefix="PEPAProfile">
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s2wradEduYg9z0frhrGw" name="ActiveRate">
>>>>> <eAnnotations xmi:id="_19s2w7adEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s2xLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s2xbadEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s2xradEduYg9z0frhrGw" name="PassiveRate">
>>>>> <eAnnotations xmi:id="_19s2x7adEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s2yLadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s2ybadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s2yradEduYg9z0frhrGw" name="UtilisationResult">
>>>>> <eAnnotations xmi:id="_19s2y7adEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s2zLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> </contents>
>>>>> <contents xmi:type="ecore:EPackage"
>>>>> xmi:id="_19s2zbadEduYg9z0frhrGw" name="PEPAProfile"
>>>>> nsURI="http:///schemas/PEPAProfile/_HCgvMLXnEduQbrr1ndBC-A/7"
>>>>> nsPrefix="PEPAProfile">
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s2zradEduYg9z0frhrGw" name="ActiveRate">
>>>>> <eAnnotations xmi:id="_19s2z7adEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s20LadEduYg9z0frhrGw" name="value" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s20badEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s20radEduYg9z0frhrGw" name="PassiveRate">
>>>>> <eAnnotations xmi:id="_19s207adEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s21LadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s21badEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> </contents>
>>>>> <contents xmi:type="ecore:EPackage"
>>>>> xmi:id="_19s21radEduYg9z0frhrGw" name="PEPAProfile"
>>>>> nsURI="http:///schemas/PEPAProfile/_nY1ywLXmEduQbrr1ndBC-A/6"
>>>>> nsPrefix="PEPAProfile">
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s217adEduYg9z0frhrGw" name="ActiveRate">
>>>>> <eAnnotations xmi:id="_19s22LadEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s22badEduYg9z0frhrGw" name="value" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s22radEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s227adEduYg9z0frhrGw" name="PassiveRate">
>>>>> <eAnnotations xmi:id="_19s23LadEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s23badEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s23radEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s237adEduYg9z0frhrGw" name="UtilisationResult">
>>>>> <eAnnotations xmi:id="_19s24LadEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s24badEduYg9z0frhrGw" name="value" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s24radEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> </contents>
>>>>> <contents xmi:type="ecore:EPackage"
>>>>> xmi:id="_19s247adEduYg9z0frhrGw" name="PEPAProfile"
>>>>> nsURI="http:///schemas/PEPAProfile/_gYUWULXmEduQbrr1ndBC-A/5"
>>>>> nsPrefix="PEPAProfile">
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s25LadEduYg9z0frhrGw" name="ActiveRate">
>>>>> <eAnnotations xmi:id="_19s25badEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s25radEduYg9z0frhrGw" name="value" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>> </eStructuralFeatures>
>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>> xmi:id="_19s257adEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>>> lowerBound="1">
>>>>> <eType xmi:type="ecore:EClass"
>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>> </eStructuralFeatures>
>>>>> </eClassifiers>
>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>> xmi:id="_19s26LadEduYg9z0frhrGw" name="PassiveRate">
>>>>> <eAnnotations xmi:id="_19s26badEduYg9z0frhrGw"
>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>> xmi:id="_19s26radEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>> <eType xmi:type="ecore:EDataType"
>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
Re: Programmatic Navigation of a UML2 Model with Custom Profiles [message #588609 is a reply to message #470273] Tue, 13 February 2007 14:19 Go to previous message
Eclipse UserFriend
Originally posted by: mtribast.inf.ed.ac.uk

Hi Kenn,

I did that, but it didn't work. I also installed a fresh version of
Eclipse with EMF and UML2 only and tried to run the application from
there, but that didn't work too. I did some more work on my code and I
can confirm that my models are loaded and navigated successfully from a
stand-alone application. What could I do next to solve my problem?

Cheers,
Mirco


Kenn Hussey wrote:
> Mirco,
>
> Try deleting the old features and plug-ins from your filesystem and
> launching with the -clean option.
>
> Kenn
>
> "Mirco Tribastone" <mtribast@inf.ed.ac.uk> wrote in message
> news:eqpss4$e5g$1@utils.eclipse.org...
>> Kenn,
>>
>> Actually the platform log reports "Duplicate feature found" for
>> UML2-related features. I am trying to figure out how to uninstall the
>> previous versions; I have tried the Manage Configuration dialog. It shows
>> the previous versions as disabled but the "Uninstall" menu item is not
>> enabled. How can I solve this problem? (Sorry if this question is slightly
>> out of topic...)
>>
>> Thanks again
>> Mirco
>>
>> Kenn Hussey wrote:
>>> Mirco,
>>>
>>> Do you have any problems with your Eclipse configuration? Did you
>>> previously have an old version of UML2 installed? Are you seeing any
>>> exceptions in the platform log?
>>>
>>> Kenn
>>>
>>> "Mirco Tribastone" <mtribast@inf.ed.ac.uk> wrote in message
>>> news:eqhmk1$ipt$1@utils.eclipse.org...
>>>> Hi Kenn,
>>>>
>>>> I had already checked that, and that was not the problem. The name of
>>>> the resource is now PEPA.profile.uml. I think I made some progress in
>>>> finding the problem. I load the model programmatically from a
>>>> stand-alone application that I wrote by slightly modifying the
>>>> UML2Article class downloaded from the Eclipse website. I load the model
>>>> by using the same load(URI) method and registering the resource
>>>> factories as follows:
>>>>
>>>> RESOURCE_SET.getPackageRegistry().put(UMLPackage.eNS_URI,
>>>> UMLPackage.eINSTANCE);
>>>> Map extensionToFactoryMap = RESOURCE_SET.getResourceFactoryRegistry()
>>>> .getExtensionToFactoryMap();
>>>> extensionToFactoryMap.put(UMLResource.FILE_EXTENSION,
>>>> UMLResource.Factory.INSTANCE);
>>>>
>>>> The output of the programs gives me correct information about the
>>>> applied stereotypes.
>>>> The problem seems to persist though when the same code is launched from
>>>> within an Eclipse instance. I initially thought that problem would be
>>>> that the UML2Article uses different versions of the plug-ins; hence I
>>>> created another stand-alone app with the same plug-in versions as my
>>>> Eclipse configuration, but the model is navigated correctly also in this
>>>> case.
>>>>
>>>> Do you have any idea why the code refuses to work in the Eclipse
>>>> environment?
>>>>
>>>> Thanks for your precious help.
>>>>
>>>> Cheers,
>>>> Mirco
>>>>
>>>> Kenn Hussey wrote:
>>>>> Mirco,
>>>>>
>>>>> It sounds like the model is having a hard time finding the profile.
>>>>> Incidentally, what is the name of the resource that contains the
>>>>> profile? Based on the schemaLocation declaration in the model, it looks
>>>>> as though the model is expecting it to be in a
>>>>> 'PEPA.profile.uml.profile.uml' resource in the same folder as the
>>>>> model...
>>>>>
>>>>> Kenn
>>>>>
>>>>> "Mirco" <mtribast@inf.ed.ac.uk> wrote in message
>>>>> news:eqcjth$u0e$1@utils.eclipse.org...
>>>>>> Hi all,
>>>>>>
>>>>>> I've been trying to navigate a UML2 Model to which a custom profile
>>>>>> has
>>>>>> been applied. I defined both the model and the profile by using
>>>>>> Rational
>>>>>> Software Architect 7.0.0. I exported the model into the .uml format
>>>>>> and
>>>>>> developed a plug-in which reads that file and shows information to the
>>>>>> user. The plug-in runs on the Eclipse run-time workspace of RSA.
>>>>>> The profile extends an Effect with a stereotype called ActiveRate
>>>>>> which
>>>>>> has a property (double) called 'value'. I use the following code for
>>>>>> retrieving the information about the stereotypes applied to a
>>>>>> transition's effect:
>>>>>>
>>>>>> /* t is an instance of Transition */
>>>>>> Behavior behavior = t.getEffect();
>>>>>> buf.append(" Effect: " + ((behavior == null) ?
>>>>>> "None":behavior.getName())+ "\n");
>>>>>> if (behavior != null) {
>>>>>> for (int s = 0; s < behavior.getAppliedStereotypes().size();s++) {
>>>>>> Stereotype aStereoType = (Stereotype)
>>>>>> behavior.getAppliedStereotypes().get(s);
>>>>>> buf.append(" Stereotype: " + aStereoType.getName()+ "\n");
>>>>>> }
>>>>>> }
>>>>>>
>>>>>> Although the name of the effect is shown correctly, the size of the
>>>>>> applied stereotype list is 0. How can I use the API to discover if a
>>>>>> Transition.getEffect() is applied a stereotype described in a custom
>>>>>> profile?
>>>>>>
>>>>>> I attach the exported model and custom profile. (RSA uses UML2
>>>>>> 2.0.2v200610251409)
>>>>>>
>>>>>> Thanks for your attention,
>>>>>> Mirco
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>> ------------------------------------------------------------ --------------------
>>>>>
>>>>>
>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>> <xmi:XMI xmi:version="2.1"
>>>>>> xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>> xmlns:PEPAProfile="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13"
>>>>>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
>>>>>> xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> xsi:schemaLocation="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13
>>>>>> PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw">
>>>>>> <uml:Model xmi:id="_19s3j7adEduYg9z0frhrGw" name="FirstModel">
>>>>>> <packageImport xmi:id="_19s3kLadEduYg9z0frhrGw">
>>>>>> <importedPackage xmi:type="uml:Model"
>>>>>> href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
>>>>>> </packageImport>
>>>>>> <packagedElement xmi:type="uml:StateMachine"
>>>>>> xmi:id="_19s3kbadEduYg9z0frhrGw" name="StateMachine">
>>>>>> <region xmi:id="_19s3kradEduYg9z0frhrGw" name="Region1">
>>>>>> <subvertex xmi:type="uml:Pseudostate"
>>>>>> xmi:id="_19s3k7adEduYg9z0frhrGw" outgoing="_19s3l7adEduYg9z0frhrGw"/>
>>>>>> <subvertex xmi:type="uml:State"
>>>>>> xmi:id="_19s3lLadEduYg9z0frhrGw" name="P1"
>>>>>> outgoing="_19s3mLadEduYg9z0frhrGw"
>>>>>> incoming="_19s3l7adEduYg9z0frhrGw"/>
>>>>>> <subvertex xmi:type="uml:State"
>>>>>> xmi:id="_19s3lbadEduYg9z0frhrGw" name="P2"
>>>>>> outgoing="_19s3mradEduYg9z0frhrGw"
>>>>>> incoming="_19s3mLadEduYg9z0frhrGw"/>
>>>>>> <subvertex xmi:type="uml:FinalState"
>>>>>> xmi:id="_19s3lradEduYg9z0frhrGw" incoming="_19s3mradEduYg9z0frhrGw"/>
>>>>>> <transition xmi:id="_19s3l7adEduYg9z0frhrGw" kind="local"
>>>>>> target="_19s3lLadEduYg9z0frhrGw" source="_19s3k7adEduYg9z0frhrGw"/>
>>>>>> <transition xmi:id="_19s3mLadEduYg9z0frhrGw" name="a"
>>>>>> kind="local" target="_19s3lbadEduYg9z0frhrGw"
>>>>>> source="_19s3lLadEduYg9z0frhrGw">
>>>>>> <effect xmi:type="uml:OpaqueBehavior"
>>>>>> xmi:id="_19s3mbadEduYg9z0frhrGw" name="anEffect"/>
>>>>>> </transition>
>>>>>> <transition xmi:id="_19s3mradEduYg9z0frhrGw" kind="local"
>>>>>> target="_19s3lradEduYg9z0frhrGw" source="_19s3lbadEduYg9z0frhrGw"/>
>>>>>> </region>
>>>>>> </packagedElement>
>>>>>> <profileApplication xmi:id="_19s3m7adEduYg9z0frhrGw">
>>>>>> <eAnnotations xmi:id="_19s3nLadEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>> <references xmi:type="ecore:EPackage"
>>>>>> href=" pathmap://UML_PROFILES/Standard.profile.uml#_yzU58YinEdqtvbn fB2L_5w"/>
>>>>>> </eAnnotations>
>>>>>> <appliedProfile
>>>>>> href="pathmap://UML_PROFILES/Standard.profile.uml#_0"/>
>>>>>> </profileApplication>
>>>>>> <profileApplication xmi:id="_19s3nbadEduYg9z0frhrGw">
>>>>>> <eAnnotations xmi:id="_19s3nradEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>> <references xmi:type="ecore:EPackage"
>>>>>> href="Default.profile.uml#_19s3KbadEduYg9z0frhrGw"/>
>>>>>> </eAnnotations>
>>>>>> <appliedProfile
>>>>>> href="Default.profile.uml#_19s3J7adEduYg9z0frhrGw"/>
>>>>>> </profileApplication>
>>>>>> <profileApplication xmi:id="_19s3n7adEduYg9z0frhrGw">
>>>>>> <eAnnotations xmi:id="_19s3oLadEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>> <references xmi:type="ecore:EPackage"
>>>>>> href="Deployment.profile.uml#_19s3pradEduYg9z0frhrGw"/>
>>>>>> </eAnnotations>
>>>>>> <appliedProfile
>>>>>> href="Deployment.profile.uml#_19s3pLadEduYg9z0frhrGw"/>
>>>>>> </profileApplication>
>>>>>> <profileApplication xmi:id="_19s3obadEduYg9z0frhrGw">
>>>>>> <eAnnotations xmi:id="_19s3oradEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>> <references xmi:type="ecore:EPackage"
>>>>>> href="PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw"/ >
>>>>>> </eAnnotations>
>>>>>> <appliedProfile
>>>>>> href="PEPA.profile.uml.profile.uml#_19s2fLadEduYg9z0frhrGw"/ >
>>>>>> </profileApplication>
>>>>>> </uml:Model>
>>>>>> <PEPAProfile:ActiveRate xmi:id="_19s3o7adEduYg9z0frhrGw" value="2.0"
>>>>>> base_Behavior="_19s3mbadEduYg9z0frhrGw"/>
>>>>>> </xmi:XMI>
>>>>>>
>>>>> ------------------------------------------------------------ --------------------
>>>>>
>>>>>
>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>> <uml:Profile xmi:version="2.1"
>>>>>> xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
>>>>>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
>>>>>> xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> xmi:id="_19s2fLadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>> metamodelReference="_19s3FLadEduYg9z0frhrGw">
>>>>>> <eAnnotations xmi:id="_19s2fbadEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>> xmi:id="_19s2fradEduYg9z0frhrGw" name="PEPAProfile"
>>>>>> nsURI="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13"
>>>>>> nsPrefix="PEPAProfile">
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s2f7adEduYg9z0frhrGw" name="ActiveRate">
>>>>>> <eAnnotations xmi:id="_19s2gLadEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s2gbadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s2gradEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s2g7adEduYg9z0frhrGw" name="PassiveRate">
>>>>>> <eAnnotations xmi:id="_19s2hLadEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s2hbadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s2hradEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s2h7adEduYg9z0frhrGw" name="UtilisationResult">
>>>>>> <eAnnotations xmi:id="_19s2iLadEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s2ibadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s2iradEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> </contents>
>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>> xmi:id="_19s2i7adEduYg9z0frhrGw" name="PEPAProfile"
>>>>>> nsURI="http:///schemas/PEPAProfile/_PYPuQLXrEduQbrr1ndBC-A/12"
>>>>>> nsPrefix="PEPAProfile">
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s2jLadEduYg9z0frhrGw" name="ActiveRate">
>>>>>> <eAnnotations xmi:id="_19s2jbadEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s2jradEduYg9z0frhrGw" name="value" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s2j7adEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s2kLadEduYg9z0frhrGw" name="PassiveRate">
>>>>>> <eAnnotations xmi:id="_19s2kbadEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s2kradEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s2k7adEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s2lLadEduYg9z0frhrGw" name="UtilisationResult">
>>>>>> <eAnnotations xmi:id="_19s2lbadEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s2lradEduYg9z0frhrGw" name="value" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s2l7adEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s2mLadEduYg9z0frhrGw" name="state" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> </contents>
>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>> xmi:id="_19s2mbadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>> nsURI="http:///schemas/PEPAProfile/_CQeHELXoEduQbrr1ndBC-A/11"
>>>>>> nsPrefix="PEPAProfile">
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s2mradEduYg9z0frhrGw" name="ActiveRate">
>>>>>> <eAnnotations xmi:id="_19s2m7adEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s2nLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s2nbadEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s2nradEduYg9z0frhrGw" name="PassiveRate">
>>>>>> <eAnnotations xmi:id="_19s2n7adEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s2oLadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s2obadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s2oradEduYg9z0frhrGw" name="UtilisationResult">
>>>>>> <eAnnotations xmi:id="_19s2o7adEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s2pLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s2pbadEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> </contents>
>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>> xmi:id="_19s2pradEduYg9z0frhrGw" name="PEPAProfile"
>>>>>> nsURI="http:///schemas/PEPAProfile/_1FD1sLXnEduQbrr1ndBC-A/10"
>>>>>> nsPrefix="PEPAProfile">
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s2p7adEduYg9z0frhrGw" name="ActiveRate">
>>>>>> <eAnnotations xmi:id="_19s2qLadEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s2qbadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s2qradEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s2q7adEduYg9z0frhrGw" name="PassiveRate">
>>>>>> <eAnnotations xmi:id="_19s2rLadEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s2rbadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s2rradEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s2r7adEduYg9z0frhrGw" name="UtilisationResult">
>>>>>> <eAnnotations xmi:id="_19s2sLadEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s2sbadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s2sradEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s2s7adEduYg9z0frhrGw" name="state" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> </contents>
>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>> xmi:id="_19s2tLadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>> nsURI="http:///schemas/PEPAProfile/_aAgqQLXnEduQbrr1ndBC-A/9"
>>>>>> nsPrefix="PEPAProfile">
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s2tbadEduYg9z0frhrGw" name="ActiveRate">
>>>>>> <eAnnotations xmi:id="_19s2tradEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s2t7adEduYg9z0frhrGw" name="value" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s2uLadEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s2ubadEduYg9z0frhrGw" name="PassiveRate">
>>>>>> <eAnnotations xmi:id="_19s2uradEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s2u7adEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s2vLadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s2vbadEduYg9z0frhrGw" name="UtilisationResult">
>>>>>> <eAnnotations xmi:id="_19s2vradEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s2v7adEduYg9z0frhrGw" name="value" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s2wLadEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> </contents>
>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>> xmi:id="_19s2wbadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>> nsURI="http:///schemas/PEPAProfile/_XtISYLXnEduQbrr1ndBC-A/8"
>>>>>> nsPrefix="PEPAProfile">
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s2wradEduYg9z0frhrGw" name="ActiveRate">
>>>>>> <eAnnotations xmi:id="_19s2w7adEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s2xLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s2xbadEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s2xradEduYg9z0frhrGw" name="PassiveRate">
>>>>>> <eAnnotations xmi:id="_19s2x7adEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s2yLadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s2ybadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s2yradEduYg9z0frhrGw" name="UtilisationResult">
>>>>>> <eAnnotations xmi:id="_19s2y7adEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s2zLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> </contents>
>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>> xmi:id="_19s2zbadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>> nsURI="http:///schemas/PEPAProfile/_HCgvMLXnEduQbrr1ndBC-A/7"
>>>>>> nsPrefix="PEPAProfile">
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s2zradEduYg9z0frhrGw" name="ActiveRate">
>>>>>> <eAnnotations xmi:id="_19s2z7adEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s20LadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s20badEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s20radEduYg9z0frhrGw" name="PassiveRate">
>>>>>> <eAnnotations xmi:id="_19s207adEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s21LadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s21badEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> </contents>
>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>> xmi:id="_19s21radEduYg9z0frhrGw" name="PEPAProfile"
>>>>>> nsURI="http:///schemas/PEPAProfile/_nY1ywLXmEduQbrr1ndBC-A/6"
>>>>>> nsPrefix="PEPAProfile">
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s217adEduYg9z0frhrGw" name="ActiveRate">
>>>>>> <eAnnotations xmi:id="_19s22LadEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s22badEduYg9z0frhrGw" name="value" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s22radEduYg9z0frhrGw" name="base_Behavior" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s227adEduYg9z0frhrGw" name="PassiveRate">
>>>>>> <eAnnotations xmi:id="_19s23LadEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s23badEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s23radEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>> xmi:id="_19s237adEduYg9z0frhrGw" name="UtilisationResult">
>>>>>> <eAnnotations xmi:id="_19s24LadEduYg9z0frhrGw"
>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"/>
>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>> xmi:id="_19s24badEduYg9z0frhrGw" name="value" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>> </eStructuralFeatures>
>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>> xmi:id="_19s24radEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>>> lowerBound="1">
>>>>>> <eType xmi:type="ecore:EClass"
>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>> </eStructuralFeatures>
>>>>>> </eClassifiers>
>>>>>> </contents>
>>>>>> <contents xmi:type="ecore:EPac
Re: Programmatic Navigation of a UML2 Model with Custom Profiles [message #588650 is a reply to message #470389] Tue, 13 February 2007 18:18 Go to previous message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
Mirco,

If you select 'Help > About Eclipse SDK', then press the 'Plug-in Details'
buton, do you see the UML2 plug-ins listed?

Kenn

"Mirco Tribastone" <mtribast@inf.ed.ac.uk> wrote in message
news:eqshm4$3s0$1@utils.eclipse.org...
> Hi Kenn,
>
> I did that, but it didn't work. I also installed a fresh version of
> Eclipse with EMF and UML2 only and tried to run the application from
> there, but that didn't work too. I did some more work on my code and I can
> confirm that my models are loaded and navigated successfully from a
> stand-alone application. What could I do next to solve my problem?
>
> Cheers,
> Mirco
>
>
> Kenn Hussey wrote:
>> Mirco,
>>
>> Try deleting the old features and plug-ins from your filesystem and
>> launching with the -clean option.
>>
>> Kenn
>>
>> "Mirco Tribastone" <mtribast@inf.ed.ac.uk> wrote in message
>> news:eqpss4$e5g$1@utils.eclipse.org...
>>> Kenn,
>>>
>>> Actually the platform log reports "Duplicate feature found" for
>>> UML2-related features. I am trying to figure out how to uninstall the
>>> previous versions; I have tried the Manage Configuration dialog. It
>>> shows the previous versions as disabled but the "Uninstall" menu item is
>>> not enabled. How can I solve this problem? (Sorry if this question is
>>> slightly out of topic...)
>>>
>>> Thanks again
>>> Mirco
>>>
>>> Kenn Hussey wrote:
>>>> Mirco,
>>>>
>>>> Do you have any problems with your Eclipse configuration? Did you
>>>> previously have an old version of UML2 installed? Are you seeing any
>>>> exceptions in the platform log?
>>>>
>>>> Kenn
>>>>
>>>> "Mirco Tribastone" <mtribast@inf.ed.ac.uk> wrote in message
>>>> news:eqhmk1$ipt$1@utils.eclipse.org...
>>>>> Hi Kenn,
>>>>>
>>>>> I had already checked that, and that was not the problem. The name of
>>>>> the resource is now PEPA.profile.uml. I think I made some progress in
>>>>> finding the problem. I load the model programmatically from a
>>>>> stand-alone application that I wrote by slightly modifying the
>>>>> UML2Article class downloaded from the Eclipse website. I load the
>>>>> model by using the same load(URI) method and registering the resource
>>>>> factories as follows:
>>>>>
>>>>> RESOURCE_SET.getPackageRegistry().put(UMLPackage.eNS_URI,
>>>>> UMLPackage.eINSTANCE);
>>>>> Map extensionToFactoryMap = RESOURCE_SET.getResourceFactoryRegistry()
>>>>> .getExtensionToFactoryMap();
>>>>> extensionToFactoryMap.put(UMLResource.FILE_EXTENSION,
>>>>> UMLResource.Factory.INSTANCE);
>>>>>
>>>>> The output of the programs gives me correct information about the
>>>>> applied stereotypes.
>>>>> The problem seems to persist though when the same code is launched
>>>>> from within an Eclipse instance. I initially thought that problem
>>>>> would be that the UML2Article uses different versions of the plug-ins;
>>>>> hence I created another stand-alone app with the same plug-in versions
>>>>> as my Eclipse configuration, but the model is navigated correctly also
>>>>> in this case.
>>>>>
>>>>> Do you have any idea why the code refuses to work in the Eclipse
>>>>> environment?
>>>>>
>>>>> Thanks for your precious help.
>>>>>
>>>>> Cheers,
>>>>> Mirco
>>>>>
>>>>> Kenn Hussey wrote:
>>>>>> Mirco,
>>>>>>
>>>>>> It sounds like the model is having a hard time finding the profile.
>>>>>> Incidentally, what is the name of the resource that contains the
>>>>>> profile? Based on the schemaLocation declaration in the model, it
>>>>>> looks as though the model is expecting it to be in a
>>>>>> 'PEPA.profile.uml.profile.uml' resource in the same folder as the
>>>>>> model...
>>>>>>
>>>>>> Kenn
>>>>>>
>>>>>> "Mirco" <mtribast@inf.ed.ac.uk> wrote in message
>>>>>> news:eqcjth$u0e$1@utils.eclipse.org...
>>>>>>> Hi all,
>>>>>>>
>>>>>>> I've been trying to navigate a UML2 Model to which a custom profile
>>>>>>> has
>>>>>>> been applied. I defined both the model and the profile by using
>>>>>>> Rational
>>>>>>> Software Architect 7.0.0. I exported the model into the .uml format
>>>>>>> and
>>>>>>> developed a plug-in which reads that file and shows information to
>>>>>>> the
>>>>>>> user. The plug-in runs on the Eclipse run-time workspace of RSA.
>>>>>>> The profile extends an Effect with a stereotype called ActiveRate
>>>>>>> which
>>>>>>> has a property (double) called 'value'. I use the following code for
>>>>>>> retrieving the information about the stereotypes applied to a
>>>>>>> transition's effect:
>>>>>>>
>>>>>>> /* t is an instance of Transition */
>>>>>>> Behavior behavior = t.getEffect();
>>>>>>> buf.append(" Effect: " + ((behavior == null) ?
>>>>>>> "None":behavior.getName())+ "\n");
>>>>>>> if (behavior != null) {
>>>>>>> for (int s = 0; s < behavior.getAppliedStereotypes().size();s++) {
>>>>>>> Stereotype aStereoType = (Stereotype)
>>>>>>> behavior.getAppliedStereotypes().get(s);
>>>>>>> buf.append(" Stereotype: " + aStereoType.getName()+ "\n");
>>>>>>> }
>>>>>>> }
>>>>>>>
>>>>>>> Although the name of the effect is shown correctly, the size of the
>>>>>>> applied stereotype list is 0. How can I use the API to discover if a
>>>>>>> Transition.getEffect() is applied a stereotype described in a custom
>>>>>>> profile?
>>>>>>>
>>>>>>> I attach the exported model and custom profile. (RSA uses UML2
>>>>>>> 2.0.2v200610251409)
>>>>>>>
>>>>>>> Thanks for your attention,
>>>>>>> Mirco
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> ------------------------------------------------------------ --------------------
>>>>>>
>>>>>>
>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>> <xmi:XMI xmi:version="2.1"
>>>>>>> xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
>>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>> xmlns:PEPAProfile="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13"
>>>>>>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
>>>>>>> xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> xsi:schemaLocation="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13
>>>>>>> PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw">
>>>>>>> <uml:Model xmi:id="_19s3j7adEduYg9z0frhrGw" name="FirstModel">
>>>>>>> <packageImport xmi:id="_19s3kLadEduYg9z0frhrGw">
>>>>>>> <importedPackage xmi:type="uml:Model"
>>>>>>> href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
>>>>>>> </packageImport>
>>>>>>> <packagedElement xmi:type="uml:StateMachine"
>>>>>>> xmi:id="_19s3kbadEduYg9z0frhrGw" name="StateMachine">
>>>>>>> <region xmi:id="_19s3kradEduYg9z0frhrGw" name="Region1">
>>>>>>> <subvertex xmi:type="uml:Pseudostate"
>>>>>>> xmi:id="_19s3k7adEduYg9z0frhrGw"
>>>>>>> outgoing="_19s3l7adEduYg9z0frhrGw"/>
>>>>>>> <subvertex xmi:type="uml:State"
>>>>>>> xmi:id="_19s3lLadEduYg9z0frhrGw" name="P1"
>>>>>>> outgoing="_19s3mLadEduYg9z0frhrGw"
>>>>>>> incoming="_19s3l7adEduYg9z0frhrGw"/>
>>>>>>> <subvertex xmi:type="uml:State"
>>>>>>> xmi:id="_19s3lbadEduYg9z0frhrGw" name="P2"
>>>>>>> outgoing="_19s3mradEduYg9z0frhrGw"
>>>>>>> incoming="_19s3mLadEduYg9z0frhrGw"/>
>>>>>>> <subvertex xmi:type="uml:FinalState"
>>>>>>> xmi:id="_19s3lradEduYg9z0frhrGw"
>>>>>>> incoming="_19s3mradEduYg9z0frhrGw"/>
>>>>>>> <transition xmi:id="_19s3l7adEduYg9z0frhrGw" kind="local"
>>>>>>> target="_19s3lLadEduYg9z0frhrGw" source="_19s3k7adEduYg9z0frhrGw"/>
>>>>>>> <transition xmi:id="_19s3mLadEduYg9z0frhrGw" name="a"
>>>>>>> kind="local" target="_19s3lbadEduYg9z0frhrGw"
>>>>>>> source="_19s3lLadEduYg9z0frhrGw">
>>>>>>> <effect xmi:type="uml:OpaqueBehavior"
>>>>>>> xmi:id="_19s3mbadEduYg9z0frhrGw" name="anEffect"/>
>>>>>>> </transition>
>>>>>>> <transition xmi:id="_19s3mradEduYg9z0frhrGw" kind="local"
>>>>>>> target="_19s3lradEduYg9z0frhrGw" source="_19s3lbadEduYg9z0frhrGw"/>
>>>>>>> </region>
>>>>>>> </packagedElement>
>>>>>>> <profileApplication xmi:id="_19s3m7adEduYg9z0frhrGw">
>>>>>>> <eAnnotations xmi:id="_19s3nLadEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>>> <references xmi:type="ecore:EPackage"
>>>>>>> href=" pathmap://UML_PROFILES/Standard.profile.uml#_yzU58YinEdqtvbn fB2L_5w"/>
>>>>>>> </eAnnotations>
>>>>>>> <appliedProfile
>>>>>>> href="pathmap://UML_PROFILES/Standard.profile.uml#_0"/>
>>>>>>> </profileApplication>
>>>>>>> <profileApplication xmi:id="_19s3nbadEduYg9z0frhrGw">
>>>>>>> <eAnnotations xmi:id="_19s3nradEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>>> <references xmi:type="ecore:EPackage"
>>>>>>> href="Default.profile.uml#_19s3KbadEduYg9z0frhrGw"/>
>>>>>>> </eAnnotations>
>>>>>>> <appliedProfile
>>>>>>> href="Default.profile.uml#_19s3J7adEduYg9z0frhrGw"/>
>>>>>>> </profileApplication>
>>>>>>> <profileApplication xmi:id="_19s3n7adEduYg9z0frhrGw">
>>>>>>> <eAnnotations xmi:id="_19s3oLadEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>>> <references xmi:type="ecore:EPackage"
>>>>>>> href="Deployment.profile.uml#_19s3pradEduYg9z0frhrGw"/>
>>>>>>> </eAnnotations>
>>>>>>> <appliedProfile
>>>>>>> href="Deployment.profile.uml#_19s3pLadEduYg9z0frhrGw"/>
>>>>>>> </profileApplication>
>>>>>>> <profileApplication xmi:id="_19s3obadEduYg9z0frhrGw">
>>>>>>> <eAnnotations xmi:id="_19s3oradEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>>> <references xmi:type="ecore:EPackage"
>>>>>>> href="PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw"/ >
>>>>>>> </eAnnotations>
>>>>>>> <appliedProfile
>>>>>>> href="PEPA.profile.uml.profile.uml#_19s2fLadEduYg9z0frhrGw"/ >
>>>>>>> </profileApplication>
>>>>>>> </uml:Model>
>>>>>>> <PEPAProfile:ActiveRate xmi:id="_19s3o7adEduYg9z0frhrGw"
>>>>>>> value="2.0" base_Behavior="_19s3mbadEduYg9z0frhrGw"/>
>>>>>>> </xmi:XMI>
>>>>>>>
>>>>>> ------------------------------------------------------------ --------------------
>>>>>>
>>>>>>
>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>> <uml:Profile xmi:version="2.1"
>>>>>>> xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
>>>>>>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
>>>>>>> xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> xmi:id="_19s2fLadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>> metamodelReference="_19s3FLadEduYg9z0frhrGw">
>>>>>>> <eAnnotations xmi:id="_19s2fbadEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>> xmi:id="_19s2fradEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>> nsURI="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13"
>>>>>>> nsPrefix="PEPAProfile">
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s2f7adEduYg9z0frhrGw" name="ActiveRate">
>>>>>>> <eAnnotations xmi:id="_19s2gLadEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s2gbadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s2gradEduYg9z0frhrGw" name="base_Behavior"
>>>>>>> ordered="false" lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s2g7adEduYg9z0frhrGw" name="PassiveRate">
>>>>>>> <eAnnotations xmi:id="_19s2hLadEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s2hbadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s2hradEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s2h7adEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>> <eAnnotations xmi:id="_19s2iLadEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s2ibadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s2iradEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> </contents>
>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>> xmi:id="_19s2i7adEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>> nsURI="http:///schemas/PEPAProfile/_PYPuQLXrEduQbrr1ndBC-A/12"
>>>>>>> nsPrefix="PEPAProfile">
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s2jLadEduYg9z0frhrGw" name="ActiveRate">
>>>>>>> <eAnnotations xmi:id="_19s2jbadEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s2jradEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s2j7adEduYg9z0frhrGw" name="base_Behavior"
>>>>>>> ordered="false" lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s2kLadEduYg9z0frhrGw" name="PassiveRate">
>>>>>>> <eAnnotations xmi:id="_19s2kbadEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s2kradEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s2k7adEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s2lLadEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>> <eAnnotations xmi:id="_19s2lbadEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s2lradEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s2l7adEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s2mLadEduYg9z0frhrGw" name="state" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> </contents>
>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>> xmi:id="_19s2mbadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>> nsURI="http:///schemas/PEPAProfile/_CQeHELXoEduQbrr1ndBC-A/11"
>>>>>>> nsPrefix="PEPAProfile">
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s2mradEduYg9z0frhrGw" name="ActiveRate">
>>>>>>> <eAnnotations xmi:id="_19s2m7adEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s2nLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s2nbadEduYg9z0frhrGw" name="base_Behavior"
>>>>>>> ordered="false" lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s2nradEduYg9z0frhrGw" name="PassiveRate">
>>>>>>> <eAnnotations xmi:id="_19s2n7adEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s2oLadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s2obadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s2oradEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>> <eAnnotations xmi:id="_19s2o7adEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s2pLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s2pbadEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> </contents>
>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>> xmi:id="_19s2pradEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>> nsURI="http:///schemas/PEPAProfile/_1FD1sLXnEduQbrr1ndBC-A/10"
>>>>>>> nsPrefix="PEPAProfile">
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s2p7adEduYg9z0frhrGw" name="ActiveRate">
>>>>>>> <eAnnotations xmi:id="_19s2qLadEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s2qbadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s2qradEduYg9z0frhrGw" name="base_Behavior"
>>>>>>> ordered="false" lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s2q7adEduYg9z0frhrGw" name="PassiveRate">
>>>>>>> <eAnnotations xmi:id="_19s2rLadEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s2rbadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s2rradEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s2r7adEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>> <eAnnotations xmi:id="_19s2sLadEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s2sbadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s2sradEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s2s7adEduYg9z0frhrGw" name="state" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> </contents>
>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>> xmi:id="_19s2tLadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>> nsURI="http:///schemas/PEPAProfile/_aAgqQLXnEduQbrr1ndBC-A/9"
>>>>>>> nsPrefix="PEPAProfile">
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s2tbadEduYg9z0frhrGw" name="ActiveRate">
>>>>>>> <eAnnotations xmi:id="_19s2tradEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s2t7adEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s2uLadEduYg9z0frhrGw" name="base_Behavior"
>>>>>>> ordered="false" lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s2ubadEduYg9z0frhrGw" name="PassiveRate">
>>>>>>> <eAnnotations xmi:id="_19s2uradEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s2u7adEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s2vLadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s2vbadEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>> <eAnnotations xmi:id="_19s2vradEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s2v7adEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s2wLadEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> </contents>
>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>> xmi:id="_19s2wbadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>> nsURI="http:///schemas/PEPAProfile/_XtISYLXnEduQbrr1ndBC-A/8"
>>>>>>> nsPrefix="PEPAProfile">
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s2wradEduYg9z0frhrGw" name="ActiveRate">
>>>>>>> <eAnnotations xmi:id="_19s2w7adEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s2xLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s2xbadEduYg9z0frhrGw" name="base_Behavior"
>>>>>>> ordered="false" lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s2xradEduYg9z0frhrGw" name="PassiveRate">
>>>>>>> <eAnnotations xmi:id="_19s2x7adEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s2yLadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s2ybadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s2yradEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>> <eAnnotations xmi:id="_19s2y7adEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s2zLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> </contents>
>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>> xmi:id="_19s2zbadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>> nsURI="http:///schemas/PEPAProfile/_HCgvMLXnEduQbrr1ndBC-A/7"
>>>>>>> nsPrefix="PEPAProfile">
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s2zradEduYg9z0frhrGw" name="ActiveRate">
>>>>>>> <eAnnotations xmi:id="_19s2z7adEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s20LadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s20badEduYg9z0frhrGw" name="base_Behavior"
>>>>>>> ordered="false" lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s20radEduYg9z0frhrGw" name="PassiveRate">
>>>>>>> <eAnnotations xmi:id="_19s207adEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s21LadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s21badEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> </contents>
>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>> xmi:id="_19s21radEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>> nsURI="http:///schemas/PEPAProfile/_nY1ywLXmEduQbrr1ndBC-A/6"
>>>>>>> nsPrefix="PEPAProfile">
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s217adEduYg9z0frhrGw" name="ActiveRate">
>>>>>>> <eAnnotations xmi:id="_19s22LadEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>> xmi:id="_19s22badEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>> lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>> xmi:id="_19s22radEduYg9z0frhrGw" name="base_Behavior"
>>>>>>> ordered="false" lowerBound="1">
>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>> </eStructuralFeatures>
>>>>>>> </eClassifiers>
>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>> xmi:id="_19s227adEduYg9z0frhrGw" name="PassiveRate">
>>>>>>> <eAnnotations xmi:id="_19s23LadEduYg9z0frhrGw"
>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute&
Re: Programmatic Navigation of a UML2 Model with Custom Profiles [message #588702 is a reply to message #470400] Wed, 14 February 2007 09:27 Go to previous message
Eclipse UserFriend
Originally posted by: mtribast.inf.ed.ac.uk

Hi Kenn,

I have the following plug-in ids:

org.eclipse.uml2
..common
..common.edit
..doc
..codegen.ecore.ui
..codegen.ecore
..examples
..examples.sources
..source
..edit
..editor
..ecore.importer
..ecore.exporter
..uml
..uml.resources

They're all x.x.x.v200610251409

Thanks again

Mirco

Kenn Hussey wrote:
> Mirco,
>
> If you select 'Help > About Eclipse SDK', then press the 'Plug-in Details'
> buton, do you see the UML2 plug-ins listed?
>
> Kenn
>
> "Mirco Tribastone" <mtribast@inf.ed.ac.uk> wrote in message
> news:eqshm4$3s0$1@utils.eclipse.org...
>> Hi Kenn,
>>
>> I did that, but it didn't work. I also installed a fresh version of
>> Eclipse with EMF and UML2 only and tried to run the application from
>> there, but that didn't work too. I did some more work on my code and I can
>> confirm that my models are loaded and navigated successfully from a
>> stand-alone application. What could I do next to solve my problem?
>>
>> Cheers,
>> Mirco
>>
>>
>> Kenn Hussey wrote:
>>> Mirco,
>>>
>>> Try deleting the old features and plug-ins from your filesystem and
>>> launching with the -clean option.
>>>
>>> Kenn
>>>
>>> "Mirco Tribastone" <mtribast@inf.ed.ac.uk> wrote in message
>>> news:eqpss4$e5g$1@utils.eclipse.org...
>>>> Kenn,
>>>>
>>>> Actually the platform log reports "Duplicate feature found" for
>>>> UML2-related features. I am trying to figure out how to uninstall the
>>>> previous versions; I have tried the Manage Configuration dialog. It
>>>> shows the previous versions as disabled but the "Uninstall" menu item is
>>>> not enabled. How can I solve this problem? (Sorry if this question is
>>>> slightly out of topic...)
>>>>
>>>> Thanks again
>>>> Mirco
>>>>
>>>> Kenn Hussey wrote:
>>>>> Mirco,
>>>>>
>>>>> Do you have any problems with your Eclipse configuration? Did you
>>>>> previously have an old version of UML2 installed? Are you seeing any
>>>>> exceptions in the platform log?
>>>>>
>>>>> Kenn
>>>>>
>>>>> "Mirco Tribastone" <mtribast@inf.ed.ac.uk> wrote in message
>>>>> news:eqhmk1$ipt$1@utils.eclipse.org...
>>>>>> Hi Kenn,
>>>>>>
>>>>>> I had already checked that, and that was not the problem. The name of
>>>>>> the resource is now PEPA.profile.uml. I think I made some progress in
>>>>>> finding the problem. I load the model programmatically from a
>>>>>> stand-alone application that I wrote by slightly modifying the
>>>>>> UML2Article class downloaded from the Eclipse website. I load the
>>>>>> model by using the same load(URI) method and registering the resource
>>>>>> factories as follows:
>>>>>>
>>>>>> RESOURCE_SET.getPackageRegistry().put(UMLPackage.eNS_URI,
>>>>>> UMLPackage.eINSTANCE);
>>>>>> Map extensionToFactoryMap = RESOURCE_SET.getResourceFactoryRegistry()
>>>>>> .getExtensionToFactoryMap();
>>>>>> extensionToFactoryMap.put(UMLResource.FILE_EXTENSION,
>>>>>> UMLResource.Factory.INSTANCE);
>>>>>>
>>>>>> The output of the programs gives me correct information about the
>>>>>> applied stereotypes.
>>>>>> The problem seems to persist though when the same code is launched
>>>>>> from within an Eclipse instance. I initially thought that problem
>>>>>> would be that the UML2Article uses different versions of the plug-ins;
>>>>>> hence I created another stand-alone app with the same plug-in versions
>>>>>> as my Eclipse configuration, but the model is navigated correctly also
>>>>>> in this case.
>>>>>>
>>>>>> Do you have any idea why the code refuses to work in the Eclipse
>>>>>> environment?
>>>>>>
>>>>>> Thanks for your precious help.
>>>>>>
>>>>>> Cheers,
>>>>>> Mirco
>>>>>>
>>>>>> Kenn Hussey wrote:
>>>>>>> Mirco,
>>>>>>>
>>>>>>> It sounds like the model is having a hard time finding the profile.
>>>>>>> Incidentally, what is the name of the resource that contains the
>>>>>>> profile? Based on the schemaLocation declaration in the model, it
>>>>>>> looks as though the model is expecting it to be in a
>>>>>>> 'PEPA.profile.uml.profile.uml' resource in the same folder as the
>>>>>>> model...
>>>>>>>
>>>>>>> Kenn
>>>>>>>
>>>>>>> "Mirco" <mtribast@inf.ed.ac.uk> wrote in message
>>>>>>> news:eqcjth$u0e$1@utils.eclipse.org...
>>>>>>>> Hi all,
>>>>>>>>
>>>>>>>> I've been trying to navigate a UML2 Model to which a custom profile
>>>>>>>> has
>>>>>>>> been applied. I defined both the model and the profile by using
>>>>>>>> Rational
>>>>>>>> Software Architect 7.0.0. I exported the model into the .uml format
>>>>>>>> and
>>>>>>>> developed a plug-in which reads that file and shows information to
>>>>>>>> the
>>>>>>>> user. The plug-in runs on the Eclipse run-time workspace of RSA.
>>>>>>>> The profile extends an Effect with a stereotype called ActiveRate
>>>>>>>> which
>>>>>>>> has a property (double) called 'value'. I use the following code for
>>>>>>>> retrieving the information about the stereotypes applied to a
>>>>>>>> transition's effect:
>>>>>>>>
>>>>>>>> /* t is an instance of Transition */
>>>>>>>> Behavior behavior = t.getEffect();
>>>>>>>> buf.append(" Effect: " + ((behavior == null) ?
>>>>>>>> "None":behavior.getName())+ "\n");
>>>>>>>> if (behavior != null) {
>>>>>>>> for (int s = 0; s < behavior.getAppliedStereotypes().size();s++) {
>>>>>>>> Stereotype aStereoType = (Stereotype)
>>>>>>>> behavior.getAppliedStereotypes().get(s);
>>>>>>>> buf.append(" Stereotype: " + aStereoType.getName()+ "\n");
>>>>>>>> }
>>>>>>>> }
>>>>>>>>
>>>>>>>> Although the name of the effect is shown correctly, the size of the
>>>>>>>> applied stereotype list is 0. How can I use the API to discover if a
>>>>>>>> Transition.getEffect() is applied a stereotype described in a custom
>>>>>>>> profile?
>>>>>>>>
>>>>>>>> I attach the exported model and custom profile. (RSA uses UML2
>>>>>>>> 2.0.2v200610251409)
>>>>>>>>
>>>>>>>> Thanks for your attention,
>>>>>>>> Mirco
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>> ------------------------------------------------------------ --------------------
>>>>>>>
>>>>>>>
>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>> <xmi:XMI xmi:version="2.1"
>>>>>>>> xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
>>>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>> xmlns:PEPAProfile="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13"
>>>>>>>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
>>>>>>>> xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> xsi:schemaLocation="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13
>>>>>>>> PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw">
>>>>>>>> <uml:Model xmi:id="_19s3j7adEduYg9z0frhrGw" name="FirstModel">
>>>>>>>> <packageImport xmi:id="_19s3kLadEduYg9z0frhrGw">
>>>>>>>> <importedPackage xmi:type="uml:Model"
>>>>>>>> href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
>>>>>>>> </packageImport>
>>>>>>>> <packagedElement xmi:type="uml:StateMachine"
>>>>>>>> xmi:id="_19s3kbadEduYg9z0frhrGw" name="StateMachine">
>>>>>>>> <region xmi:id="_19s3kradEduYg9z0frhrGw" name="Region1">
>>>>>>>> <subvertex xmi:type="uml:Pseudostate"
>>>>>>>> xmi:id="_19s3k7adEduYg9z0frhrGw"
>>>>>>>> outgoing="_19s3l7adEduYg9z0frhrGw"/>
>>>>>>>> <subvertex xmi:type="uml:State"
>>>>>>>> xmi:id="_19s3lLadEduYg9z0frhrGw" name="P1"
>>>>>>>> outgoing="_19s3mLadEduYg9z0frhrGw"
>>>>>>>> incoming="_19s3l7adEduYg9z0frhrGw"/>
>>>>>>>> <subvertex xmi:type="uml:State"
>>>>>>>> xmi:id="_19s3lbadEduYg9z0frhrGw" name="P2"
>>>>>>>> outgoing="_19s3mradEduYg9z0frhrGw"
>>>>>>>> incoming="_19s3mLadEduYg9z0frhrGw"/>
>>>>>>>> <subvertex xmi:type="uml:FinalState"
>>>>>>>> xmi:id="_19s3lradEduYg9z0frhrGw"
>>>>>>>> incoming="_19s3mradEduYg9z0frhrGw"/>
>>>>>>>> <transition xmi:id="_19s3l7adEduYg9z0frhrGw" kind="local"
>>>>>>>> target="_19s3lLadEduYg9z0frhrGw" source="_19s3k7adEduYg9z0frhrGw"/>
>>>>>>>> <transition xmi:id="_19s3mLadEduYg9z0frhrGw" name="a"
>>>>>>>> kind="local" target="_19s3lbadEduYg9z0frhrGw"
>>>>>>>> source="_19s3lLadEduYg9z0frhrGw">
>>>>>>>> <effect xmi:type="uml:OpaqueBehavior"
>>>>>>>> xmi:id="_19s3mbadEduYg9z0frhrGw" name="anEffect"/>
>>>>>>>> </transition>
>>>>>>>> <transition xmi:id="_19s3mradEduYg9z0frhrGw" kind="local"
>>>>>>>> target="_19s3lradEduYg9z0frhrGw" source="_19s3lbadEduYg9z0frhrGw"/>
>>>>>>>> </region>
>>>>>>>> </packagedElement>
>>>>>>>> <profileApplication xmi:id="_19s3m7adEduYg9z0frhrGw">
>>>>>>>> <eAnnotations xmi:id="_19s3nLadEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>>>> <references xmi:type="ecore:EPackage"
>>>>>>>> href=" pathmap://UML_PROFILES/Standard.profile.uml#_yzU58YinEdqtvbn fB2L_5w"/>
>>>>>>>> </eAnnotations>
>>>>>>>> <appliedProfile
>>>>>>>> href="pathmap://UML_PROFILES/Standard.profile.uml#_0"/>
>>>>>>>> </profileApplication>
>>>>>>>> <profileApplication xmi:id="_19s3nbadEduYg9z0frhrGw">
>>>>>>>> <eAnnotations xmi:id="_19s3nradEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>>>> <references xmi:type="ecore:EPackage"
>>>>>>>> href="Default.profile.uml#_19s3KbadEduYg9z0frhrGw"/>
>>>>>>>> </eAnnotations>
>>>>>>>> <appliedProfile
>>>>>>>> href="Default.profile.uml#_19s3J7adEduYg9z0frhrGw"/>
>>>>>>>> </profileApplication>
>>>>>>>> <profileApplication xmi:id="_19s3n7adEduYg9z0frhrGw">
>>>>>>>> <eAnnotations xmi:id="_19s3oLadEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>>>> <references xmi:type="ecore:EPackage"
>>>>>>>> href="Deployment.profile.uml#_19s3pradEduYg9z0frhrGw"/>
>>>>>>>> </eAnnotations>
>>>>>>>> <appliedProfile
>>>>>>>> href="Deployment.profile.uml#_19s3pLadEduYg9z0frhrGw"/>
>>>>>>>> </profileApplication>
>>>>>>>> <profileApplication xmi:id="_19s3obadEduYg9z0frhrGw">
>>>>>>>> <eAnnotations xmi:id="_19s3oradEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>>>> <references xmi:type="ecore:EPackage"
>>>>>>>> href="PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw"/ >
>>>>>>>> </eAnnotations>
>>>>>>>> <appliedProfile
>>>>>>>> href="PEPA.profile.uml.profile.uml#_19s2fLadEduYg9z0frhrGw"/ >
>>>>>>>> </profileApplication>
>>>>>>>> </uml:Model>
>>>>>>>> <PEPAProfile:ActiveRate xmi:id="_19s3o7adEduYg9z0frhrGw"
>>>>>>>> value="2.0" base_Behavior="_19s3mbadEduYg9z0frhrGw"/>
>>>>>>>> </xmi:XMI>
>>>>>>>>
>>>>>>> ------------------------------------------------------------ --------------------
>>>>>>>
>>>>>>>
>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>> <uml:Profile xmi:version="2.1"
>>>>>>>> xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
>>>>>>>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
>>>>>>>> xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> xmi:id="_19s2fLadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>> metamodelReference="_19s3FLadEduYg9z0frhrGw">
>>>>>>>> <eAnnotations xmi:id="_19s2fbadEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>>> xmi:id="_19s2fradEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>> nsURI="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13"
>>>>>>>> nsPrefix="PEPAProfile">
>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>> xmi:id="_19s2f7adEduYg9z0frhrGw" name="ActiveRate">
>>>>>>>> <eAnnotations xmi:id="_19s2gLadEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>> xmi:id="_19s2gbadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s2gradEduYg9z0frhrGw" name="base_Behavior"
>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> </eClassifiers>
>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>> xmi:id="_19s2g7adEduYg9z0frhrGw" name="PassiveRate">
>>>>>>>> <eAnnotations xmi:id="_19s2hLadEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>> xmi:id="_19s2hbadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s2hradEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> </eClassifiers>
>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>> xmi:id="_19s2h7adEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>>> <eAnnotations xmi:id="_19s2iLadEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>> xmi:id="_19s2ibadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s2iradEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> </eClassifiers>
>>>>>>>> </contents>
>>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>>> xmi:id="_19s2i7adEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>> nsURI="http:///schemas/PEPAProfile/_PYPuQLXrEduQbrr1ndBC-A/12"
>>>>>>>> nsPrefix="PEPAProfile">
>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>> xmi:id="_19s2jLadEduYg9z0frhrGw" name="ActiveRate">
>>>>>>>> <eAnnotations xmi:id="_19s2jbadEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>> xmi:id="_19s2jradEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s2j7adEduYg9z0frhrGw" name="base_Behavior"
>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> </eClassifiers>
>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>> xmi:id="_19s2kLadEduYg9z0frhrGw" name="PassiveRate">
>>>>>>>> <eAnnotations xmi:id="_19s2kbadEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>> xmi:id="_19s2kradEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s2k7adEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> </eClassifiers>
>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>> xmi:id="_19s2lLadEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>>> <eAnnotations xmi:id="_19s2lbadEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>> xmi:id="_19s2lradEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s2l7adEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s2mLadEduYg9z0frhrGw" name="state" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> </eClassifiers>
>>>>>>>> </contents>
>>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>>> xmi:id="_19s2mbadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>> nsURI="http:///schemas/PEPAProfile/_CQeHELXoEduQbrr1ndBC-A/11"
>>>>>>>> nsPrefix="PEPAProfile">
>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>> xmi:id="_19s2mradEduYg9z0frhrGw" name="ActiveRate">
>>>>>>>> <eAnnotations xmi:id="_19s2m7adEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>> xmi:id="_19s2nLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s2nbadEduYg9z0frhrGw" name="base_Behavior"
>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> </eClassifiers>
>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>> xmi:id="_19s2nradEduYg9z0frhrGw" name="PassiveRate">
>>>>>>>> <eAnnotations xmi:id="_19s2n7adEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>> xmi:id="_19s2oLadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s2obadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> </eClassifiers>
>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>> xmi:id="_19s2oradEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>>> <eAnnotations xmi:id="_19s2o7adEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>> xmi:id="_19s2pLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s2pbadEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> </eClassifiers>
>>>>>>>> </contents>
>>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>>> xmi:id="_19s2pradEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>> nsURI="http:///schemas/PEPAProfile/_1FD1sLXnEduQbrr1ndBC-A/10"
>>>>>>>> nsPrefix="PEPAProfile">
>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>> xmi:id="_19s2p7adEduYg9z0frhrGw" name="ActiveRate">
>>>>>>>> <eAnnotations xmi:id="_19s2qLadEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>> xmi:id="_19s2qbadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s2qradEduYg9z0frhrGw" name="base_Behavior"
>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> </eClassifiers>
>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>> xmi:id="_19s2q7adEduYg9z0frhrGw" name="PassiveRate">
>>>>>>>> <eAnnotations xmi:id="_19s2rLadEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>> xmi:id="_19s2rbadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s2rradEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> </eClassifiers>
>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>> xmi:id="_19s2r7adEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>>> <eAnnotations xmi:id="_19s2sLadEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>> xmi:id="_19s2sbadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s2sradEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s2s7adEduYg9z0frhrGw" name="state" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> </eClassifiers>
>>>>>>>> </contents>
>>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>>> xmi:id="_19s2tLadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>> nsURI="http:///schemas/PEPAProfile/_aAgqQLXnEduQbrr1ndBC-A/9"
>>>>>>>> nsPrefix="PEPAProfile">
>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>> xmi:id="_19s2tbadEduYg9z0frhrGw" name="ActiveRate">
>>>>>>>> <eAnnotations xmi:id="_19s2tradEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>> xmi:id="_19s2t7adEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s2uLadEduYg9z0frhrGw" name="base_Behavior"
>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> </eClassifiers>
>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>> xmi:id="_19s2ubadEduYg9z0frhrGw" name="PassiveRate">
>>>>>>>> <eAnnotations xmi:id="_19s2uradEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>> xmi:id="_19s2u7adEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s2vLadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> </eClassifiers>
>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>> xmi:id="_19s2vbadEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>>> <eAnnotations xmi:id="_19s2vradEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>> xmi:id="_19s2v7adEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s2wLadEduYg9z0frhrGw" name="base_Comment" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> </eClassifiers>
>>>>>>>> </contents>
>>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>>> xmi:id="_19s2wbadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>> nsURI="http:///schemas/PEPAProfile/_XtISYLXnEduQbrr1ndBC-A/8"
>>>>>>>> nsPrefix="PEPAProfile">
>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>> xmi:id="_19s2wradEduYg9z0frhrGw" name="ActiveRate">
>>>>>>>> <eAnnotations xmi:id="_19s2w7adEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>> xmi:id="_19s2xLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s2xbadEduYg9z0frhrGw" name="base_Behavior"
>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> </eClassifiers>
>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>> xmi:id="_19s2xradEduYg9z0frhrGw" name="PassiveRate">
>>>>>>>> <eAnnotations xmi:id="_19s2x7adEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>> xmi:id="_19s2yLadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s2ybadEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> </eClassifiers>
>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>> xmi:id="_19s2yradEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>>> <eAnnotations xmi:id="_19s2y7adEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>> xmi:id="_19s2zLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> </eClassifiers>
>>>>>>>> </contents>
>>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>>> xmi:id="_19s2zbadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>> nsURI="http:///schemas/PEPAProfile/_HCgvMLXnEduQbrr1ndBC-A/7"
>>>>>>>> nsPrefix="PEPAProfile">
>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>> xmi:id="_19s2zradEduYg9z0frhrGw" name="ActiveRate">
>>>>>>>> <eAnnotations xmi:id="_19s2z7adEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>> xmi:id="_19s20LadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s20badEduYg9z0frhrGw" name="base_Behavior"
>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> </eClassifiers>
>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>> xmi:id="_19s20radEduYg9z0frhrGw" name="PassiveRate">
>>>>>>>> <eAnnotations xmi:id="_19s207adEduYg9z0frhrGw"
>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>> xmi:id="_19s21LadEduYg9z0frhrGw" name="multiplicity" ordered="false"
>>>>>>>> lowerBound="1" defaultValueLiteral="1">
>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>>> </eStructuralFeatures>
>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>> xmi:id="_19s21badEduYg9z0frhrGw" name="base_Trigger" ordered="false"
>>>>>>>> lowerBound="1">
>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>>> </eStructuralFeatures>
>>
Re: Programmatic Navigation of a UML2 Model with Custom Profiles [message #588767 is a reply to message #470411] Wed, 14 February 2007 14:34 Go to previous message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
Mirco,

The only thing I can suggest at this point is to send us a sample program
(and associated models) that demonstrate the problem so that we can take a
closer look...

Kenn

"Mirco Tribastone" <mtribast@inf.ed.ac.uk> wrote in message
news:equl03$rk9$1@utils.eclipse.org...
> Hi Kenn,
>
> I have the following plug-in ids:
>
> org.eclipse.uml2
> .common
> .common.edit
> .doc
> .codegen.ecore.ui
> .codegen.ecore
> .examples
> .examples.sources
> .source
> .edit
> .editor
> .ecore.importer
> .ecore.exporter
> .uml
> .uml.resources
>
> They're all x.x.x.v200610251409
>
> Thanks again
>
> Mirco
>
> Kenn Hussey wrote:
>> Mirco,
>>
>> If you select 'Help > About Eclipse SDK', then press the 'Plug-in
>> Details' buton, do you see the UML2 plug-ins listed?
>>
>> Kenn
>>
>> "Mirco Tribastone" <mtribast@inf.ed.ac.uk> wrote in message
>> news:eqshm4$3s0$1@utils.eclipse.org...
>>> Hi Kenn,
>>>
>>> I did that, but it didn't work. I also installed a fresh version of
>>> Eclipse with EMF and UML2 only and tried to run the application from
>>> there, but that didn't work too. I did some more work on my code and I
>>> can confirm that my models are loaded and navigated successfully from a
>>> stand-alone application. What could I do next to solve my problem?
>>>
>>> Cheers,
>>> Mirco
>>>
>>>
>>> Kenn Hussey wrote:
>>>> Mirco,
>>>>
>>>> Try deleting the old features and plug-ins from your filesystem and
>>>> launching with the -clean option.
>>>>
>>>> Kenn
>>>>
>>>> "Mirco Tribastone" <mtribast@inf.ed.ac.uk> wrote in message
>>>> news:eqpss4$e5g$1@utils.eclipse.org...
>>>>> Kenn,
>>>>>
>>>>> Actually the platform log reports "Duplicate feature found" for
>>>>> UML2-related features. I am trying to figure out how to uninstall the
>>>>> previous versions; I have tried the Manage Configuration dialog. It
>>>>> shows the previous versions as disabled but the "Uninstall" menu item
>>>>> is not enabled. How can I solve this problem? (Sorry if this question
>>>>> is slightly out of topic...)
>>>>>
>>>>> Thanks again
>>>>> Mirco
>>>>>
>>>>> Kenn Hussey wrote:
>>>>>> Mirco,
>>>>>>
>>>>>> Do you have any problems with your Eclipse configuration? Did you
>>>>>> previously have an old version of UML2 installed? Are you seeing any
>>>>>> exceptions in the platform log?
>>>>>>
>>>>>> Kenn
>>>>>>
>>>>>> "Mirco Tribastone" <mtribast@inf.ed.ac.uk> wrote in message
>>>>>> news:eqhmk1$ipt$1@utils.eclipse.org...
>>>>>>> Hi Kenn,
>>>>>>>
>>>>>>> I had already checked that, and that was not the problem. The name
>>>>>>> of the resource is now PEPA.profile.uml. I think I made some
>>>>>>> progress in finding the problem. I load the model programmatically
>>>>>>> from a stand-alone application that I wrote by slightly modifying
>>>>>>> the UML2Article class downloaded from the Eclipse website. I load
>>>>>>> the model by using the same load(URI) method and registering the
>>>>>>> resource factories as follows:
>>>>>>>
>>>>>>> RESOURCE_SET.getPackageRegistry().put(UMLPackage.eNS_URI,
>>>>>>> UMLPackage.eINSTANCE);
>>>>>>> Map extensionToFactoryMap =
>>>>>>> RESOURCE_SET.getResourceFactoryRegistry()
>>>>>>> .getExtensionToFactoryMap();
>>>>>>> extensionToFactoryMap.put(UMLResource.FILE_EXTENSION,
>>>>>>> UMLResource.Factory.INSTANCE);
>>>>>>>
>>>>>>> The output of the programs gives me correct information about the
>>>>>>> applied stereotypes.
>>>>>>> The problem seems to persist though when the same code is launched
>>>>>>> from within an Eclipse instance. I initially thought that problem
>>>>>>> would be that the UML2Article uses different versions of the
>>>>>>> plug-ins; hence I created another stand-alone app with the same
>>>>>>> plug-in versions as my Eclipse configuration, but the model is
>>>>>>> navigated correctly also in this case.
>>>>>>>
>>>>>>> Do you have any idea why the code refuses to work in the Eclipse
>>>>>>> environment?
>>>>>>>
>>>>>>> Thanks for your precious help.
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Mirco
>>>>>>>
>>>>>>> Kenn Hussey wrote:
>>>>>>>> Mirco,
>>>>>>>>
>>>>>>>> It sounds like the model is having a hard time finding the profile.
>>>>>>>> Incidentally, what is the name of the resource that contains the
>>>>>>>> profile? Based on the schemaLocation declaration in the model, it
>>>>>>>> looks as though the model is expecting it to be in a
>>>>>>>> 'PEPA.profile.uml.profile.uml' resource in the same folder as the
>>>>>>>> model...
>>>>>>>>
>>>>>>>> Kenn
>>>>>>>>
>>>>>>>> "Mirco" <mtribast@inf.ed.ac.uk> wrote in message
>>>>>>>> news:eqcjth$u0e$1@utils.eclipse.org...
>>>>>>>>> Hi all,
>>>>>>>>>
>>>>>>>>> I've been trying to navigate a UML2 Model to which a custom
>>>>>>>>> profile has
>>>>>>>>> been applied. I defined both the model and the profile by using
>>>>>>>>> Rational
>>>>>>>>> Software Architect 7.0.0. I exported the model into the .uml
>>>>>>>>> format and
>>>>>>>>> developed a plug-in which reads that file and shows information to
>>>>>>>>> the
>>>>>>>>> user. The plug-in runs on the Eclipse run-time workspace of RSA.
>>>>>>>>> The profile extends an Effect with a stereotype called ActiveRate
>>>>>>>>> which
>>>>>>>>> has a property (double) called 'value'. I use the following code
>>>>>>>>> for
>>>>>>>>> retrieving the information about the stereotypes applied to a
>>>>>>>>> transition's effect:
>>>>>>>>>
>>>>>>>>> /* t is an instance of Transition */
>>>>>>>>> Behavior behavior = t.getEffect();
>>>>>>>>> buf.append(" Effect: " + ((behavior == null) ?
>>>>>>>>> "None":behavior.getName())+ "\n");
>>>>>>>>> if (behavior != null) {
>>>>>>>>> for (int s = 0; s < behavior.getAppliedStereotypes().size();s++) {
>>>>>>>>> Stereotype aStereoType = (Stereotype)
>>>>>>>>> behavior.getAppliedStereotypes().get(s);
>>>>>>>>> buf.append(" Stereotype: " + aStereoType.getName()+ "\n");
>>>>>>>>> }
>>>>>>>>> }
>>>>>>>>>
>>>>>>>>> Although the name of the effect is shown correctly, the size of
>>>>>>>>> the
>>>>>>>>> applied stereotype list is 0. How can I use the API to discover if
>>>>>>>>> a
>>>>>>>>> Transition.getEffect() is applied a stereotype described in a
>>>>>>>>> custom
>>>>>>>>> profile?
>>>>>>>>>
>>>>>>>>> I attach the exported model and custom profile. (RSA uses UML2
>>>>>>>>> 2.0.2v200610251409)
>>>>>>>>>
>>>>>>>>> Thanks for your attention,
>>>>>>>>> Mirco
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>> ------------------------------------------------------------ --------------------
>>>>>>>>
>>>>>>>>
>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>>> <xmi:XMI xmi:version="2.1"
>>>>>>>>> xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
>>>>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>>> xmlns:PEPAProfile="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13"
>>>>>>>>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
>>>>>>>>> xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> xsi:schemaLocation="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13
>>>>>>>>> PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw">
>>>>>>>>> <uml:Model xmi:id="_19s3j7adEduYg9z0frhrGw" name="FirstModel">
>>>>>>>>> <packageImport xmi:id="_19s3kLadEduYg9z0frhrGw">
>>>>>>>>> <importedPackage xmi:type="uml:Model"
>>>>>>>>> href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
>>>>>>>>> </packageImport>
>>>>>>>>> <packagedElement xmi:type="uml:StateMachine"
>>>>>>>>> xmi:id="_19s3kbadEduYg9z0frhrGw" name="StateMachine">
>>>>>>>>> <region xmi:id="_19s3kradEduYg9z0frhrGw" name="Region1">
>>>>>>>>> <subvertex xmi:type="uml:Pseudostate"
>>>>>>>>> xmi:id="_19s3k7adEduYg9z0frhrGw"
>>>>>>>>> outgoing="_19s3l7adEduYg9z0frhrGw"/>
>>>>>>>>> <subvertex xmi:type="uml:State"
>>>>>>>>> xmi:id="_19s3lLadEduYg9z0frhrGw" name="P1"
>>>>>>>>> outgoing="_19s3mLadEduYg9z0frhrGw"
>>>>>>>>> incoming="_19s3l7adEduYg9z0frhrGw"/>
>>>>>>>>> <subvertex xmi:type="uml:State"
>>>>>>>>> xmi:id="_19s3lbadEduYg9z0frhrGw" name="P2"
>>>>>>>>> outgoing="_19s3mradEduYg9z0frhrGw"
>>>>>>>>> incoming="_19s3mLadEduYg9z0frhrGw"/>
>>>>>>>>> <subvertex xmi:type="uml:FinalState"
>>>>>>>>> xmi:id="_19s3lradEduYg9z0frhrGw"
>>>>>>>>> incoming="_19s3mradEduYg9z0frhrGw"/>
>>>>>>>>> <transition xmi:id="_19s3l7adEduYg9z0frhrGw" kind="local"
>>>>>>>>> target="_19s3lLadEduYg9z0frhrGw"
>>>>>>>>> source="_19s3k7adEduYg9z0frhrGw"/>
>>>>>>>>> <transition xmi:id="_19s3mLadEduYg9z0frhrGw" name="a"
>>>>>>>>> kind="local" target="_19s3lbadEduYg9z0frhrGw"
>>>>>>>>> source="_19s3lLadEduYg9z0frhrGw">
>>>>>>>>> <effect xmi:type="uml:OpaqueBehavior"
>>>>>>>>> xmi:id="_19s3mbadEduYg9z0frhrGw" name="anEffect"/>
>>>>>>>>> </transition>
>>>>>>>>> <transition xmi:id="_19s3mradEduYg9z0frhrGw" kind="local"
>>>>>>>>> target="_19s3lradEduYg9z0frhrGw"
>>>>>>>>> source="_19s3lbadEduYg9z0frhrGw"/>
>>>>>>>>> </region>
>>>>>>>>> </packagedElement>
>>>>>>>>> <profileApplication xmi:id="_19s3m7adEduYg9z0frhrGw">
>>>>>>>>> <eAnnotations xmi:id="_19s3nLadEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>>>>> <references xmi:type="ecore:EPackage"
>>>>>>>>> href=" pathmap://UML_PROFILES/Standard.profile.uml#_yzU58YinEdqtvbn fB2L_5w"/>
>>>>>>>>> </eAnnotations>
>>>>>>>>> <appliedProfile
>>>>>>>>> href="pathmap://UML_PROFILES/Standard.profile.uml#_0"/>
>>>>>>>>> </profileApplication>
>>>>>>>>> <profileApplication xmi:id="_19s3nbadEduYg9z0frhrGw">
>>>>>>>>> <eAnnotations xmi:id="_19s3nradEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>>>>> <references xmi:type="ecore:EPackage"
>>>>>>>>> href="Default.profile.uml#_19s3KbadEduYg9z0frhrGw"/>
>>>>>>>>> </eAnnotations>
>>>>>>>>> <appliedProfile
>>>>>>>>> href="Default.profile.uml#_19s3J7adEduYg9z0frhrGw"/>
>>>>>>>>> </profileApplication>
>>>>>>>>> <profileApplication xmi:id="_19s3n7adEduYg9z0frhrGw">
>>>>>>>>> <eAnnotations xmi:id="_19s3oLadEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>>>>> <references xmi:type="ecore:EPackage"
>>>>>>>>> href="Deployment.profile.uml#_19s3pradEduYg9z0frhrGw"/>
>>>>>>>>> </eAnnotations>
>>>>>>>>> <appliedProfile
>>>>>>>>> href="Deployment.profile.uml#_19s3pLadEduYg9z0frhrGw"/>
>>>>>>>>> </profileApplication>
>>>>>>>>> <profileApplication xmi:id="_19s3obadEduYg9z0frhrGw">
>>>>>>>>> <eAnnotations xmi:id="_19s3oradEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>>>>> <references xmi:type="ecore:EPackage"
>>>>>>>>> href="PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw"/ >
>>>>>>>>> </eAnnotations>
>>>>>>>>> <appliedProfile
>>>>>>>>> href="PEPA.profile.uml.profile.uml#_19s2fLadEduYg9z0frhrGw"/ >
>>>>>>>>> </profileApplication>
>>>>>>>>> </uml:Model>
>>>>>>>>> <PEPAProfile:ActiveRate xmi:id="_19s3o7adEduYg9z0frhrGw"
>>>>>>>>> value="2.0" base_Behavior="_19s3mbadEduYg9z0frhrGw"/>
>>>>>>>>> </xmi:XMI>
>>>>>>>>>
>>>>>>>> ------------------------------------------------------------ --------------------
>>>>>>>>
>>>>>>>>
>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>>> <uml:Profile xmi:version="2.1"
>>>>>>>>> xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
>>>>>>>>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
>>>>>>>>> xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> xmi:id="_19s2fLadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>>> metamodelReference="_19s3FLadEduYg9z0frhrGw">
>>>>>>>>> <eAnnotations xmi:id="_19s2fbadEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>>>> xmi:id="_19s2fradEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>>> nsURI="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13"
>>>>>>>>> nsPrefix="PEPAProfile">
>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>> xmi:id="_19s2f7adEduYg9z0frhrGw" name="ActiveRate">
>>>>>>>>> <eAnnotations xmi:id="_19s2gLadEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>> xmi:id="_19s2gbadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>> lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>> xmi:id="_19s2gradEduYg9z0frhrGw" name="base_Behavior"
>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> </eClassifiers>
>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>> xmi:id="_19s2g7adEduYg9z0frhrGw" name="PassiveRate">
>>>>>>>>> <eAnnotations xmi:id="_19s2hLadEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>> xmi:id="_19s2hbadEduYg9z0frhrGw" name="multiplicity"
>>>>>>>>> ordered="false" lowerBound="1" defaultValueLiteral="1">
>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>> xmi:id="_19s2hradEduYg9z0frhrGw" name="base_Trigger"
>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> </eClassifiers>
>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>> xmi:id="_19s2h7adEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>>>> <eAnnotations xmi:id="_19s2iLadEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>> xmi:id="_19s2ibadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>> lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>> xmi:id="_19s2iradEduYg9z0frhrGw" name="base_Comment"
>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> </eClassifiers>
>>>>>>>>> </contents>
>>>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>>>> xmi:id="_19s2i7adEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>>> nsURI="http:///schemas/PEPAProfile/_PYPuQLXrEduQbrr1ndBC-A/12"
>>>>>>>>> nsPrefix="PEPAProfile">
>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>> xmi:id="_19s2jLadEduYg9z0frhrGw" name="ActiveRate">
>>>>>>>>> <eAnnotations xmi:id="_19s2jbadEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>> xmi:id="_19s2jradEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>> lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>> xmi:id="_19s2j7adEduYg9z0frhrGw" name="base_Behavior"
>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> </eClassifiers>
>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>> xmi:id="_19s2kLadEduYg9z0frhrGw" name="PassiveRate">
>>>>>>>>> <eAnnotations xmi:id="_19s2kbadEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>> xmi:id="_19s2kradEduYg9z0frhrGw" name="multiplicity"
>>>>>>>>> ordered="false" lowerBound="1" defaultValueLiteral="1">
>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>> xmi:id="_19s2k7adEduYg9z0frhrGw" name="base_Trigger"
>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> </eClassifiers>
>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>> xmi:id="_19s2lLadEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>>>> <eAnnotations xmi:id="_19s2lbadEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>> xmi:id="_19s2lradEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>> lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>> xmi:id="_19s2l7adEduYg9z0frhrGw" name="base_Comment"
>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>> xmi:id="_19s2mLadEduYg9z0frhrGw" name="state" ordered="false"
>>>>>>>>> lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> </eClassifiers>
>>>>>>>>> </contents>
>>>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>>>> xmi:id="_19s2mbadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>>> nsURI="http:///schemas/PEPAProfile/_CQeHELXoEduQbrr1ndBC-A/11"
>>>>>>>>> nsPrefix="PEPAProfile">
>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>> xmi:id="_19s2mradEduYg9z0frhrGw" name="ActiveRate">
>>>>>>>>> <eAnnotations xmi:id="_19s2m7adEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>> xmi:id="_19s2nLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>> lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>> xmi:id="_19s2nbadEduYg9z0frhrGw" name="base_Behavior"
>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> </eClassifiers>
>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>> xmi:id="_19s2nradEduYg9z0frhrGw" name="PassiveRate">
>>>>>>>>> <eAnnotations xmi:id="_19s2n7adEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>> xmi:id="_19s2oLadEduYg9z0frhrGw" name="multiplicity"
>>>>>>>>> ordered="false" lowerBound="1" defaultValueLiteral="1">
>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>> xmi:id="_19s2obadEduYg9z0frhrGw" name="base_Trigger"
>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> </eClassifiers>
>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>> xmi:id="_19s2oradEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>>>> <eAnnotations xmi:id="_19s2o7adEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>> xmi:id="_19s2pLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>> lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>> xmi:id="_19s2pbadEduYg9z0frhrGw" name="base_Comment"
>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> </eClassifiers>
>>>>>>>>> </contents>
>>>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>>>> xmi:id="_19s2pradEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>>> nsURI="http:///schemas/PEPAProfile/_1FD1sLXnEduQbrr1ndBC-A/10"
>>>>>>>>> nsPrefix="PEPAProfile">
>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>> xmi:id="_19s2p7adEduYg9z0frhrGw" name="ActiveRate">
>>>>>>>>> <eAnnotations xmi:id="_19s2qLadEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>> xmi:id="_19s2qbadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>> lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>> xmi:id="_19s2qradEduYg9z0frhrGw" name="base_Behavior"
>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> </eClassifiers>
>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>> xmi:id="_19s2q7adEduYg9z0frhrGw" name="PassiveRate">
>>>>>>>>> <eAnnotations xmi:id="_19s2rLadEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>> xmi:id="_19s2rbadEduYg9z0frhrGw" name="multiplicity"
>>>>>>>>> ordered="false" lowerBound="1" defaultValueLiteral="1">
>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>> xmi:id="_19s2rradEduYg9z0frhrGw" name="base_Trigger"
>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> </eClassifiers>
>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>> xmi:id="_19s2r7adEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>>>> <eAnnotations xmi:id="_19s2sLadEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>> xmi:id="_19s2sbadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>> lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>> xmi:id="_19s2sradEduYg9z0frhrGw" name="base_Comment"
>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>> xmi:id="_19s2s7adEduYg9z0frhrGw" name="state" ordered="false"
>>>>>>>>> lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> </eClassifiers>
>>>>>>>>> </contents>
>>>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>>>> xmi:id="_19s2tLadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>>> nsURI="http:///schemas/PEPAProfile/_aAgqQLXnEduQbrr1ndBC-A/9"
>>>>>>>>> nsPrefix="PEPAProfile">
>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>> xmi:id="_19s2tbadEduYg9z0frhrGw" name="ActiveRate">
>>>>>>>>> <eAnnotations xmi:id="_19s2tradEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>> xmi:id="_19s2t7adEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>> lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>> xmi:id="_19s2uLadEduYg9z0frhrGw" name="base_Behavior"
>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> </eClassifiers>
>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>> xmi:id="_19s2ubadEduYg9z0frhrGw" name="PassiveRate">
>>>>>>>>> <eAnnotations xmi:id="_19s2uradEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>> xmi:id="_19s2u7adEduYg9z0frhrGw" name="multiplicity"
>>>>>>>>> ordered="false" lowerBound="1" defaultValueLiteral="1">
>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>> xmi:id="_19s2vLadEduYg9z0frhrGw" name="base_Trigger"
>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> </eClassifiers>
>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>> xmi:id="_19s2vbadEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>>>> <eAnnotations xmi:id="_19s2vradEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>> xmi:id="_19s2v7adEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>> lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>> xmi:id="_19s2wLadEduYg9z0frhrGw" name="base_Comment"
>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> </eClassifiers>
>>>>>>>>> </contents>
>>>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>>>> xmi:id="_19s2wbadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>>> nsURI="http:///schemas/PEPAProfile/_XtISYLXnEduQbrr1ndBC-A/8"
>>>>>>>>> nsPrefix="PEPAProfile">
>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>> xmi:id="_19s2wradEduYg9z0frhrGw" name="ActiveRate">
>>>>>>>>> <eAnnotations xmi:id="_19s2w7adEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>> xmi:id="_19s2xLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>> lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>> xmi:id="_19s2xbadEduYg9z0frhrGw" name="base_Behavior"
>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> </eClassifiers>
>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>> xmi:id="_19s2xradEduYg9z0frhrGw" name="PassiveRate">
>>>>>>>>> <eAnnotations xmi:id="_19s2x7adEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>> xmi:id="_19s2yLadEduYg9z0frhrGw" name="multiplicity"
>>>>>>>>> ordered="false" lowerBound="1" defaultValueLiteral="1">
>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>> xmi:id="_19s2ybadEduYg9z0frhrGw" name="base_Trigger"
>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> </eClassifiers>
>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>> xmi:id="_19s2yradEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>>>> <eAnnotations xmi:id="_19s2y7adEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>> xmi:id="_19s2zLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>> lowerBound="1">
>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>> </eStructuralFeatures>
>>>>>>>>> </eClassifiers>
>>>>>>>>> </contents>
>>>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>>>> xmi:id="_19s2zbadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>>> nsURI="http:///schemas/PEPAProfile/_HCgvMLXnEduQbrr1ndBC-A/7"
>>>>>>>>> nsPrefix="PEPAProfile">
>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>> xmi:id="_19s2zradEduYg9z0frhrGw" name="ActiveRate">
>>>>>>>>> <eAnnotations xmi:id="_19s2z7adEduYg9z0frhrGw"
>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>>>> <eStructuralFeatures xmi:typ
Re: Programmatic Navigation of a UML2 Model with Custom Profiles [message #588822 is a reply to message #470416] Thu, 15 February 2007 13:48 Go to previous message
Eclipse UserFriend
Originally posted by: mtribast.inf.ed.ac.uk

Hi Kenn,

I solved the problem. That was the creation of the URI. In the
stand-alone application that was created as follows:

URI.createURI("file://c:/..")

The plug-in used the IResource API to create the URI. The *wrong* way was:

URI.createFileURI(umlFile.getFullPath().toFile().getPath());

as getFullPath() returns the path relative to the workspace. The
*correct* way (I don't know of anything better though) is:

URI.createFileURI(umlFile.getLocation().toFile().getPath());

because getLocation() returns the absolute path in the file system. What
confused me though was that the former call would give me partial
information on the model (i.e., no stereotypes) on Windows. The same
call on Linux would throw a FileNotFoundException.

Thank you for your help.

Cheers
Mirco



Kenn Hussey wrote:
> Mirco,
>
> The only thing I can suggest at this point is to send us a sample program
> (and associated models) that demonstrate the problem so that we can take a
> closer look...
>
> Kenn
>
> "Mirco Tribastone" <mtribast@inf.ed.ac.uk> wrote in message
> news:equl03$rk9$1@utils.eclipse.org...
>> Hi Kenn,
>>
>> I have the following plug-in ids:
>>
>> org.eclipse.uml2
>> .common
>> .common.edit
>> .doc
>> .codegen.ecore.ui
>> .codegen.ecore
>> .examples
>> .examples.sources
>> .source
>> .edit
>> .editor
>> .ecore.importer
>> .ecore.exporter
>> .uml
>> .uml.resources
>>
>> They're all x.x.x.v200610251409
>>
>> Thanks again
>>
>> Mirco
>>
>> Kenn Hussey wrote:
>>> Mirco,
>>>
>>> If you select 'Help > About Eclipse SDK', then press the 'Plug-in
>>> Details' buton, do you see the UML2 plug-ins listed?
>>>
>>> Kenn
>>>
>>> "Mirco Tribastone" <mtribast@inf.ed.ac.uk> wrote in message
>>> news:eqshm4$3s0$1@utils.eclipse.org...
>>>> Hi Kenn,
>>>>
>>>> I did that, but it didn't work. I also installed a fresh version of
>>>> Eclipse with EMF and UML2 only and tried to run the application from
>>>> there, but that didn't work too. I did some more work on my code and I
>>>> can confirm that my models are loaded and navigated successfully from a
>>>> stand-alone application. What could I do next to solve my problem?
>>>>
>>>> Cheers,
>>>> Mirco
>>>>
>>>>
>>>> Kenn Hussey wrote:
>>>>> Mirco,
>>>>>
>>>>> Try deleting the old features and plug-ins from your filesystem and
>>>>> launching with the -clean option.
>>>>>
>>>>> Kenn
>>>>>
>>>>> "Mirco Tribastone" <mtribast@inf.ed.ac.uk> wrote in message
>>>>> news:eqpss4$e5g$1@utils.eclipse.org...
>>>>>> Kenn,
>>>>>>
>>>>>> Actually the platform log reports "Duplicate feature found" for
>>>>>> UML2-related features. I am trying to figure out how to uninstall the
>>>>>> previous versions; I have tried the Manage Configuration dialog. It
>>>>>> shows the previous versions as disabled but the "Uninstall" menu item
>>>>>> is not enabled. How can I solve this problem? (Sorry if this question
>>>>>> is slightly out of topic...)
>>>>>>
>>>>>> Thanks again
>>>>>> Mirco
>>>>>>
>>>>>> Kenn Hussey wrote:
>>>>>>> Mirco,
>>>>>>>
>>>>>>> Do you have any problems with your Eclipse configuration? Did you
>>>>>>> previously have an old version of UML2 installed? Are you seeing any
>>>>>>> exceptions in the platform log?
>>>>>>>
>>>>>>> Kenn
>>>>>>>
>>>>>>> "Mirco Tribastone" <mtribast@inf.ed.ac.uk> wrote in message
>>>>>>> news:eqhmk1$ipt$1@utils.eclipse.org...
>>>>>>>> Hi Kenn,
>>>>>>>>
>>>>>>>> I had already checked that, and that was not the problem. The name
>>>>>>>> of the resource is now PEPA.profile.uml. I think I made some
>>>>>>>> progress in finding the problem. I load the model programmatically
>>>>>>>> from a stand-alone application that I wrote by slightly modifying
>>>>>>>> the UML2Article class downloaded from the Eclipse website. I load
>>>>>>>> the model by using the same load(URI) method and registering the
>>>>>>>> resource factories as follows:
>>>>>>>>
>>>>>>>> RESOURCE_SET.getPackageRegistry().put(UMLPackage.eNS_URI,
>>>>>>>> UMLPackage.eINSTANCE);
>>>>>>>> Map extensionToFactoryMap =
>>>>>>>> RESOURCE_SET.getResourceFactoryRegistry()
>>>>>>>> .getExtensionToFactoryMap();
>>>>>>>> extensionToFactoryMap.put(UMLResource.FILE_EXTENSION,
>>>>>>>> UMLResource.Factory.INSTANCE);
>>>>>>>>
>>>>>>>> The output of the programs gives me correct information about the
>>>>>>>> applied stereotypes.
>>>>>>>> The problem seems to persist though when the same code is launched
>>>>>>>> from within an Eclipse instance. I initially thought that problem
>>>>>>>> would be that the UML2Article uses different versions of the
>>>>>>>> plug-ins; hence I created another stand-alone app with the same
>>>>>>>> plug-in versions as my Eclipse configuration, but the model is
>>>>>>>> navigated correctly also in this case.
>>>>>>>>
>>>>>>>> Do you have any idea why the code refuses to work in the Eclipse
>>>>>>>> environment?
>>>>>>>>
>>>>>>>> Thanks for your precious help.
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> Mirco
>>>>>>>>
>>>>>>>> Kenn Hussey wrote:
>>>>>>>>> Mirco,
>>>>>>>>>
>>>>>>>>> It sounds like the model is having a hard time finding the profile.
>>>>>>>>> Incidentally, what is the name of the resource that contains the
>>>>>>>>> profile? Based on the schemaLocation declaration in the model, it
>>>>>>>>> looks as though the model is expecting it to be in a
>>>>>>>>> 'PEPA.profile.uml.profile.uml' resource in the same folder as the
>>>>>>>>> model...
>>>>>>>>>
>>>>>>>>> Kenn
>>>>>>>>>
>>>>>>>>> "Mirco" <mtribast@inf.ed.ac.uk> wrote in message
>>>>>>>>> news:eqcjth$u0e$1@utils.eclipse.org...
>>>>>>>>>> Hi all,
>>>>>>>>>>
>>>>>>>>>> I've been trying to navigate a UML2 Model to which a custom
>>>>>>>>>> profile has
>>>>>>>>>> been applied. I defined both the model and the profile by using
>>>>>>>>>> Rational
>>>>>>>>>> Software Architect 7.0.0. I exported the model into the .uml
>>>>>>>>>> format and
>>>>>>>>>> developed a plug-in which reads that file and shows information to
>>>>>>>>>> the
>>>>>>>>>> user. The plug-in runs on the Eclipse run-time workspace of RSA.
>>>>>>>>>> The profile extends an Effect with a stereotype called ActiveRate
>>>>>>>>>> which
>>>>>>>>>> has a property (double) called 'value'. I use the following code
>>>>>>>>>> for
>>>>>>>>>> retrieving the information about the stereotypes applied to a
>>>>>>>>>> transition's effect:
>>>>>>>>>>
>>>>>>>>>> /* t is an instance of Transition */
>>>>>>>>>> Behavior behavior = t.getEffect();
>>>>>>>>>> buf.append(" Effect: " + ((behavior == null) ?
>>>>>>>>>> "None":behavior.getName())+ "\n");
>>>>>>>>>> if (behavior != null) {
>>>>>>>>>> for (int s = 0; s < behavior.getAppliedStereotypes().size();s++) {
>>>>>>>>>> Stereotype aStereoType = (Stereotype)
>>>>>>>>>> behavior.getAppliedStereotypes().get(s);
>>>>>>>>>> buf.append(" Stereotype: " + aStereoType.getName()+ "\n");
>>>>>>>>>> }
>>>>>>>>>> }
>>>>>>>>>>
>>>>>>>>>> Although the name of the effect is shown correctly, the size of
>>>>>>>>>> the
>>>>>>>>>> applied stereotype list is 0. How can I use the API to discover if
>>>>>>>>>> a
>>>>>>>>>> Transition.getEffect() is applied a stereotype described in a
>>>>>>>>>> custom
>>>>>>>>>> profile?
>>>>>>>>>>
>>>>>>>>>> I attach the exported model and custom profile. (RSA uses UML2
>>>>>>>>>> 2.0.2v200610251409)
>>>>>>>>>>
>>>>>>>>>> Thanks for your attention,
>>>>>>>>>> Mirco
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------ --------------------
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>>>> <xmi:XMI xmi:version="2.1"
>>>>>>>>>> xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
>>>>>>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>>>>> xmlns:PEPAProfile="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13"
>>>>>>>>>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
>>>>>>>>>> xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>>> xsi:schemaLocation="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13
>>>>>>>>>> PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw">
>>>>>>>>>> <uml:Model xmi:id="_19s3j7adEduYg9z0frhrGw" name="FirstModel">
>>>>>>>>>> <packageImport xmi:id="_19s3kLadEduYg9z0frhrGw">
>>>>>>>>>> <importedPackage xmi:type="uml:Model"
>>>>>>>>>> href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
>>>>>>>>>> </packageImport>
>>>>>>>>>> <packagedElement xmi:type="uml:StateMachine"
>>>>>>>>>> xmi:id="_19s3kbadEduYg9z0frhrGw" name="StateMachine">
>>>>>>>>>> <region xmi:id="_19s3kradEduYg9z0frhrGw" name="Region1">
>>>>>>>>>> <subvertex xmi:type="uml:Pseudostate"
>>>>>>>>>> xmi:id="_19s3k7adEduYg9z0frhrGw"
>>>>>>>>>> outgoing="_19s3l7adEduYg9z0frhrGw"/>
>>>>>>>>>> <subvertex xmi:type="uml:State"
>>>>>>>>>> xmi:id="_19s3lLadEduYg9z0frhrGw" name="P1"
>>>>>>>>>> outgoing="_19s3mLadEduYg9z0frhrGw"
>>>>>>>>>> incoming="_19s3l7adEduYg9z0frhrGw"/>
>>>>>>>>>> <subvertex xmi:type="uml:State"
>>>>>>>>>> xmi:id="_19s3lbadEduYg9z0frhrGw" name="P2"
>>>>>>>>>> outgoing="_19s3mradEduYg9z0frhrGw"
>>>>>>>>>> incoming="_19s3mLadEduYg9z0frhrGw"/>
>>>>>>>>>> <subvertex xmi:type="uml:FinalState"
>>>>>>>>>> xmi:id="_19s3lradEduYg9z0frhrGw"
>>>>>>>>>> incoming="_19s3mradEduYg9z0frhrGw"/>
>>>>>>>>>> <transition xmi:id="_19s3l7adEduYg9z0frhrGw" kind="local"
>>>>>>>>>> target="_19s3lLadEduYg9z0frhrGw"
>>>>>>>>>> source="_19s3k7adEduYg9z0frhrGw"/>
>>>>>>>>>> <transition xmi:id="_19s3mLadEduYg9z0frhrGw" name="a"
>>>>>>>>>> kind="local" target="_19s3lbadEduYg9z0frhrGw"
>>>>>>>>>> source="_19s3lLadEduYg9z0frhrGw">
>>>>>>>>>> <effect xmi:type="uml:OpaqueBehavior"
>>>>>>>>>> xmi:id="_19s3mbadEduYg9z0frhrGw" name="anEffect"/>
>>>>>>>>>> </transition>
>>>>>>>>>> <transition xmi:id="_19s3mradEduYg9z0frhrGw" kind="local"
>>>>>>>>>> target="_19s3lradEduYg9z0frhrGw"
>>>>>>>>>> source="_19s3lbadEduYg9z0frhrGw"/>
>>>>>>>>>> </region>
>>>>>>>>>> </packagedElement>
>>>>>>>>>> <profileApplication xmi:id="_19s3m7adEduYg9z0frhrGw">
>>>>>>>>>> <eAnnotations xmi:id="_19s3nLadEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>>>>>> <references xmi:type="ecore:EPackage"
>>>>>>>>>> href=" pathmap://UML_PROFILES/Standard.profile.uml#_yzU58YinEdqtvbn fB2L_5w"/>
>>>>>>>>>> </eAnnotations>
>>>>>>>>>> <appliedProfile
>>>>>>>>>> href="pathmap://UML_PROFILES/Standard.profile.uml#_0"/>
>>>>>>>>>> </profileApplication>
>>>>>>>>>> <profileApplication xmi:id="_19s3nbadEduYg9z0frhrGw">
>>>>>>>>>> <eAnnotations xmi:id="_19s3nradEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>>>>>> <references xmi:type="ecore:EPackage"
>>>>>>>>>> href="Default.profile.uml#_19s3KbadEduYg9z0frhrGw"/>
>>>>>>>>>> </eAnnotations>
>>>>>>>>>> <appliedProfile
>>>>>>>>>> href="Default.profile.uml#_19s3J7adEduYg9z0frhrGw"/>
>>>>>>>>>> </profileApplication>
>>>>>>>>>> <profileApplication xmi:id="_19s3n7adEduYg9z0frhrGw">
>>>>>>>>>> <eAnnotations xmi:id="_19s3oLadEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>>>>>> <references xmi:type="ecore:EPackage"
>>>>>>>>>> href="Deployment.profile.uml#_19s3pradEduYg9z0frhrGw"/>
>>>>>>>>>> </eAnnotations>
>>>>>>>>>> <appliedProfile
>>>>>>>>>> href="Deployment.profile.uml#_19s3pLadEduYg9z0frhrGw"/>
>>>>>>>>>> </profileApplication>
>>>>>>>>>> <profileApplication xmi:id="_19s3obadEduYg9z0frhrGw">
>>>>>>>>>> <eAnnotations xmi:id="_19s3oradEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>>>>>> <references xmi:type="ecore:EPackage"
>>>>>>>>>> href="PEPA.profile.uml.profile.uml#_19s2fradEduYg9z0frhrGw"/ >
>>>>>>>>>> </eAnnotations>
>>>>>>>>>> <appliedProfile
>>>>>>>>>> href="PEPA.profile.uml.profile.uml#_19s2fLadEduYg9z0frhrGw"/ >
>>>>>>>>>> </profileApplication>
>>>>>>>>>> </uml:Model>
>>>>>>>>>> <PEPAProfile:ActiveRate xmi:id="_19s3o7adEduYg9z0frhrGw"
>>>>>>>>>> value="2.0" base_Behavior="_19s3mbadEduYg9z0frhrGw"/>
>>>>>>>>>> </xmi:XMI>
>>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------ --------------------
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>>>> <uml:Profile xmi:version="2.1"
>>>>>>>>>> xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"
>>>>>>>>>> xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
>>>>>>>>>> xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>>> xmi:id="_19s2fLadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>>>> metamodelReference="_19s3FLadEduYg9z0frhrGw">
>>>>>>>>>> <eAnnotations xmi:id="_19s2fbadEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML">
>>>>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>>>>> xmi:id="_19s2fradEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>>>> nsURI="http:///schemas/PEPAProfile/_Zw_DsLXrEduQbrr1ndBC-A/13"
>>>>>>>>>> nsPrefix="PEPAProfile">
>>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>>> xmi:id="_19s2f7adEduYg9z0frhrGw" name="ActiveRate">
>>>>>>>>>> <eAnnotations xmi:id="_19s2gLadEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>>> xmi:id="_19s2gbadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>>> lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>>> xmi:id="_19s2gradEduYg9z0frhrGw" name="base_Behavior"
>>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> </eClassifiers>
>>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>>> xmi:id="_19s2g7adEduYg9z0frhrGw" name="PassiveRate">
>>>>>>>>>> <eAnnotations xmi:id="_19s2hLadEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>>> xmi:id="_19s2hbadEduYg9z0frhrGw" name="multiplicity"
>>>>>>>>>> ordered="false" lowerBound="1" defaultValueLiteral="1">
>>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>>> xmi:id="_19s2hradEduYg9z0frhrGw" name="base_Trigger"
>>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> </eClassifiers>
>>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>>> xmi:id="_19s2h7adEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>>>>> <eAnnotations xmi:id="_19s2iLadEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>>> xmi:id="_19s2ibadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>>> lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>>> xmi:id="_19s2iradEduYg9z0frhrGw" name="base_Comment"
>>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> </eClassifiers>
>>>>>>>>>> </contents>
>>>>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>>>>> xmi:id="_19s2i7adEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>>>> nsURI="http:///schemas/PEPAProfile/_PYPuQLXrEduQbrr1ndBC-A/12"
>>>>>>>>>> nsPrefix="PEPAProfile">
>>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>>> xmi:id="_19s2jLadEduYg9z0frhrGw" name="ActiveRate">
>>>>>>>>>> <eAnnotations xmi:id="_19s2jbadEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>>> xmi:id="_19s2jradEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>>> lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>>> xmi:id="_19s2j7adEduYg9z0frhrGw" name="base_Behavior"
>>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> </eClassifiers>
>>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>>> xmi:id="_19s2kLadEduYg9z0frhrGw" name="PassiveRate">
>>>>>>>>>> <eAnnotations xmi:id="_19s2kbadEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>>> xmi:id="_19s2kradEduYg9z0frhrGw" name="multiplicity"
>>>>>>>>>> ordered="false" lowerBound="1" defaultValueLiteral="1">
>>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>>> xmi:id="_19s2k7adEduYg9z0frhrGw" name="base_Trigger"
>>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> </eClassifiers>
>>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>>> xmi:id="_19s2lLadEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>>>>> <eAnnotations xmi:id="_19s2lbadEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>>> xmi:id="_19s2lradEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>>> lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>>> xmi:id="_19s2l7adEduYg9z0frhrGw" name="base_Comment"
>>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>>> xmi:id="_19s2mLadEduYg9z0frhrGw" name="state" ordered="false"
>>>>>>>>>> lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> </eClassifiers>
>>>>>>>>>> </contents>
>>>>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>>>>> xmi:id="_19s2mbadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>>>> nsURI="http:///schemas/PEPAProfile/_CQeHELXoEduQbrr1ndBC-A/11"
>>>>>>>>>> nsPrefix="PEPAProfile">
>>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>>> xmi:id="_19s2mradEduYg9z0frhrGw" name="ActiveRate">
>>>>>>>>>> <eAnnotations xmi:id="_19s2m7adEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>>> xmi:id="_19s2nLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>>> lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>>> xmi:id="_19s2nbadEduYg9z0frhrGw" name="base_Behavior"
>>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> </eClassifiers>
>>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>>> xmi:id="_19s2nradEduYg9z0frhrGw" name="PassiveRate">
>>>>>>>>>> <eAnnotations xmi:id="_19s2n7adEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>>> xmi:id="_19s2oLadEduYg9z0frhrGw" name="multiplicity"
>>>>>>>>>> ordered="false" lowerBound="1" defaultValueLiteral="1">
>>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>>> xmi:id="_19s2obadEduYg9z0frhrGw" name="base_Trigger"
>>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> </eClassifiers>
>>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>>> xmi:id="_19s2oradEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>>>>> <eAnnotations xmi:id="_19s2o7adEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>>> xmi:id="_19s2pLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>>> lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>>> xmi:id="_19s2pbadEduYg9z0frhrGw" name="base_Comment"
>>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> </eClassifiers>
>>>>>>>>>> </contents>
>>>>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>>>>> xmi:id="_19s2pradEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>>>> nsURI="http:///schemas/PEPAProfile/_1FD1sLXnEduQbrr1ndBC-A/10"
>>>>>>>>>> nsPrefix="PEPAProfile">
>>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>>> xmi:id="_19s2p7adEduYg9z0frhrGw" name="ActiveRate">
>>>>>>>>>> <eAnnotations xmi:id="_19s2qLadEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>>> xmi:id="_19s2qbadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>>> lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>>> xmi:id="_19s2qradEduYg9z0frhrGw" name="base_Behavior"
>>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> </eClassifiers>
>>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>>> xmi:id="_19s2q7adEduYg9z0frhrGw" name="PassiveRate">
>>>>>>>>>> <eAnnotations xmi:id="_19s2rLadEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>>> xmi:id="_19s2rbadEduYg9z0frhrGw" name="multiplicity"
>>>>>>>>>> ordered="false" lowerBound="1" defaultValueLiteral="1">
>>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>>> xmi:id="_19s2rradEduYg9z0frhrGw" name="base_Trigger"
>>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> </eClassifiers>
>>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>>> xmi:id="_19s2r7adEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>>>>> <eAnnotations xmi:id="_19s2sLadEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>>> xmi:id="_19s2sbadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>>> lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>>> xmi:id="_19s2sradEduYg9z0frhrGw" name="base_Comment"
>>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>>> xmi:id="_19s2s7adEduYg9z0frhrGw" name="state" ordered="false"
>>>>>>>>>> lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//State"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> </eClassifiers>
>>>>>>>>>> </contents>
>>>>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>>>>> xmi:id="_19s2tLadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>>>> nsURI="http:///schemas/PEPAProfile/_aAgqQLXnEduQbrr1ndBC-A/9"
>>>>>>>>>> nsPrefix="PEPAProfile">
>>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>>> xmi:id="_19s2tbadEduYg9z0frhrGw" name="ActiveRate">
>>>>>>>>>> <eAnnotations xmi:id="_19s2tradEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>>> xmi:id="_19s2t7adEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>>> lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>>> xmi:id="_19s2uLadEduYg9z0frhrGw" name="base_Behavior"
>>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> </eClassifiers>
>>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>>> xmi:id="_19s2ubadEduYg9z0frhrGw" name="PassiveRate">
>>>>>>>>>> <eAnnotations xmi:id="_19s2uradEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>>> xmi:id="_19s2u7adEduYg9z0frhrGw" name="multiplicity"
>>>>>>>>>> ordered="false" lowerBound="1" defaultValueLiteral="1">
>>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>>> xmi:id="_19s2vLadEduYg9z0frhrGw" name="base_Trigger"
>>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Trigger"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> </eClassifiers>
>>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>>> xmi:id="_19s2vbadEduYg9z0frhrGw" name="UtilisationResult">
>>>>>>>>>> <eAnnotations xmi:id="_19s2vradEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>>> references="_19s3ILadEduYg9z0frhrGw"/>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>>> xmi:id="_19s2v7adEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>>> lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>>> xmi:id="_19s2wLadEduYg9z0frhrGw" name="base_Comment"
>>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Comment"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> </eClassifiers>
>>>>>>>>>> </contents>
>>>>>>>>>> <contents xmi:type="ecore:EPackage"
>>>>>>>>>> xmi:id="_19s2wbadEduYg9z0frhrGw" name="PEPAProfile"
>>>>>>>>>> nsURI="http:///schemas/PEPAProfile/_XtISYLXnEduQbrr1ndBC-A/8"
>>>>>>>>>> nsPrefix="PEPAProfile">
>>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>>> xmi:id="_19s2wradEduYg9z0frhrGw" name="ActiveRate">
>>>>>>>>>> <eAnnotations xmi:id="_19s2w7adEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>>> references="_19s3FbadEduYg9z0frhrGw"/>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>>> xmi:id="_19s2xLadEduYg9z0frhrGw" name="value" ordered="false"
>>>>>>>>>> lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EDataType"
>>>>>>>>>> href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EReference"
>>>>>>>>>> xmi:id="_19s2xbadEduYg9z0frhrGw" name="base_Behavior"
>>>>>>>>>> ordered="false" lowerBound="1">
>>>>>>>>>> <eType xmi:type="ecore:EClass"
>>>>>>>>>> href="http://www.eclipse.org/uml2/2.0.0/UML#//Behavior"/>
>>>>>>>>>> </eStructuralFeatures>
>>>>>>>>>> </eClassifiers>
>>>>>>>>>> <eClassifiers xmi:type="ecore:EClass"
>>>>>>>>>> xmi:id="_19s2xradEduYg9z0frhrGw" name="PassiveRate">
>>>>>>>>>> <eAnnotations xmi:id="_19s2x7adEduYg9z0frhrGw"
>>>>>>>>>> source="http://www.eclipse.org/uml2/2.0.0/UML"
>>>>>>>>>> references="_19s3GradEduYg9z0frhrGw"/>
>>>>>>>>>> <eStructuralFeatures xmi:type="ecore:EAttribute"
>>>>>>>>>> xmi:id="_19s2yLadEduYg9z0frhrGw" name="multiplicity"
>>>>>>>>>> ordered="false" lowerBound="1" defaultValueLiteral="1">
>>>>>>>>>> <eType xmi:type="ecore:EDataType"
Previous Topic:EcoreUtil.copy() and stereotypes
Next Topic:[Announce] MDT UML2 2.0.3 is available
Goto Forum:
  


Current Time: Thu Mar 28 19:12:57 GMT 2024

Powered by FUDForum. Page generated in 0.11197 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top