Dataset Preview
View in Dataset Viewer
Viewer
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code: DatasetGenerationCastError Exception: DatasetGenerationCastError Message: An error occurred while generating the dataset All the data files must have the same columns, but at some point there are 2 new columns ({'content', 'role'}) and 1 missing columns ({'messages'}). This happened while the json dataset builder was generating data using hf://datasets/VeryMadSoul/Ecore_finetune_gpt/data/validation/job5_validation.jsonl (at revision 2d3a49d9257bbb69f63a763a892fd1055b49eed7) Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations) Traceback: Traceback (most recent call last): File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2011, in _prepare_split_single writer.write_table(table) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 585, in write_table pa_table = table_cast(pa_table, self._schema) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2302, in table_cast return cast_table_to_schema(table, schema) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2256, in cast_table_to_schema raise CastError( datasets.table.CastError: Couldn't cast content: string role: string to {'messages': [{'role': Value(dtype='string', id=None), 'content': Value(dtype='string', id=None)}]} because column names don't match During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1577, in compute_config_parquet_and_info_response parquet_operations = convert_to_parquet(builder) File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1191, in convert_to_parquet builder.download_and_prepare( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1027, in download_and_prepare self._download_and_prepare( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1122, in _download_and_prepare self._prepare_split(split_generator, **prepare_split_kwargs) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1882, in _prepare_split for job_id, done, content in self._prepare_split_single( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2013, in _prepare_split_single raise DatasetGenerationCastError.from_cast_error( datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset All the data files must have the same columns, but at some point there are 2 new columns ({'content', 'role'}) and 1 missing columns ({'messages'}). This happened while the json dataset builder was generating data using hf://datasets/VeryMadSoul/Ecore_finetune_gpt/data/validation/job5_validation.jsonl (at revision 2d3a49d9257bbb69f63a763a892fd1055b49eed7) Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Need help to make the dataset viewer work? Open a discussion for direct support.
messages
list |
---|
[
{
"role": "system",
"content": "You are a systems engineer, expert in model driven engineering and meta-modeling \nYour OUTPUT should always be an ecore xmi in this format :\n```xml \nYOUR CODE HERE \n```\n"
},
{
"role": "user",
"content": "Convert the following description into an ecore xmi representation:\nexpressions\nExpression\nConstExpression\nexpression\nOrExpression\nleft\nright\nXOrExpression\nleft\nright\nAndExpression\nleft\nright\nShiftExpression\nleft\nright\ntype\nShiftType\nLEFT\n<<\nRIGHT\n>>\nAddExpression\nleft\nright\ntype\nAddType\nADDITION\n+\nSUBTRACTION\n-\nMultExpression\nleft\nright\ntype\nMultiType\nMULTIPLICATION\nMULTIPLICATION\nDIVISION\nDIVISION\nMODULATION\n%\nUnaryExpression\nexpr\ntype\nUnaryType\nNEGATIVE\n-\nPOSITIVE\n+\nTILDE\n~\nScopeLiteral\nvalue\nIntegerLiteral\nvalue\nStringLiteral\nvalue\nCharacterLiteral\nvalue\nFloatingPointLiteral\nvalue\nDoubleLiteral\nvalue\nBooleanLiteral\nvalue\nFixedPtLiteral\nintegerPart\ndecimalPart\nvalue\nWideStringLiteral\nvalue\nWideCharacterLiteral\nvalue"
},
{
"role": "assistant",
"content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ecore:EPackage xmi:version=\"2.0\"\n xmlns:xmi=\"http://www.omg.org/XMI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n xmlns:ecore=\"http://www.eclipse.org/emf/2002/Ecore\" name=\"expressions\"\n nsURI=\"http:///gov/redhawk/eclipsecorba/idl.expressions.ecore\" nsPrefix=\"expressions\">\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Expression\" abstract=\"true\" eSuperTypes=\"idl.ecore#//FileRegion\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ConstExpression\" eSuperTypes=\"#//Expression\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"expression\" eType=\"#//Expression\"\n containment=\"true\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"OrExpression\" eSuperTypes=\"#//Expression\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"left\" eType=\"#//Expression\"\n containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"right\" eType=\"#//Expression\"\n containment=\"true\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"XOrExpression\" eSuperTypes=\"#//Expression\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"left\" eType=\"#//Expression\"\n containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"right\" eType=\"#//Expression\"\n containment=\"true\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"AndExpression\" eSuperTypes=\"#//Expression\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"left\" eType=\"#//Expression\"\n containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"right\" eType=\"#//Expression\"\n containment=\"true\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ShiftExpression\" eSuperTypes=\"#//Expression\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"left\" eType=\"#//Expression\"\n containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"right\" eType=\"#//Expression\"\n containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"type\" eType=\"#//ShiftType\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EEnum\" name=\"ShiftType\">\n <eLiterals name=\"LEFT\" literal=\"<<\"/>\n <eLiterals name=\"RIGHT\" value=\"1\" literal=\">>\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"AddExpression\" eSuperTypes=\"#//Expression\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"left\" eType=\"#//Expression\"\n containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"right\" eType=\"#//Expression\"\n containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"type\" eType=\"#//AddType\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EEnum\" name=\"AddType\">\n <eLiterals name=\"ADDITION\" literal=\"+\"/>\n <eLiterals name=\"SUBTRACTION\" value=\"1\" literal=\"-\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"MultExpression\" eSuperTypes=\"#//Expression\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"left\" eType=\"#//Expression\"\n containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"right\" eType=\"#//Expression\"\n containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"type\" eType=\"#//MultiType\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EEnum\" name=\"MultiType\">\n <eLiterals name=\"MULTIPLICATION\"/>\n <eLiterals name=\"DIVISION\" value=\"1\"/>\n <eLiterals name=\"MODULATION\" value=\"2\" literal=\"%\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"UnaryExpression\" eSuperTypes=\"#//Expression\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"expr\" eType=\"#//Expression\"\n containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"type\" eType=\"#//UnaryType\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EEnum\" name=\"UnaryType\">\n <eLiterals name=\"NEGATIVE\" literal=\"-\"/>\n <eLiterals name=\"POSITIVE\" value=\"1\" literal=\"+\"/>\n <eLiterals name=\"TILDE\" value=\"2\" literal=\"~\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ScopeLiteral\" eSuperTypes=\"#//Expression\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"value\" eType=\"ecore:EClass idl.ecore#//IdlTypeDcl\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"IntegerLiteral\" eSuperTypes=\"#//Expression\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"value\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"StringLiteral\" eSuperTypes=\"#//Expression\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"value\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"CharacterLiteral\" eSuperTypes=\"#//Expression\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"value\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EChar\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"FloatingPointLiteral\" eSuperTypes=\"#//Expression\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"value\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFloat\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"DoubleLiteral\" eSuperTypes=\"#//Expression\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"value\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"BooleanLiteral\" eSuperTypes=\"#//Expression\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"value\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"FixedPtLiteral\" eSuperTypes=\"#//Expression\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"integerPart\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"decimalPart\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"value\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"\n volatile=\"true\" transient=\"true\" derived=\"true\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"WideStringLiteral\" eSuperTypes=\"#//Expression\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"value\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"WideCharacterLiteral\" eSuperTypes=\"#//Expression\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"value\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EChar\"/>\n </eClassifiers>\n</ecore:EPackage>\n"
}
] |
[
{
"role": "system",
"content": "You are a systems engineer, expert in model driven engineering and meta-modeling \nYour OUTPUT should always be an ecore xmi in this format :\n```xml \nYOUR CODE HERE \n```\n"
},
{
"role": "user",
"content": "Convert the following description into an ecore xmi representation:\nocl\numl\nAnyType\nownedOperation\nVoidType\nownedOperation\nInvalidType\nownedOperation\nElementType\nTypeType\nownedOperation\nMessageType\nownedOperation\nownedAttribute\nPrimitiveType\nCollectionType\nTupleType\nBagType\nSetType\nOrderedSetType\nSequenceType\nExpressionInOCL\nAssociationClassCallExp\nNavigationCallExp\nFeatureCallExp\nCallExp\nOCLExpression\nBooleanLiteralExp\nPrimitiveLiteralExp\nLiteralExp\nCollectionItem\nCollectionLiteralPart\nCollectionLiteralExp\nCollectionRange\nEnumLiteralExp\nIfExp\nIntegerLiteralExp\nNumericLiteralExp\nUnlimitedNaturalLiteralExp\nInvalidLiteralExp\nIterateExp\nLoopExp\nIteratorExp\nLetExp\nMessageExp\nNullLiteralExp\nOperationCallExp\nPropertyCallExp\nRealLiteralExp\nStateExp\nStringLiteralExp\nTupleLiteralExp\nTupleLiteralPart\nTypeExp\nUnspecifiedValueExp\nVariable\nVariableExp\nTemplateParameterType\nownedOperation"
},
{
"role": "assistant",
"content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ecore:EPackage xmi:version=\"2.0\" xmlns:xmi=\"http://www.omg.org/XMI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n xmlns:ecore=\"http://www.eclipse.org/emf/2002/Ecore\" name=\"ocl\" nsURI=\"http://www.eclipse.org/ocl/1.1.0/OCLUML\" nsPrefix=\"ocl\">\n <eSubpackages name=\"uml\" nsURI=\"http://www.eclipse.org/ocl/1.1.0/UML\" nsPrefix=\"ocl.uml\">\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"AnyType\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedOperation\" upperBound=\"-1\"\n eType=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation\"\n containment=\"true\">\n <eAnnotations source=\"subsets\" references=\"platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier/feature\"/>\n </eStructuralFeatures>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//types/AnyType\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"VoidType\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedOperation\" upperBound=\"-1\"\n eType=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation\"\n containment=\"true\">\n <eAnnotations source=\"subsets\" references=\"platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier/feature\"/>\n </eStructuralFeatures>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//types/VoidType\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"InvalidType\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedOperation\" upperBound=\"-1\"\n eType=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation\"\n containment=\"true\">\n <eAnnotations source=\"subsets\" references=\"platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier/feature\"/>\n </eStructuralFeatures>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//types/InvalidType\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ElementType\" eSuperTypes=\"platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//types/ElementType\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"TypeType\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedOperation\" upperBound=\"-1\"\n eType=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation\"\n containment=\"true\">\n <eAnnotations source=\"subsets\" references=\"platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier/feature\"/>\n </eStructuralFeatures>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//types/TypeType\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"MessageType\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedOperation\" upperBound=\"-1\"\n eType=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation\"\n containment=\"true\">\n <eAnnotations source=\"subsets\" references=\"platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier/feature\"/>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedAttribute\" upperBound=\"-1\"\n eType=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Property\"\n containment=\"true\">\n <eAnnotations source=\"subsets\" references=\"platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier/attribute\"/>\n </eStructuralFeatures>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//types/MessageType\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Property\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"PrimitiveType\">\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//PrimitiveType\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//types/PrimitiveType\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"CollectionType\">\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//DataType\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//types/CollectionType\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"TupleType\">\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//DataType\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//types/TupleType\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Property\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"BagType\">\n <eGenericSuperTypes eClassifier=\"#//uml/CollectionType\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//types/BagType\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"SetType\">\n <eGenericSuperTypes eClassifier=\"#//uml/CollectionType\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//types/SetType\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"OrderedSetType\">\n <eGenericSuperTypes eClassifier=\"#//uml/CollectionType\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//types/OrderedSetType\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"SequenceType\">\n <eGenericSuperTypes eClassifier=\"#//uml/CollectionType\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//types/SequenceType\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ExpressionInOCL\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"name\" value=\"ExpressionInOcl\"/>\n </eAnnotations>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//OpaqueExpression\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//utilities/ExpressionInOCL\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Parameter\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"AssociationClassCallExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/NavigationCallExp\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/AssociationClassCallExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Property\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"NavigationCallExp\" abstract=\"true\">\n <eGenericSuperTypes eClassifier=\"#//uml/FeatureCallExp\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/NavigationCallExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Property\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"FeatureCallExp\" abstract=\"true\">\n <eGenericSuperTypes eClassifier=\"#//uml/CallExp\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/FeatureCallExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"CallExp\" abstract=\"true\">\n <eGenericSuperTypes eClassifier=\"#//uml/OCLExpression\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/CallExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"OCLExpression\" abstract=\"true\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"name\" value=\"OclExpression\"/>\n </eAnnotations>\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/Ecore\">\n <details key=\"constraints\" value=\"has_type\"/>\n </eAnnotations>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//TypedElement\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/OCLExpression\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"BooleanLiteralExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/PrimitiveLiteralExp\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/BooleanLiteralExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"PrimitiveLiteralExp\" abstract=\"true\">\n <eGenericSuperTypes eClassifier=\"#//uml/LiteralExp\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/PrimitiveLiteralExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"LiteralExp\" abstract=\"true\">\n <eGenericSuperTypes eClassifier=\"#//uml/OCLExpression\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/LiteralExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"CollectionItem\">\n <eGenericSuperTypes eClassifier=\"#//uml/CollectionLiteralPart\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/CollectionItem\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"CollectionLiteralPart\" abstract=\"true\">\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//TypedElement\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/CollectionLiteralPart\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"CollectionLiteralExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/LiteralExp\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/CollectionLiteralExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"CollectionRange\">\n <eGenericSuperTypes eClassifier=\"#//uml/CollectionLiteralPart\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/CollectionRange\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"EnumLiteralExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/LiteralExp\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/EnumLiteralExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//EnumerationLiteral\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"IfExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/OCLExpression\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/IfExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"IntegerLiteralExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/NumericLiteralExp\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/IntegerLiteralExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"NumericLiteralExp\" abstract=\"true\">\n <eGenericSuperTypes eClassifier=\"#//uml/PrimitiveLiteralExp\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/NumericLiteralExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"UnlimitedNaturalLiteralExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/NumericLiteralExp\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/UnlimitedNaturalLiteralExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"InvalidLiteralExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/LiteralExp\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/InvalidLiteralExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"IterateExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/LoopExp\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/IterateExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Parameter\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"LoopExp\" abstract=\"true\">\n <eGenericSuperTypes eClassifier=\"#//uml/CallExp\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/LoopExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Parameter\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"IteratorExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/LoopExp\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/IteratorExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Parameter\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"LetExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/OCLExpression\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/LetExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Parameter\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"MessageExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/OCLExpression\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/MessageExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//CallOperationAction\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//SendSignalAction\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"NullLiteralExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/LiteralExp\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/NullLiteralExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"OperationCallExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/FeatureCallExp\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/OperationCallExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"PropertyCallExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/NavigationCallExp\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/PropertyCallExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Property\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"RealLiteralExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/NumericLiteralExp\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/RealLiteralExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"StateExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/OCLExpression\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/StateExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//State\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"StringLiteralExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/PrimitiveLiteralExp\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/StringLiteralExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"TupleLiteralExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/LiteralExp\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/TupleLiteralExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Property\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"TupleLiteralPart\">\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//TypedElement\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/TupleLiteralPart\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Property\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"TypeExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/OCLExpression\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/TypeExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"UnspecifiedValueExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/OCLExpression\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/UnspecifiedValueExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Variable\">\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//TypedElement\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/Variable\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Parameter\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"VariableExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/OCLExpression\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/VariableExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Parameter\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"TemplateParameterType\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedOperation\" upperBound=\"-1\"\n eType=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation\"\n containment=\"true\">\n <eAnnotations source=\"subsets\" references=\"platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier/feature\"/>\n </eStructuralFeatures>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//types/TemplateParameterType\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n </eSubpackages>\n</ecore:EPackage>\n"
}
] |
[
{
"role": "system",
"content": "You are a systems engineer, expert in model driven engineering and meta-modeling \nYour OUTPUT should always be an ecore xmi in this format :\n```xml \nYOUR CODE HERE \n```\n"
},
{
"role": "user",
"content": "Convert the following description into an ecore xmi representation:\nvarious\nParent\nchildren\ntotalPeople\nChild\nImmutableCity\nname\nparents"
},
{
"role": "assistant",
"content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ecore:EPackage xmi:version=\"2.0\"\n xmlns:xmi=\"http://www.omg.org/XMI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n xmlns:ecore=\"http://www.eclipse.org/emf/2002/Ecore\" name=\"various\"\n nsURI=\"http://www.eclipse.org/emf/teneo/samples/emf/annotations/various\" nsPrefix=\"various\">\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Parent\">\n <eAnnotations source=\"teneo.jpa\">\n <details key=\"value\" value=\"@ForceDiscriminator
@BatchSize(size=9)\"/>\n </eAnnotations>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"children\" upperBound=\"-1\"\n eType=\"#//Child\">\n <eAnnotations source=\"teneo.jpa\">\n <details key=\"value\" value=\"@BatchSize(size=11)\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"totalPeople\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt\">\n <eAnnotations source=\"teneo.jpa\">\n <details key=\"value\" value=\"@Formula(value="(select count(*) from parent)")\"/>\n </eAnnotations>\n </eStructuralFeatures>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Child\" eSuperTypes=\"#//Parent\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ImmutableCity\">\n <eAnnotations source=\"teneo.jpa\">\n <details key=\"value\" value=\"@Immutable\"/>\n </eAnnotations>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"name\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"parents\" upperBound=\"-1\"\n eType=\"#//Parent\">\n <eAnnotations source=\"teneo.jpa\">\n <details key=\"value\" value=\"@Immutable\"/>\n </eAnnotations>\n </eStructuralFeatures>\n </eClassifiers>\n</ecore:EPackage>\n"
}
] |
[
{
"role": "system",
"content": "You are a systems engineer, expert in model driven engineering and meta-modeling \nYour OUTPUT should always be an ecore xmi in this format :\n```xml \nYOUR CODE HERE \n```\n"
},
{
"role": "user",
"content": "Convert the following description into an ecore xmi representation:\ntransformation\nTransformationContainer\ntransformationMappings\nSqlTransformation\nselectSql\ninsertSql\nupdateSql\ndeleteSql\ninsertAllowed\ntrue\nupdateAllowed\ntrue\ndeleteAllowed\ntrue\noutputLocked\nfalse\ninsertSqlDefault\ntrue\nupdateSqlDefault\ntrue\ndeleteSqlDefault\ntrue\naliases\nTransformationMappingRoot\ntarget\nTransformationMapping\nSqlAlias\nalias\naliasedObject\nsqlTransformation\nSqlTransformationMappingRoot\nFragmentMappingRoot\nTreeMappingRoot\nMappingClass\nrecursive\nfalse\nrecursionAllowed\nfalse\nrecursionCriteria\nrecursionLimit\n5\nrecursionLimitErrorMode\nTHROW\ncolumns\nmappingClassSet\ninputSet\nMappingClassColumn\nmappingClass\ntype\nMappingClassObject\nname\nStagingTable\nMappingClassSet\nmappingClasses\ntarget\ninputBinding\nMappingClassSetContainer\nmappingClassSets\nInputParameter\nname\ninputSet\ntype\nInputSet\nmappingClass\ninputParameters\nInputBinding\nmappingClassSet\ninputParameter\nmappingClassColumn\nRecursionErrorMode\nTHROW\nTHROW\nRECORD\nRECORD\nDISCARD\nDISCARD\nDataFlowMappingRoot\ngetSourceNodes\ngetTargetNodes\ngetResultantSql\nallowsOptimization\nfalse\nnodes\nlinks\nDataFlowNode\ngetInputNodes\ngetOutputNodes\ngetProjectedSymbols\ngetSqlString\nname\nowner\ninputLinks\noutputLinks\nDataFlowLink\noutputNode\ninputNode\nowner\nExpression\nvalue\nowner\nTargetNode\ntarget\nSourceNode\nsource\nAbstractOperationNode\nnodeGroup\nOperationNodeGroup\ngetAllContents\ncontents\nOperationNode\ngetMinInputs\ngetMaxInputs\ngetMinOutputs\ngetMaxOutputs\nJoinNode\ngetCriteria\ntype\nUnionNode\nProjectionNode\nFilterNode\ngetCriteria\nGroupingNode\ngetGroupingColumns\nDupRemovalNode\ngetDistinct\nSortNode\ngetOrderBy\nSqlNode\nJoinType\nINNER\nINNER\nLEFT_OUTER\nLEFT_OUTER\nRIGHT_OUTER\nRIGHT_OUTER\nFULL_OUTER\nFULL_OUTER\nCROSS\nCROSS\nSortDirection\nASCENDING\nASCENDING\nDESCENDING\nDESCENDING\nList\njava.util.List\njava.util.List\nExpressionOwner\nexpressions"
},
{
"role": "assistant",
"content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!--\n JBoss, Home of Professional Open Source.\n\n See the LEGAL.txt file distributed with this work for information regarding copyright ownership and licensing.\n\n See the AUTHORS.txt file distributed with this work for a full listing of individual contributors.\n-->\n<ecore:EPackage xmi:version=\"2.0\"\n xmlns:xmi=\"http://www.omg.org/XMI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n xmlns:ecore=\"http://www.eclipse.org/emf/2002/Ecore\" name=\"transformation\"\n nsURI=\"http://www.metamatrix.com/metamodels/Transformation\" nsPrefix=\"transformation\">\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"TransformationContainer\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"transformationMappings\"\n upperBound=\"-1\" eType=\"#//TransformationMappingRoot\" containment=\"true\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"SqlTransformation\" eSuperTypes=\"Mapping.ecore#//MappingHelper\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"selectSql\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"insertSql\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"updateSql\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"deleteSql\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"insertAllowed\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\n defaultValueLiteral=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"updateAllowed\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\n defaultValueLiteral=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"deleteAllowed\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\n defaultValueLiteral=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"outputLocked\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\n defaultValueLiteral=\"false\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"insertSqlDefault\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\n defaultValueLiteral=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"updateSqlDefault\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\n defaultValueLiteral=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"deleteSqlDefault\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\n defaultValueLiteral=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"aliases\" upperBound=\"-1\"\n eType=\"#//SqlAlias\" containment=\"true\" eOpposite=\"#//SqlAlias/sqlTransformation\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"TransformationMappingRoot\" abstract=\"true\"\n eSuperTypes=\"Mapping.ecore#//MappingRoot\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"target\" eType=\"ecore:EClass Ecore.ecore#//EObject\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"TransformationMapping\" eSuperTypes=\"Mapping.ecore#//Mapping\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"SqlAlias\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"alias\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"aliasedObject\" lowerBound=\"1\"\n eType=\"ecore:EClass Ecore.ecore#//EObject\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"sqlTransformation\" eType=\"#//SqlTransformation\"\n transient=\"true\" eOpposite=\"#//SqlTransformation/aliases\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"SqlTransformationMappingRoot\" eSuperTypes=\"#//TransformationMappingRoot\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"FragmentMappingRoot\" eSuperTypes=\"#//TransformationMappingRoot\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"TreeMappingRoot\" eSuperTypes=\"#//TransformationMappingRoot\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"MappingClass\" eSuperTypes=\"#//MappingClassObject\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"recursive\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\n defaultValueLiteral=\"false\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"recursionAllowed\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\n defaultValueLiteral=\"false\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"recursionCriteria\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"recursionLimit\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt\"\n defaultValueLiteral=\"5\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"recursionLimitErrorMode\"\n eType=\"#//RecursionErrorMode\" defaultValueLiteral=\"THROW\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"columns\" lowerBound=\"1\"\n upperBound=\"-1\" eType=\"#//MappingClassColumn\" containment=\"true\" eOpposite=\"#//MappingClassColumn/mappingClass\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"mappingClassSet\" eType=\"#//MappingClassSet\"\n transient=\"true\" eOpposite=\"#//MappingClassSet/mappingClasses\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"inputSet\" eType=\"#//InputSet\"\n containment=\"true\" eOpposite=\"#//InputSet/mappingClass\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"MappingClassColumn\" eSuperTypes=\"#//MappingClassObject\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"mappingClass\" lowerBound=\"1\"\n eType=\"#//MappingClass\" transient=\"true\" eOpposite=\"#//MappingClass/columns\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"type\" lowerBound=\"1\" eType=\"ecore:EClass Ecore.ecore#//EObject\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"MappingClassObject\" abstract=\"true\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"name\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"StagingTable\" eSuperTypes=\"#//MappingClass\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"MappingClassSet\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"mappingClasses\" upperBound=\"-1\"\n eType=\"#//MappingClass\" containment=\"true\" eOpposite=\"#//MappingClass/mappingClassSet\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"target\" eType=\"ecore:EClass Ecore.ecore#//EObject\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"inputBinding\" upperBound=\"-1\"\n eType=\"#//InputBinding\" containment=\"true\" eOpposite=\"#//InputBinding/mappingClassSet\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"MappingClassSetContainer\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"mappingClassSets\" upperBound=\"-1\"\n eType=\"#//MappingClassSet\" containment=\"true\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"InputParameter\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"name\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"inputSet\" lowerBound=\"1\"\n eType=\"#//InputSet\" transient=\"true\" eOpposite=\"#//InputSet/inputParameters\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"type\" lowerBound=\"1\" eType=\"ecore:EClass Ecore.ecore#//EObject\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"InputSet\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"mappingClass\" lowerBound=\"1\"\n eType=\"#//MappingClass\" transient=\"true\" eOpposite=\"#//MappingClass/inputSet\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"inputParameters\" upperBound=\"-1\"\n eType=\"#//InputParameter\" containment=\"true\" eOpposite=\"#//InputParameter/inputSet\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"InputBinding\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"mappingClassSet\" lowerBound=\"1\"\n eType=\"#//MappingClassSet\" transient=\"true\" eOpposite=\"#//MappingClassSet/inputBinding\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"inputParameter\" lowerBound=\"1\"\n eType=\"#//InputParameter\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"mappingClassColumn\" lowerBound=\"1\"\n eType=\"#//MappingClassColumn\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EEnum\" name=\"RecursionErrorMode\">\n <eLiterals name=\"THROW\"/>\n <eLiterals name=\"RECORD\" value=\"1\"/>\n <eLiterals name=\"DISCARD\" value=\"2\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"DataFlowMappingRoot\" eSuperTypes=\"#//TransformationMappingRoot\">\n <eOperations name=\"getSourceNodes\" eType=\"#//List\"/>\n <eOperations name=\"getTargetNodes\" eType=\"#//List\"/>\n <eOperations name=\"getResultantSql\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"allowsOptimization\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\n defaultValueLiteral=\"false\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"nodes\" lowerBound=\"1\" upperBound=\"-1\"\n eType=\"#//DataFlowNode\" containment=\"true\" eOpposite=\"#//DataFlowNode/owner\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"links\" lowerBound=\"1\" upperBound=\"-1\"\n eType=\"#//DataFlowLink\" containment=\"true\" eOpposite=\"#//DataFlowLink/owner\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"DataFlowNode\">\n <eOperations name=\"getInputNodes\" eType=\"#//List\"/>\n <eOperations name=\"getOutputNodes\" eType=\"#//List\"/>\n <eOperations name=\"getProjectedSymbols\" eType=\"#//List\"/>\n <eOperations name=\"getSqlString\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"name\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"owner\" eType=\"#//DataFlowMappingRoot\"\n transient=\"true\" eOpposite=\"#//DataFlowMappingRoot/nodes\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"inputLinks\" upperBound=\"-1\"\n eType=\"#//DataFlowLink\" eOpposite=\"#//DataFlowLink/outputNode\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"outputLinks\" upperBound=\"-1\"\n eType=\"#//DataFlowLink\" eOpposite=\"#//DataFlowLink/inputNode\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"DataFlowLink\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"outputNode\" lowerBound=\"1\"\n eType=\"#//DataFlowNode\" eOpposite=\"#//DataFlowNode/inputLinks\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"inputNode\" lowerBound=\"1\"\n eType=\"#//DataFlowNode\" eOpposite=\"#//DataFlowNode/outputLinks\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"owner\" eType=\"#//DataFlowMappingRoot\"\n transient=\"true\" eOpposite=\"#//DataFlowMappingRoot/links\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Expression\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"value\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"owner\" eType=\"#//ExpressionOwner\"\n transient=\"true\" eOpposite=\"#//ExpressionOwner/expressions\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"TargetNode\" eSuperTypes=\"#//DataFlowNode\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"target\" eType=\"ecore:EClass Ecore.ecore#//EObject\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"SourceNode\" eSuperTypes=\"#//DataFlowNode\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"source\" eType=\"ecore:EClass Ecore.ecore#//EObject\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"AbstractOperationNode\" abstract=\"true\"\n eSuperTypes=\"#//DataFlowNode #//ExpressionOwner\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"nodeGroup\" eType=\"#//OperationNodeGroup\"\n transient=\"true\" eOpposite=\"#//OperationNodeGroup/contents\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"OperationNodeGroup\" eSuperTypes=\"#//AbstractOperationNode\">\n <eOperations name=\"getAllContents\" eType=\"#//List\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"contents\" upperBound=\"-1\"\n eType=\"#//AbstractOperationNode\" containment=\"true\" eOpposite=\"#//AbstractOperationNode/nodeGroup\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"OperationNode\" eSuperTypes=\"#//AbstractOperationNode\">\n <eOperations name=\"getMinInputs\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt\"/>\n <eOperations name=\"getMaxInputs\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt\"/>\n <eOperations name=\"getMinOutputs\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt\"/>\n <eOperations name=\"getMaxOutputs\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"JoinNode\" eSuperTypes=\"#//OperationNode\">\n <eOperations name=\"getCriteria\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"type\" eType=\"#//JoinType\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"UnionNode\" eSuperTypes=\"#//OperationNode\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ProjectionNode\" eSuperTypes=\"#//OperationNode\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"FilterNode\" eSuperTypes=\"#//OperationNode\">\n <eOperations name=\"getCriteria\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"GroupingNode\" eSuperTypes=\"#//OperationNode\">\n <eOperations name=\"getGroupingColumns\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"DupRemovalNode\" eSuperTypes=\"#//OperationNode\">\n <eOperations name=\"getDistinct\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"SortNode\" eSuperTypes=\"#//OperationNode\">\n <eOperations name=\"getOrderBy\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"SqlNode\" eSuperTypes=\"#//OperationNode\"/>\n <eClassifiers xsi:type=\"ecore:EEnum\" name=\"JoinType\">\n <eLiterals name=\"INNER\"/>\n <eLiterals name=\"LEFT_OUTER\" value=\"1\"/>\n <eLiterals name=\"RIGHT_OUTER\" value=\"2\"/>\n <eLiterals name=\"FULL_OUTER\" value=\"3\"/>\n <eLiterals name=\"CROSS\" value=\"4\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EEnum\" name=\"SortDirection\">\n <eLiterals name=\"ASCENDING\"/>\n <eLiterals name=\"DESCENDING\" value=\"1\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EDataType\" name=\"List\" instanceClassName=\"java.util.List\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ExpressionOwner\" abstract=\"true\" interface=\"true\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"expressions\" lowerBound=\"1\"\n upperBound=\"-1\" eType=\"#//Expression\" containment=\"true\" eOpposite=\"#//Expression/owner\"/>\n </eClassifiers>\n</ecore:EPackage>\n"
}
] |
[
{
"role": "system",
"content": "You are a systems engineer, expert in model driven engineering and meta-modeling \nYour OUTPUT should always be an ecore xmi in this format :\n```xml \nYOUR CODE HERE \n```\n"
},
{
"role": "user",
"content": "Convert the following description into an ecore xmi representation:\nabapobj\nAttributeScope\nINSTANCE_ATTRIBUTE\nINSTANCE_ATTRIBUTE\nSTATIC_ATTRIBUTE\nSTATIC_ATTRIBUTE\nCONSTANT\nCONSTANT\nVisibility\nPRIVATE\nPRIVATE\nPROTECTED\nPROTECTED\nPUBLIC\nPUBLIC\nAttributeTypingType\nLIKE\nLIKE\nTYPE\nTYPE\nTYPE_REF_TO\nTYPE_REF_TO\nCODING\nCODING\nMethodScope\nINSTANCE\nINSTANCE\nSTATIC\nSTATIC\nMethodParameterDeclarationType\nIMPORTING\nIMPORTING\nEXPORTING\nEXPORTING\nCHANGING\nCHANGING\nRETURNING\nRETURNING\nForwardDeclarations\ntypePools\ninterfaceForwardDefinitions\nclassForwardDefinitions\nABAPInterface\ndescription\ncollection\nexitInterface\nfalse\nunicodeChecked\ntrue\nmethods\ninterfaces\nattributes\nevents\nInterfaceAttribute\nname\ndescription\ntyping\ntypeName\nscope\nreadOnly\nfalse\ndefaultValue\nClassAttribute\nvisibility\nPUBLIC\nInterfaceMethod\nname\ndescription\nscope\neventHandler\neventClass\neventName\nclassBasedExceptions\nparameters\nexceptions\nClassMethod\nvisibility\nabstract\nfalse\nfinal\nfalse\nInterfaceEvent\nname\ndescription\nscope\nparameters\nClassEvent\nvisibility\nMethodParameter\nname\ndescription\ndeclarationType\ncallByValue\nfalse\ntyping\ntypeName\ndefaultValue\noptional\nfalse\nMethodException\nname\ndescription\nEventParameter\nname\ndescription\ntyping\ntypeName\ndefaultValue\noptional\nfalse\nClassCreationScope\nPRIVATE\nPRIVATE\nPROTECTED\nPROTECTED\nPUBLIC\nPUBLIC\nABSTRACT\nABSTRACT\nABAPClass\ndescription\ncollection\nsuperClassName\ncreationScope\n\nfinal\nfalse\nfixedPointArithmetics\ntrue\nunicodeChecked\ntrue\ninterfaces\nfriendClassNames\nattributes\nmethods\nevents\nInterfaceImplementation\ninterfaceName\nabstract\nfalse\nfinal\nfalse"
},
{
"role": "assistant",
"content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ecore:EPackage xmi:version=\"2.0\"\n xmlns:xmi=\"http://www.omg.org/XMI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n xmlns:ecore=\"http://www.eclipse.org/emf/2002/Ecore\" name=\"abapobj\"\n nsURI=\"http://rcer.sf.net/rom/abapobj\" nsPrefix=\"net.sf.rcer.rom\">\n <eClassifiers xsi:type=\"ecore:EEnum\" name=\"AttributeScope\">\n <eLiterals name=\"INSTANCE_ATTRIBUTE\"/>\n <eLiterals name=\"STATIC_ATTRIBUTE\" value=\"1\"/>\n <eLiterals name=\"CONSTANT\" value=\"2\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EEnum\" name=\"Visibility\">\n <eLiterals name=\"PRIVATE\"/>\n <eLiterals name=\"PROTECTED\" value=\"1\"/>\n <eLiterals name=\"PUBLIC\" value=\"2\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EEnum\" name=\"AttributeTypingType\">\n <eLiterals name=\"LIKE\"/>\n <eLiterals name=\"TYPE\" value=\"1\"/>\n <eLiterals name=\"TYPE_REF_TO\" value=\"3\"/>\n <eLiterals name=\"CODING\" value=\"4\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EEnum\" name=\"MethodScope\">\n <eLiterals name=\"INSTANCE\"/>\n <eLiterals name=\"STATIC\" value=\"1\" literal=\"STATIC\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EEnum\" name=\"MethodParameterDeclarationType\">\n <eLiterals name=\"IMPORTING\"/>\n <eLiterals name=\"EXPORTING\" value=\"1\"/>\n <eLiterals name=\"CHANGING\" value=\"2\"/>\n <eLiterals name=\"RETURNING\" value=\"3\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ForwardDeclarations\" abstract=\"true\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"typePools\" upperBound=\"-1\"\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"interfaceForwardDefinitions\"\n upperBound=\"-1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"classForwardDefinitions\"\n upperBound=\"-1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ABAPInterface\" eSuperTypes=\"rom.ecore#//RepositoryObject #//ForwardDeclarations\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"description\" ordered=\"false\"\n unique=\"false\" upperBound=\"-1\" eType=\"ecore:EClass rom.ecore#//LocalizedString\"\n changeable=\"false\" containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"collection\" ordered=\"false\"\n unique=\"false\" eType=\"ecore:EClass rom.ecore#//RepositoryObjectCollection\"\n changeable=\"false\" derived=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"exitInterface\" ordered=\"false\"\n unique=\"false\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\n defaultValueLiteral=\"false\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"unicodeChecked\" ordered=\"false\"\n unique=\"false\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\n defaultValueLiteral=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"methods\" upperBound=\"-1\"\n eType=\"#//InterfaceMethod\" eKeys=\"#//InterfaceMethod/name\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"interfaces\" upperBound=\"-1\"\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"attributes\" upperBound=\"-1\"\n eType=\"#//InterfaceAttribute\" containment=\"true\" eKeys=\"#//InterfaceAttribute/name\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"events\" upperBound=\"-1\"\n eType=\"#//InterfaceEvent\" containment=\"true\" eKeys=\"#//InterfaceEvent/name\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"InterfaceAttribute\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"name\" ordered=\"false\" unique=\"false\"\n lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"description\" ordered=\"false\"\n unique=\"false\" upperBound=\"-1\" eType=\"ecore:EClass rom.ecore#//LocalizedString\"\n changeable=\"false\" containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"typing\" ordered=\"false\"\n unique=\"false\" lowerBound=\"1\" eType=\"#//AttributeTypingType\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"typeName\" ordered=\"false\"\n unique=\"false\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"scope\" ordered=\"false\"\n unique=\"false\" lowerBound=\"1\" eType=\"#//AttributeScope\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"readOnly\" ordered=\"false\"\n unique=\"false\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\n defaultValueLiteral=\"false\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"defaultValue\" lowerBound=\"1\"\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ClassAttribute\" eSuperTypes=\"#//InterfaceAttribute\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"visibility\" lowerBound=\"1\"\n eType=\"#//Visibility\" defaultValueLiteral=\"PUBLIC\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"InterfaceMethod\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"name\" ordered=\"false\" unique=\"false\"\n lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"description\" ordered=\"false\"\n unique=\"false\" upperBound=\"-1\" eType=\"ecore:EClass rom.ecore#//LocalizedString\"\n changeable=\"false\" containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"scope\" ordered=\"false\"\n unique=\"false\" lowerBound=\"1\" eType=\"#//MethodScope\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"eventHandler\" ordered=\"false\"\n unique=\"false\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"eventClass\" ordered=\"false\"\n unique=\"false\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"eventName\" ordered=\"false\"\n unique=\"false\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"classBasedExceptions\" ordered=\"false\"\n unique=\"false\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"parameters\" upperBound=\"-1\"\n eType=\"#//MethodParameter\" eKeys=\"#//MethodParameter/name\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"exceptions\" upperBound=\"-1\"\n eType=\"#//MethodException\" eKeys=\"#//MethodException/name\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ClassMethod\" eSuperTypes=\"#//InterfaceMethod\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"visibility\" ordered=\"false\"\n unique=\"false\" lowerBound=\"1\" eType=\"#//Visibility\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"abstract\" ordered=\"false\"\n unique=\"false\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\n defaultValueLiteral=\"false\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"final\" ordered=\"false\"\n unique=\"false\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\n defaultValueLiteral=\"false\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"InterfaceEvent\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"name\" ordered=\"false\" unique=\"false\"\n lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"description\" ordered=\"false\"\n unique=\"false\" upperBound=\"-1\" eType=\"ecore:EClass rom.ecore#//LocalizedString\"\n changeable=\"false\" containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"scope\" ordered=\"false\"\n unique=\"false\" lowerBound=\"1\" eType=\"#//MethodScope\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"parameters\" upperBound=\"-1\"\n eType=\"#//EventParameter\" eKeys=\"#//EventParameter/name\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ClassEvent\" eSuperTypes=\"#//InterfaceEvent\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"visibility\" ordered=\"false\"\n unique=\"false\" lowerBound=\"1\" eType=\"#//Visibility\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"MethodParameter\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"name\" ordered=\"false\" unique=\"false\"\n lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"description\" ordered=\"false\"\n unique=\"false\" upperBound=\"-1\" eType=\"ecore:EClass rom.ecore#//LocalizedString\"\n changeable=\"false\" containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"declarationType\" lowerBound=\"1\"\n eType=\"#//MethodParameterDeclarationType\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"callByValue\" ordered=\"false\"\n unique=\"false\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\n defaultValueLiteral=\"false\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"typing\" ordered=\"false\"\n unique=\"false\" lowerBound=\"1\" eType=\"#//AttributeTypingType\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"typeName\" ordered=\"false\"\n unique=\"false\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"defaultValue\" lowerBound=\"1\"\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"optional\" ordered=\"false\"\n unique=\"false\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\n defaultValueLiteral=\"false\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"MethodException\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"name\" ordered=\"false\" unique=\"false\"\n lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"description\" ordered=\"false\"\n unique=\"false\" upperBound=\"-1\" eType=\"ecore:EClass rom.ecore#//LocalizedString\"\n changeable=\"false\" containment=\"true\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"EventParameter\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"name\" ordered=\"false\" unique=\"false\"\n lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"description\" ordered=\"false\"\n unique=\"false\" upperBound=\"-1\" eType=\"ecore:EClass rom.ecore#//LocalizedString\"\n changeable=\"false\" containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"typing\" ordered=\"false\"\n unique=\"false\" lowerBound=\"1\" eType=\"#//AttributeTypingType\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"typeName\" ordered=\"false\"\n unique=\"false\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"defaultValue\" lowerBound=\"1\"\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"optional\" ordered=\"false\"\n unique=\"false\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\n defaultValueLiteral=\"false\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EEnum\" name=\"ClassCreationScope\">\n <eLiterals name=\"PRIVATE\"/>\n <eLiterals name=\"PROTECTED\" value=\"1\"/>\n <eLiterals name=\"PUBLIC\" value=\"2\"/>\n <eLiterals name=\"ABSTRACT\" value=\"3\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ABAPClass\" eSuperTypes=\"rom.ecore#//RepositoryObject #//ForwardDeclarations\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"description\" ordered=\"false\"\n unique=\"false\" upperBound=\"-1\" eType=\"ecore:EClass rom.ecore#//LocalizedString\"\n changeable=\"false\" containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"collection\" ordered=\"false\"\n unique=\"false\" eType=\"ecore:EClass rom.ecore#//RepositoryObjectCollection\"\n changeable=\"false\" derived=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"superClassName\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"creationScope\" ordered=\"false\"\n unique=\"false\" lowerBound=\"1\" eType=\"#//ClassCreationScope\" defaultValueLiteral=\"\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"final\" ordered=\"false\"\n unique=\"false\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\n defaultValueLiteral=\"false\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"fixedPointArithmetics\"\n ordered=\"false\" unique=\"false\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\n defaultValueLiteral=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"unicodeChecked\" ordered=\"false\"\n unique=\"false\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\n defaultValueLiteral=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"interfaces\" upperBound=\"-1\"\n eType=\"#//InterfaceImplementation\" containment=\"true\" eKeys=\"#//InterfaceImplementation/interfaceName\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"friendClassNames\" ordered=\"false\"\n unique=\"false\" upperBound=\"-1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"attributes\" upperBound=\"-1\"\n eType=\"#//ClassAttribute\" containment=\"true\" eKeys=\"#//InterfaceAttribute/name\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"methods\" upperBound=\"-1\"\n eType=\"#//ClassMethod\" eKeys=\"#//InterfaceMethod/name\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"events\" upperBound=\"-1\"\n eType=\"#//ClassEvent\" containment=\"true\" eKeys=\"#//InterfaceEvent/name\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"InterfaceImplementation\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"interfaceName\" ordered=\"false\"\n unique=\"false\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"abstract\" ordered=\"false\"\n unique=\"false\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\n defaultValueLiteral=\"false\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"final\" ordered=\"false\"\n unique=\"false\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\n defaultValueLiteral=\"false\"/>\n </eClassifiers>\n</ecore:EPackage>\n"
}
] |
[
{
"role": "system",
"content": "You are a systems engineer, expert in model driven engineering and meta-modeling \nYour OUTPUT should always be an ecore xmi in this format :\n```xml \nYOUR CODE HERE \n```\n"
},
{
"role": "user",
"content": "Convert the following description into an ecore xmi representation:\nfilehistory\nFileHistoryProject\nfiles\nFileEntry\nversions\npath\nFileVersion\ntimestamp\npath\nchecksum\nsyncPoint\nsyncChecksum"
},
{
"role": "assistant",
"content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ecore:EPackage xmi:version=\"2.0\"\n xmlns:xmi=\"http://www.omg.org/XMI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n xmlns:ecore=\"http://www.eclipse.org/emf/2002/Ecore\" name=\"filehistory\"\n nsURI=\"http://org/ai4fm/filehistory\" nsPrefix=\"filehistory\">\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"FileHistoryProject\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"files\" upperBound=\"-1\"\n eType=\"#//FileEntry\" containment=\"true\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"FileEntry\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"versions\" lowerBound=\"1\"\n upperBound=\"-1\" eType=\"#//FileVersion\" containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"path\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"FileVersion\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"timestamp\" lowerBound=\"1\"\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"path\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"checksum\" lowerBound=\"1\"\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"syncPoint\" lowerBound=\"1\"\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"syncChecksum\" lowerBound=\"1\"\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n </eClassifiers>\n</ecore:EPackage>\n"
}
] |
[
{
"role": "system",
"content": "You are a systems engineer, expert in model driven engineering and meta-modeling \nYour OUTPUT should always be an ecore xmi in this format :\n```xml \nYOUR CODE HERE \n```\n"
},
{
"role": "user",
"content": "Convert the following description into an ecore xmi representation:\nnoreflectioncompany\nCompany\ndummyInvariant\ndiagnostics\ncontext\nname\nemployees\nsize\nEmployee\nreportsTo\nmanager\nnoManagerImpliesDirectReports\ndiagnostics\ncontext\nhasNameAsOperation\nname\nmanager\ncompany\ndirectReports\nallReports\nreportingChain\nhasNameAsAttribute\nCompanySizeKind\nsmall\nsmall\nmedium\nmedium\nlarge\nlarge"
},
{
"role": "assistant",
"content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ecore:EPackage xmi:version=\"2.0\" xmlns:xmi=\"http://www.omg.org/XMI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n xmlns:ecore=\"http://www.eclipse.org/emf/2002/Ecore\" name=\"noreflectioncompany\" nsURI=\"http://www.eclipse.org/ocl/test/2010/NoReflectionCompany.ecore\"\n nsPrefix=\"nrco\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/Ecore\">\n <details key=\"invocationDelegates\" value=\"http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot\"/>\n <details key=\"settingDelegates\" value=\"http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot\"/>\n <details key=\"validationDelegates\" value=\"http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot\"/>\n </eAnnotations>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Company\">\n <eOperations name=\"dummyInvariant\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot\">\n <details key=\"body\" value=\"true\"/>\n </eAnnotations>\n <eParameters name=\"diagnostics\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDiagnosticChain\"/>\n <eParameters name=\"context\">\n <eGenericType eClassifier=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EMap\">\n <eTypeArguments eClassifier=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject\"/>\n <eTypeArguments eClassifier=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject\"/>\n </eGenericType>\n </eParameters>\n </eOperations>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"name\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"employees\" upperBound=\"-1\"\n eType=\"#//Employee\" containment=\"true\" eOpposite=\"#//Employee/company\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"size\" lowerBound=\"1\" eType=\"#//CompanySizeKind\"\n changeable=\"false\" volatile=\"true\" transient=\"true\" derived=\"true\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot\">\n <details key=\"derivation\" value=\"let table : Set(Tuple(range : Sequence(Integer), size : CompanySizeKind)) =
 Set{Tuple{range=Sequence{0..49}, size=CompanySizeKind::small},
 Tuple{range=Sequence{50..999}, size=CompanySizeKind::medium},
 Tuple{range=Sequence{1000..1000000}, size=CompanySizeKind::large}} in
table->any(range->includes(employees->size())).size\"/>\n </eAnnotations>\n </eStructuralFeatures>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Employee\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/Ecore\">\n <details key=\"constraints\" value=\"mustHaveName\"/>\n </eAnnotations>\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot\">\n <details key=\"mustHaveName\" value=\"not name.oclIsUndefined() and hasNameAsAttribute and hasNameAsOperation()\"/>\n </eAnnotations>\n <eOperations name=\"reportsTo\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot\">\n <details key=\"body\" value=\"self.reportingChain->includes(manager)\"/>\n </eAnnotations>\n <eParameters name=\"manager\" eType=\"#//Employee\"/>\n </eOperations>\n <eOperations name=\"noManagerImpliesDirectReports\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot\">\n <details key=\"body\" value=\"manager.oclIsUndefined() implies directReports->size() > 0\"/>\n </eAnnotations>\n <eParameters name=\"diagnostics\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDiagnosticChain\"/>\n <eParameters name=\"context\">\n <eGenericType eClassifier=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EMap\">\n <eTypeArguments eClassifier=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject\"/>\n <eTypeArguments eClassifier=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject\"/>\n </eGenericType>\n </eParameters>\n </eOperations>\n <eOperations name=\"hasNameAsOperation\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot\">\n <details key=\"body\" value=\"name <> null\"/>\n </eAnnotations>\n </eOperations>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"name\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"manager\" eType=\"#//Employee\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"company\" lowerBound=\"1\"\n eType=\"#//Company\" eOpposite=\"#//Company/employees\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"directReports\" upperBound=\"-1\"\n eType=\"#//Employee\" changeable=\"false\" volatile=\"true\" transient=\"true\" derived=\"true\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot\">\n <details key=\"derivation\" value=\"company.employees->select(manager = self)\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"allReports\" ordered=\"false\"\n upperBound=\"-1\" eType=\"#//Employee\" changeable=\"false\" volatile=\"true\" transient=\"true\"\n derived=\"true\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot\">\n <details key=\"derivation\" value=\"Employee.allInstances()->select(reportsTo(self))\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"reportingChain\" upperBound=\"-1\"\n eType=\"#//Employee\" changeable=\"false\" volatile=\"true\" transient=\"true\" derived=\"true\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot\">\n <details key=\"derivation\" value=\"if (manager.oclIsUndefined()) then
 OrderedSet{}
else
 manager.reportingChain->prepend(manager)
endif\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"hasNameAsAttribute\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\n changeable=\"false\" volatile=\"true\" transient=\"true\" derived=\"true\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot\">\n <details key=\"derivation\" value=\"name <> null\"/>\n </eAnnotations>\n </eStructuralFeatures>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EEnum\" name=\"CompanySizeKind\">\n <eLiterals name=\"small\"/>\n <eLiterals name=\"medium\" value=\"1\"/>\n <eLiterals name=\"large\" value=\"2\"/>\n </eClassifiers>\n</ecore:EPackage>\n"
}
] |
[
{
"role": "system",
"content": "You are a systems engineer, expert in model driven engineering and meta-modeling \nYour OUTPUT should always be an ecore xmi in this format :\n```xml \nYOUR CODE HERE \n```\n"
},
{
"role": "user",
"content": "Convert the following description into an ecore xmi representation:\ntestmodel\nTestObject\nname\nfragmentedContents\n_mK7lkClCEemYDvBcHp3few\nTestEnum\nliteral1\nliteral1\nliteral2\nliteral2\n_mK_P8SlCEemYDvBcHp3few\nindexedReferences"
},
{
"role": "assistant",
"content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ecore:EPackage xmi:version=\"2.0\" xmlns:xmi=\"http://www.omg.org/XMI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n xmlns:ecore=\"http://www.eclipse.org/emf/2002/Ecore\" name=\"testmodel\" nsURI=\"http://hu-berlin.de/sam/emfhbase/testmodel\"\n nsPrefix=\"tm\">\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"TestObject\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"name\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"fragmentedContents\" upperBound=\"-1\"\n eType=\"#//TestObject\" containment=\"true\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"_mK7lkClCEemYDvBcHp3few\">\n <eAnnotations source=\"http://www.modelversioning.org/ecoremutator\">\n <details key=\"_mK-B0ClCEemYDvBcHp3few\" value=\"_mK-B0SlCEemYDvBcHp3few\"/>\n </eAnnotations>\n <eGenericSuperTypes eClassifier=\"ecore:EClass ../../../../de.hub.emffrag/metamodels/emffrag.ecore#//IndexedMap\">\n <eTypeArguments eClassifier=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eTypeArguments eClassifier=\"#//TestObject\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EEnum\" name=\"TestEnum\">\n <eLiterals name=\"literal1\"/>\n <eLiterals name=\"literal2\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"_mK_P8SlCEemYDvBcHp3few\" eSuperTypes=\"#//TestObject\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"indexedReferences\" unique=\"false\"\n upperBound=\"-1\" eType=\"#//TestObject\">\n <eAnnotations source=\"de.hub.emffrag\">\n <details key=\"indexes\" value=\"true\"/>\n <contents/>\n </eAnnotations>\n </eStructuralFeatures>\n </eClassifiers>\n</ecore:EPackage>\n"
}
] |
[
{
"role": "system",
"content": "You are a systems engineer, expert in model driven engineering and meta-modeling \nYour OUTPUT should always be an ecore xmi in this format :\n```xml \nYOUR CODE HERE \n```\n"
},
{
"role": "user",
"content": "Convert the following description into an ecore xmi representation:\nocl\numl\nAnyType\nownedOperation\nVoidType\nownedOperation\nInvalidType\nownedOperation\nElementType\nTypeType\nownedOperation\nMessageType\nownedOperation\nownedAttribute\nPrimitiveType\nCollectionType\nTupleType\nBagType\nSetType\nOrderedSetType\nSequenceType\nExpressionInOCL\nAssociationClassCallExp\nNavigationCallExp\nFeatureCallExp\nCallExp\nOCLExpression\nBooleanLiteralExp\nPrimitiveLiteralExp\nLiteralExp\nCollectionItem\nCollectionLiteralPart\nCollectionLiteralExp\nCollectionRange\nEnumLiteralExp\nIfExp\nIntegerLiteralExp\nNumericLiteralExp\nUnlimitedNaturalLiteralExp\nInvalidLiteralExp\nIterateExp\nLoopExp\nIteratorExp\nLetExp\nMessageExp\nNullLiteralExp\nOperationCallExp\nPropertyCallExp\nRealLiteralExp\nStateExp\nStringLiteralExp\nTupleLiteralExp\nTupleLiteralPart\nTypeExp\nUnspecifiedValueExp\nVariable\nVariableExp\nTemplateParameterType\nownedOperation"
},
{
"role": "assistant",
"content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ecore:EPackage xmi:version=\"2.0\"\n xmlns:xmi=\"http://www.omg.org/XMI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n xmlns:ecore=\"http://www.eclipse.org/emf/2002/Ecore\" name=\"ocl\"\n nsURI=\"http://www.eclipse.org/ocl/1.1.0/OCLUML\" nsPrefix=\"ocl\">\n <eSubpackages name=\"uml\" nsURI=\"http://www.eclipse.org/ocl/1.1.0/UML\" nsPrefix=\"ocl.uml\">\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"AnyType\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedOperation\" upperBound=\"-1\"\n eType=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation\"\n containment=\"true\">\n <eAnnotations source=\"subsets\" references=\"platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier/feature\"/>\n </eStructuralFeatures>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//types/AnyType\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"VoidType\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedOperation\" upperBound=\"-1\"\n eType=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation\"\n containment=\"true\">\n <eAnnotations source=\"subsets\" references=\"platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier/feature\"/>\n </eStructuralFeatures>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//types/VoidType\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"InvalidType\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedOperation\" upperBound=\"-1\"\n eType=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation\"\n containment=\"true\">\n <eAnnotations source=\"subsets\" references=\"platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier/feature\"/>\n </eStructuralFeatures>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//types/InvalidType\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ElementType\" eSuperTypes=\"platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//types/ElementType\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"TypeType\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedOperation\" upperBound=\"-1\"\n eType=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation\"\n containment=\"true\">\n <eAnnotations source=\"subsets\" references=\"platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier/feature\"/>\n </eStructuralFeatures>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//types/TypeType\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"MessageType\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedOperation\" upperBound=\"-1\"\n eType=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation\"\n containment=\"true\">\n <eAnnotations source=\"subsets\" references=\"platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier/feature\"/>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedAttribute\" upperBound=\"-1\"\n eType=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Property\"\n containment=\"true\">\n <eAnnotations source=\"subsets\" references=\"platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier/attribute\"/>\n </eStructuralFeatures>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//types/MessageType\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Property\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"PrimitiveType\">\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//PrimitiveType\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//types/PrimitiveType\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"CollectionType\">\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//DataType\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//types/CollectionType\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"TupleType\">\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//DataType\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//types/TupleType\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Property\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"BagType\">\n <eGenericSuperTypes eClassifier=\"#//uml/CollectionType\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//types/BagType\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"SetType\">\n <eGenericSuperTypes eClassifier=\"#//uml/CollectionType\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//types/SetType\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"OrderedSetType\">\n <eGenericSuperTypes eClassifier=\"#//uml/CollectionType\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//types/OrderedSetType\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"SequenceType\">\n <eGenericSuperTypes eClassifier=\"#//uml/CollectionType\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//types/SequenceType\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ExpressionInOCL\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"name\" value=\"ExpressionInOcl\"/>\n </eAnnotations>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//OpaqueExpression\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//utilities/ExpressionInOCL\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Parameter\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"AssociationClassCallExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/NavigationCallExp\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/AssociationClassCallExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Property\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"NavigationCallExp\" abstract=\"true\">\n <eGenericSuperTypes eClassifier=\"#//uml/FeatureCallExp\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/NavigationCallExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Property\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"FeatureCallExp\" abstract=\"true\">\n <eGenericSuperTypes eClassifier=\"#//uml/CallExp\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/FeatureCallExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"CallExp\" abstract=\"true\">\n <eGenericSuperTypes eClassifier=\"#//uml/OCLExpression\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/CallExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"OCLExpression\" abstract=\"true\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"name\" value=\"OclExpression\"/>\n </eAnnotations>\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/Ecore\">\n <details key=\"constraints\" value=\"has_type\"/>\n </eAnnotations>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//TypedElement\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/OCLExpression\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"BooleanLiteralExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/PrimitiveLiteralExp\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/BooleanLiteralExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"PrimitiveLiteralExp\" abstract=\"true\">\n <eGenericSuperTypes eClassifier=\"#//uml/LiteralExp\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/PrimitiveLiteralExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"LiteralExp\" abstract=\"true\">\n <eGenericSuperTypes eClassifier=\"#//uml/OCLExpression\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/LiteralExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"CollectionItem\">\n <eGenericSuperTypes eClassifier=\"#//uml/CollectionLiteralPart\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/CollectionItem\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"CollectionLiteralPart\" abstract=\"true\">\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//TypedElement\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/CollectionLiteralPart\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"CollectionLiteralExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/LiteralExp\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/CollectionLiteralExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"CollectionRange\">\n <eGenericSuperTypes eClassifier=\"#//uml/CollectionLiteralPart\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/CollectionRange\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"EnumLiteralExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/LiteralExp\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/EnumLiteralExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//EnumerationLiteral\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"IfExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/OCLExpression\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/IfExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"IntegerLiteralExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/NumericLiteralExp\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/IntegerLiteralExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"NumericLiteralExp\" abstract=\"true\">\n <eGenericSuperTypes eClassifier=\"#//uml/PrimitiveLiteralExp\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/NumericLiteralExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"UnlimitedNaturalLiteralExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/NumericLiteralExp\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/UnlimitedNaturalLiteralExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"InvalidLiteralExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/LiteralExp\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/InvalidLiteralExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"IterateExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/LoopExp\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/IterateExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Parameter\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"LoopExp\" abstract=\"true\">\n <eGenericSuperTypes eClassifier=\"#//uml/CallExp\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/LoopExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Parameter\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"IteratorExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/LoopExp\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/IteratorExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Parameter\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"LetExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/OCLExpression\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/LetExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Parameter\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"MessageExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/OCLExpression\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/MessageExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//CallOperationAction\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//SendSignalAction\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"NullLiteralExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/LiteralExp\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/NullLiteralExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"OperationCallExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/FeatureCallExp\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/OperationCallExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"PropertyCallExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/NavigationCallExp\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/PropertyCallExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Property\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"RealLiteralExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/NumericLiteralExp\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/RealLiteralExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"StateExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/OCLExpression\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/StateExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//State\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"StringLiteralExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/PrimitiveLiteralExp\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/StringLiteralExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"TupleLiteralExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/LiteralExp\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/TupleLiteralExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Property\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"TupleLiteralPart\">\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//TypedElement\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/TupleLiteralPart\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Property\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"TypeExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/OCLExpression\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/TypeExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"UnspecifiedValueExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/OCLExpression\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/UnspecifiedValueExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Variable\">\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//TypedElement\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/Variable\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Parameter\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"VariableExp\">\n <eGenericSuperTypes eClassifier=\"#//uml/OCLExpression\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//expressions/VariableExp\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Parameter\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"TemplateParameterType\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedOperation\" upperBound=\"-1\"\n eType=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation\"\n containment=\"true\">\n <eAnnotations source=\"subsets\" references=\"platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier/feature\"/>\n </eStructuralFeatures>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Classifier\"/>\n <eGenericSuperTypes eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.ocl/model/OCL.ecore#//types/TemplateParameterType\">\n <eTypeArguments eClassifier=\"ecore:EClass platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation\"/>\n </eGenericSuperTypes>\n </eClassifiers>\n </eSubpackages>\n</ecore:EPackage>\n"
}
] |
[
{
"role": "system",
"content": "You are a systems engineer, expert in model driven engineering and meta-modeling \nYour OUTPUT should always be an ecore xmi in this format :\n```xml \nYOUR CODE HERE \n```\n"
},
{
"role": "user",
"content": "Convert the following description into an ecore xmi representation:\nmapping\nFieldMapping\nfieldPath\nmappingExpression\nadvancedMapping\ncontentMapping\nTransformationProperty\nfieldMappings\nexternalClasses\nExternalClass\ninstanceName\nclassName"
},
{
"role": "assistant",
"content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<ecore:EPackage xmi:version=\"2.0\"\r\n xmlns:xmi=\"http://www.omg.org/XMI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\r\n xmlns:ecore=\"http://www.eclipse.org/emf/2002/Ecore\" name=\"mapping\"\r\n nsURI=\"java://org.eclipse.stardust.engine.extensions.transformation.model\" nsPrefix=\"mapping\">\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"FieldMapping\">\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"fieldPath\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"mappingExpression\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"advancedMapping\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"contentMapping\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"TransformationProperty\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"fieldMappings\" upperBound=\"-1\"\r\n eType=\"#//FieldMapping\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"externalClasses\" upperBound=\"-1\"\r\n eType=\"#//ExternalClass\" containment=\"true\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ExternalClass\">\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"instanceName\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"className\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n </eClassifiers>\r\n</ecore:EPackage>\r\n"
}
] |
[
{
"role": "system",
"content": "You are a systems engineer, expert in model driven engineering and meta-modeling \nYour OUTPUT should always be an ecore xmi in this format :\n```xml \nYOUR CODE HERE \n```\n"
},
{
"role": "user",
"content": "Convert the following description into an ecore xmi representation:\nDiagonosticModel\nTestSpecification\ngetSignals\nname\ntestGroups\nversion\ndescription\nfunctionName\nfunctionVersion\nauthor\ncapltestcases\nvariants\nimportArtifacts\nTestGroup\nname\ntestCases\ndescription\nexternalreference\ntestGroups\ncapltestcases\nTestCase\nname\ntestSteps\nid\ndescription\nvariants\npreConditions\npostConditions\nrequirementID\nexecutionStatus\nexternalreference\nskip\ntraceabilityArtifacts\nTestStep\ntitle\nnextStep\nkey\nWaitAction\nCheckAction\noperator\nSetAction\nSignalType\nname\ntype\nMessageName\nnode\nnamespace\ncreationMode\nlookupValues\nOperatorTypeEnum\neq\n=\nne\n!=\ngt\n>\nlt\n<\nbt\nbetween\nSignalTypeEnum\nSIGNAL\nSIGNAL\nENVIRONMENT\nENVIRONMENT\nSYSTEM\nSYSTEM\nUNDEFINED\nUNDEFINED\nDiagnosticService\necu\nservice\nresult\ndiagrequest\ndiagresponse\nExternalReference\ntitle\nurl\nowner\ntype\nCAPLTestCase\nname\nparameters\nCAPLParam\nname\ntype\nvalue\nExecutionStatueTypeEnum\nNOT_EXECUTED\nNOT_EXECUTED\nPASS\nPASS\nFAIL\nFAIL\nVariant\nname\ndescription\nCAPLTestStep\nparameters\nCreationModeEnum\nIMPORTED\nIMPORTED\nUSER_DEFINED\nUSER_DEFINED\nImportArtifact\npath\nsignalType\nArrayListDataType\njava.util.ArrayList\njava.util.ArrayList<DiagonosticModel.SignalType>\nDiagnosticRequest\ndiagparam\nDiagnosticResponse\nprimitive\ndiagparam\nDiagnosticParam\nqualifier\ncopyToVar\nvalueTypes\nAction\nvalue\nwait\nvalueTo\nBlockAction\ntestSteps\nForLoop\nloopVar\nstopValue\nstartValue\nWhileLoop\nvalue\nvalueTo\noperator\nDiagnosticParamValueType\nVar\nname\nOneOf\nvalues\nRange\nfrom\nto\nTracebilityArtifact\ntype\nurl\nTraceabilityArtifactEnum\nREQUIREMENT\nREQUIREMENT\nTEST\nTEST\nBUG\nBUG\nOTHERS\nOTHERS"
},
{
"role": "assistant",
"content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<ecore:EPackage xmi:version=\"2.0\" xmlns:xmi=\"http://www.omg.org/XMI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\r\n xmlns:ecore=\"http://www.eclipse.org/emf/2002/Ecore\" name=\"DiagonosticModel\" nsURI=\"http://www.ancit.com\" nsPrefix=\"DiagonosticModel\">\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"TestSpecification\">\r\n <eOperations name=\"getSignals\" eType=\"#//ArrayListDataType\">\r\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\r\n <details key=\"body\" value=\"ArrayList<SignalType> signals = new ArrayList<SignalType>();
		
		for (ImportArtifact importArtifact : getImportArtifacts()) {
			signals.addAll(importArtifact.getSignalType());
		}
		return signals;\"/>\r\n </eAnnotations>\r\n </eOperations>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"name\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"testGroups\" upperBound=\"-1\"\r\n eType=\"#//TestGroup\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"version\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"description\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"functionName\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"functionVersion\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"author\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"capltestcases\" upperBound=\"-1\"\r\n eType=\"#//CAPLTestCase\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"variants\" upperBound=\"-1\"\r\n eType=\"#//Variant\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"importArtifacts\" upperBound=\"-1\"\r\n eType=\"#//ImportArtifact\" containment=\"true\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"TestGroup\">\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"name\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"testCases\" upperBound=\"-1\"\r\n eType=\"#//TestCase\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"description\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"externalreference\" eType=\"#//ExternalReference\"\r\n containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"testGroups\" upperBound=\"-1\"\r\n eType=\"#//TestGroup\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"capltestcases\" upperBound=\"-1\"\r\n eType=\"#//CAPLTestCase\" containment=\"true\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"TestCase\">\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"name\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"testSteps\" upperBound=\"-1\"\r\n eType=\"#//TestStep\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"id\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"description\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"variants\" upperBound=\"-1\"\r\n eType=\"#//Variant\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"preConditions\" upperBound=\"-1\"\r\n eType=\"#//TestStep\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"postConditions\" upperBound=\"-1\"\r\n eType=\"#//TestStep\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"requirementID\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"executionStatus\" eType=\"#//ExecutionStatueTypeEnum\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"externalreference\" eType=\"#//ExternalReference\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"skip\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"traceabilityArtifacts\"\r\n upperBound=\"-1\" eType=\"#//TracebilityArtifact\" containment=\"true\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"TestStep\" abstract=\"true\">\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"title\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"nextStep\" eType=\"#//TestStep\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"key\" eType=\"#//SignalType\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"WaitAction\" eSuperTypes=\"#//Action\"/>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"CheckAction\" eSuperTypes=\"#//Action\">\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"operator\" eType=\"#//OperatorTypeEnum\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"SetAction\" eSuperTypes=\"#//Action\"/>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"SignalType\">\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"name\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"type\" eType=\"#//SignalTypeEnum\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"MessageName\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"node\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"namespace\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"creationMode\" eType=\"#//CreationModeEnum\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"lookupValues\" upperBound=\"-1\"\r\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EEnum\" name=\"OperatorTypeEnum\">\r\n <eLiterals name=\"eq\" literal=\"=\"/>\r\n <eLiterals name=\"ne\" value=\"1\" literal=\"!=\"/>\r\n <eLiterals name=\"gt\" value=\"2\" literal=\">\"/>\r\n <eLiterals name=\"lt\" value=\"3\" literal=\"<\"/>\r\n <eLiterals name=\"bt\" value=\"4\" literal=\"between\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EEnum\" name=\"SignalTypeEnum\">\r\n <eLiterals name=\"SIGNAL\"/>\r\n <eLiterals name=\"ENVIRONMENT\" value=\"1\"/>\r\n <eLiterals name=\"SYSTEM\" value=\"2\"/>\r\n <eLiterals name=\"UNDEFINED\" value=\"3\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"DiagnosticService\" eSuperTypes=\"#//Action\">\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"ecu\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"service\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"result\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"diagrequest\" lowerBound=\"1\"\r\n eType=\"#//DiagnosticRequest\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"diagresponse\" lowerBound=\"1\"\r\n eType=\"#//DiagnosticResponse\" containment=\"true\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ExternalReference\">\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"title\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"url\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"owner\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"type\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"CAPLTestCase\">\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"name\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"parameters\" upperBound=\"-1\"\r\n eType=\"#//CAPLParam\" containment=\"true\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"CAPLParam\">\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"name\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"type\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"value\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EEnum\" name=\"ExecutionStatueTypeEnum\">\r\n <eLiterals name=\"NOT_EXECUTED\"/>\r\n <eLiterals name=\"PASS\" value=\"1\"/>\r\n <eLiterals name=\"FAIL\" value=\"2\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Variant\">\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"name\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"description\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"CAPLTestStep\" eSuperTypes=\"#//Action\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"parameters\" upperBound=\"-1\"\r\n eType=\"#//CAPLParam\" containment=\"true\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EEnum\" name=\"CreationModeEnum\">\r\n <eLiterals name=\"IMPORTED\"/>\r\n <eLiterals name=\"USER_DEFINED\" value=\"1\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ImportArtifact\">\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"path\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"signalType\" upperBound=\"-1\"\r\n eType=\"#//SignalType\" containment=\"true\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EDataType\" name=\"ArrayListDataType\" instanceTypeName=\"java.util.ArrayList<DiagonosticModel.SignalType>\"/>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"DiagnosticRequest\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"diagparam\" upperBound=\"-1\"\r\n eType=\"#//DiagnosticParam\" containment=\"true\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"DiagnosticResponse\">\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"primitive\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"diagparam\" upperBound=\"-1\"\r\n eType=\"#//DiagnosticParam\" containment=\"true\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"DiagnosticParam\">\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"qualifier\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"copyToVar\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"valueTypes\" lowerBound=\"1\"\r\n eType=\"#//DiagnosticParamValueType\" containment=\"true\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Action\" abstract=\"true\" eSuperTypes=\"#//TestStep\">\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"value\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"wait\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFloat\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"valueTo\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"BlockAction\" eSuperTypes=\"#//TestStep\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"testSteps\" lowerBound=\"1\"\r\n upperBound=\"-1\" eType=\"#//TestStep\" containment=\"true\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ForLoop\" eSuperTypes=\"#//BlockAction\">\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"loopVar\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"stopValue\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"startValue\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"WhileLoop\" eSuperTypes=\"#//BlockAction\">\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"value\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"valueTo\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"operator\" eType=\"#//OperatorTypeEnum\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"DiagnosticParamValueType\" abstract=\"true\"/>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Var\" eSuperTypes=\"#//DiagnosticParamValueType\">\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"name\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"OneOf\" eSuperTypes=\"#//DiagnosticParamValueType\">\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"values\" lowerBound=\"1\"\r\n upperBound=\"-1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Range\" eSuperTypes=\"#//DiagnosticParamValueType\">\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"from\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"to\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"TracebilityArtifact\">\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"type\" eType=\"#//TraceabilityArtifactEnum\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"url\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EEnum\" name=\"TraceabilityArtifactEnum\">\r\n <eLiterals name=\"REQUIREMENT\"/>\r\n <eLiterals name=\"TEST\" value=\"1\"/>\r\n <eLiterals name=\"BUG\" value=\"2\"/>\r\n <eLiterals name=\"OTHERS\" value=\"3\"/>\r\n </eClassifiers>\r\n</ecore:EPackage>\r\n"
}
] |
[
{
"role": "system",
"content": "You are a systems engineer, expert in model driven engineering and meta-modeling \nYour OUTPUT should always be an ecore xmi in this format :\n```xml \nYOUR CODE HERE \n```\n"
},
{
"role": "user",
"content": "Convert the following description into an ecore xmi representation:\nvmLogo\nTurtle\nposition\ndrawings\nheading\n0\npenUp\ntrue\npoints\nPoint\nx\ny\nSegment\norigin\ndestination\nInteger\nint\nint\nBoolean\njava.lang.Boolean\njava.lang.Boolean\nDouble\ndouble\ndouble"
},
{
"role": "assistant",
"content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<ecore:EPackage xmi:version=\"2.0\" xmlns:xmi=\"http://www.omg.org/XMI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\r\n xmlns:ecore=\"http://www.eclipse.org/emf/2002/Ecore\" name=\"vmLogo\" nsURI=\"http://www.kermeta.org/VMLogo\" nsPrefix=\"vmLogo\">\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Turtle\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"position\" eType=\"#//Point\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"drawings\" upperBound=\"-1\"\r\n eType=\"#//Segment\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"heading\" eType=\"#//Integer\"\r\n defaultValueLiteral=\"0\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"penUp\" eType=\"#//Boolean\"\r\n defaultValueLiteral=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"points\" upperBound=\"-1\"\r\n eType=\"#//Point\" containment=\"true\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Point\">\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"x\" eType=\"#//Double\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"y\" eType=\"#//Double\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Segment\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"origin\" lowerBound=\"1\"\r\n eType=\"#//Point\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"destination\" lowerBound=\"1\"\r\n eType=\"#//Point\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EDataType\" name=\"Integer\" instanceClassName=\"int\"/>\r\n <eClassifiers xsi:type=\"ecore:EDataType\" name=\"Boolean\" instanceClassName=\"java.lang.Boolean\"/>\r\n <eClassifiers xsi:type=\"ecore:EDataType\" name=\"Double\" instanceClassName=\"double\"/>\r\n</ecore:EPackage>\r\n"
}
] |
[
{
"role": "system",
"content": "You are a systems engineer, expert in model driven engineering and meta-modeling \nYour OUTPUT should always be an ecore xmi in this format :\n```xml \nYOUR CODE HERE \n```\n"
},
{
"role": "user",
"content": "Convert the following description into an ecore xmi representation:\nspecification\nBPAnyObject\nBPObject\ntypeReference\nBPSetObject\ntypeReference\nBPAssignment\nleftSide\nrightSide\nBehavioralPattern\nnegative\npsPatternSpecification\ncatalog\nBPMessage\narguments\nselfCall\nmethodReference\nBPArgument\nmessage\nstatement\ntype\nBPEachFragment\nBPCatalog\nbehavioralPatterns\npsCatalog"
},
{
"role": "assistant",
"content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<ecore:EPackage xmi:version=\"2.0\"\r\n xmlns:xmi=\"http://www.omg.org/XMI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\r\n xmlns:ecore=\"http://www.eclipse.org/emf/2002/Ecore\" name=\"specification\"\r\n nsURI=\"http://org.reclipse.behavior.specification\" nsPrefix=\"org.reclipse.behavior\">\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"BPAnyObject\" eSuperTypes=\"../../de.uni_paderborn.basicsequencediagram/design/basicsequencediagram.ecore#//AbstractSequenceDiagramObject\">\r\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\r\n <details key=\"documentation\" value=\"BPAnyObject represents an Objects that can be of any type.\"/>\r\n </eAnnotations>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"BPObject\" eSuperTypes=\"../../de.uni_paderborn.basicsequencediagram/design/basicsequencediagram.ecore#//AbstractSequenceDiagramObject\">\r\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\r\n <details key=\"documentation\" value=\"BPObject represents an object within a BehavioralPattern. A BPObject has a reference to an SPObject from the structure specification plugin.\"/>\r\n </eAnnotations>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"typeReference\" eType=\"ecore:EClass ../../org.reclipse.structure.specification/design/specification.ecore#//PSObject\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"BPSetObject\" eSuperTypes=\"../../de.uni_paderborn.basicsequencediagram/design/basicsequencediagram.ecore#//AbstractSequenceDiagramObject\">\r\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\r\n <details key=\"documentation\" value=\"BPSetObject represents a set of objects.\"/>\r\n </eAnnotations>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"typeReference\" eType=\"ecore:EClass ../../org.reclipse.structure.specification/design/specification.ecore#//PSObject\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"BPAssignment\" eSuperTypes=\"../../de.uni_paderborn.basicsequencediagram/design/basicsequencediagram.ecore#//LifelineFragment\">\r\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\r\n <details key=\"documentation\" value=\"A BPAssignment represents assignments with a BPObject on the leftSide and a BPArgument on the right side. An assignment means that the object's identity is changed. BPAssignment is visualized at the lifeline of the left-side-object.\"/>\r\n </eAnnotations>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"leftSide\" lowerBound=\"1\"\r\n eType=\"#//BPObject\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"rightSide\" lowerBound=\"1\"\r\n eType=\"#//BPArgument\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"BehavioralPattern\" eSuperTypes=\"../../de.uni_paderborn.basicsequencediagram/design/basicsequencediagram.ecore#//SequenceDiagram\">\r\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\r\n <details key=\"documentation\" value=\"A BehavioralPattern is a SequenceDiagram. It specifies the behavior of a pattern at run-time. If the property "negative" is true, it specifies behavior that is not allowed. A BehavioralPattern has a reference on a PSPatternSpecification.\"/>\r\n </eAnnotations>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"negative\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"psPatternSpecification\"\r\n eType=\"ecore:EClass ../../org.reclipse.structure.specification/design/specification.ecore#//PSPatternSpecification\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"catalog\" eType=\"#//BPCatalog\"\r\n eOpposite=\"#//BPCatalog/behavioralPatterns\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"BPMessage\" eSuperTypes=\"../../de.uni_paderborn.basicsequencediagram/design/basicsequencediagram.ecore#//AbstractMessage\">\r\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\r\n <details key=\"documentation\" value=\"A BPMessage represents messages that are sent between objects within a BehavioralPattern. It has reference to a PSObject from the structure specification plugin. The selfCall property determines if the sending and the receiving object is the same for messages from/to PSSetObjects. A BPMessage can have an arbitrary number of BPArguments.\"/>\r\n </eAnnotations>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"arguments\" upperBound=\"-1\"\r\n eType=\"#//BPArgument\" containment=\"true\" eOpposite=\"#//BPArgument/message\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"selfCall\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"methodReference\" eType=\"ecore:EClass ../../org.reclipse.structure.specification/design/specification.ecore#//PSObject\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"BPArgument\" eSuperTypes=\"../../org.fujaba.commons/design/identifier.ecore#//Identifier\">\r\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\r\n <details key=\"documentation\" value=\"A BPArgument belongs to a BPMessage. It has a reference to a PSObject from the structure specification plugin.\"/>\r\n </eAnnotations>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"message\" lowerBound=\"1\"\r\n eType=\"#//BPMessage\" eOpposite=\"#//BPMessage/arguments\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"statement\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"type\" eType=\"ecore:EClass ../../org.reclipse.structure.specification/design/specification.ecore#//PSObject\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"BPEachFragment\" eSuperTypes=\"../../de.uni_paderborn.basicsequencediagram/design/basicsequencediagram.ecore#//CombinedFragment\">\r\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\r\n <details key=\"documentation\" value=\"A BPEachFragment is a CombinedFragment that can contain a message from or to a BPSetObject. It means that the message is called on/from each object in the set.\"/>\r\n </eAnnotations>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"BPCatalog\" eSuperTypes=\"../../org.fujaba.commons/design/identifier.ecore#//Identifier\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"behavioralPatterns\" upperBound=\"-1\"\r\n eType=\"#//BehavioralPattern\" containment=\"true\" eOpposite=\"#//BehavioralPattern/catalog\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"psCatalog\" lowerBound=\"1\"\r\n eType=\"ecore:EClass ../../org.reclipse.structure.specification/design/specification.ecore#//PSCatalog\"/>\r\n </eClassifiers>\r\n</ecore:EPackage>\r\n"
}
] |
[
{
"role": "system",
"content": "You are a systems engineer, expert in model driven engineering and meta-modeling \nYour OUTPUT should always be an ecore xmi in this format :\n```xml \nYOUR CODE HERE \n```\n"
},
{
"role": "user",
"content": "Convert the following description into an ecore xmi representation:\ncodingSchemes\nCodingScheme\nlocalName\nsource\ncopyright\nmappings\nproperties\nentities\nrelations\napproxNumConcepts\ncodingSchemeName\ncodingSchemeURI\ndefaultLanguage\nformalName\nrepresentsVersion\nCodingSchemes\ncodingScheme\nDocumentRoot\nmixed\nxMLNSPrefixMap\nxSISchemaLocation\ncodingScheme\ncodingSchemes"
},
{
"role": "assistant",
"content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ecore:EPackage xmi:version=\"2.0\"\n xmlns:xmi=\"http://www.omg.org/XMI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n xmlns:ecore=\"http://www.eclipse.org/emf/2002/Ecore\" name=\"codingSchemes\"\n nsURI=\"http://LexGrid.org/schema/2009/01/LexGrid/codingSchemes\" nsPrefix=\"lgCS\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\n <details key=\"documentation\" value=\"
 <h2 xmlns="http://LexGrid.org/schema/2009/01/LexGrid/codingSchemes">Coding Scheme Definitions</h2>
 
The definition of the Coding Scheme resource.

 <h2 xmlns="http://LexGrid.org/schema/2009/01/LexGrid/builtins">Core data types for the LexGrid package</h2>
 
These are the basic types used in the construction of the rest of the LexGrid model. They need to be mapped to the appropriate implementation specific data types. The mapping in this package represents the XML Schema data types mapping

 <h2 xmlns="http://LexGrid.org/schema/2009/01/LexGrid/commonTypes">Shared types for the LexGrid package</h2>
 
Type definitions that are shared by more than one LexGrid module

 <h2 xmlns="http://LexGrid.org/schema/2009/01/LexGrid/versions">Revision and history package</h2>
 
The LexGrid model of revisions, history and releases.

 <h2 xmlns="http://LexGrid.org/schema/2009/01/LexGrid/valueDomains">Value domains and pick list packages</h2>
 
The LexGrid model of value domains and associated pick lists.

 <h2 xmlns="http://LexGrid.org/schema/2009/01/LexGrid/naming">Local identifier to URI mapping resource definition</h2>
 
This package supports the local id to URI mappings.

 <h2 xmlns="http://LexGrid.org/schema/2009/01/LexGrid/concepts">Lexical definitions package</h2>
 
The LexGrid model of the lexical portion of an entity description.

 <h2 xmlns="http://LexGrid.org/schema/2009/01/LexGrid/relations">Semantic relationships package</h2>
 
The definition of the "semantic relationships" that are defined in a coding scheme.\"/>\n </eAnnotations>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"CodingScheme\" eSuperTypes=\"types.ecore#//VersionableAndDescribable\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\n <details key=\"documentation\" value=\"A resource that makes assertions about a collection of terminological entities.\"/>\n </eAnnotations>\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"name\" value=\"codingScheme\"/>\n <details key=\"kind\" value=\"elementOnly\"/>\n </eAnnotations>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"localName\" unique=\"false\"\n upperBound=\"-1\" eType=\"ecore:EDataType builtins.ecore#//TsCaseIgnoreIA5String\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\n <details key=\"documentation\" value=\"Name that can be used to reference the coding scheme within the context of a given service. \"/>\n </eAnnotations>\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"element\"/>\n <details key=\"name\" value=\"localName\"/>\n <details key=\"namespace\" value=\"##targetNamespace\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"source\" upperBound=\"-1\"\n eType=\"ecore:EClass types.ecore#//Source\" containment=\"true\" resolveProxies=\"false\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\n <details key=\"documentation\" value=\"The local identifiers of the source(s) of this coding scheme. Must match a local id of a supportedSource in the corresponding mappings section.\"/>\n </eAnnotations>\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"element\"/>\n <details key=\"name\" value=\"source\"/>\n <details key=\"namespace\" value=\"##targetNamespace\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"copyright\" eType=\"ecore:EClass types.ecore#//Text\"\n containment=\"true\" resolveProxies=\"false\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\n <details key=\"documentation\" value=\"Information about rights held in and over the resource. Typically, copyright information includes a statement about various property rights associated with the resource, including intellectual property rights.\"/>\n </eAnnotations>\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"element\"/>\n <details key=\"name\" value=\"copyright\"/>\n <details key=\"namespace\" value=\"##targetNamespace\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"mappings\" lowerBound=\"1\"\n eType=\"ecore:EClass naming.ecore#//Mappings\" containment=\"true\" resolveProxies=\"false\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\n <details key=\"documentation\" value=\"A list of the local identifiers used in this resource along with the corresponding URI's, if known.\"/>\n </eAnnotations>\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"element\"/>\n <details key=\"name\" value=\"mappings\"/>\n <details key=\"namespace\" value=\"##targetNamespace\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"properties\" eType=\"ecore:EClass types.ecore#//Properties\"\n containment=\"true\" resolveProxies=\"false\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\n <details key=\"documentation\" value=\"A list of propeties used in the description of this coding scheme.\"/>\n </eAnnotations>\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"element\"/>\n <details key=\"name\" value=\"properties\"/>\n <details key=\"namespace\" value=\"##targetNamespace\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"entities\" eType=\"ecore:EClass concepts.ecore#//Entities\"\n containment=\"true\" resolveProxies=\"false\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\n <details key=\"documentation\" value=\"The set of lexical assertions made by this coding scheme.\"/>\n </eAnnotations>\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"element\"/>\n <details key=\"name\" value=\"entities\"/>\n <details key=\"namespace\" value=\"##targetNamespace\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"relations\" upperBound=\"-1\"\n eType=\"ecore:EClass relations.ecore#//Relations\" containment=\"true\" resolveProxies=\"false\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\n <details key=\"documentation\" value=\"The set of semantic assertions made by this coding scheme.\"/>\n </eAnnotations>\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"element\"/>\n <details key=\"name\" value=\"relations\"/>\n <details key=\"namespace\" value=\"##targetNamespace\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"approxNumConcepts\" eType=\"ecore:EDataType builtins.ecore#//TsInteger\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\n <details key=\"documentation\" value=\"The approximate number of entries in the lexical portion of this scheme. This is used as a hint for browsers and services.\"/>\n </eAnnotations>\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"attribute\"/>\n <details key=\"name\" value=\"approxNumConcepts\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"codingSchemeName\" lowerBound=\"1\"\n eType=\"ecore:EDataType types.ecore#//CodingSchemeName\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\n <details key=\"documentation\" value=\"The unique local identifier used to uniquely reference this coding scheme within the context of a message or container. codingSchemeName must match a local id of a supportedCodingScheme in the mappings section.\"/>\n </eAnnotations>\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"attribute\"/>\n <details key=\"name\" value=\"codingSchemeName\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"codingSchemeURI\" lowerBound=\"1\"\n eType=\"ecore:EDataType types.ecore#//URI\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\n <details key=\"documentation\" value=\"The official URI for this coding scheme . This URI must also be present in the supportedCodingScheme entry that matches the codingSchemeName.\"/>\n </eAnnotations>\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"attribute\"/>\n <details key=\"name\" value=\"codingSchemeURI\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"defaultLanguage\" eType=\"ecore:EDataType types.ecore#//Language\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\n <details key=\"documentation\" value=\"The local identifier of the language that is used in all presentations, descriptions, etc. in this coding scheme if not otherwise specified. defaultLanguage must match a local id of a supportedLanguage in the mappings section.\"/>\n </eAnnotations>\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"attribute\"/>\n <details key=\"name\" value=\"defaultLanguage\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"formalName\" eType=\"ecore:EDataType builtins.ecore#//TsCaseIgnoreIA5String\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\n <details key=\"documentation\" value=\"The official or common name by which this coding scheme is known. (optional)\"/>\n </eAnnotations>\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"attribute\"/>\n <details key=\"name\" value=\"formalName\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"representsVersion\" eType=\"ecore:EDataType types.ecore#//Version\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\n <details key=\"documentation\" value=\"The specific version of the resource represented by this coding scheme.\"/>\n </eAnnotations>\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"attribute\"/>\n <details key=\"name\" value=\"representsVersion\"/>\n </eAnnotations>\n </eStructuralFeatures>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"CodingSchemes\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\n <details key=\"documentation\" value=\"A collection of one or more coding schemes.\"/>\n </eAnnotations>\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"name\" value=\"codingSchemes\"/>\n <details key=\"kind\" value=\"elementOnly\"/>\n </eAnnotations>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"codingScheme\" lowerBound=\"1\"\n upperBound=\"-1\" eType=\"#//CodingScheme\" containment=\"true\" resolveProxies=\"false\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\n <details key=\"documentation\" value=\"An individual coding scheme in the collection.\"/>\n </eAnnotations>\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"element\"/>\n <details key=\"name\" value=\"codingScheme\"/>\n <details key=\"namespace\" value=\"##targetNamespace\"/>\n </eAnnotations>\n </eStructuralFeatures>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"DocumentRoot\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"name\" value=\"\"/>\n <details key=\"kind\" value=\"mixed\"/>\n </eAnnotations>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"mixed\" unique=\"false\" upperBound=\"-1\"\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"elementWildcard\"/>\n <details key=\"name\" value=\":mixed\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"xMLNSPrefixMap\" upperBound=\"-1\"\n eType=\"ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry\"\n transient=\"true\" containment=\"true\" resolveProxies=\"false\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"attribute\"/>\n <details key=\"name\" value=\"xmlns:prefix\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"xSISchemaLocation\" upperBound=\"-1\"\n eType=\"ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry\"\n transient=\"true\" containment=\"true\" resolveProxies=\"false\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"attribute\"/>\n <details key=\"name\" value=\"xsi:schemaLocation\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"codingScheme\" upperBound=\"-2\"\n eType=\"#//CodingScheme\" volatile=\"true\" transient=\"true\" derived=\"true\" containment=\"true\"\n resolveProxies=\"false\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"element\"/>\n <details key=\"name\" value=\"codingScheme\"/>\n <details key=\"namespace\" value=\"##targetNamespace\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"codingSchemes\" upperBound=\"-2\"\n eType=\"#//CodingSchemes\" volatile=\"true\" transient=\"true\" derived=\"true\" containment=\"true\"\n resolveProxies=\"false\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"element\"/>\n <details key=\"name\" value=\"codingSchemes\"/>\n <details key=\"namespace\" value=\"##targetNamespace\"/>\n </eAnnotations>\n </eStructuralFeatures>\n </eClassifiers>\n</ecore:EPackage>\n"
}
] |
End of preview.
README.md exists but content is empty.
Use the Edit dataset card button to edit it.
- Downloads last month
- 0