Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [QVT] The type 'collection:OrderedSet(EAnnotation)' does not conform the type 'OrderedSet(EAnnotatio
[QVT] The type 'collection:OrderedSet(EAnnotation)' does not conform the type 'OrderedSet(EAnnotatio [message #81838] Wed, 21 May 2008 08:03 Go to next message
Eclipse UserFriend
Originally posted by: nicolas.toublanc.accenture.com

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

Hi,

We are experiencing an issue with a QVT transformation from a UML model
to an Ecore extended model, named NSDC.

The NSDC model contains an 'ApplicationPackage' element, that herits
from 'EPackage'.

I've an error in Eclipse 3.4 M6 QVT editor :

"The type collection:OrderedSet(EAnnotation)' does not conform the type
'OrderedSet(EAnnotation)'"

in the line :

"eAnnotations := self.eAnnotations;"


Please find the ecore model and the qvto transformation file in
attachements.


Thanks for your help,

Best regards,


Nicolas Toublanc
Accenture Technology Solutions

--------------020800070602080706040605
Content-Type: text/plain;
name="NSDCTransformation.qvto"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="NSDCTransformation.qvto"

ICAvKkBBdXRob3IgTElUSU0gS2FyaW0NCiAgICAgIGthcmltLmxpdGltQGFj Y2VudHVyZS5j
b20NCiAgKi8NCg0KDQptb2RlbHR5cGUgVU1MIHVzZXMgJ2h0dHA6Ly93d3cu ZWNsaXBzZS5v
cmcvdW1sMi8yLjEuMC9VTUwnOw0KbW9kZWx0eXBlIEVjb3JlIHVzZXMgICdo dHRwOi8vd3d3
LmVjbGlwc2Uub3JnL2VtZi8yMDAyL0Vjb3JlJzsNCm1vZGVsdHlwZSBOU0RD IHVzZXMgTnNk
YygnY29tLmFjY2VudHVyZS5uc2RjLmFwcGxpY2F0aW9uJyk7DQoNCgkNCnRy YW5zZm9ybWF0
aW9uIE5TRENUcmFuc2Zvcm1hdGlvbihpbiB1bWwgOiBVTUwsIG91dCBOU0RD KTsNCg0KDQog
ICAgLyoNCiAgICAgLVRoZSBlbnRyeSBwb2ludCBvZiB0aGUgdHJhbnNmb3Jt YXRpb24uDQog
ICAgICANCiAgICAgICAgIGluIDogdGhlIFVNTCBtb2RlbCB0byBiZSB0cmFu c2Zvcm1lZA0K
ICAgICAgICAgb3V0OiB0aGUgRUNPUkUgbW9kZWwgdG8gYmUgZ2VuZXJhdGVk IA0KICAgICAg
DQogICAgIC1Ob3RlIHRoYXQgdGhlICJtYXAiIGZ1bmN0aW9uIGFwcGxpZXMg dGhlIG9wZXJh
dGlvbiBuYW1lZCANCiAgICAgICJ1bWwyZWNvcmVQYWNrYWdlIiB0byBoZXIg YXJndW1lbnQg
Im1vZGVsIiAgICAgDQogICAgKi8NCiAgIAltYWluKGluIG1vZGVsOiB1bWw6 OlBhY2thZ2Us
IG91dCBlY29yZTogTlNEQzo6QXBwbGljYXRpb25QYWNrYWdlKSB7DQogICAJ ICAgZWNvcmUg
Oj0gbW9kZWwucGFja2FnZWRFbGVtZW50LT5vY2xBc1R5cGUodW1sOjpQYWNr YWdlKS0+c2Vs
ZWN0T25lKCBwIHwgcC5uYW1lICE9ICdQcmltaXRpdmVUeXBlcycpLT4NCiAg IAkgICAgICAg
ICAgICBhc1NlcXVlbmNlKCktPmZpcnN0KCkubWFwIHVtbDJOU0RDUGFja2Fn ZSgpLm9jbEFz
VHlwZShOU0RDOjpBcHBsaWNhdGlvblBhY2thZ2UpOw0KICAgCX0NCgkNCiAN CiBtYXBwaW5n
IFVNTDo6UGFja2FnZWFibGVFbGVtZW50Ojp1bWwyTlNEQ1BhY2thZ2UoKTog QXBwbGljYXRp
b25QYWNrYWdlew0KIAlpbml0ew0KIAkJcmVzdWx0IDo9IG9iamVjdCBOU0RD OjpBcHBsaWNh
dGlvblBhY2thZ2V7DQogCQkJbmFtZSA6PSBzZWxmLm5hbWU7DQogCQl9DQog CQkNCiAJfQ0K
ICAgIGVBbm5vdGF0aW9ucyA6PSAgc2VsZi5lQW5ub3RhdGlvbnM7DQogCWVD bGFzc2lmaWVy
cyA6PSBzZWxmLm9jbEFzVHlwZShQYWNrYWdlKS5wYWNrYWdlZEVsZW1lbnQt PnNlbGVjdChv
Y2xJc0tpbmRPZih1bWw6OkNsYXNzKSkNCgkJICAgICAgICAgICAgICAgIC0+ b2NsQXNUeXBl
KHVtbDo6Q2xhc3MpLm1hcCB1bWxDbGFzczJOU0RDQ2xhc3NpZmllcigpDQoJ CSAgICAgICAg
ICAgICAgICAtPmFzT3JkZXJlZFNldCgpOwkgICAgICAgICAgICAgICAgDQog fQ0KIA0KIG1h
cHBpbmcgdW1sOjpDbGFzczo6dW1sQ2xhc3MyTlNEQ0NsYXNzaWZpZXIoKTog RW50aXR5ew0K
CQkNCgkJaW5pdHsNCgkJCXJlc3VsdCA6PSBvYmplY3QgRW50aXR5e25hbWUg Oj0gc2VsZi5u
YW1lOw0KCQkJfTsNCgkJCXZhciBtYXBwZWRBdHRyaWJ1dGVzIDogT3JkZXJl ZFNldChOU0RD
OjpNYXBwZWRBdHRyaWJ1dGUpIDo9IHNlbGYub3duZWRFbGVtZW50Lm9jbEFz VHlwZSh1bWw6
OlByb3BlcnR5KS5tYXANCgkJICAgICAgICAgICAgICAgICAgICAgIHVtbDJF Y29yZU1BdHRy
aWJ1dGUoKS0+YXNPcmRlcmVkU2V0KCk7IA0KCQkJdmFyIG1hcHBlZFJlZnJl bmNlcyA6IE9y
ZGVyZWRTZXQoTlNEQzo6TWFwcGVkUmVmZXJlbmNlKSA6PXNlbGYub3duZWRF bGVtZW50Lm9j
bEFzVHlwZSh1bWw6OlByb3BlcnR5KS5tYXANCgkJICAgICAgICAgICAgICAg ICAgICAgIHVt
bDJFY29yZU1SZWZlcmVuY2UoKS0+YXNPcmRlcmVkU2V0KCk7DQoJCX0NCgkJ DQoJCQ0KCQl9
DQoJDQptYXBwaW5nIHVtbDo6UHJvcGVydHk6OnVtbDJFY29yZU1BdHRyaWJ1 dGUoKTogTlNE
Qzo6TWFwcGVkQXR0cmlidXRlDQoJDQp3aGVuIHtzZWxmLmFzc29jaWF0aW9u ID0gbnVsbH0N
CnsNCgkNCgluYW1lIDo9IHNlbGYubmFtZTsJDQp9DQoNCm1hcHBpbmcgdW1s OjpQcm9wZXJ0
eTo6dW1sMkVjb3JlTVJlZmVyZW5jZSgpOiBOU0RDOjpNYXBwZWRSZWZlcmVu Y2UNCndoZW4g
e3NlbGYuYXNzb2NpYXRpb24gIT0gbnVsbH0NCnsNCgluYW1lIDo9IHNlbGYu bmFtZTsNCn0=
--------------020800070602080706040605
Content-Type: text/xml;
name="NsdcApplicationModel.ecore"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="NsdcApplicationModel.ecore"

<?xml version="1.0" encoding="UTF-8"?>
<ecore:EPackage xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="Nsdc"
nsURI="com.accenture.nsdc.application" nsPrefix="NsdcApplication">
<eClassifiers xsi:type="ecore:EClass" name="ApplicationPackage" eSuperTypes=" platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//E Package "/>
<eClassifiers xsi:type="ecore:EClass" name="Entity" eSuperTypes=" platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//E Class ">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="dbTableName" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//E String "/>
<eStructuralFeatures xsi:type="ecore:EReference" name="equalsAttributesList" upperBound="-1"
eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//E StructuralFeature "/>
<eStructuralFeatures xsi:type="ecore:EReference" name="toStringAttributesList"
upperBound="-1" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//E StructuralFeature "/>
<eStructuralFeatures xsi:type="ecore:EReference" name="hashCodeAttributesList"
upperBound="-1" eType="ecore:EClass platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//E StructuralFeature "/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="MappedAttribute" eSuperTypes=" platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//E Attribute ">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="dbFieldName" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//E String "/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="dbFieldSize" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//E Int "/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="MappedReference" eSuperTypes=" platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//E Reference ">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="isLazy" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//E Boolean "/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="dbFieldName" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//E String "/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ServiceClass" eSuperTypes=" platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//E Class "/>
<eSubpackages name="ecore" nsURI="http://www.eclipse.org/emf/2002/Ecore" nsPrefix="ecore">
<eClassifiers xsi:type="ecore:EClass" name="EAttribute" eSuperTypes="#//ecore/EStructuralFeature">
<eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
<details key="constraints" value="ConsistentTransient"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="iD" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="eAttributeType" lowerBound="1"
eType="#//ecore/EDataType" changeable="false" volatile="true" transient="true"
derived="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="EAnnotation" eSuperTypes="#//ecore/EModelElement">
<eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
<details key="constraints" value="WellFormedSourceURI"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="source" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="details" upperBound="-1"
eType="#//ecore/EStringToStringMapEntry" containment="true" resolveProxies="false"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="eModelElement" eType="#//ecore/EModelElement"
transient="true" resolveProxies="false" eOpposite="#//ecore/EModelElement/eAnnotations"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="contents" upperBound="-1"
eType="#//ecore/EObject" containment="true" resolveProxies="false"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="references" upperBound="-1"
eType="#//ecore/EObject"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="EClass" eSuperTypes="#//ecore/EClassifier">
<eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
<details key="constraints" value="InterfaceIsAbstract AtMostOneID UniqueFeatureNames UniqueOperationSignatures NoCircularSuperTypes WellFormedMapEntryClass ConsistentSuperTypes DisjointFeatureAndOperationSignatures"/>
</eAnnotations>
<eOperations name="isSuperTypeOf" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean">
<eParameters name="someClass" eType="#//ecore/EClass"/>
</eOperations>
<eOperations name="getFeatureCount" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
<eOperations name="getEStructuralFeature" eType="#//ecore/EStructuralFeature">
<eParameters name="featureID" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
</eOperations>
<eOperations name="getFeatureID" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt">
<eParameters name="feature" eType="#//ecore/EStructuralFeature"/>
</eOperations>
<eOperations name="getEStructuralFeature" eType="#//ecore/EStructuralFeature">
<eParameters name="featureName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eOperations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="abstract" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="interface" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="eSuperTypes" upperBound="-1"
eType="#//ecore/EClass" unsettable="true">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="suppressedIsSetVisibility" value="true"/>
<details key="suppressedUnsetVisibility" value="true"/>
</eAnnotations>
</eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="eOperations" upperBound="-1"
eType="#//ecore/EOperation" containment="true" resolveProxies="false" eOpposite="#//ecore/EOperation/eContainingClass"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="eAllAttributes" upperBound="-1"
eType="#//ecore/EAttribute" changeable="false" volatile="true" transient="true"
derived="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="eAllReferences" upperBound="-1"
eType="#//ecore/EReference" changeable="false" volatile="true" transient="true"
derived="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="eReferences" upperBound="-1"
eType="#//ecore/EReference" changeable="false" volatile="true" transient="true"
derived="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="eAttributes" upperBound="-1"
eType="#//ecore/EAttribute" changeable="false" volatile="true" transient="true"
derived="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="eAllContainments" upperBound="-1"
eType="#//ecore/EReference" changeable="false" volatile="true" transient="true"
derived="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="eAllOperations" upperBound="-1"
eType="#//ecore/EOperation" changeable="false" volatile="true" transient="true"
derived="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="eAllStructuralFeatures"
upperBound="-1" eType="#//ecore/EStructuralFeature" changeable="false" volatile="true"
transient="true" derived="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="eAllSuperTypes" upperBound="-1"
eType="#//ecore/EClass" changeable="false" volatile="true" transient="true"
derived="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="eIDAttribute" eType="#//ecore/EAttribute"
changeable="false" volatile="true" transient="true" derived="true" resolveProxies="false"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="eStructuralFeatures"
upperBound="-1" eType="#//ecore/EStructuralFeature" containment="true" resolveProxies="false"
eOpposite="#//ecore/EStructuralFeature/eContainingClass"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="eGenericSuperTypes" upperBound="-1"
eType="#//ecore/EGenericType" unsettable="true" containment="true" resolveProxies="false">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="suppressedIsSetVisibility" value="true"/>
<details key="suppressedUnsetVisibility" value="true"/>
</eAnnotations>
</eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="eAllGenericSuperTypes"
upperBound="-1" eType="#//ecore/EGenericType" changeable="false" volatile="true"
transient="true" derived="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="EClassifier" abstract="true" eSuperTypes="#//ecore/ENamedElement">
<eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
<details key="constraints" value="WellFormedInstanceTypeName UniqueTypeParameterNames"/>
</eAnnotations>
<eOperations name="isInstance" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean">
<eParameters name="object" eType="#//ecore/EJavaObject"/>
</eOperations>
<eOperations name="getClassifierID" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="instanceClassName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
volatile="true" unsettable="true">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="suppressedIsSetVisibility" value="true"/>
<details key="suppressedUnsetVisibility" value="true"/>
</eAnnotations>
</eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="instanceClass" changeable="false"
volatile="true" transient="true" derived="true">
<eGenericType eClassifier="#//ecore/EJavaClass">
<eTypeArguments/>
</eGenericType>
</eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="defaultValue" eType="#//ecore/EJavaObject"
changeable="false" volatile="true" transient="true" derived="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="instanceTypeName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
volatile="true" unsettable="true">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="suppressedIsSetVisibility" value="true"/>
<details key="suppressedUnsetVisibility" value="true"/>
</eAnnotations>
</eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="ePackage" eType="#//ecore/EPackage"
changeable="false" transient="true" eOpposite="#//ecore/EPackage/eClassifiers"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="eTypeParameters" upperBound="-1"
eType="#//ecore/ETypeParameter" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="EDataType" eSuperTypes="#//ecore/EClassifier">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="serializable" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
defaultValueLiteral="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="EEnum" eSuperTypes="#//ecore/EDataType">
<eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
<details key="constraints" value="UniqueEnumeratorNames UniqueEnumeratorLiterals"/>
</eAnnotations>
<eOperations name="getEEnumLiteral" eType="#//ecore/EEnumLiteral">
<eParameters name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eOperations>
<eOperations name="getEEnumLiteral" eType="#//ecore/EEnumLiteral">
<eParameters name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
</eOperations>
<eOperations name="getEEnumLiteralByLiteral" eType="#//ecore/EEnumLiteral">
<eParameters name="literal" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eOperations>
<eStructuralFeatures xsi:type="ecore:EReference" name="eLiterals" upperBound="-1"
eType="#//ecore/EEnumLiteral" containment="true" resolveProxies="false"
eOpposite="#//ecore/EEnumLiteral/eEnum"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="EEnumLiteral" eSuperTypes="#//ecore/ENamedElement">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="instance" eType="#//ecore/EEnumerator"
transient="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="literal" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="eEnum" eType="#//ecore/EEnum"
changeable="false" transient="true" resolveProxies="false" eOpposite="#//ecore/EEnum/eLiterals"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="EFactory" eSuperTypes="#//ecore/EModelElement">
<eOperations name="create" eType="#//ecore/EObject">
<eParameters name="eClass" eType="#//ecore/EClass"/>
</eOperations>
<eOperations name="createFromString" eType="#//ecore/EJavaObject">
<eParameters name="eDataType" eType="#//ecore/EDataType"/>
<eParameters name="literalValue" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eOperations>
<eOperations name="convertToString" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
<eParameters name="eDataType" eType="#//ecore/EDataType"/>
<eParameters name="instanceValue" eType="#//ecore/EJavaObject"/>
</eOperations>
<eStructuralFeatures xsi:type="ecore:EReference" name="ePackage" lowerBound="1"
eType="#//ecore/EPackage" transient="true" resolveProxies="false" eOpposite="#//ecore/EPackage/eFactoryInstance"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="EModelElement" abstract="true" eSuperTypes="#//ecore/EObject">
<eOperations name="getEAnnotation" eType="#//ecore/EAnnotation">
<eParameters name="source" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eOperations>
<eStructuralFeatures xsi:type="ecore:EReference" name="eAnnotations" upperBound="-1"
eType="#//ecore/EAnnotation" containment="true" resolveProxies="false" eOpposite="#//ecore/EAnnotation/eModelElement"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ENamedElement" abstract="true" eSuperTypes="#//ecore/EModelElement">
<eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
<details key="constraints" value="WellFormedName"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="EObject">
<eOperations name="eClass" eType="#//ecore/EClass"/>
<eOperations name="eIsProxy" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
<eOperations name="eResource" eType="#//ecore/EResource"/>
<eOperations name="eContainer" eType="#//ecore/EObject"/>
<eOperations name="eContainingFeature" eType="#//ecore/EStructuralFeature"/>
<eOperations name="eContainmentFeature" eType="#//ecore/EReference"/>
<eOperations name="eContents">
<eGenericType eClassifier="#//ecore/EEList">
<eTypeArguments eClassifier="#//ecore/EObject"/>
</eGenericType>
</eOperations>
<eOperations name="eAllContents">
<eGenericType eClassifier="#//ecore/ETreeIterator">
<eTypeArguments eClassifier="#//ecore/EObject"/>
</eGenericType>
</eOperations>
<eOperations name="eCrossReferences">
<eGenericType eClassifier="#//ecore/EEList">
<eTypeArguments eClassifier="#//ecore/EObject"/>
</eGenericType>
</eOperations>
<eOperations name="eGet" eType="#//ecore/EJavaObject">
<eParameters name="feature" eType="#//ecore/EStructuralFeature"/>
</eOperations>
<eOperations name="eGet" eType="#//ecore/EJavaObject">
<eParameters name="feature" eType="#//ecore/EStructuralFeature"/>
<eParameters name="resolve" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
</eOperations>
<eOperations name="eSet">
<eParameters name="feature" eType="#//ecore/EStructuralFeature"/>
<eParameters name="newValue" eType="#//ecore/EJavaObject"/>
</eOperations>
<eOperations name="eIsSet" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean">
<eParameters name="feature" eType="#//ecore/EStructuralFeature"/>
</eOperations>
<eOperations name="eUnset">
<eParameters name="feature" eType="#//ecore/EStructuralFeature"/>
</eOperations>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="EOperation" eSuperTypes="#//ecore/ETypedElement">
<eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
<details key="constraints" value="UniqueParameterNames UniqueTypeParameterNames NoRepeatingVoid"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="eContainingClass" eType="#//ecore/EClass"
changeable="false" transient="true" resolveProxies="false" eOpposite="#//ecore/EClass/eOperations"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="eTypeParameters" upperBound="-1"
eType="#//ecore/ETypeParameter" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="eParameters" upperBound="-1"
eType="#//ecore/EParameter" containment="true" resolveProxies="false" eOpposite="#//ecore/EParameter/eOperation"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="eExceptions" upperBound="-1"
eType="#//ecore/EClassifier" unsettable="true">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="suppressedIsSetVisibility" value="true"/>
<details key="suppressedUnsetVisibility" value="true"/>
</eAnnotations>
</eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="eGenericExceptions" upperBound="-1"
eType="#//ecore/EGenericType" unsettable="true" containment="true" resolveProxies="false">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="suppressedIsSetVisibility" value="true"/>
<details key="suppressedUnsetVisibility" value="true"/>
</eAnnotations>
</eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="EPackage" eSuperTypes="#//ecore/ENamedElement">
<eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
<details key="constraints" value="WellFormedNsURI WellFormedNsPrefix UniqueSubpackageNames UniqueClassifierNames UniqueNsURIs"/>
</eAnnotations>
<eOperations name="getEClassifier" eType="#//ecore/EClassifier">
<eParameters name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eOperations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="nsURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="nsPrefix" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="eFactoryInstance" lowerBound="1"
eType="#//ecore/EFactory" transient="true" resolveProxies="false" eOpposite="#//ecore/EFactory/ePackage"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="eClassifiers" upperBound="-1"
eType="#//ecore/EClassifier" containment="true" eOpposite="#//ecore/EClassifier/ePackage"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="eSubpackages" upperBound="-1"
eType="#//ecore/EPackage" containment="true" eOpposite="#//ecore/EPackage/eSuperPackage"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="eSuperPackage" eType="#//ecore/EPackage"
changeable="false" transient="true" eOpposite="#//ecore/EPackage/eSubpackages"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="EParameter" eSuperTypes="#//ecore/ETypedElement">
<eStructuralFeatures xsi:type="ecore:EReference" name="eOperation" eType="#//ecore/EOperation"
changeable="false" transient="true" resolveProxies="false" eOpposite="#//ecore/EOperation/eParameters"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="EReference" eSuperTypes="#//ecore/EStructuralFeature">
<eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
<details key="constraints" value="ConsistentOpposite SingleContainer ConsistentKeys"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="containment" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="container" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
changeable="false" volatile="true" transient="true" derived="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="resolveProxies" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
defaultValueLiteral="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="eOpposite" eType="#//ecore/EReference"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="eReferenceType" lowerBound="1"
eType="#//ecore/EClass" changeable="false" volatile="true" transient="true"
derived="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="eKeys" upperBound="-1"
eType="#//ecore/EAttribute"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="EStructuralFeature" abstract="true"
eSuperTypes="#//ecore/ETypedElement">
<eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
<details key="constraints" value="ValidDefaultValueLiteral"/>
</eAnnotations>
<eOperations name="getFeatureID" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
<eOperations name="getContainerClass">
<eGenericType eClassifier="#//ecore/EJavaClass">
<eTypeArguments/>
</eGenericType>
</eOperations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="changeable" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
defaultValueLiteral="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="volatile" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="transient" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="defaultValueLiteral"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="defaultValue" eType="#//ecore/EJavaObject"
changeable="false" volatile="true" transient="true" derived="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="unsettable" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="derived" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="eContainingClass" eType="#//ecore/EClass"
changeable="false" transient="true" resolveProxies="false" eOpposite="#//ecore/EClass/eStructuralFeatures"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ETypedElement" abstract="true" eSuperTypes="#//ecore/ENamedElement">
<eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
<details key="constraints" value="ValidLowerBound ValidUpperBound ConsistentBounds ValidType"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="ordered" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
defaultValueLiteral="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="unique" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
defaultValueLiteral="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="lowerBound" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="upperBound" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
defaultValueLiteral="1"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="many" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
changeable="false" volatile="true" transient="true" derived="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="required" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
changeable="false" volatile="true" transient="true" derived="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="eType" eType="#//ecore/EClassifier"
volatile="true" unsettable="true">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="suppressedIsSetVisibility" value="true"/>
<details key="suppressedUnsetVisibility" value="true"/>
</eAnnotations>
</eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="eGenericType" eType="#//ecore/EGenericType"
volatile="true" unsettable="true" containment="true" resolveProxies="false">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="suppressedIsSetVisibility" value="true"/>
<details key="suppressedUnsetVisibility" value="true"/>
</eAnnotations>
</eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EDataType" name="EBigDecimal" instanceClassName="java.math.BigDecimal">
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
<details key="baseType" value="http://www.w3.org/2001/XMLSchema#decimal"/>
</eAnnotations>
</eClassifiers>
<eClassifiers xsi:type="ecore:EDataType" name="EBigInteger" instanceClassName="java.math.BigInteger">
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
<details key="baseType" value="http://www.w3.org/2001/XMLSchema#integer"/>
</eAnnotations>
</eClassifiers>
<eClassifiers xsi:type="ecore:EDataType" name="EBoolean" instanceClassName="boolean">
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
<details key="baseType" value="http://www.w3.org/2001/XMLSchema#boolean"/>
</eAnnotations>
</eClassifiers>
<eClassifiers xsi:type="ecore:EDataType" name="EBooleanObject" instanceClassName="java.lang.Boolean">
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
<details key="baseType" value="EBoolean"/>
<details key="name" value="EBoolean:Object"/>
</eAnnotations>
</eClassifiers>
<eClassifiers xsi:type="ecore:EDataType" name="EByte" instanceClassName="byte">
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
<details key="baseType" value="http://www.w3.org/2001/XMLSchema#byte"/>
</eAnnotations>
</eClassifiers>
<eClassifiers xsi:type="ecore:EDataType" name="EByteArray" instanceClassName="byte[]">
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
<details key="baseType" value="http://www.w3.org/2001/XMLSchema#hexBinary"/>
</eAnnotations>
</eClassifiers>
<eClassifiers xsi:type="ecore:EDataType" name="EByteObject" instanceClassName="java.lang.Byte">
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
<details key="baseType" value="EByte"/>
<details key="name" value="EByte:Object"/>
</eAnnotations>
</eClassifiers>
<eClassifiers xsi:type="ecore:EDataType" name="EChar" instanceClassName="char"/>
<eClassifiers xsi:type="ecore:EDataType" name="ECharacterObject" instanceClassName="java.lang.Character">
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
<details key="baseType" value="EChar"/>
<details key="name" value="EChar:Object"/>
</eAnnotations>
</eClassifiers>
<eClassifiers xsi:type="ecore:EDataType" name="EDate" instanceClassName="java.util.Date"/>
<eClassifiers xsi:type="ecore:EDataType" name="EDiagnosticChain" instanceClassName="org.eclipse.emf.common.util.DiagnosticChain "
serializable="false"/>
<eClassifiers xsi:type="ecore:EDataType" name="EDouble" instanceClassName="double">
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
<details key="baseType" value="http://www.w3.org/2001/XMLSchema#double"/>
</eAnnotations>
</eClassifiers>
<eClassifiers xsi:type="ecore:EDataType" name="EDoubleObject" instanceClassName="java.lang.Double">
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
<details key="baseType" value="EDouble"/>
<details key="name" value="EDouble:Object"/>
</eAnnotations>
</eClassifiers>
<eClassifiers xsi:type="ecore:EDataType" name="EEList" instanceClassName="org.eclipse.emf.common.util.EList"
serializable="false">
<eTypeParameters name="E"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EDataType" name="EEnumerator" instanceClassName="org.eclipse.emf.common.util.Enumerator"
serializable="false"/>
<eClassifiers xsi:type="ecore:EDataType" name="EFeatureMap" instanceClassName="org.eclipse.emf.ecore.util.FeatureMap"
serializable="false"/>
<eClassifiers xsi:type="ecore:EDataType" name="EFeatureMapEntry" instanceClassName="org.eclipse.emf.ecore.util.FeatureMap$Entry "
serializable="false"/>
<eClassifiers xsi:type="ecore:EDataType" name="EFloat" instanceClassName="float">
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
<details key="baseType" value="http://www.w3.org/2001/XMLSchema#float"/>
</eAnnotations>
</eClassifiers>
<eClassifiers xsi:type="ecore:EDataType" name="EFloatObject" instanceClassName="java.lang.Float">
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
<details key="baseType" value="EFloat"/>
<details key="name" value="EFloat:Object"/>
</eAnnotations>
</eClassifiers>
<eClassifiers xsi:type="ecore:EDataType" name="EInt" instanceClassName="int">
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
<details key="baseType" value="http://www.w3.org/2001/XMLSchema#int"/>
</eAnnotations>
</eClassifiers>
<eClassifiers xsi:type="ecore:EDataType" name="EIntegerObject" instanceClassName="java.lang.Integer">
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
<details key="baseType" value="EInt"/>
<details key="name" value="EInt:Object"/>
</eAnnotations>
</eClassifiers>
<eClassifiers xsi:type="ecore:EDataType" name="EJavaClass" instanceClassName="java.lang.Class">
<eTypeParameters name="T"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EDataType" name="EJavaObject" instanceClassName="java.lang.Object"/>
<eClassifiers xsi:type="ecore:EDataType" name="ELong" instanceClassName="long">
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
<details key="baseType" value="http://www.w3.org/2001/XMLSchema#long"/>
</eAnnotations>
</eClassifiers>
<eClassifiers xsi:type="ecore:EDataType" name="ELongObject" instanceClassName="java.lang.Long">
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
<details key="baseType" value="ELong"/>
<details key="name" value="ELong:Object"/>
</eAnnotations>
</eClassifiers>
<eClassifiers xsi:type="ecore:EDataType" name="EMap" instanceClassName="java.util.Map"
serializable="false">
<eTypeParameters name="K"/>
<eTypeParameters name="V"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EDataType" name="EResource" instanceClassName="org.eclipse.emf.ecore.resource.Resource"
serializable="false"/>
<eClassifiers xsi:type="ecore:EDataType" name="EResourceSet" instanceClassName="org.eclipse.emf.ecore.resource.ResourceSet "
serializable="false"/>
<eClassifiers xsi:type="ecore:EDataType" name="EShort" instanceClassName="short">
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
<details key="baseType" value="http://www.w3.org/2001/XMLSchema#short"/>
</eAnnotations>
</eClassifiers>
<eClassifiers xsi:type="ecore:EDataType" name="EShortObject" instanceClassName="java.lang.Short">
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
<details key="baseType" value="EShort"/>
<details key="name" value="EShort:Object"/>
</eAnnotations>
</eClassifiers>
<eClassifiers xsi:type="ecore:EDataType" name="EString" instanceClassName="java.lang.String">
<eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
<details key="baseType" value="http://www.w3.org/2001/XMLSchema#string"/>
</eAnnotations>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="EStringToStringMapEntry" instanceClassName="java.util.Map$Entry">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="key" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EDataType" name="ETreeIterator" instanceClassName="org.eclipse.emf.common.util.TreeIterator "
serializable="false">
<eTypeParameters name="E"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="EGenericType" eSuperTypes="#//ecore/EObject">
<eAnnotations source="http://www.eclipse.org/emf/2002/Ecore">
<details key="constraints" value="ConsistentType ConsistentBounds ConsistentArguments"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="eUpperBound" eType="#//ecore/EGenericType"
containment="true" resolveProxies="false"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="eTypeArguments" upperBound="-1"
eType="#//ecore/EGenericType" containment="true" resolveProxies="false"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="eRawType" lowerBound="1"
eType="#//ecore/EClassifier" changeable="false" transient="true" derived="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="eLowerBound" eType="#//ecore/EGenericType"
containment="true" resolveProxies="false"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="eTypeParameter" eType="#//ecore/ETypeParameter"
resolveProxies="false"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="eClassifier" eType="#//ecore/EClassifier"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ETypeParameter" eSuperTypes="#//ecore/ENamedElement">
<eStructuralFeatures xsi:type="ecore:EReference" name="eBounds" upperBound="-1"
eType="#//ecore/EGenericType" containment="true" resolveProxies="false"/>
</eClassifiers>
</eSubpackages>
</ecore:EPackage>

--------------020800070602080706040605--
Re: [QVT] The type 'collection:OrderedSet(EAnnotation)' does not conform the type 'OrderedSet(EAnnot [message #81854 is a reply to message #81838] Wed, 21 May 2008 08:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nicolas.toublanc.accenture.com

Somebody experienced a similar problem : "Re: [QVTO]when a type does not
conform to itself?"

http://dev.eclipse.org/newslists/news.eclipse.modeling.m2m/m sg02528.html


Nicolas Toublanc a écrit :
> Hi,
>
> We are experiencing an issue with a QVT transformation from a UML model
> to an Ecore extended model, named NSDC.
>
> The NSDC model contains an 'ApplicationPackage' element, that herits
> from 'EPackage'.
>
> I've an error in Eclipse 3.4 M6 QVT editor :
>
> "The type collection:OrderedSet(EAnnotation)' does not conform the type
> 'OrderedSet(EAnnotation)'"
>
> in the line :
>
> "eAnnotations := self.eAnnotations;"
>
>
> Please find the ecore model and the qvto transformation file in
> attachements.
>
>
> Thanks for your help,
>
> Best regards,
>
>
> Nicolas Toublanc
> Accenture Technology Solutions
>
Re: [QVT] The type 'collection:OrderedSet(EAnnotation)' does not conform the type 'OrderedSet(EAnnot [message #81870 is a reply to message #81838] Wed, 21 May 2008 09:30 Go to previous messageGo to next message
Radomil Dvorak is currently offline Radomil DvorakFriend
Messages: 249
Registered: July 2009
Senior Member
Hi Nicolas,

Looks like you forgot to add your ecore file to attachments.

Regards,
/Radek


On Wed, 21 May 2008 10:03:47 +0200, Nicolas Toublanc =

<nicolas.toublanc@accenture.com> wrote:

> Hi,
>
> We are experiencing an issue with a QVT transformation from a UML mode=
l
> to an Ecore extended model, named NSDC.
>
> The NSDC model contains an 'ApplicationPackage' element, that herits
> from 'EPackage'.
>
> I've an error in Eclipse 3.4 M6 QVT editor :
>
> "The type collection:OrderedSet(EAnnotation)' does not conform the ty=
pe
> 'OrderedSet(EAnnotation)'"
>
> in the line :
>
> "eAnnotations :=3D self.eAnnotations;"
>
>
> Please find the ecore model and the qvto transformation file in
> attachements.
>
>
> Thanks for your help,
>
> Best regards,
>
>
> Nicolas Toublanc
> Accenture Technology Solutions



-- =

Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Re: [QVT] The type 'collection:OrderedSet(EAnnotation)' does not conform the type 'OrderedSet(EAnnot [message #81899 is a reply to message #81838] Wed, 21 May 2008 12:10 Go to previous message
Eclipse UserFriend
Originally posted by: karim.litim.accenture.com

Nicolas Toublanc a écrit :
> Hi,
>
> We are experiencing an issue with a QVT transformation from a UML model
> to an Ecore extended model, named NSDC.
>
> The NSDC model contains an 'ApplicationPackage' element, that herits
> from 'EPackage'.
>
> I've an error in Eclipse 3.4 M6 QVT editor :
>
> "The type collection:OrderedSet(EAnnotation)' does not conform the type
> 'OrderedSet(EAnnotation)'"
>
> in the line :
>
> "eAnnotations := self.eAnnotations;"
>
>
> Please find the ecore model and the qvto transformation file in
> attachements.
>
>
> Thanks for your help,
>
> Best regards,
>
>
> Nicolas Toublanc
> Accenture Technology Solutions
>
Hi,

The heritage ApplicationPackage->EPackage caused the problem . by
changing this one to :
ApplicationPackage->EPackage[org.eclipse.emf.EPackage]
and so on for all heritages in the meta-model.

Then I exported my meta-model as an Eclipse Plugin.

In my transformation, i changed meta-model to make reference to the
plugin I exported and it works.

Karim Litim
Accenture Technology Solutions
Previous Topic:[ATL] Launch ATL from Java
Next Topic:[ATL] parameters in called rules
Goto Forum:
  


Current Time: Thu Apr 18 23:43:44 GMT 2024

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

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

Back to the top