| {"messages": [{"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:\nlisteners\nConsoleReportListener\nverbosity\n1\ncolor\ntrue\nDataSetReportListener\ninput\noutput\nEMailPostExecutionListener\nID\nid\nMailConfiguration\nsubject\nmessage\nattachments\nrecipients\nattachAsLink\nfalse\nMailRecipient\ntype\nTO\nRecipientTypeEnum\nTO\nTO\nCC\nCC\nBCC\nBCC\nRecipientTypeEnumObject\norg.eclipse.emf.common.util.Enumerator\norg.eclipse.emf.common.util.Enumerator\nScenarioReportListener\noutput\ntitle\nSaturn result report\nTAPOutputTypeEnum\nTEXT\nTEXT\nHTML\nHTML\nTAPOutputTypeEnumObject\norg.eclipse.emf.common.util.Enumerator\norg.eclipse.emf.common.util.Enumerator\nTAPReportListener\noutput\nomittedIDs\niDs\ntype\nTEXT\nXmlDirectory\ndirectory\nXmlFile\ntitle\nfileName\nxsltURI\nXmlHierarchicalReportListener\nxmlDirectories\nXmlReportListener\nxmlFiles"}, {"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=\"listeners\" nsURI=\"http://www.ms.com/2006/Saturn/Listeners\" nsPrefix=\"listeners\">\n <eAnnotations source=\"http://www.ms.com/2011/tdo-qa-tools/rcs\">\n <details key=\"author\" value=\"$Author$\"/>\n <details key=\"change\" value=\"$Change$\"/>\n <details key=\"file\" value=\"$File$\"/>\n <details key=\"id\" value=\"$Id$\"/>\n <details key=\"revision\" value=\"$Revision$\"/>\n <details key=\"timestamp\" value=\"$DateTime$\"/>\n </eAnnotations>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ConsoleReportListener\" eSuperTypes=\"types.ecore#//AbstractListener\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"name\" value=\"ConsoleReportListener\"/>\n <details key=\"kind\" value=\"empty\"/>\n </eAnnotations>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"verbosity\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Integer\"\n defaultValueLiteral=\"1\" unsettable=\"true\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"attribute\"/>\n <details key=\"name\" value=\"verbosity\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"color\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean\"\n defaultValueLiteral=\"true\" unsettable=\"true\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"attribute\"/>\n <details key=\"name\" value=\"color\"/>\n </eAnnotations>\n </eStructuralFeatures>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"DataSetReportListener\" eSuperTypes=\"types.ecore#//AbstractListener\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"name\" value=\"DataSetReportListener\"/>\n <details key=\"kind\" value=\"elementOnly\"/>\n </eAnnotations>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"input\" lowerBound=\"1\" eType=\"ecore:EClass types.ecore#//DataSetResourceDefinition\"\n containment=\"true\" resolveProxies=\"false\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"element\"/>\n <details key=\"name\" value=\"Input\"/>\n <details key=\"namespace\" value=\"##targetNamespace\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"output\" lowerBound=\"1\"\n eType=\"ecore:EClass types.ecore#//DataSetResourceDefinition\" 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=\"Output\"/>\n <details key=\"namespace\" value=\"##targetNamespace\"/>\n </eAnnotations>\n </eStructuralFeatures>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"EMailPostExecutionListener\" eSuperTypes=\"types.ecore#//AbstractListener\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"name\" value=\"EMailPostExecutionListener\"/>\n <details key=\"kind\" value=\"empty\"/>\n </eAnnotations>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ID\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"name\" value=\"TapReportListenerID\"/>\n <details key=\"kind\" value=\"empty\"/>\n </eAnnotations>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"id\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"attribute\"/>\n <details key=\"name\" value=\"id\"/>\n </eAnnotations>\n </eStructuralFeatures>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"MailConfiguration\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"name\" value=\"MailConfiguration\"/>\n <details key=\"kind\" value=\"elementOnly\"/>\n </eAnnotations>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"subject\" lowerBound=\"1\"\n eType=\"ecore:EClass values.ecore#//ComplexValue\" containment=\"true\" resolveProxies=\"false\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"element\"/>\n <details key=\"name\" value=\"Subject\"/>\n <details key=\"namespace\" value=\"##targetNamespace\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"message\" lowerBound=\"1\"\n eType=\"ecore:EClass values.ecore#//ComplexValue\" containment=\"true\" resolveProxies=\"false\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"element\"/>\n <details key=\"name\" value=\"Message\"/>\n <details key=\"namespace\" value=\"##targetNamespace\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"attachments\" upperBound=\"-1\"\n eType=\"ecore:EClass types.ecore#//ResourceDefinition\" containment=\"true\" resolveProxies=\"false\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"element\"/>\n <details key=\"name\" value=\"Attachments\"/>\n <details key=\"namespace\" value=\"##targetNamespace\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"recipients\" upperBound=\"-1\"\n eType=\"#//MailRecipient\" containment=\"true\" resolveProxies=\"false\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"element\"/>\n <details key=\"name\" value=\"Recipients\"/>\n <details key=\"namespace\" value=\"##targetNamespace\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"attachAsLink\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean\"\n defaultValueLiteral=\"false\" unsettable=\"true\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"attribute\"/>\n <details key=\"name\" value=\"attachAsLink\"/>\n </eAnnotations>\n </eStructuralFeatures>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"MailRecipient\" eSuperTypes=\"values.ecore#//ComplexValue\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"name\" value=\"Recipient\"/>\n <details key=\"kind\" value=\"mixed\"/>\n </eAnnotations>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"type\" eType=\"#//RecipientTypeEnum\"\n defaultValueLiteral=\"TO\" unsettable=\"true\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"attribute\"/>\n <details key=\"name\" value=\"type\"/>\n </eAnnotations>\n </eStructuralFeatures>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EEnum\" name=\"RecipientTypeEnum\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"name\" value=\"RecipientTypeEnum\"/>\n </eAnnotations>\n <eLiterals name=\"TO\"/>\n <eLiterals name=\"CC\" value=\"1\"/>\n <eLiterals name=\"BCC\" value=\"2\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EDataType\" name=\"RecipientTypeEnumObject\" instanceClassName=\"org.eclipse.emf.common.util.Enumerator\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"name\" value=\"RecipientTypeEnum:Object\"/>\n <details key=\"baseType\" value=\"RecipientTypeEnum\"/>\n </eAnnotations>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ScenarioReportListener\" eSuperTypes=\"types.ecore#//AbstractListener\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"name\" value=\"ScenarioReportListener\"/>\n <details key=\"kind\" value=\"elementOnly\"/>\n </eAnnotations>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"output\" lowerBound=\"1\"\n eType=\"ecore:EClass types.ecore#//ResourceDefinition\" containment=\"true\" resolveProxies=\"false\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"element\"/>\n <details key=\"name\" value=\"Output\"/>\n <details key=\"namespace\" value=\"##targetNamespace\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"title\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String\"\n defaultValueLiteral=\"Saturn result report\" unsettable=\"true\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"attribute\"/>\n <details key=\"name\" value=\"title\"/>\n </eAnnotations>\n </eStructuralFeatures>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EEnum\" name=\"TAPOutputTypeEnum\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"name\" value=\"TAPOutputTypeEnum\"/>\n </eAnnotations>\n <eLiterals name=\"TEXT\"/>\n <eLiterals name=\"HTML\" value=\"1\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EDataType\" name=\"TAPOutputTypeEnumObject\" instanceClassName=\"org.eclipse.emf.common.util.Enumerator\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"name\" value=\"TAPOutputTypeEnum:Object\"/>\n <details key=\"baseType\" value=\"TAPOutputTypeEnum\"/>\n </eAnnotations>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"TAPReportListener\" eSuperTypes=\"types.ecore#//AbstractListener\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"name\" value=\"TAPReportListener\"/>\n <details key=\"kind\" value=\"elementOnly\"/>\n </eAnnotations>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"output\" lowerBound=\"1\"\n eType=\"ecore:EClass types.ecore#//ResourceDefinition\" containment=\"true\" resolveProxies=\"false\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"element\"/>\n <details key=\"name\" value=\"Output\"/>\n <details key=\"namespace\" value=\"##targetNamespace\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"omittedIDs\" upperBound=\"-1\"\n eType=\"#//ID\" containment=\"true\" resolveProxies=\"false\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"element\"/>\n <details key=\"name\" value=\"OmittedIDs\"/>\n <details key=\"namespace\" value=\"##targetNamespace\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"iDs\" upperBound=\"-1\" eType=\"#//ID\"\n containment=\"true\" resolveProxies=\"false\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"element\"/>\n <details key=\"name\" value=\"IDs\"/>\n <details key=\"namespace\" value=\"##targetNamespace\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"type\" eType=\"#//TAPOutputTypeEnum\"\n defaultValueLiteral=\"TEXT\" unsettable=\"true\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"attribute\"/>\n <details key=\"name\" value=\"type\"/>\n </eAnnotations>\n </eStructuralFeatures>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"XmlDirectory\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"name\" value=\"XmlDirectories_._type\"/>\n <details key=\"kind\" value=\"elementOnly\"/>\n </eAnnotations>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"directory\" lowerBound=\"1\"\n eType=\"ecore:EClass values.ecore#//ComplexValue\" containment=\"true\" resolveProxies=\"false\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"element\"/>\n <details key=\"name\" value=\"Directory\"/>\n <details key=\"namespace\" value=\"##targetNamespace\"/>\n </eAnnotations>\n </eStructuralFeatures>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"XmlFile\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"name\" value=\"XmlFiles_._type\"/>\n <details key=\"kind\" value=\"elementOnly\"/>\n </eAnnotations>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"title\" lowerBound=\"1\" eType=\"ecore:EClass values.ecore#//ComplexValue\"\n containment=\"true\" resolveProxies=\"false\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"element\"/>\n <details key=\"name\" value=\"Title\"/>\n <details key=\"namespace\" value=\"##targetNamespace\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"fileName\" lowerBound=\"1\"\n eType=\"ecore:EClass values.ecore#//ComplexValue\" containment=\"true\" resolveProxies=\"false\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"element\"/>\n <details key=\"name\" value=\"FileName\"/>\n <details key=\"namespace\" value=\"##targetNamespace\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"xsltURI\" eType=\"ecore:EClass values.ecore#//ComplexValue\"\n containment=\"true\" resolveProxies=\"false\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"element\"/>\n <details key=\"name\" value=\"XsltURI\"/>\n <details key=\"namespace\" value=\"##targetNamespace\"/>\n </eAnnotations>\n </eStructuralFeatures>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"XmlHierarchicalReportListener\" eSuperTypes=\"types.ecore#//AbstractListener\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"name\" value=\"XmlHierarchicalReportListener\"/>\n <details key=\"kind\" value=\"elementOnly\"/>\n </eAnnotations>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"xmlDirectories\" upperBound=\"-1\"\n eType=\"#//XmlDirectory\" containment=\"true\" resolveProxies=\"false\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"element\"/>\n <details key=\"name\" value=\"XmlDirectories\"/>\n <details key=\"namespace\" value=\"##targetNamespace\"/>\n </eAnnotations>\n </eStructuralFeatures>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"XmlReportListener\" eSuperTypes=\"types.ecore#//AbstractListener\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"name\" value=\"XmlReportListener\"/>\n <details key=\"kind\" value=\"elementOnly\"/>\n </eAnnotations>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"xmlFiles\" upperBound=\"-1\"\n eType=\"#//XmlFile\" containment=\"true\" resolveProxies=\"false\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"element\"/>\n <details key=\"name\" value=\"XmlFiles\"/>\n <details key=\"namespace\" value=\"##targetNamespace\"/>\n </eAnnotations>\n </eStructuralFeatures>\n </eClassifiers>\n</ecore:EPackage>\n"}]} |
| {"messages": [{"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:\npetrinet\nPetrinet\nnodes\narcs\nNode\nname\nincomming\noutgoing\nArc\ntarget\nsource\nTransition\nPlace\ntokenNb"}, {"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=\"petrinet\" nsURI=\"http://petrinet.petrinet.petrinet/\" nsPrefix=\"petrinet\">\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Petrinet\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"nodes\" upperBound=\"-1\"\n eType=\"#//Node\" containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"arcs\" upperBound=\"-1\" eType=\"#//Arc\"\n containment=\"true\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Node\" abstract=\"true\">\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=\"incomming\" upperBound=\"-1\"\n eType=\"#//Arc\" eOpposite=\"#//Arc/target\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"outgoing\" upperBound=\"-1\"\n eType=\"#//Arc\" eOpposite=\"#//Arc/source\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Arc\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"target\" lowerBound=\"1\"\n eType=\"#//Node\" eOpposite=\"#//Node/incomming\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"source\" lowerBound=\"1\"\n eType=\"#//Node\" eOpposite=\"#//Node/outgoing\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Transition\" eSuperTypes=\"#//Node\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Place\" eSuperTypes=\"#//Node\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"tokenNb\" lowerBound=\"1\"\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt\"/>\n </eClassifiers>\n</ecore:EPackage>\n"}]} |
| {"messages": [{"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:\nfamily\nMember\nname\nfamilyFather\nfamilyMother\nfamilySon\nfamilyDaughter\nFamily\nlastName\nfather\nmother\nson\ndaughter"}, {"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=\"family\" nsURI=\"http://www.eclipse.org/qvt/examples/0.1/Family\"\n nsPrefix=\"family\">\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Member\" abstract=\"true\">\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=\"familyFather\" eType=\"#//Family\"\n eOpposite=\"#//Family/father\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"familyMother\" eType=\"#//Family\"\n eOpposite=\"#//Family/mother\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"familySon\" eType=\"#//Family\"\n eOpposite=\"#//Family/son\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"familyDaughter\" eType=\"#//Family\"\n eOpposite=\"#//Family/daughter\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Family\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"lastName\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"father\" eType=\"#//Member\"\n eOpposite=\"#//Member/familyFather\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"mother\" eType=\"#//Member\"\n eOpposite=\"#//Member/familyMother\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"son\" upperBound=\"-1\" eType=\"#//Member\"\n eOpposite=\"#//Member/familySon\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"daughter\" upperBound=\"-1\"\n eType=\"#//Member\" eOpposite=\"#//Member/familyDaughter\"/>\n </eClassifiers>\n</ecore:EPackage>\n"}]} |
| {"messages": [{"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:\nui\nBlockDef\nsuper\nname\ndescription\nPlanDef\nsuper\nname\nabstract\nfalse\ndescription\nparts\nRendererDef\nblock\nplatform\nname\nRegion\nname\ndescription\ntype\nLayoutDef\nname\ndescription\nregions\nsuper\nabstract\nfalse\nTheme\nPresenterDef\nsuper\nname\nlayout\nplatform\nActivityDef\nname\nsuper\nblock\ndescription\nUiCatalog\nlayouts\npresenters\nrenderers\nname\nplatforms\nplans\nblocks\nactivities\nPlatform\nname\ndescription\nPart\nname\nPlanBlock\nplan\nLayoutBlock\nlayout"}, {"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=\"ui\" nsURI=\"http://www.soluvas.org/schema/ui/1.0\" nsPrefix=\"ui\">\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"BlockDef\" abstract=\"true\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"super\" eType=\"#//BlockDef\"/>\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=\"PlanDef\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"super\" eType=\"#//PlanDef\"/>\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=\"abstract\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\r\n defaultValueLiteral=\"false\">\r\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\r\n <details key=\"documentation\" value=\"Abstract means the layout has no presenters. The layout is meant to be extended, not presented.\"/>\r\n </eAnnotations>\r\n </eStructuralFeatures>\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=\"parts\" upperBound=\"-1\"\r\n eType=\"#//Part\" containment=\"true\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"RendererDef\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"block\" lowerBound=\"1\" eType=\"#//BlockDef\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"platform\" lowerBound=\"1\"\r\n eType=\"#//Platform\"/>\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=\"Region\">\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 <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"type\" lowerBound=\"1\" eType=\"#//BlockDef\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"LayoutDef\">\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 <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"regions\" upperBound=\"-1\"\r\n eType=\"#//Region\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"super\" eType=\"#//LayoutDef\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"abstract\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\r\n defaultValueLiteral=\"false\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Theme\"/>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"PresenterDef\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"super\" eType=\"#//PresenterDef\"/>\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=\"layout\" lowerBound=\"1\"\r\n eType=\"#//PlanDef\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"platform\" lowerBound=\"1\"\r\n eType=\"#//Platform\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ActivityDef\">\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=\"super\" eType=\"#//ActivityDef\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"block\" lowerBound=\"1\" eType=\"#//BlockDef\"/>\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=\"UiCatalog\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"layouts\" upperBound=\"-1\"\r\n eType=\"#//LayoutDef\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"presenters\" upperBound=\"-1\"\r\n eType=\"#//PresenterDef\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"renderers\" upperBound=\"-1\"\r\n eType=\"#//RendererDef\" containment=\"true\"/>\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=\"platforms\" upperBound=\"-1\"\r\n eType=\"#//Platform\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"plans\" upperBound=\"-1\"\r\n eType=\"#//PlanDef\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"blocks\" upperBound=\"-1\"\r\n eType=\"#//BlockDef\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"activities\" upperBound=\"-1\"\r\n eType=\"#//ActivityDef\" containment=\"true\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Platform\">\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=\"Part\">\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=\"PlanBlock\" eSuperTypes=\"#//BlockDef\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"plan\" lowerBound=\"1\" eType=\"#//PlanDef\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"LayoutBlock\" eSuperTypes=\"#//BlockDef\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"layout\" lowerBound=\"1\"\r\n eType=\"#//LayoutDef\"/>\r\n </eClassifiers>\r\n</ecore:EPackage>\r\n"}]} |
| {"messages": [{"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:\ngenmodel\nGenModel\ncopyrightText\nmodelDirectory\ncreationCommands\ntrue\ncreationIcons\ntrue\ncreationSubmenus\neditDirectory\neditorDirectory\nmodelPluginID\ntemplateDirectory\nruntimeJar\nforeignModel\ndynamicTemplates\nredirection\nforceOverwrite\nnonExternalizedStringTag\nmodelName\nmodelPluginClass\neditPluginClass\neditorPluginClass\nupdateClasspath\ntrue\ngenerateSchema\nnonNLSMarkers\nfalse\nstaticPackages\nmodelPluginVariables\nrootExtendsInterface\norg.eclipse.emf.ecore.EObject\nrootExtendsClass\norg.eclipse.emf.ecore.impl.EObjectImpl\nrootImplementsInterface\nsuppressEMFTypes\nsuppressEMFMetaData\nsuppressEMFModelTags\nsuppressInterfaces\nfeatureMapWrapperInterface\nfeatureMapWrapperInternalInterface\nfeatureMapWrapperClass\nruntimeCompatibility\nrichClientPlatform\nreflectiveDelegation\ncodeFormatting\ntestsDirectory\ntestSuiteClass\nbooleanFlagsField\nbooleanFlagsReservedBits\n-1\nimporterID\nbundleManifest\ntrue\nfeatureDelegation\ncontainmentProxies\nminimalReflectiveMethods\ntrue\nsuppressContainment\nsuppressNotification\narrayAccessors\nsuppressUnsettable\nfacadeHelperClass\norg.eclipse.emf.codegen.merge.java.facade.ast.ASTFacadeHelper\ncomplianceLevel\nsuppressGenModelAnnotations\ntrue\ncopyrightFields\ntrue\nbinaryCompatibleReflectiveMethods\npublicConstructors\ntemplatePluginVariables\nproviderRootExtendsClass\neditPluginID\neditPluginVariables\neditorPluginID\neditorPluginVariables\ntestsPluginID\ntestsPluginVariables\noptimizedHasChildren\ntableProviders\ncolorProviders\nfontProviders\nruntimeVersion\nlanguage\npackedEnums\ngenPackages\nusedGenPackages\ninterfaceNamePattern\nclassNamePattern\noperationReflection\nfalse\nrichAjaxPlatform\nruntimePlatform\nGenPackage\nprefix\nbasePackage\nresource\ndisposableProviderFactory\nadapterFactory\ntrue\nloadInitialization\ninterfacePackageSuffix\n\nmetaDataPackageSuffix\n\nclassPackageSuffix\nimpl\nutilityPackageSuffix\nutil\nproviderPackageSuffix\nprovider\npresentationPackageSuffix\npresentation\ntestsPackageSuffix\ntests\ngenerateExampleClass\ntrue\nliteralsInterface\ntrue\ndataTypeConverters\nmultipleEditorPages\ntrue\ngenerateModelWizard\ntrue\nextensibleProviderFactory\nchildCreationExtenders\ncontentTypeIdentifier\nfileExtensions\necorePackage\ngenModel\ngenEnums\ngenDataTypes\ngenClasses\nnestedGenPackages\ngenClassifiers\nGenClass\nprovider\nimage\ntrue\ndynamic\necoreClass\ngenFeatures\ngenOperations\nlabelFeature\nGenFeature\nproperty\nnotify\ntrue\nchildren\ncreateChild\npropertyCategory\npropertyFilterFlags\npropertyDescription\npropertyMultiLine\npropertySortChoices\ngenClass\necoreFeature\nGenBase\ngetGenAnnotation\nsource\ngenAnnotations\nGenEnum\ntypeSafeEnumCompatible\ntrue\necoreEnum\ngenEnumLiterals\nGenEnumLiteral\ngenEnum\necoreEnumLiteral\nGenClassifier\ngenPackage\ngenTypeParameters\nGenDataType\necoreDataType\nGenOperation\ngenClass\necoreOperation\ngenParameters\ngenTypeParameters\nGenParameter\ngenOperation\necoreParameter\nGenProviderKind\nSingleton\nSingleton\nStateful\nStateful\nNone\nNone\nGenPropertyKind\nEditable\nEditable\nReadonly\nReadonly\nNone\nNone\nGenResourceKind\nNone\nNone\nBasic\nBasic\nXMI\nXMI\nXML\nXML\nGenTypedElement\nGenDelegationKind\nNone\nNone\nReflective\nReflective\nVirtual\nVirtual\nDynamic\nDynamic\nGenAnnotation\nsource\ndetails\ngenBase\nreferences\ncontents\nGenJDKLevel\nJDK14\n1.4\nJDK50\n5.0\nJDK60\n6.0\nGenTypeParameter\necoreTypeParameter\nGenRuntimeVersion\nEMF22\n2.2\nEMF23\n2.3\nEMF24\n2.4\nEMF25\n2.5\nEMF26\n2.6\nEMF27\n2.7\nEMF28\n2.8\nGenRuntimePlatform\nIDE\nIDE\nRCP\nRCP\nRAP\nRAP\nGWT\nGWT"}, {"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=\"genmodel\" nsURI=\"http://www.eclipse.org/emf/2002/GenModel\" nsPrefix=\"genmodel\">\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"GenModel\" eSuperTypes=\"#//GenBase\">\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"copyrightText\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"modelDirectory\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"creationCommands\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\r\n defaultValueLiteral=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"creationIcons\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\r\n defaultValueLiteral=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"creationSubmenus\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"editDirectory\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"\r\n unsettable=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"editorDirectory\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"\r\n unsettable=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"modelPluginID\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"templateDirectory\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"runtimeJar\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"foreignModel\" upperBound=\"-1\"\r\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"dynamicTemplates\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"redirection\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"forceOverwrite\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"nonExternalizedStringTag\"\r\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"modelName\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"modelPluginClass\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"editPluginClass\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"\r\n unsettable=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"editorPluginClass\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"\r\n unsettable=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"updateClasspath\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\r\n defaultValueLiteral=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"generateSchema\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"nonNLSMarkers\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\r\n defaultValueLiteral=\"false\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"staticPackages\" upperBound=\"-1\"\r\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"modelPluginVariables\" upperBound=\"-1\"\r\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"rootExtendsInterface\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"\r\n defaultValueLiteral=\"org.eclipse.emf.ecore.EObject\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"rootExtendsClass\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"\r\n defaultValueLiteral=\"org.eclipse.emf.ecore.impl.EObjectImpl\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"rootImplementsInterface\"\r\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"suppressEMFTypes\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"suppressEMFMetaData\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"suppressEMFModelTags\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"suppressInterfaces\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"featureMapWrapperInterface\"\r\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"featureMapWrapperInternalInterface\"\r\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"featureMapWrapperClass\"\r\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"runtimeCompatibility\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"richClientPlatform\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\r\n volatile=\"true\" transient=\"true\" derived=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"reflectiveDelegation\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\r\n volatile=\"true\" derived=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"codeFormatting\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"testsDirectory\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"\r\n unsettable=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"testSuiteClass\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"\r\n unsettable=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"booleanFlagsField\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"booleanFlagsReservedBits\"\r\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt\" defaultValueLiteral=\"-1\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"importerID\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"bundleManifest\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\r\n defaultValueLiteral=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"featureDelegation\" eType=\"#//GenDelegationKind\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"containmentProxies\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"minimalReflectiveMethods\"\r\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\" defaultValueLiteral=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"suppressContainment\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"suppressNotification\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"arrayAccessors\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"suppressUnsettable\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"facadeHelperClass\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"\r\n defaultValueLiteral=\"org.eclipse.emf.codegen.merge.java.facade.ast.ASTFacadeHelper\">\r\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\r\n <details key=\"documentation\" value=\"The default value must be always equals to JMerger.DEFAULT_FACADE_HELPER_CLASS.\"/>\r\n </eAnnotations>\r\n </eStructuralFeatures>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"complianceLevel\" eType=\"#//GenJDKLevel\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"suppressGenModelAnnotations\"\r\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\" defaultValueLiteral=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"copyrightFields\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\r\n defaultValueLiteral=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"binaryCompatibleReflectiveMethods\"\r\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"publicConstructors\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"templatePluginVariables\"\r\n upperBound=\"-1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"providerRootExtendsClass\"\r\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"editPluginID\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"editPluginVariables\" upperBound=\"-1\"\r\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"editorPluginID\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"editorPluginVariables\"\r\n upperBound=\"-1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"testsPluginID\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"testsPluginVariables\" upperBound=\"-1\"\r\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"optimizedHasChildren\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"tableProviders\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"colorProviders\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"fontProviders\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"runtimeVersion\" eType=\"#//GenRuntimeVersion\"\r\n unsettable=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"language\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"packedEnums\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"genPackages\" upperBound=\"-1\"\r\n eType=\"#//GenPackage\" containment=\"true\" eOpposite=\"#//GenPackage/genModel\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"usedGenPackages\" upperBound=\"-1\"\r\n eType=\"#//GenPackage\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"interfaceNamePattern\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"classNamePattern\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"operationReflection\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\r\n defaultValueLiteral=\"false\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"richAjaxPlatform\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\r\n volatile=\"true\" transient=\"true\" derived=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"runtimePlatform\" eType=\"#//GenRuntimePlatform\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"GenPackage\" eSuperTypes=\"#//GenBase\">\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"prefix\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"basePackage\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"resource\" eType=\"#//GenResourceKind\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"disposableProviderFactory\"\r\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"adapterFactory\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\r\n defaultValueLiteral=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"loadInitialization\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"interfacePackageSuffix\"\r\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\" defaultValueLiteral=\"\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"metaDataPackageSuffix\"\r\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\" defaultValueLiteral=\"\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"classPackageSuffix\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"\r\n defaultValueLiteral=\"impl\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"utilityPackageSuffix\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"\r\n defaultValueLiteral=\"util\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"providerPackageSuffix\"\r\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\" defaultValueLiteral=\"provider\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"presentationPackageSuffix\"\r\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\" defaultValueLiteral=\"presentation\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"testsPackageSuffix\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"\r\n defaultValueLiteral=\"tests\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"generateExampleClass\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\r\n defaultValueLiteral=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"literalsInterface\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\r\n defaultValueLiteral=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"dataTypeConverters\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"multipleEditorPages\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\r\n defaultValueLiteral=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"generateModelWizard\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\r\n defaultValueLiteral=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"extensibleProviderFactory\"\r\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"childCreationExtenders\"\r\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"contentTypeIdentifier\"\r\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"fileExtensions\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ecorePackage\" lowerBound=\"1\"\r\n eType=\"ecore:EClass ../../org.eclipse.emf.ecore/model/Ecore.ecore#//EPackage\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"genModel\" eType=\"#//GenModel\"\r\n transient=\"true\" eOpposite=\"#//GenModel/genPackages\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"genEnums\" upperBound=\"-1\"\r\n eType=\"#//GenEnum\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"genDataTypes\" upperBound=\"-1\"\r\n eType=\"#//GenDataType\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"genClasses\" upperBound=\"-1\"\r\n eType=\"#//GenClass\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"nestedGenPackages\" upperBound=\"-1\"\r\n eType=\"#//GenPackage\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"genClassifiers\" upperBound=\"-1\"\r\n eType=\"#//GenClassifier\" changeable=\"false\" volatile=\"true\" transient=\"true\"\r\n resolveProxies=\"false\" eOpposite=\"#//GenClassifier/genPackage\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"GenClass\" eSuperTypes=\"#//GenClassifier\">\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"provider\" eType=\"#//GenProviderKind\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"image\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\r\n defaultValueLiteral=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"dynamic\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ecoreClass\" lowerBound=\"1\"\r\n eType=\"ecore:EClass ../../org.eclipse.emf.ecore/model/Ecore.ecore#//EClass\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"genFeatures\" upperBound=\"-1\"\r\n eType=\"#//GenFeature\" containment=\"true\" eOpposite=\"#//GenFeature/genClass\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"genOperations\" upperBound=\"-1\"\r\n eType=\"#//GenOperation\" containment=\"true\" eOpposite=\"#//GenOperation/genClass\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"labelFeature\" eType=\"#//GenFeature\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"GenFeature\" eSuperTypes=\"#//GenTypedElement\">\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"property\" eType=\"#//GenPropertyKind\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"notify\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\r\n defaultValueLiteral=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"children\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"createChild\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\r\n unsettable=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"propertyCategory\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"propertyFilterFlags\" upperBound=\"-1\"\r\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"propertyDescription\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"propertyMultiLine\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"propertySortChoices\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"genClass\" lowerBound=\"1\"\r\n eType=\"#//GenClass\" transient=\"true\" eOpposite=\"#//GenClass/genFeatures\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ecoreFeature\" lowerBound=\"1\"\r\n eType=\"ecore:EClass ../../org.eclipse.emf.ecore/model/Ecore.ecore#//EStructuralFeature\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"GenBase\" abstract=\"true\">\r\n <eOperations name=\"getGenAnnotation\" eType=\"#//GenAnnotation\">\r\n <eParameters name=\"source\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n </eOperations>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"genAnnotations\" upperBound=\"-1\"\r\n eType=\"#//GenAnnotation\" containment=\"true\" eOpposite=\"#//GenAnnotation/genBase\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"GenEnum\" eSuperTypes=\"#//GenDataType\">\r\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/Ecore\">\r\n <details key=\"constraints\" value=\"NoEcoreDataType\"/>\r\n </eAnnotations>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"typeSafeEnumCompatible\"\r\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\" defaultValueLiteral=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ecoreEnum\" lowerBound=\"1\"\r\n eType=\"ecore:EClass ../../org.eclipse.emf.ecore/model/Ecore.ecore#//EEnum\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"genEnumLiterals\" upperBound=\"-1\"\r\n eType=\"#//GenEnumLiteral\" containment=\"true\" eOpposite=\"#//GenEnumLiteral/genEnum\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"GenEnumLiteral\" eSuperTypes=\"#//GenBase\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"genEnum\" lowerBound=\"1\"\r\n eType=\"#//GenEnum\" transient=\"true\" eOpposite=\"#//GenEnum/genEnumLiterals\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ecoreEnumLiteral\" lowerBound=\"1\"\r\n eType=\"ecore:EClass ../../org.eclipse.emf.ecore/model/Ecore.ecore#//EEnumLiteral\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"GenClassifier\" abstract=\"true\" eSuperTypes=\"#//GenBase\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"genPackage\" lowerBound=\"1\"\r\n eType=\"#//GenPackage\" changeable=\"false\" volatile=\"true\" transient=\"true\"\r\n resolveProxies=\"false\" eOpposite=\"#//GenPackage/genClassifiers\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"genTypeParameters\" upperBound=\"-1\"\r\n eType=\"#//GenTypeParameter\" containment=\"true\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"GenDataType\" eSuperTypes=\"#//GenClassifier\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ecoreDataType\" lowerBound=\"1\"\r\n eType=\"ecore:EClass ../../org.eclipse.emf.ecore/model/Ecore.ecore#//EDataType\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"GenOperation\" eSuperTypes=\"#//GenTypedElement\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"genClass\" lowerBound=\"1\"\r\n eType=\"#//GenClass\" transient=\"true\" eOpposite=\"#//GenClass/genOperations\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ecoreOperation\" lowerBound=\"1\"\r\n eType=\"ecore:EClass ../../org.eclipse.emf.ecore/model/Ecore.ecore#//EOperation\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"genParameters\" upperBound=\"-1\"\r\n eType=\"#//GenParameter\" containment=\"true\" eOpposite=\"#//GenParameter/genOperation\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"genTypeParameters\" upperBound=\"-1\"\r\n eType=\"#//GenTypeParameter\" containment=\"true\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"GenParameter\" eSuperTypes=\"#//GenTypedElement\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"genOperation\" lowerBound=\"1\"\r\n eType=\"#//GenOperation\" transient=\"true\" eOpposite=\"#//GenOperation/genParameters\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ecoreParameter\" lowerBound=\"1\"\r\n eType=\"ecore:EClass ../../org.eclipse.emf.ecore/model/Ecore.ecore#//EParameter\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EEnum\" name=\"GenProviderKind\">\r\n <eLiterals name=\"Singleton\"/>\r\n <eLiterals name=\"Stateful\" value=\"1\"/>\r\n <eLiterals name=\"None\" value=\"2\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EEnum\" name=\"GenPropertyKind\">\r\n <eLiterals name=\"Editable\"/>\r\n <eLiterals name=\"Readonly\" value=\"1\"/>\r\n <eLiterals name=\"None\" value=\"2\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EEnum\" name=\"GenResourceKind\">\r\n <eLiterals name=\"None\"/>\r\n <eLiterals name=\"Basic\" value=\"1\"/>\r\n <eLiterals name=\"XMI\" value=\"2\"/>\r\n <eLiterals name=\"XML\" value=\"3\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"GenTypedElement\" abstract=\"true\" eSuperTypes=\"#//GenBase\"/>\r\n <eClassifiers xsi:type=\"ecore:EEnum\" name=\"GenDelegationKind\">\r\n <eLiterals name=\"None\"/>\r\n <eLiterals name=\"Reflective\" value=\"1\"/>\r\n <eLiterals name=\"Virtual\" value=\"2\"/>\r\n <eLiterals name=\"Dynamic\" value=\"3\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"GenAnnotation\" eSuperTypes=\"#//GenBase\">\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"source\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"details\" upperBound=\"-1\"\r\n eType=\"ecore:EClass ../../org.eclipse.emf.ecore/model/Ecore.ecore#//EStringToStringMapEntry\"\r\n containment=\"true\" resolveProxies=\"false\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"genBase\" eType=\"#//GenBase\"\r\n transient=\"true\" eOpposite=\"#//GenBase/genAnnotations\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"references\" upperBound=\"-1\"\r\n eType=\"ecore:EClass ../../org.eclipse.emf.ecore/model/Ecore.ecore#//EObject\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"contents\" upperBound=\"-1\"\r\n eType=\"ecore:EClass ../../org.eclipse.emf.ecore/model/Ecore.ecore#//EObject\"\r\n containment=\"true\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EEnum\" name=\"GenJDKLevel\">\r\n <eLiterals name=\"JDK14\" literal=\"1.4\"/>\r\n <eLiterals name=\"JDK50\" value=\"1\" literal=\"5.0\"/>\r\n <eLiterals name=\"JDK60\" value=\"2\" literal=\"6.0\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"GenTypeParameter\" eSuperTypes=\"#//GenBase\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ecoreTypeParameter\" lowerBound=\"1\"\r\n eType=\"ecore:EClass ../../org.eclipse.emf.ecore/model/Ecore.ecore#//ETypeParameter\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EEnum\" name=\"GenRuntimeVersion\">\r\n <eLiterals name=\"EMF22\" literal=\"2.2\"/>\r\n <eLiterals name=\"EMF23\" value=\"1\" literal=\"2.3\"/>\r\n <eLiterals name=\"EMF24\" value=\"2\" literal=\"2.4\"/>\r\n <eLiterals name=\"EMF25\" value=\"3\" literal=\"2.5\"/>\r\n <eLiterals name=\"EMF26\" value=\"4\" literal=\"2.6\"/>\r\n <eLiterals name=\"EMF27\" value=\"5\" literal=\"2.7\"/>\r\n <eLiterals name=\"EMF28\" value=\"6\" literal=\"2.8\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EEnum\" name=\"GenRuntimePlatform\">\r\n <eLiterals name=\"IDE\"/>\r\n <eLiterals name=\"RCP\" value=\"1\"/>\r\n <eLiterals name=\"RAP\" value=\"2\"/>\r\n <eLiterals name=\"GWT\" value=\"3\"/>\r\n </eClassifiers>\r\n</ecore:EPackage>\r\n"}]} |
| {"messages": [{"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:\naccession\nAccession\npassport\nrelatedAccessions\npartOfHolderCoreCollection\nGeneBank\nsafetyDuplicateLocations\nPassport\naccession\nRelatedAccessions\naccession"}, {"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=\"accession\"\n nsURI=\"http:///org/generationcp/model/data/germplasm/accession.ecore\" nsPrefix=\"org.generationcp.model.data.germplasm.accession\">\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Accession\" eSuperTypes=\"germplasm.ecore#//ManagementNeighbourhood\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"passport\" lowerBound=\"1\"\n eType=\"#//Passport\" eOpposite=\"#//Passport/accession\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"relatedAccessions\" lowerBound=\"1\"\n eType=\"#//RelatedAccessions\" eOpposite=\"#//RelatedAccessions/accession\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"partOfHolderCoreCollection\"\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"GeneBank\" eSuperTypes=\"germplasm.ecore#//GermplasmCollection\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"safetyDuplicateLocations\"\n upperBound=\"-1\" eType=\"ecore:EClass location.ecore#//Location\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Passport\" eSuperTypes=\"feature.ecore#//FeatureSet\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"accession\" eType=\"#//Accession\"\n eOpposite=\"#//Accession/passport\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"RelatedAccessions\" eSuperTypes=\"germplasm.ecore#//MaintenanceNeighbourhood\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"accession\" eType=\"#//Accession\"\n eOpposite=\"#//Accession/relatedAccessions\"/>\n </eClassifiers>\n</ecore:EPackage>\n"}]} |
| {"messages": [{"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:\nx2y\nCorrAxiom\nCorrRule\ngenerated\nx2yOperationalTGG\nx2yAxiom\nx2yAxiom_r1\naddElement\nparameters\nleftInputElements\nrightInputElements\nchangeAttributeValues\ncorrespondenceNode\nruleParameters\ntransformForward\nleftInputElements\nrightInputElements\ncheckAttributeFormulae\ntransformMapping\nleftInputElements\nrightInputElements\ncheckAttributeFormulae\ntransformBackward\nleftInputElements\nrightInputElements\ncheckAttributeFormulae\nsynchronizeForward\nleftInputElements\nrightInputElements\ninputTggNode\ncheckAttributeFormulae\nsynchronizeBackward\nleftInputElements\nrightInputElements\ninputTggNode\ncheckAttributeFormulae\naddElementActivity\nmoveElementActivity\nchangeAttributeActivity\ntransformForwardActivity\ntransformMappingActivity\ntransformBackwardActivity\nsynchronizeForwardActivity\nsynchronizeBackwardActivity"}, {"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=\"x2y\" nsURI=\"http://www.mdelab.de/mltgg/x2y/1.0\" nsPrefix=\"x2y\">\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"CorrAxiom\" eSuperTypes=\"../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//TGGNode\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"CorrRule\" eSuperTypes=\"../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//TGGNode\"/>\n <eSubpackages name=\"generated\" nsURI=\"http://www.mdelab.de/mltgg/x2y/1.0/generated\"\n nsPrefix=\"x2y.generated\">\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"x2yOperationalTGG\" eSuperTypes=\"../../../de.mdelab.mltgg.mote2.sdm/model/sdm.ecore#//SdmOperationalTGG\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"x2yAxiom\" eSuperTypes=\"../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//operationalTGG/OperationalAxiomGroup\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"x2yAxiom_r1\" eSuperTypes=\"../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//operationalTGG/OperationalAxiom\">\n <eOperations name=\"addElement\" lowerBound=\"1\" eType=\"ecore:EClass ../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//TGGNode\"\n eExceptions=\"ecore:EDataType ../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//helpers/TransformationException\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\n <details key=\"body\" value=\"final EMap<String, Object> parametersCopy = new org.eclipse.emf.common.util.BasicEMap<String, Object>(parameters.map());

((de.mdelab.mltgg.x2y.generated.x2yOperationalTGG) this.getOperationalAxiomGroup().getOperationalTGG()).executeActivity(this.getAddElementActivity(), parametersCopy);

de.mdelab.mltgg.mote2.TGGNode tggNode = (de.mdelab.mltgg.mote2.TGGNode) parametersCopy.get("corrAxiom");

if (tggNode != null)
{
leftInputElements.add((org.eclipse.emf.ecore.EObject) parametersCopy.get("blockDiagram"));
rightInputElements.add((org.eclipse.emf.ecore.EObject) parametersCopy.get("classDiagram"));	
}

return tggNode;\"/>\n </eAnnotations>\n <eParameters name=\"parameters\" upperBound=\"-1\">\n <eGenericType eClassifier=\"ecore:EClass ../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//helpers/MapEntry\">\n <eTypeArguments eClassifier=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eTypeArguments eClassifier=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject\"/>\n </eGenericType>\n </eParameters>\n <eParameters name=\"leftInputElements\" upperBound=\"-1\" eType=\"ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject\"/>\n <eParameters name=\"rightInputElements\" upperBound=\"-1\" eType=\"ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject\"/>\n </eOperations>\n <eOperations name=\"changeAttributeValues\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\n eExceptions=\"ecore:EDataType ../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//helpers/TransformationException\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\n <details key=\"body\" value=\"org.eclipse.emf.common.util.EMap<String, Object> params = new org.eclipse.emf.common.util.BasicEMap<String, Object>(ruleParameters.map());
		
params.put("corrAxiom", correspondenceNode);
		
((de.mdelab.mltgg.x2y.generated.x2yOperationalTGG) this
				.getOperationalAxiomGroup().getOperationalTGG())
				.executeActivity(this.getChangeAttributeActivity(), params);
		
return (Boolean) params.get("__returnValue");\"/>\n </eAnnotations>\n <eParameters name=\"correspondenceNode\" lowerBound=\"1\" eType=\"ecore:EClass ../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//TGGNode\"/>\n <eParameters name=\"ruleParameters\" upperBound=\"-1\">\n <eGenericType eClassifier=\"ecore:EClass ../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//helpers/MapEntry\">\n <eTypeArguments eClassifier=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eTypeArguments eClassifier=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject\"/>\n </eGenericType>\n </eParameters>\n </eOperations>\n <eOperations name=\"transformForward\" lowerBound=\"1\" eType=\"ecore:EEnum ../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//operationalTGG/ErrorCodeEnum\"\n eExceptions=\"ecore:EDataType ../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//helpers/TransformationException\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\n <details key=\"body\" value=\"
final org.eclipse.emf.common.util.EMap<String, Object> parameters = new org.eclipse.emf.common.util.BasicEMap<String, Object>();

		parameters.put("__thisRule", this);
		parameters.put("__checkAttributeFormulae", checkAttributeFormulae);
				parameters.put("blockDiagram", leftInputElements.get(0));

		((de.mdelab.mltgg.x2y.generated.x2yOperationalTGG) this.getOperationalAxiomGroup().getOperationalTGG()).executeActivity(this.getTransformForwardActivity(), parameters);		


		final ErrorCodeEnum errorCode = (ErrorCodeEnum) parameters.get("__errorCode");

		if (errorCode == ErrorCodeEnum.OK)
		{
					rightInputElements.add((org.eclipse.emf.ecore.EObject) parameters.get("classDiagram"));
		}

		return errorCode;\"/>\n </eAnnotations>\n <eParameters name=\"leftInputElements\" lowerBound=\"1\" upperBound=\"-1\" eType=\"ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject\"/>\n <eParameters name=\"rightInputElements\" lowerBound=\"1\" upperBound=\"-1\" eType=\"ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject\"/>\n <eParameters name=\"checkAttributeFormulae\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\n </eOperations>\n <eOperations name=\"transformMapping\" lowerBound=\"1\" eType=\"ecore:EEnum ../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//operationalTGG/ErrorCodeEnum\"\n eExceptions=\"ecore:EDataType ../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//helpers/TransformationException\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\n <details key=\"body\" value=\"
final org.eclipse.emf.common.util.EMap<String, Object> parameters = new org.eclipse.emf.common.util.BasicEMap<String, Object>();

		parameters.put("__thisRule", this);
		parameters.put("__checkAttributeFormulae", checkAttributeFormulae);
				parameters.put("blockDiagram", leftInputElements.get(0));
				parameters.put("classDiagram", rightInputElements.get(0));

		((de.mdelab.mltgg.x2y.generated.x2yOperationalTGG) this.getOperationalAxiomGroup().getOperationalTGG()).executeActivity(this.getTransformMappingActivity(), parameters);		


		final ErrorCodeEnum errorCode = (ErrorCodeEnum) parameters.get("__errorCode");

		if (errorCode == ErrorCodeEnum.OK)
		{
					rightInputElements.add((org.eclipse.emf.ecore.EObject) parameters.get("classDiagram"));
					leftInputElements.add((org.eclipse.emf.ecore.EObject) parameters.get("blockDiagram"));
		}

		return errorCode;\"/>\n </eAnnotations>\n <eParameters name=\"leftInputElements\" lowerBound=\"1\" upperBound=\"-1\" eType=\"ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject\"/>\n <eParameters name=\"rightInputElements\" lowerBound=\"1\" upperBound=\"-1\" eType=\"ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject\"/>\n <eParameters name=\"checkAttributeFormulae\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\n </eOperations>\n <eOperations name=\"transformBackward\" lowerBound=\"1\" eType=\"ecore:EEnum ../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//operationalTGG/ErrorCodeEnum\"\n eExceptions=\"ecore:EDataType ../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//helpers/TransformationException\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\n <details key=\"body\" value=\"
final org.eclipse.emf.common.util.EMap<String, Object> parameters = new org.eclipse.emf.common.util.BasicEMap<String, Object>();

		parameters.put("__thisRule", this);
		parameters.put("__checkAttributeFormulae", checkAttributeFormulae);
				parameters.put("classDiagram", rightInputElements.get(0));

		((de.mdelab.mltgg.x2y.generated.x2yOperationalTGG) this.getOperationalAxiomGroup().getOperationalTGG()).executeActivity(this.getTransformBackwardActivity(), parameters);		


		final ErrorCodeEnum errorCode = (ErrorCodeEnum) parameters.get("__errorCode");

		if (errorCode == ErrorCodeEnum.OK)
		{
					leftInputElements.add((org.eclipse.emf.ecore.EObject) parameters.get("blockDiagram"));
		}

		return errorCode;\"/>\n </eAnnotations>\n <eParameters name=\"leftInputElements\" lowerBound=\"1\" upperBound=\"-1\" eType=\"ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject\"/>\n <eParameters name=\"rightInputElements\" lowerBound=\"1\" upperBound=\"-1\" eType=\"ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject\"/>\n <eParameters name=\"checkAttributeFormulae\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\n </eOperations>\n <eOperations name=\"synchronizeForward\" lowerBound=\"1\" eType=\"ecore:EEnum ../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//operationalTGG/ErrorCodeEnum\"\n eExceptions=\"ecore:EDataType ../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//helpers/TransformationException\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\n <details key=\"body\" value=\"
final org.eclipse.emf.common.util.EMap<String, Object> parameters = new org.eclipse.emf.common.util.BasicEMap<String, Object>();

		parameters.put("__thisRule", this);
		parameters.put("__checkAttributeFormulae", checkAttributeFormulae);
		parameters.put("__inputTggNode", inputTggNode);
			parameters.put("blockDiagram", leftInputElements.get(0));
			parameters.put("classDiagram", rightInputElements.get(0));

		((de.mdelab.mltgg.x2y.generated.x2yOperationalTGG) this.getOperationalAxiomGroup().getOperationalTGG()).executeActivity(this.getSynchronizeForwardActivity(), parameters);		


		final ErrorCodeEnum errorCode = (ErrorCodeEnum) parameters.get("__errorCode");

		if (errorCode == ErrorCodeEnum.OK)
		{
					rightInputElements.add((org.eclipse.emf.ecore.EObject) parameters.get("classDiagram"));
		}

		return errorCode;\"/>\n </eAnnotations>\n <eParameters name=\"leftInputElements\" lowerBound=\"1\" upperBound=\"-1\" eType=\"ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject\"/>\n <eParameters name=\"rightInputElements\" lowerBound=\"1\" upperBound=\"-1\" eType=\"ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject\"/>\n <eParameters name=\"inputTggNode\" lowerBound=\"1\" eType=\"ecore:EClass ../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//TGGNode\"/>\n <eParameters name=\"checkAttributeFormulae\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\n </eOperations>\n <eOperations name=\"synchronizeBackward\" lowerBound=\"1\" eType=\"ecore:EEnum ../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//operationalTGG/ErrorCodeEnum\"\n eExceptions=\"ecore:EDataType ../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//helpers/TransformationException\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\n <details key=\"body\" value=\"
final org.eclipse.emf.common.util.EMap<String, Object> parameters = new org.eclipse.emf.common.util.BasicEMap<String, Object>();

		parameters.put("__thisRule", this);
		parameters.put("__checkAttributeFormulae", checkAttributeFormulae);
		parameters.put("__inputTggNode", inputTggNode);
			parameters.put("blockDiagram", leftInputElements.get(0));
			parameters.put("classDiagram", rightInputElements.get(0));

		((de.mdelab.mltgg.x2y.generated.x2yOperationalTGG) this.getOperationalAxiomGroup().getOperationalTGG()).executeActivity(this.getSynchronizeBackwardActivity(), parameters);		


		final ErrorCodeEnum errorCode = (ErrorCodeEnum) parameters.get("__errorCode");

		if (errorCode == ErrorCodeEnum.OK)
		{
					leftInputElements.add((org.eclipse.emf.ecore.EObject) parameters.get("blockDiagram"));
		}

		return errorCode;\"/>\n </eAnnotations>\n <eParameters name=\"leftInputElements\" lowerBound=\"1\" upperBound=\"-1\" eType=\"ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject\"/>\n <eParameters name=\"rightInputElements\" lowerBound=\"1\" upperBound=\"-1\" eType=\"ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject\"/>\n <eParameters name=\"inputTggNode\" lowerBound=\"1\" eType=\"ecore:EClass ../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//TGGNode\"/>\n <eParameters name=\"checkAttributeFormulae\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\n </eOperations>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"addElementActivity\" lowerBound=\"1\"\n eType=\"ecore:EClass ../../../de.mdelab.mlsdm/model/mlsdm.ecore#//Activity\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"moveElementActivity\"\n lowerBound=\"1\" eType=\"ecore:EClass ../../../de.mdelab.mlsdm/model/mlsdm.ecore#//Activity\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"changeAttributeActivity\"\n lowerBound=\"1\" eType=\"ecore:EClass ../../../de.mdelab.mlsdm/model/mlsdm.ecore#//Activity\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"transformForwardActivity\"\n lowerBound=\"1\" eType=\"ecore:EClass ../../../de.mdelab.mlsdm/model/mlsdm.ecore#//Activity\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"transformMappingActivity\"\n lowerBound=\"1\" eType=\"ecore:EClass ../../../de.mdelab.mlsdm/model/mlsdm.ecore#//Activity\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"transformBackwardActivity\"\n lowerBound=\"1\" eType=\"ecore:EClass ../../../de.mdelab.mlsdm/model/mlsdm.ecore#//Activity\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"synchronizeForwardActivity\"\n lowerBound=\"1\" eType=\"ecore:EClass ../../../de.mdelab.mlsdm/model/mlsdm.ecore#//Activity\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"synchronizeBackwardActivity\"\n lowerBound=\"1\" eType=\"ecore:EClass ../../../de.mdelab.mlsdm/model/mlsdm.ecore#//Activity\"/>\n </eClassifiers>\n </eSubpackages>\n</ecore:EPackage>\n"}]} |
| {"messages": [{"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:\ncompany\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\"\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=\"company\"\n nsURI=\"http://www.eclipse.org/ocl/test/2010/Company.ecore\" nsPrefix=\"co\">\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 mustHaveNonEmptyName\"/>\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 <details key=\"mustHaveNonEmptyName\" value=\"name->notEmpty() implies name.size() > 0\"/>\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"}]} |
| {"messages": [{"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:\ncontest\nContestType\nid\nname\ndate\nclass\nchain\njuri\nstation\naddressbook\nlookuptables\nlookupmaps\nversion\n1\nClassType\ndiszipline\nwinner\nname\ncalculationkey\nFinalClassType\noriginatingDiszipline\nWinnerType\nid\nname\n\nresult\norganization\ndisable\nclass\nAthletType\nperson\nteam\nchain\nTeamType\nathlet\nChainType\nname\nathlet\nstation\nFinalChainType\nfinalClass\norderMap\nDisziplineType\nid\nname\nstation\nlookuptable\ncalculationkey\ncalculationFunction\nStationType\nid\nname\nResultType\nrank\n-1\npoints\n0.0\njuriresult\nAthletResultType\nTeamResultType\nJuriResultType\ndiszipline\nvalue\njuriResultDetail\nTeamJuriResultType\njuriResult\nJuristType\ngetName\nperson\norganization\njuri\nwishApparatus\nlicense\nJuriType\njurist\ndiszipline\nname\nLookupTablesType\ntable\nLookupTableType\ngetValue\nid\nminVal\nmaxVal\ndisziplines\nLookupMapsType\nmap\nLookupMapType\nid\nname\nentries\nJuriResultDetailType\nkey\nvalue\nIntToIntEntry\njava.util.Map$Entry\njava.util.Map$Entry\nkey\nvalue\nFunctionType\nAverageFunctionType\ndisziplines\naddressbook\nAddressBookType\naddress\nperson\norganization\nPersonType\nid\nname\nfirstname\ndateofbirth\naddress\nOrganizationType\nid\nname\naddress\nAddressType\ncity\nzip\nstreet\nid"}, {"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=\"contest\" nsURI=\"http://www.gymcalc.de/contest/1.0\" nsPrefix=\"contest\">\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ContestType\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\n <details key=\"documentation\" value=\"Contest Type is the representation of a contest in gymnastics.
It is intended to cover all data that is needed for the calculation of the contest.
It is the root and container for other data that is related to the contest.\"/>\n </eAnnotations>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"id\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"\n iD=\"true\"/>\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:EAttribute\" name=\"date\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"class\" upperBound=\"-1\"\n eType=\"#//ClassType\" containment=\"true\" resolveProxies=\"false\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"chain\" upperBound=\"-1\"\n eType=\"#//ChainType\" containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"juri\" upperBound=\"-1\" eType=\"#//JuriType\"\n containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"station\" upperBound=\"-1\"\n eType=\"#//StationType\" containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"addressbook\" eType=\"#//addressbook/AddressBookType\"\n containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"lookuptables\" eType=\"#//LookupTablesType\"\n containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"lookupmaps\" eType=\"#//LookupMapsType\"\n containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"version\" lowerBound=\"1\"\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt\" defaultValueLiteral=\"1\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ClassType\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"diszipline\" upperBound=\"-1\"\n eType=\"#//DisziplineType\" containment=\"true\" resolveProxies=\"false\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"winner\" upperBound=\"-1\"\n eType=\"#//WinnerType\" containment=\"true\" resolveProxies=\"false\" eOpposite=\"#//WinnerType/class\"/>\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:EAttribute\" name=\"calculationkey\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"FinalClassType\" eSuperTypes=\"#//ClassType\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"originatingDiszipline\"\n eType=\"#//DisziplineType\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"WinnerType\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"id\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"\n iD=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"name\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"\n defaultValueLiteral=\"\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"result\" eType=\"#//ResultType\"\n containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"organization\" eType=\"#//addressbook/OrganizationType\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"disable\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"class\" lowerBound=\"1\" eType=\"#//ClassType\"\n transient=\"true\" eOpposite=\"#//ClassType/winner\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"AthletType\" eSuperTypes=\"#//WinnerType\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"person\" lowerBound=\"1\"\n eType=\"#//addressbook/PersonType\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"team\" eType=\"#//TeamType\"\n transient=\"true\" resolveProxies=\"false\" eOpposite=\"#//TeamType/athlet\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"chain\" eType=\"#//ChainType\"\n transient=\"true\" resolveProxies=\"false\" eOpposite=\"#//ChainType/athlet\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"TeamType\" eSuperTypes=\"#//WinnerType\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"athlet\" lowerBound=\"1\"\n upperBound=\"-1\" eType=\"#//AthletType\" resolveProxies=\"false\" eOpposite=\"#//AthletType/team\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ChainType\">\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=\"athlet\" upperBound=\"-1\"\n eType=\"#//AthletType\" resolveProxies=\"false\" eOpposite=\"#//AthletType/chain\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"station\" upperBound=\"-1\"\n eType=\"#//StationType\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"FinalChainType\" eSuperTypes=\"#//ChainType\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"finalClass\" eType=\"#//FinalClassType\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"orderMap\" eType=\"#//LookupMapType\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"DisziplineType\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"id\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"\n iD=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"name\" unique=\"false\" lowerBound=\"1\"\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"station\" eType=\"#//StationType\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"lookuptable\" eType=\"#//LookupTableType\"\n transient=\"true\" eOpposite=\"#//LookupTableType/disziplines\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"calculationkey\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"calculationFunction\" eType=\"#//FunctionType\"\n containment=\"true\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"StationType\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"id\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"\n iD=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"name\" unique=\"false\" lowerBound=\"1\"\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ResultType\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"rank\" unique=\"false\" lowerBound=\"1\"\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt\" defaultValueLiteral=\"-1\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"points\" unique=\"false\"\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble\" defaultValueLiteral=\"0.0\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"juriresult\" upperBound=\"-1\"\n eType=\"#//JuriResultType\" containment=\"true\" resolveProxies=\"false\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"AthletResultType\" eSuperTypes=\"#//ResultType\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"TeamResultType\" eSuperTypes=\"#//ResultType\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"JuriResultType\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"diszipline\" lowerBound=\"1\"\n eType=\"#//DisziplineType\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"value\" unique=\"false\" lowerBound=\"1\"\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"juriResultDetail\" upperBound=\"-1\"\n eType=\"#//JuriResultDetailType\" containment=\"true\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"TeamJuriResultType\" eSuperTypes=\"#//JuriResultType\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"juriResult\" lowerBound=\"1\"\n upperBound=\"-1\" eType=\"#//JuriResultType\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"JuristType\">\n <eOperations name=\"getName\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"person\" lowerBound=\"1\"\n eType=\"#//addressbook/PersonType\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"organization\" eType=\"#//addressbook/OrganizationType\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"juri\" lowerBound=\"1\" eType=\"#//JuriType\"\n transient=\"true\" eOpposite=\"#//JuriType/jurist\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"wishApparatus\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"license\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"JuriType\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"jurist\" upperBound=\"-1\"\n eType=\"#//JuristType\" containment=\"true\" resolveProxies=\"false\" eOpposite=\"#//JuristType/juri\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"diszipline\" upperBound=\"-1\"\n eType=\"#//DisziplineType\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"name\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"LookupTablesType\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"table\" upperBound=\"-1\"\n eType=\"#//LookupTableType\" containment=\"true\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"LookupTableType\">\n <eOperations name=\"getValue\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"id\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"\n iD=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"minVal\" lowerBound=\"1\"\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"maxVal\" lowerBound=\"1\"\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"disziplines\" upperBound=\"-1\"\n eType=\"#//DisziplineType\" transient=\"true\" eOpposite=\"#//DisziplineType/lookuptable\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"LookupMapsType\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"map\" upperBound=\"-1\" eType=\"#//LookupMapType\"\n containment=\"true\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"LookupMapType\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"id\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"\n iD=\"true\"/>\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=\"entries\" upperBound=\"-1\"\n eType=\"#//IntToIntEntry\" containment=\"true\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"JuriResultDetailType\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"key\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\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=\"IntToIntEntry\" instanceClassName=\"java.util.Map$Entry\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"key\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EIntegerObject\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"value\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EIntegerObject\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"FunctionType\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"AverageFunctionType\" eSuperTypes=\"#//FunctionType\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"disziplines\" upperBound=\"-1\"\n eType=\"#//DisziplineType\"/>\n </eClassifiers>\n <eSubpackages name=\"addressbook\" nsURI=\"http://www.gymcalc.de/addressbook/1.0\" nsPrefix=\"addressbook\">\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"AddressBookType\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"address\" upperBound=\"-1\"\n eType=\"#//addressbook/AddressType\" containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"person\" upperBound=\"-1\"\n eType=\"#//addressbook/PersonType\" containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"organization\" upperBound=\"-1\"\n eType=\"#//addressbook/OrganizationType\" containment=\"true\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"PersonType\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"id\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"\n iD=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"name\" unique=\"false\"\n lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"firstname\" unique=\"false\"\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"dateofbirth\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"address\" eType=\"#//addressbook/AddressType\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"OrganizationType\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"id\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"\n iD=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"name\" lowerBound=\"1\"\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"address\" eType=\"#//addressbook/AddressType\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"AddressType\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"city\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"zip\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"street\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"id\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"\n iD=\"true\"/>\n </eClassifiers>\n </eSubpackages>\n</ecore:EPackage>\n"}]} |
| {"messages": [{"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:\nmcrl2\nSpecification\natoms\nprocesses\nsorts\nSort\ngetName\nPrimitiveSort\nUserSort\ndefinition\nStructure\nelements\nElement\nparameters\ndiscriminatorName\nProcess\nparameters\ninitial\naction\nCustomProcess\ndefinition\nAtom\ntype\ninitial\nAction\nAtomicAction\natom\narguments\ntime\nCompositeAction\noperator\nactions\nSynchronization\nParallelism\nSequence\nChoice\nInstance\narguments\nprocess\nImplication\ncondition\naction\nelseAction\nCommunication\nimplications\nparallelism\nAllow\nchild\natoms\nBlock\nchild\natoms\nHide\nchild\natoms\nNameable\nname\nSummation\nparameters"}, {"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=\"mcrl2\"\n nsURI=\"http://www.cwi.nl/mcrl2\" nsPrefix=\"mcrl2\">\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Specification\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"atoms\" upperBound=\"-1\"\n eType=\"#//Atom\" containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"processes\" upperBound=\"-1\"\n eType=\"#//Process\" containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"sorts\" upperBound=\"-1\"\n eType=\"#//Sort\" containment=\"true\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Sort\" abstract=\"true\" interface=\"true\">\n <eOperations name=\"getName\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"PrimitiveSort\" eSuperTypes=\"#//Nameable #//Sort\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"UserSort\" eSuperTypes=\"#//Nameable #//Sort\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"definition\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Structure\" eSuperTypes=\"#//Nameable #//Sort\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"elements\" upperBound=\"-1\"\n eType=\"#//Element\" containment=\"true\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Element\" eSuperTypes=\"#//Nameable\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"parameters\" upperBound=\"-1\"\n eType=\"#//Atom\" containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"discriminatorName\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Process\" eSuperTypes=\"#//Nameable\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"parameters\" upperBound=\"-1\"\n eType=\"#//Atom\" containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"initial\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"action\" eType=\"#//Action\"\n containment=\"true\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"CustomProcess\" eSuperTypes=\"#//Process\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"definition\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Atom\" eSuperTypes=\"#//Nameable\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"type\" eType=\"#//Sort\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"initial\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Action\" abstract=\"true\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"AtomicAction\" eSuperTypes=\"#//Action\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"atom\" eType=\"#//Atom\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"arguments\" unique=\"false\"\n upperBound=\"-1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"time\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"CompositeAction\" abstract=\"true\" eSuperTypes=\"#//Action\">\n <eOperations name=\"operator\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"actions\" upperBound=\"-1\"\n eType=\"#//Action\" containment=\"true\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Synchronization\" eSuperTypes=\"#//CompositeAction\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Parallelism\" eSuperTypes=\"#//CompositeAction\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Sequence\" eSuperTypes=\"#//CompositeAction\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Choice\" eSuperTypes=\"#//CompositeAction\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Instance\" eSuperTypes=\"#//Action\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"arguments\" unique=\"false\"\n upperBound=\"-1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"process\" eType=\"#//Process\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Implication\" eSuperTypes=\"#//Action\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"condition\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"action\" eType=\"#//Action\"\n containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"elseAction\" eType=\"#//Action\"\n containment=\"true\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Communication\" eSuperTypes=\"#//Action\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"implications\" upperBound=\"-1\"\n eType=\"#//Implication\" containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"parallelism\" eType=\"#//Parallelism\"\n containment=\"true\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Allow\" eSuperTypes=\"#//Action\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"child\" eType=\"#//Action\"\n containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"atoms\" upperBound=\"-1\"\n eType=\"#//Atom\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Block\" eSuperTypes=\"#//Action\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"child\" eType=\"#//Action\"\n containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"atoms\" upperBound=\"-1\"\n eType=\"#//Atom\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Hide\" eSuperTypes=\"#//Action\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"child\" eType=\"#//Action\"\n containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"atoms\" upperBound=\"-1\"\n eType=\"#//Atom\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Nameable\" 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=\"Summation\" eSuperTypes=\"#//Action\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"parameters\" upperBound=\"-1\"\n eType=\"#//Atom\" containment=\"true\"/>\n </eClassifiers>\n</ecore:EPackage>\n"}]} |
| {"messages": [{"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:\nsbpdesigner\nElement\nname\ndescription\nModel\nproject\nProject\nmodels\nFolder\nModelElement\nowner\nContainer\nelements"}, {"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=\"sbpdesigner\" nsURI=\"http://sbp.designer.org/core/v1\" nsPrefix=\"sbp-designer\">\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Element\" abstract=\"true\">\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:EAttribute\" name=\"description\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Model\" eSuperTypes=\"#//Container\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"project\" lowerBound=\"1\"\n eType=\"#//Project\" eOpposite=\"#//Project/models\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Project\" eSuperTypes=\"#//Element\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"models\" upperBound=\"-1\"\n eType=\"#//Model\" containment=\"true\" eOpposite=\"#//Model/project\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Folder\" eSuperTypes=\"#//Container\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ModelElement\" abstract=\"true\" eSuperTypes=\"#//Element\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"owner\" eType=\"#//Container\"\n eOpposite=\"#//Container/elements\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Container\" abstract=\"true\" eSuperTypes=\"#//ModelElement\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"elements\" upperBound=\"-1\"\n eType=\"#//ModelElement\" containment=\"true\" eOpposite=\"#//ModelElement/owner\"/>\n </eClassifiers>\n</ecore:EPackage>\n"}]} |
| {"messages": [{"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:\nscrm\nSCRMModelElement\ndisplayingDiagrams\nSCRMDiagram\nelements\ngmfdiagram\nnewElements\ndiagramLayout\ndiagramType\nDiagramType\nDefaultDiagram\nDefaultDiagram\nKnowledgeDiagram\n\nRequirementsDiagram\nRequirementsDiagram\nDataProcessDiagram\nDataProcessDiagram\nknowledge\nScientificKnowledge\nScientificProblem\nrepresentingModel\nsolvingMethods\ninfluencedFeature\nModel\nrepresentedProblem\nrefinements\nrefinedModel\nusedInMethods\ndependencies\ninvolvedData\nMethod\nsolvedProblem\ndependencies\nrealizingRequirement\nusingModel\nperformance\nAssumption\ndependingModel\ndependingMethod\nrequirements\nIRequirement\nInterface\nprovidingFeatures\nrequiringFeatures\nprovidingData\nrequiringData\ndetailsOfProvidingFunctionsAndProperties\ndetailsOfRequiringFunctionsAndProperties\nRequirement\nrefinements\nrefinedRequirement\nspecifiedFeature\nhandlingData\nrealizedMethod\nprovidedInterface\nrequiredInterface\nmandatory\ntrue\nFeature\ndetailedRequirements\nsubFeatures\nsuperFeature\nconstraints\ncomputationalHardware\nrequiredInterfaces\nprovidedInterfaces\ninfluencingProblem\nrequiredFeatures\nrequiringFeatures\nexcludedFeatures\nexcludingFeatures\nComputionalHardware\ndependingFeature\nprocessor\nplatform\nmemory\nConstraint\nrestrictedFeature\nUserInterface\nSoftwareInterface\nversion\n1.0.x\nPerformance\nhardware\nHardwareInterface\nRegulatoryPolicy\ndataProcess\nProcess\npredecessor\nsuccessor\nerrorHandling\nDataVisualizationProcess\nReportGenerationProcess\nErrorHandling\nhandledProcess\nBuildingModelConstructionProcess\nCostMinimizationCalculationProcess\nControlSystemDesignProcess\nEnergyUsageCalculationProcess\ndataObject\nData\ndefinedRequirement\naccuracy\nrange\nformat\nprovidedInterface\nrequiredInterface\ndescribedModel\ncontaining\nWeatherData\nPowerConsumption\nHVACOperationInformation\nBuildingModel\nReport\nControlSchedule\nGeometryData"}, {"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=\"scrm\"\n nsURI=\"http://unicase.org/model/scrm\" nsPrefix=\"org.unicase.model.scrm\">\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"SCRMModelElement\" abstract=\"true\" eSuperTypes=\"../../org.unicase.model/model/model.ecore#//UnicaseModelElement\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"displayingDiagrams\" upperBound=\"-1\"\n eType=\"#//SCRMDiagram\" eOpposite=\"#//SCRMDiagram/elements\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"SCRMDiagram\" eSuperTypes=\"#//SCRMModelElement\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"elements\" upperBound=\"-1\"\n eType=\"#//SCRMModelElement\" eOpposite=\"#//SCRMModelElement/displayingDiagrams\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"gmfdiagram\" eType=\"ecore:EClass platform:/plugin/org.eclipse.gmf.runtime.notation/model/notation.ecore#//Diagram\"\n transient=\"true\" containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"newElements\" upperBound=\"-1\"\n eType=\"#//SCRMModelElement\" transient=\"true\" containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"diagramLayout\" eType=\"ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"diagramType\" eType=\"#//DiagramType\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EEnum\" name=\"DiagramType\">\n <eLiterals name=\"DefaultDiagram\"/>\n <eLiterals name=\"KnowledgeDiagram\" value=\"1\" literal=\"\"/>\n <eLiterals name=\"RequirementsDiagram\" value=\"2\"/>\n <eLiterals name=\"DataProcessDiagram\" value=\"3\" literal=\"DataProcessDiagram\"/>\n </eClassifiers>\n <eSubpackages name=\"knowledge\" nsURI=\"http://unicase.org/model/scrm/knowledge\" nsPrefix=\"org.unicase.model.scrm.knowledge\">\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ScientificKnowledge\" abstract=\"true\"\n interface=\"true\" eSuperTypes=\"#//SCRMModelElement\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ScientificProblem\" eSuperTypes=\"#//knowledge/ScientificKnowledge\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"representingModel\" upperBound=\"-1\"\n eType=\"#//knowledge/Model\" eOpposite=\"#//knowledge/Model/representedProblem\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"solvingMethods\" upperBound=\"-1\"\n eType=\"#//knowledge/Method\" eOpposite=\"#//knowledge/Method/solvedProblem\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"influencedFeature\" eType=\"#//requirements/Feature\"\n eOpposite=\"#//requirements/Feature/influencingProblem\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"left\"/>\n <details key=\"priority\" value=\"15\"/>\n </eAnnotations>\n </eStructuralFeatures>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Model\" eSuperTypes=\"#//knowledge/ScientificKnowledge\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"representedProblem\" eType=\"#//knowledge/ScientificProblem\"\n eOpposite=\"#//knowledge/ScientificProblem/representingModel\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"left\"/>\n <details key=\"priority\" value=\"15\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"refinements\" upperBound=\"-1\"\n eType=\"#//knowledge/Model\" containment=\"true\" eOpposite=\"#//knowledge/Model/refinedModel\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"right\"/>\n <details key=\"priority\" value=\"5\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"refinedModel\" eType=\"#//knowledge/Model\"\n eOpposite=\"#//knowledge/Model/refinements\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"left\"/>\n <details key=\"priority\" value=\"14\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"usedInMethods\" upperBound=\"-1\"\n eType=\"#//knowledge/Method\" derived=\"true\" eOpposite=\"#//knowledge/Method/usingModel\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"left\"/>\n <details key=\"priority\" value=\"15\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"dependencies\" upperBound=\"-1\"\n eType=\"#//knowledge/Assumption\" eOpposite=\"#//knowledge/Assumption/dependingModel\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"right\"/>\n <details key=\"priority\" value=\"15\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"involvedData\" upperBound=\"-1\"\n eType=\"#//requirements/dataObject/Data\" eOpposite=\"#//requirements/dataObject/Data/describedModel\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"left\"/>\n <details key=\"priority\" value=\"15\"/>\n </eAnnotations>\n </eStructuralFeatures>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Method\" eSuperTypes=\"#//knowledge/ScientificKnowledge\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"solvedProblem\" eType=\"#//knowledge/ScientificProblem\"\n eOpposite=\"#//knowledge/ScientificProblem/solvingMethods\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"left\"/>\n <details key=\"priority\" value=\"15\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"dependencies\" upperBound=\"-1\"\n eType=\"#//knowledge/Assumption\" eOpposite=\"#//knowledge/Assumption/dependingMethod\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"right\"/>\n <details key=\"priority\" value=\"10\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"realizingRequirement\"\n eType=\"#//requirements/Requirement\" eOpposite=\"#//requirements/Requirement/realizedMethod\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"left\"/>\n <details key=\"priority\" value=\"25\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"usingModel\" eType=\"#//knowledge/Model\"\n eOpposite=\"#//knowledge/Model/usedInMethods\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"left\"/>\n <details key=\"priority\" value=\"20\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"performance\" eType=\"#//requirements/Performance\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"left\"/>\n <details key=\"priority\" value=\"30\"/>\n </eAnnotations>\n </eStructuralFeatures>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Assumption\" eSuperTypes=\"#//knowledge/ScientificKnowledge\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"dependingModel\" eType=\"#//knowledge/Model\"\n eOpposite=\"#//knowledge/Model/dependencies\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"left\"/>\n <details key=\"priority\" value=\"15\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"dependingMethod\" eType=\"#//knowledge/Method\"\n eOpposite=\"#//knowledge/Method/dependencies\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"left\"/>\n <details key=\"priority\" value=\"20\"/>\n </eAnnotations>\n </eStructuralFeatures>\n </eClassifiers>\n </eSubpackages>\n <eSubpackages name=\"requirements\" nsURI=\"http://unicase.org/model/scrm/requirements\"\n nsPrefix=\"org.unicase.model.scrm.requirements\">\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"IRequirement\" abstract=\"true\" interface=\"true\"\n eSuperTypes=\"#//SCRMModelElement\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Interface\" abstract=\"true\" interface=\"true\"\n eSuperTypes=\"#//requirements/IRequirement\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"providingFeatures\" upperBound=\"-1\"\n eType=\"#//requirements/Feature\" eOpposite=\"#//requirements/Feature/providedInterfaces\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"left\"/>\n <details key=\"priority\" value=\"15\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"requiringFeatures\" upperBound=\"-1\"\n eType=\"#//requirements/Feature\" eOpposite=\"#//requirements/Feature/requiredInterfaces\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"right\"/>\n <details key=\"priority\" value=\"10\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"providingData\" upperBound=\"-1\"\n eType=\"#//requirements/dataObject/Data\" eOpposite=\"#//requirements/dataObject/Data/providedInterface\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"left\"/>\n <details key=\"priority\" value=\"20\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"requiringData\" upperBound=\"-1\"\n eType=\"#//requirements/dataObject/Data\" eOpposite=\"#//requirements/dataObject/Data/requiredInterface\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"right\"/>\n <details key=\"priority\" value=\"15\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"detailsOfProvidingFunctionsAndProperties\"\n upperBound=\"-1\" eType=\"#//requirements/Requirement\" eOpposite=\"#//requirements/Requirement/providedInterface\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"left\"/>\n <details key=\"priority\" value=\"25\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"detailsOfRequiringFunctionsAndProperties\"\n upperBound=\"-1\" eType=\"#//requirements/Requirement\" eOpposite=\"#//requirements/Requirement/requiredInterface\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"right\"/>\n <details key=\"priority\" value=\"20\"/>\n </eAnnotations>\n </eStructuralFeatures>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Requirement\" eSuperTypes=\"#//requirements/IRequirement\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"refinements\" upperBound=\"-1\"\n eType=\"#//requirements/Requirement\" containment=\"true\" eOpposite=\"#//requirements/Requirement/refinedRequirement\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"right\"/>\n <details key=\"priority\" value=\"5\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"refinedRequirement\" eType=\"#//requirements/Requirement\"\n eOpposite=\"#//requirements/Requirement/refinements\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"left\"/>\n <details key=\"priority\" value=\"15\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"specifiedFeature\" eType=\"#//requirements/Feature\"\n eOpposite=\"#//requirements/Feature/detailedRequirements\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"left\"/>\n <details key=\"priority\" value=\"10\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"handlingData\" upperBound=\"-1\"\n eType=\"#//requirements/dataObject/Data\" eOpposite=\"#//requirements/dataObject/Data/definedRequirement\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"right\"/>\n <details key=\"priority\" value=\"10\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"realizedMethod\" eType=\"#//knowledge/Method\"\n eOpposite=\"#//knowledge/Method/realizingRequirement\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"left\"/>\n <details key=\"priority\" value=\"10\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"providedInterface\" eType=\"#//requirements/Interface\"\n eOpposite=\"#//requirements/Interface/detailsOfProvidingFunctionsAndProperties\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"left\"/>\n <details key=\"priority\" value=\"25\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"requiredInterface\" eType=\"#//requirements/Interface\"\n eOpposite=\"#//requirements/Interface/detailsOfRequiringFunctionsAndProperties\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"left\"/>\n <details key=\"priority\" value=\"20\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"mandatory\" eType=\"ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EBoolean\"\n defaultValueLiteral=\"true\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"left\"/>\n <details key=\"priority\" value=\"4\"/>\n </eAnnotations>\n </eStructuralFeatures>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Feature\" eSuperTypes=\"#//requirements/IRequirement\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"detailedRequirements\"\n upperBound=\"-1\" eType=\"#//requirements/Requirement\" containment=\"true\" eOpposite=\"#//requirements/Requirement/specifiedFeature\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"right\"/>\n <details key=\"priority\" value=\"5\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"subFeatures\" upperBound=\"-1\"\n eType=\"#//requirements/Feature\" eOpposite=\"#//requirements/Feature/superFeature\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"right\"/>\n <details key=\"priority\" value=\"7\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"superFeature\" upperBound=\"-1\"\n eType=\"#//requirements/Feature\" eOpposite=\"#//requirements/Feature/subFeatures\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"right\"/>\n <details key=\"priority\" value=\"7\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"constraints\" upperBound=\"-1\"\n eType=\"#//requirements/Constraint\" eOpposite=\"#//requirements/Constraint/restrictedFeature\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"left\"/>\n <details key=\"priority\" value=\"26\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"computationalHardware\"\n upperBound=\"-1\" eType=\"#//requirements/ComputionalHardware\" eOpposite=\"#//requirements/ComputionalHardware/dependingFeature\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"left\"/>\n <details key=\"priority\" value=\"26\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"requiredInterfaces\" upperBound=\"-1\"\n eType=\"#//requirements/Interface\" eOpposite=\"#//requirements/Interface/requiringFeatures\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"right\"/>\n <details key=\"priority\" value=\"1\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"providedInterfaces\" upperBound=\"-1\"\n eType=\"#//requirements/Interface\" eOpposite=\"#//requirements/Interface/providingFeatures\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"right\"/>\n <details key=\"priority\" value=\"1\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"influencingProblem\" eType=\"#//knowledge/ScientificProblem\"\n eOpposite=\"#//knowledge/ScientificProblem/influencedFeature\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"left\"/>\n <details key=\"priority\" value=\"25\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"requiredFeatures\" upperBound=\"-1\"\n eType=\"#//requirements/Feature\" eOpposite=\"#//requirements/Feature/requiringFeatures\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"right\"/>\n <details key=\"priority\" value=\"30\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"requiringFeatures\" upperBound=\"-1\"\n eType=\"#//requirements/Feature\" eOpposite=\"#//requirements/Feature/requiredFeatures\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"right\"/>\n <details key=\"priority\" value=\"35\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"excludedFeatures\" upperBound=\"-1\"\n eType=\"#//requirements/Feature\" eOpposite=\"#//requirements/Feature/excludingFeatures\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"right\"/>\n <details key=\"priority\" value=\"40\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"excludingFeatures\" upperBound=\"-1\"\n eType=\"#//requirements/Feature\" eOpposite=\"#//requirements/Feature/excludedFeatures\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"right\"/>\n <details key=\"priority\" value=\"45\"/>\n </eAnnotations>\n </eStructuralFeatures>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ComputionalHardware\" eSuperTypes=\"#//requirements/IRequirement\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"dependingFeature\" eType=\"#//requirements/Feature\"\n eOpposite=\"#//requirements/Feature/computationalHardware\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"left\"/>\n <details key=\"priority\" value=\"15\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"processor\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"left\"/>\n <details key=\"priority\" value=\"5\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"platform\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"left\"/>\n <details key=\"priority\" value=\"6\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"memory\" eType=\"ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"left\"/>\n <details key=\"priority\" value=\"7\"/>\n </eAnnotations>\n </eStructuralFeatures>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Constraint\" eSuperTypes=\"#//requirements/IRequirement\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"restrictedFeature\" eType=\"#//requirements/Feature\"\n eOpposite=\"#//requirements/Feature/constraints\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"left\"/>\n <details key=\"priority\" value=\"15\"/>\n </eAnnotations>\n </eStructuralFeatures>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"UserInterface\" eSuperTypes=\"#//requirements/Interface\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"SoftwareInterface\" eSuperTypes=\"#//requirements/Interface\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"version\" eType=\"ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString\"\n defaultValueLiteral=\"1.0.x\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Performance\" eSuperTypes=\"#//requirements/Requirement\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"hardware\" eType=\"#//requirements/ComputionalHardware\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"HardwareInterface\" eSuperTypes=\"#//requirements/Interface\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"RegulatoryPolicy\" eSuperTypes=\"#//requirements/Constraint\"/>\n <eSubpackages name=\"dataProcess\" nsURI=\"http://unicase.org/model/scrm/requirements/dataProcess\"\n nsPrefix=\"org.unicase.model.scrm.requirements.dataProcess\">\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Process\" eSuperTypes=\"#//requirements/Requirement\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"predecessor\" eType=\"#//requirements/dataProcess/Process\"\n eOpposite=\"#//requirements/dataProcess/Process/successor\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"left\"/>\n <details key=\"priority\" value=\"15\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"successor\" eType=\"#//requirements/dataProcess/Process\"\n eOpposite=\"#//requirements/dataProcess/Process/predecessor\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"left\"/>\n <details key=\"priority\" value=\"15\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"errorHandling\" eType=\"#//requirements/dataProcess/ErrorHandling\"\n eOpposite=\"#//requirements/dataProcess/ErrorHandling/handledProcess\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"right\"/>\n <details key=\"priority\" value=\"20\"/>\n </eAnnotations>\n </eStructuralFeatures>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"DataVisualizationProcess\" eSuperTypes=\"#//requirements/dataProcess/Process\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ReportGenerationProcess\" eSuperTypes=\"#//requirements/dataProcess/Process\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ErrorHandling\" eSuperTypes=\"#//requirements/dataProcess/Process\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"handledProcess\" eType=\"#//requirements/dataProcess/Process\"\n eOpposite=\"#//requirements/dataProcess/Process/errorHandling\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"BuildingModelConstructionProcess\"\n eSuperTypes=\"#//requirements/dataProcess/Process\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"CostMinimizationCalculationProcess\"\n eSuperTypes=\"#//requirements/dataProcess/Process\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ControlSystemDesignProcess\" eSuperTypes=\"#//requirements/dataProcess/Process\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"EnergyUsageCalculationProcess\" eSuperTypes=\"#//requirements/dataProcess/Process\"/>\n </eSubpackages>\n <eSubpackages name=\"dataObject\" nsURI=\"http://unicase.org/model/scrm/requirements/dataObject\"\n nsPrefix=\"org.unicase.model.scrm.requirements.dataObject\">\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Data\" eSuperTypes=\"#//requirements/IRequirement\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"definedRequirement\"\n eType=\"#//requirements/Requirement\" eOpposite=\"#//requirements/Requirement/handlingData\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"left\"/>\n <details key=\"priority\" value=\"15\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"accuracy\" eType=\"ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"left\"/>\n <details key=\"priority\" value=\"5\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"range\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"left\"/>\n <details key=\"priority\" value=\"6\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"format\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"left\"/>\n <details key=\"priority\" value=\"8\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"providedInterface\"\n eType=\"#//requirements/Interface\" eOpposite=\"#//requirements/Interface/providingData\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"requiredInterface\"\n eType=\"#//requirements/Interface\" eOpposite=\"#//requirements/Interface/requiringData\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"describedModel\" upperBound=\"-1\"\n eType=\"#//knowledge/Model\" eOpposite=\"#//knowledge/Model/involvedData\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"right\"/>\n <details key=\"priority\" value=\"8\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"containing\" upperBound=\"-1\"\n eType=\"#//requirements/dataObject/Data\">\n <eAnnotations source=\"org.unicase.ui.meeditor\">\n <details key=\"position\" value=\"left\"/>\n <details key=\"priority\" value=\"4\"/>\n </eAnnotations>\n </eStructuralFeatures>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"WeatherData\" eSuperTypes=\"#//requirements/dataObject/Data\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"PowerConsumption\" eSuperTypes=\"#//requirements/dataObject/Data\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"HVACOperationInformation\" eSuperTypes=\"#//requirements/dataObject/Data\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"BuildingModel\" eSuperTypes=\"#//requirements/dataObject/Data\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Report\" eSuperTypes=\"#//requirements/dataObject/Data\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ControlSchedule\" eSuperTypes=\"#//requirements/dataObject/Data\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"GeometryData\" eSuperTypes=\"#//requirements/dataObject/Data\"/>\n </eSubpackages>\n </eSubpackages>\n</ecore:EPackage>\n"}]} |
| {"messages": [{"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:\nfiniteIntRanges\nFiniteIntRange\nstart\nend\ncontainerFiniteIntRangeConstant\nFiniteIntRangeConstant\nvalue\nrange\nLessThan\nFiniteIntRangeOperator\nGreaterThan\nLessThanOrEqual\nGreaterThanOrEqual"}, {"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=\"finiteIntRanges\" nsURI=\"http:///symmetricnet.finiteIntRanges.ecore\"\n nsPrefix=\"finiteIntRanges\">\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"FiniteIntRange\" eSuperTypes=\"terms.ecore#//BuiltInSort\">\n <eAnnotations source=\"http://www.pnml.org/models/OCL\">\n <details key=\"range\" value=\"- \u221e\u00a0< self.start <= self.end < \u221e\"/>\n </eAnnotations>\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/Ecore\">\n <details key=\"constraints\" value=\"range\"/>\n </eAnnotations>\n <eAnnotations source=\"http://www.pnml.org/models/ToPNML\">\n <details key=\"tag\" value=\"finiteintrange\"/>\n <details key=\"kind\" value=\"son\"/>\n </eAnnotations>\n <eAnnotations source=\"http://www.pnml.org/models/HLAPI\"/>\n <eAnnotations source=\"http://www.pnml.org/models/methods/SORT\">\n <details key=\"signature\" value=\"boolean equalSorts(Sort sort)\"/>\n <details key=\"body\" value=\"boolean isEqual = false;
		if (this.eClass().getName().equalsIgnoreCase(sort.eClass().getName())) {
			if (this.getContainerNamedSort() != null
					&& sort.getContainerNamedSort() != null) {
				isEqual = this.getContainerNamedSort().getName()
						.equalsIgnoreCase(
								sort.getContainerNamedSort().getName());
			} else {
				if ("FiniteIntRange".equalsIgnoreCase(this.eClass().getName())) {
					FiniteIntRange myFIR = (FiniteIntRange) this;
					FiniteIntRange thatFIR = (FiniteIntRange) sort;
					isEqual = (myFIR.getStart() == thatFIR.getStart()
					 && myFIR.getEnd() == thatFIR.getEnd()); 						
					
				}
			}
		}
		return isEqual;\"/>\n <details key=\"documentation\" value=\"/**
 * Returns true if this sort and argument sort are actually 
 * semantically the same sort, even in two different objects.
 * Ex: two FiniteEnumerations or two Integers.
 * @return true if so. 
 * @param sort the sort to which we compare this one. 
 */\"/>\n </eAnnotations>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"start\" ordered=\"false\"\n lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELongObject\">\n <eAnnotations source=\"http://www.pnml.org/models/ToPNML\">\n <details key=\"tag\" value=\"start\"/>\n <details key=\"kind\" value=\"attribute\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"end\" ordered=\"false\" lowerBound=\"1\"\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELongObject\">\n <eAnnotations source=\"http://www.pnml.org/models/ToPNML\">\n <details key=\"tag\" value=\"end\"/>\n <details key=\"kind\" value=\"attribute\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"containerFiniteIntRangeConstant\"\n eType=\"#//FiniteIntRangeConstant\" eOpposite=\"#//FiniteIntRangeConstant/range\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"FiniteIntRangeConstant\" eSuperTypes=\"terms.ecore#//BuiltInConstant\">\n <eAnnotations source=\"http://www.pnml.org/models/OCL\">\n <details key=\"InputRange\" value=\"self.input->size() = 0 and self.range.start <= self.value <= self.range.end\"/>\n </eAnnotations>\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/Ecore\">\n <details key=\"constraints\" value=\"InputRange\"/>\n </eAnnotations>\n <eAnnotations source=\"http://www.pnml.org/models/ToPNML\">\n <details key=\"tag\" value=\"finiteintrangeconstant\"/>\n <details key=\"kind\" value=\"son\"/>\n </eAnnotations>\n <eAnnotations source=\"http://www.pnml.org/models/HLAPI\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"value\" ordered=\"false\"\n lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EIntegerObject\">\n <eAnnotations source=\"http://www.pnml.org/models/ToPNML\">\n <details key=\"tag\" value=\"value\"/>\n <details key=\"kind\" value=\"attribute\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"range\" ordered=\"false\"\n lowerBound=\"1\" eType=\"#//FiniteIntRange\" containment=\"true\" eOpposite=\"#//FiniteIntRange/containerFiniteIntRangeConstant\">\n <eAnnotations source=\"http://www.pnml.org/models/ToPNML\">\n <details key=\"kind\" value=\"follow\"/>\n </eAnnotations>\n </eStructuralFeatures>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"LessThan\" eSuperTypes=\"#//FiniteIntRangeOperator\">\n <eAnnotations source=\"http://www.pnml.org/models/ToPNML\">\n <details key=\"tag\" value=\"lessthan\"/>\n <details key=\"kind\" value=\"son\"/>\n </eAnnotations>\n <eAnnotations source=\"http://www.pnml.org/models/HLAPI\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"FiniteIntRangeOperator\" abstract=\"true\"\n eSuperTypes=\"terms.ecore#//BuiltInOperator\">\n <eAnnotations source=\"http://www.pnml.org/models/OCL\">\n <details key=\"InputOutputTypes\" value=\"self.input->size() = 2 and self.input->forAll{c | c.oclIsTypeOf(FiniteIntRange)} and self.output.oclIsTypeOf(booleans::Bool)\"/>\n </eAnnotations>\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/Ecore\">\n <details key=\"constraints\" value=\"InputOutputTypes\"/>\n </eAnnotations>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"GreaterThan\" eSuperTypes=\"#//FiniteIntRangeOperator\">\n <eAnnotations source=\"http://www.pnml.org/models/ToPNML\">\n <details key=\"tag\" value=\"greaterthan\"/>\n <details key=\"kind\" value=\"son\"/>\n </eAnnotations>\n <eAnnotations source=\"http://www.pnml.org/models/HLAPI\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"LessThanOrEqual\" eSuperTypes=\"#//FiniteIntRangeOperator\">\n <eAnnotations source=\"http://www.pnml.org/models/ToPNML\">\n <details key=\"tag\" value=\"lessthanorequal\"/>\n <details key=\"kind\" value=\"son\"/>\n </eAnnotations>\n <eAnnotations source=\"http://www.pnml.org/models/HLAPI\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"GreaterThanOrEqual\" eSuperTypes=\"#//FiniteIntRangeOperator\">\n <eAnnotations source=\"http://www.pnml.org/models/ToPNML\">\n <details key=\"tag\" value=\"greaterthanorequal\"/>\n <details key=\"kind\" value=\"son\"/>\n </eAnnotations>\n <eAnnotations source=\"http://www.pnml.org/models/HLAPI\"/>\n </eClassifiers>\n</ecore:EPackage>\n"}]} |
| {"messages": [{"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:\ntestAliasInOperationBody\nAliasB\njava.lang.Object\njava.lang.Object\nA\naccept\nparamb\nB\n_KermetaSpecialTypesAlias_\njava.lang.Object\njava.lang.Object"}, {"role": "assistant", "content": "<?xml version=\"1.0\" encoding=\"ASCII\"?>\n<xmi:XMI xmi:version=\"2.0\" xmlns:xmi=\"http://www.omg.org/XMI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:ecore=\"http://www.eclipse.org/emf/2002/Ecore\">\n <ecore:EAnnotation source=\"ModelingUnit\">\n <details key=\"require\" value=\"kermeta|\"/>\n <details key=\"using\" value=\"testAliasInOperationBody|\"/>\n </ecore:EAnnotation>\n <ecore:EPackage name=\"testAliasInOperationBody\" nsURI=\"http://TestAlias\" nsPrefix=\"testAliasInOperationBody\">\n <eClassifiers xsi:type=\"ecore:EDataType\" name=\"AliasB\" instanceClassName=\"java.lang.Object\">\n <eAnnotations source=\"kermeta\">\n <details key=\"alias\" value=\"testAliasInOperationBody::B\"/>\n </eAnnotations>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"A\" abstract=\"true\">\n <eSuperTypes href=\"platform:/resource/fr.irisa.triskell.kermeta.io/src/kermeta/kermeta_java.ecore#/1/language/structure/Object\"/>\n <eOperations name=\"accept\" ordered=\"false\">\n <eAnnotations source=\"kermeta\">\n <details key=\"body\" value=\"do
	var varb : testAliasInOperationBody::B init paramb
end\"/>\n </eAnnotations>\n <eType xsi:type=\"ecore:EClass\" href=\"platform:/resource/fr.irisa.triskell.kermeta.io/src/kermeta/standard/primitive_types.ecore#/1/standard/Void\"/>\n <eParameters name=\"paramb\" eType=\"/1/B\"/>\n </eOperations>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"B\" abstract=\"true\">\n <eSuperTypes href=\"platform:/resource/fr.irisa.triskell.kermeta.io/src/kermeta/kermeta_java.ecore#/1/language/structure/Object\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EDataType\" name=\"_KermetaSpecialTypesAlias_\" instanceClassName=\"java.lang.Object\"/>\n </ecore:EPackage>\n <ecore:EAnnotation source=\"dependentResource\"/>\n</xmi:XMI>\n"}]} |
| {"messages": [{"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:\nmimap\nDocumentRoot\nmixed\nxMLNSPrefixMap\nxSISchemaLocation\nmap\nMap\nrootTopics\nrelations\nresources\ntitle\nPriority\nZERO\nZERO\nONE\nONE\nTWO\nTWO\nTHREE\nTHREE\nFOUR\nFOUR\nFIVE\nFIVE\nDependencyRelationship\nRelationshipType\nDEPENDENCY\nDEPENDENCY\nINCLUDES\nINCLUDES\nEXTENDS\nEXTENDS\nResource\ncomments\nemail\nname\ntopics\nThread\nitems\nauthor\npostDate\nsubject\nThreadItem\nauthor\nbody\nitemPostDate\nTopic\ncomments\nduration\n0\nendDate\nname\npercentComplete\npriority\nZERO\nresources\nstartDate\nsubtopics\nIncludeRelationship\nAbstractRelationship\ntarget\nsource\nname\ntype\nExtendRelationship"}, {"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=\"mimap\"\n nsURI=\"http://mimap\" nsPrefix=\"_mimap\">\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"DocumentRoot\">\n <eAnnotations source=\"diagraph\">\n <details key=\"node\" value=\"\"/>\n <details key=\"pov\" value=\"\"/>\n </eAnnotations>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"mixed\" unique=\"false\" upperBound=\"-1\"\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String\">\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=\"map\" eType=\"#//Map\" containment=\"true\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Map\">\n <eAnnotations source=\"diagraph\">\n <details key=\"node\" value=\"\"/>\n <details key=\"label=title\" value=\"\"/>\n <details key=\"cref=rootTopics\" value=\"\"/>\n <details key=\"cref=resources\"/>\n </eAnnotations>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"rootTopics\" upperBound=\"-1\"\n eType=\"#//Topic\" containment=\"true\" resolveProxies=\"false\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"element\"/>\n <details key=\"name\" value=\"rootTopics\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"relations\" upperBound=\"-1\"\n eType=\"#//AbstractRelationship\" containment=\"true\" resolveProxies=\"false\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"element\"/>\n <details key=\"name\" value=\"relations\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"resources\" upperBound=\"-1\"\n eType=\"#//Resource\" containment=\"true\" resolveProxies=\"false\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"element\"/>\n <details key=\"name\" value=\"resources\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"title\" unique=\"false\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"attribute\"/>\n <details key=\"name\" value=\"title\"/>\n </eAnnotations>\n </eStructuralFeatures>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EEnum\" name=\"Priority\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"name\" value=\"Priority\"/>\n </eAnnotations>\n <eLiterals name=\"ZERO\"/>\n <eLiterals name=\"ONE\" value=\"1\"/>\n <eLiterals name=\"TWO\" value=\"2\"/>\n <eLiterals name=\"THREE\" value=\"3\"/>\n <eLiterals name=\"FOUR\" value=\"4\"/>\n <eLiterals name=\"FIVE\" value=\"5\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"DependencyRelationship\" eSuperTypes=\"#//AbstractRelationship\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"name\" value=\"Relationship\"/>\n <details key=\"kind\" value=\"empty\"/>\n </eAnnotations>\n <eAnnotations source=\"diagraph\">\n <details key=\"link\"/>\n </eAnnotations>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EEnum\" name=\"RelationshipType\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"name\" value=\"RelationshipType\"/>\n </eAnnotations>\n <eLiterals name=\"DEPENDENCY\"/>\n <eLiterals name=\"INCLUDES\" value=\"1\"/>\n <eLiterals name=\"EXTENDS\" value=\"2\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Resource\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"name\" value=\"Resource\"/>\n <details key=\"kind\" value=\"empty\"/>\n </eAnnotations>\n <eAnnotations source=\"diagraph\">\n <details key=\"node\" value=\"\"/>\n <details key=\"label=name\" value=\"\"/>\n </eAnnotations>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"comments\" upperBound=\"-1\"\n eType=\"#//Thread\" eOpposite=\"#//Thread/author\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"attribute\"/>\n <details key=\"name\" value=\"comments\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"email\" unique=\"false\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"attribute\"/>\n <details key=\"name\" value=\"email\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"name\" unique=\"false\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"attribute\"/>\n <details key=\"name\" value=\"name\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"topics\" upperBound=\"-1\"\n eType=\"#//Topic\" eOpposite=\"#//Topic/resources\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"attribute\"/>\n <details key=\"name\" value=\"topics\"/>\n </eAnnotations>\n </eStructuralFeatures>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Thread\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"name\" value=\"Thread\"/>\n <details key=\"kind\" value=\"elementOnly\"/>\n </eAnnotations>\n <eAnnotations source=\"diagraph\">\n <details key=\"node\"/>\n <details key=\"label=subject\" value=\"\"/>\n <details key=\"cref=items\" value=\"\"/>\n <details key=\"ref=author\" value=\"\"/>\n </eAnnotations>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"items\" upperBound=\"-1\"\n eType=\"#//ThreadItem\" containment=\"true\" resolveProxies=\"false\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"element\"/>\n <details key=\"name\" value=\"items\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"author\" eType=\"#//Resource\"\n eOpposite=\"#//Resource/comments\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"attribute\"/>\n <details key=\"name\" value=\"author\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"postDate\" unique=\"false\"\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Date\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"attribute\"/>\n <details key=\"name\" value=\"postDate\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"subject\" unique=\"false\"\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"attribute\"/>\n <details key=\"name\" value=\"subject\"/>\n </eAnnotations>\n </eStructuralFeatures>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ThreadItem\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"name\" value=\"ThreadItem\"/>\n <details key=\"kind\" value=\"empty\"/>\n </eAnnotations>\n <eAnnotations source=\"diagraph\">\n <details key=\"node\"/>\n <details key=\"label=body\" value=\"\"/>\n <details key=\"ref=author\" value=\"\"/>\n </eAnnotations>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"author\" eType=\"#//Resource\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"attribute\"/>\n <details key=\"name\" value=\"author\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"body\" unique=\"false\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"attribute\"/>\n <details key=\"name\" value=\"body\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"itemPostDate\" unique=\"false\"\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Date\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"attribute\"/>\n <details key=\"name\" value=\"itemPostDate\"/>\n </eAnnotations>\n </eStructuralFeatures>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Topic\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"name\" value=\"Topic\"/>\n <details key=\"kind\" value=\"elementOnly\"/>\n </eAnnotations>\n <eAnnotations source=\"diagraph\">\n <details key=\"node\"/>\n <details key=\"label=name\" value=\"\"/>\n <details key=\"ref=subtopics\" value=\"\"/>\n <details key=\"cref=comments\" value=\"\"/>\n <details key=\"ref=resources\" value=\"\"/>\n </eAnnotations>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"comments\" upperBound=\"-1\"\n eType=\"#//Thread\" containment=\"true\" resolveProxies=\"false\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"element\"/>\n <details key=\"name\" value=\"comments\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"duration\" unique=\"false\"\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Float\" defaultValueLiteral=\"0\"\n unsettable=\"true\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"attribute\"/>\n <details key=\"name\" value=\"duration\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"endDate\" unique=\"false\"\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Date\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"attribute\"/>\n <details key=\"name\" value=\"endDate\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"name\" unique=\"false\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"attribute\"/>\n <details key=\"name\" value=\"name\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"percentComplete\" unique=\"false\"\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Float\" unsettable=\"true\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"attribute\"/>\n <details key=\"name\" value=\"percentComplete\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"priority\" unique=\"false\"\n eType=\"#//Priority\" defaultValueLiteral=\"ZERO\" unsettable=\"true\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"attribute\"/>\n <details key=\"name\" value=\"priority\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"resources\" upperBound=\"-1\"\n eType=\"#//Resource\" eOpposite=\"#//Resource/topics\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"attribute\"/>\n <details key=\"name\" value=\"resources\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"startDate\" unique=\"false\"\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Date\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"attribute\"/>\n <details key=\"name\" value=\"startDate\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"subtopics\" upperBound=\"-1\"\n eType=\"#//Topic\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"attribute\"/>\n <details key=\"name\" value=\"subtopics\"/>\n </eAnnotations>\n </eStructuralFeatures>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"IncludeRelationship\" eSuperTypes=\"#//AbstractRelationship\">\n <eAnnotations source=\"diagraph\">\n <details key=\"link\"/>\n </eAnnotations>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"AbstractRelationship\" abstract=\"true\">\n <eAnnotations source=\"diagraph\">\n <details key=\"link\"/>\n <details key=\"lsrc=source\"/>\n <details key=\"ltrg=target\"/>\n <details key=\"label=name\"/>\n <details key=\"cont=Map.relations\"/>\n </eAnnotations>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"target\" eType=\"#//Topic\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"attribute\"/>\n <details key=\"name\" value=\"target\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"source\" eType=\"#//Topic\">\n <eAnnotations source=\"http:///org/eclipse/emf/ecore/util/ExtendedMetaData\">\n <details key=\"kind\" value=\"attribute\"/>\n <details key=\"name\" value=\"source\"/>\n </eAnnotations>\n </eStructuralFeatures>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"name\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"type\" eType=\"#//RelationshipType\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ExtendRelationship\" eSuperTypes=\"#//AbstractRelationship\">\n <eAnnotations source=\"diagraph\">\n <details key=\"link\"/>\n </eAnnotations>\n </eClassifiers>\n</ecore:EPackage>\n"}]} |
| {"messages": [{"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:\numl2blocky\nCorrAxiom\nCorrRule\ngenerated\numl2blockyOperationalTGG\numl2blockyAxiom\numl2blockyAxiom_r1\naddElement\nparameters\nleftInputElements\nrightInputElements\nchangeAttributeValues\ncorrespondenceNode\nruleParameters\ntransformForward\nleftInputElements\nrightInputElements\ncheckAttributeFormulae\ntransformMapping\nleftInputElements\nrightInputElements\ncheckAttributeFormulae\ntransformBackward\nleftInputElements\nrightInputElements\ncheckAttributeFormulae\nsynchronizeForward\nleftInputElements\nrightInputElements\ninputTggNode\ncheckAttributeFormulae\nsynchronizeBackward\nleftInputElements\nrightInputElements\ninputTggNode\ncheckAttributeFormulae\naddElementActivity\nmoveElementActivity\nchangeAttributeActivity\ntransformForwardActivity\ntransformMappingActivity\ntransformBackwardActivity\nsynchronizeForwardActivity\nsynchronizeBackwardActivity"}, {"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=\"uml2blocky\" nsURI=\"http://tu-berlin.de/uml2blocky\" nsPrefix=\"de.silvawb.uml2blocky\">\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"CorrAxiom\" eSuperTypes=\"../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//TGGNode\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"CorrRule\" eSuperTypes=\"../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//TGGNode\"/>\n <eSubpackages name=\"generated\" nsURI=\"http://tu-berlin.de/uml2blocky/generated\"\n nsPrefix=\"de.silvawb.uml2blocky.generated\">\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"uml2blockyOperationalTGG\" eSuperTypes=\"../../../de.mdelab.mltgg.mote2.sdm/model/sdm.ecore#//SdmOperationalTGG\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"uml2blockyAxiom\" eSuperTypes=\"../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//operationalTGG/OperationalAxiomGroup\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"uml2blockyAxiom_r1\" eSuperTypes=\"../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//operationalTGG/OperationalAxiom\">\n <eOperations name=\"addElement\" lowerBound=\"1\" eType=\"ecore:EClass ../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//TGGNode\"\n eExceptions=\"ecore:EDataType ../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//helpers/TransformationException\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\n <details key=\"body\" value=\"final EMap<String, Object> parametersCopy = new org.eclipse.emf.common.util.BasicEMap<String, Object>(parameters.map());

((de.silvawb.uml2blocky.generated.uml2blockyOperationalTGG) this.getOperationalAxiomGroup().getOperationalTGG()).executeActivity(this.getAddElementActivity(), parametersCopy);

de.mdelab.mltgg.mote2.TGGNode tggNode = (de.mdelab.mltgg.mote2.TGGNode) parametersCopy.get("corrAxiom");

if (tggNode != null)
{
leftInputElements.add((org.eclipse.emf.ecore.EObject) parametersCopy.get("model"));
rightInputElements.add((org.eclipse.emf.ecore.EObject) parametersCopy.get("target"));	
}

return tggNode;\"/>\n </eAnnotations>\n <eParameters name=\"parameters\" upperBound=\"-1\">\n <eGenericType eClassifier=\"ecore:EClass ../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//helpers/MapEntry\">\n <eTypeArguments eClassifier=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eTypeArguments eClassifier=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject\"/>\n </eGenericType>\n </eParameters>\n <eParameters name=\"leftInputElements\" upperBound=\"-1\" eType=\"ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject\"/>\n <eParameters name=\"rightInputElements\" upperBound=\"-1\" eType=\"ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject\"/>\n </eOperations>\n <eOperations name=\"changeAttributeValues\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\n eExceptions=\"ecore:EDataType ../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//helpers/TransformationException\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\n <details key=\"body\" value=\"org.eclipse.emf.common.util.EMap<String, Object> params = new org.eclipse.emf.common.util.BasicEMap<String, Object>(ruleParameters.map());
		
params.put("corrAxiom", correspondenceNode);
		
((de.silvawb.uml2blocky.generated.uml2blockyOperationalTGG) this
				.getOperationalAxiomGroup().getOperationalTGG())
				.executeActivity(this.getChangeAttributeActivity(), params);
		
return (Boolean) params.get("__returnValue");\"/>\n </eAnnotations>\n <eParameters name=\"correspondenceNode\" lowerBound=\"1\" eType=\"ecore:EClass ../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//TGGNode\"/>\n <eParameters name=\"ruleParameters\" upperBound=\"-1\">\n <eGenericType eClassifier=\"ecore:EClass ../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//helpers/MapEntry\">\n <eTypeArguments eClassifier=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eTypeArguments eClassifier=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject\"/>\n </eGenericType>\n </eParameters>\n </eOperations>\n <eOperations name=\"transformForward\" lowerBound=\"1\" eType=\"ecore:EEnum ../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//operationalTGG/ErrorCodeEnum\"\n eExceptions=\"ecore:EDataType ../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//helpers/TransformationException\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\n <details key=\"body\" value=\"
final org.eclipse.emf.common.util.EMap<String, Object> parameters = new org.eclipse.emf.common.util.BasicEMap<String, Object>();

		parameters.put("__thisRule", this);
		parameters.put("__checkAttributeFormulae", checkAttributeFormulae);
				parameters.put("model", leftInputElements.get(0));

		((de.silvawb.uml2blocky.generated.uml2blockyOperationalTGG) this.getOperationalAxiomGroup().getOperationalTGG()).executeActivity(this.getTransformForwardActivity(), parameters);		


		final ErrorCodeEnum errorCode = (ErrorCodeEnum) parameters.get("__errorCode");

		if (errorCode == ErrorCodeEnum.OK)
		{
					rightInputElements.add((org.eclipse.emf.ecore.EObject) parameters.get("target"));
		}

		return errorCode;\"/>\n </eAnnotations>\n <eParameters name=\"leftInputElements\" lowerBound=\"1\" upperBound=\"-1\" eType=\"ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject\"/>\n <eParameters name=\"rightInputElements\" lowerBound=\"1\" upperBound=\"-1\" eType=\"ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject\"/>\n <eParameters name=\"checkAttributeFormulae\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\n </eOperations>\n <eOperations name=\"transformMapping\" lowerBound=\"1\" eType=\"ecore:EEnum ../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//operationalTGG/ErrorCodeEnum\"\n eExceptions=\"ecore:EDataType ../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//helpers/TransformationException\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\n <details key=\"body\" value=\"
final org.eclipse.emf.common.util.EMap<String, Object> parameters = new org.eclipse.emf.common.util.BasicEMap<String, Object>();

		parameters.put("__thisRule", this);
		parameters.put("__checkAttributeFormulae", checkAttributeFormulae);
				parameters.put("model", leftInputElements.get(0));
				parameters.put("target", rightInputElements.get(0));

		((de.silvawb.uml2blocky.generated.uml2blockyOperationalTGG) this.getOperationalAxiomGroup().getOperationalTGG()).executeActivity(this.getTransformMappingActivity(), parameters);		


		final ErrorCodeEnum errorCode = (ErrorCodeEnum) parameters.get("__errorCode");

		if (errorCode == ErrorCodeEnum.OK)
		{
					rightInputElements.add((org.eclipse.emf.ecore.EObject) parameters.get("target"));
					leftInputElements.add((org.eclipse.emf.ecore.EObject) parameters.get("model"));
		}

		return errorCode;\"/>\n </eAnnotations>\n <eParameters name=\"leftInputElements\" lowerBound=\"1\" upperBound=\"-1\" eType=\"ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject\"/>\n <eParameters name=\"rightInputElements\" lowerBound=\"1\" upperBound=\"-1\" eType=\"ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject\"/>\n <eParameters name=\"checkAttributeFormulae\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\n </eOperations>\n <eOperations name=\"transformBackward\" lowerBound=\"1\" eType=\"ecore:EEnum ../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//operationalTGG/ErrorCodeEnum\"\n eExceptions=\"ecore:EDataType ../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//helpers/TransformationException\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\n <details key=\"body\" value=\"
final org.eclipse.emf.common.util.EMap<String, Object> parameters = new org.eclipse.emf.common.util.BasicEMap<String, Object>();

		parameters.put("__thisRule", this);
		parameters.put("__checkAttributeFormulae", checkAttributeFormulae);
				parameters.put("target", rightInputElements.get(0));

		((de.silvawb.uml2blocky.generated.uml2blockyOperationalTGG) this.getOperationalAxiomGroup().getOperationalTGG()).executeActivity(this.getTransformBackwardActivity(), parameters);		


		final ErrorCodeEnum errorCode = (ErrorCodeEnum) parameters.get("__errorCode");

		if (errorCode == ErrorCodeEnum.OK)
		{
					leftInputElements.add((org.eclipse.emf.ecore.EObject) parameters.get("model"));
		}

		return errorCode;\"/>\n </eAnnotations>\n <eParameters name=\"leftInputElements\" lowerBound=\"1\" upperBound=\"-1\" eType=\"ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject\"/>\n <eParameters name=\"rightInputElements\" lowerBound=\"1\" upperBound=\"-1\" eType=\"ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject\"/>\n <eParameters name=\"checkAttributeFormulae\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\n </eOperations>\n <eOperations name=\"synchronizeForward\" lowerBound=\"1\" eType=\"ecore:EEnum ../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//operationalTGG/ErrorCodeEnum\"\n eExceptions=\"ecore:EDataType ../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//helpers/TransformationException\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\n <details key=\"body\" value=\"
final org.eclipse.emf.common.util.EMap<String, Object> parameters = new org.eclipse.emf.common.util.BasicEMap<String, Object>();

		parameters.put("__thisRule", this);
		parameters.put("__checkAttributeFormulae", checkAttributeFormulae);
		parameters.put("__inputTggNode", inputTggNode);
			parameters.put("model", leftInputElements.get(0));
			parameters.put("target", rightInputElements.get(0));

		((de.silvawb.uml2blocky.generated.uml2blockyOperationalTGG) this.getOperationalAxiomGroup().getOperationalTGG()).executeActivity(this.getSynchronizeForwardActivity(), parameters);		


		final ErrorCodeEnum errorCode = (ErrorCodeEnum) parameters.get("__errorCode");

		if (errorCode == ErrorCodeEnum.OK)
		{
					rightInputElements.add((org.eclipse.emf.ecore.EObject) parameters.get("target"));
		}

		return errorCode;\"/>\n </eAnnotations>\n <eParameters name=\"leftInputElements\" lowerBound=\"1\" upperBound=\"-1\" eType=\"ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject\"/>\n <eParameters name=\"rightInputElements\" lowerBound=\"1\" upperBound=\"-1\" eType=\"ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject\"/>\n <eParameters name=\"inputTggNode\" lowerBound=\"1\" eType=\"ecore:EClass ../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//TGGNode\"/>\n <eParameters name=\"checkAttributeFormulae\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\n </eOperations>\n <eOperations name=\"synchronizeBackward\" lowerBound=\"1\" eType=\"ecore:EEnum ../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//operationalTGG/ErrorCodeEnum\"\n eExceptions=\"ecore:EDataType ../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//helpers/TransformationException\">\n <eAnnotations source=\"http://www.eclipse.org/emf/2002/GenModel\">\n <details key=\"body\" value=\"
final org.eclipse.emf.common.util.EMap<String, Object> parameters = new org.eclipse.emf.common.util.BasicEMap<String, Object>();

		parameters.put("__thisRule", this);
		parameters.put("__checkAttributeFormulae", checkAttributeFormulae);
		parameters.put("__inputTggNode", inputTggNode);
			parameters.put("model", leftInputElements.get(0));
			parameters.put("target", rightInputElements.get(0));

		((de.silvawb.uml2blocky.generated.uml2blockyOperationalTGG) this.getOperationalAxiomGroup().getOperationalTGG()).executeActivity(this.getSynchronizeBackwardActivity(), parameters);		


		final ErrorCodeEnum errorCode = (ErrorCodeEnum) parameters.get("__errorCode");

		if (errorCode == ErrorCodeEnum.OK)
		{
					leftInputElements.add((org.eclipse.emf.ecore.EObject) parameters.get("model"));
		}

		return errorCode;\"/>\n </eAnnotations>\n <eParameters name=\"leftInputElements\" lowerBound=\"1\" upperBound=\"-1\" eType=\"ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject\"/>\n <eParameters name=\"rightInputElements\" lowerBound=\"1\" upperBound=\"-1\" eType=\"ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject\"/>\n <eParameters name=\"inputTggNode\" lowerBound=\"1\" eType=\"ecore:EClass ../../../de.mdelab.mltgg.mote2/model/mote2.ecore#//TGGNode\"/>\n <eParameters name=\"checkAttributeFormulae\" lowerBound=\"1\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\n </eOperations>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"addElementActivity\" lowerBound=\"1\"\n eType=\"ecore:EClass ../../../de.mdelab.mlsdm/model/mlsdm.ecore#//Activity\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"moveElementActivity\"\n lowerBound=\"1\" eType=\"ecore:EClass ../../../de.mdelab.mlsdm/model/mlsdm.ecore#//Activity\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"changeAttributeActivity\"\n lowerBound=\"1\" eType=\"ecore:EClass ../../../de.mdelab.mlsdm/model/mlsdm.ecore#//Activity\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"transformForwardActivity\"\n lowerBound=\"1\" eType=\"ecore:EClass ../../../de.mdelab.mlsdm/model/mlsdm.ecore#//Activity\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"transformMappingActivity\"\n lowerBound=\"1\" eType=\"ecore:EClass ../../../de.mdelab.mlsdm/model/mlsdm.ecore#//Activity\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"transformBackwardActivity\"\n lowerBound=\"1\" eType=\"ecore:EClass ../../../de.mdelab.mlsdm/model/mlsdm.ecore#//Activity\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"synchronizeForwardActivity\"\n lowerBound=\"1\" eType=\"ecore:EClass ../../../de.mdelab.mlsdm/model/mlsdm.ecore#//Activity\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"synchronizeBackwardActivity\"\n lowerBound=\"1\" eType=\"ecore:EClass ../../../de.mdelab.mlsdm/model/mlsdm.ecore#//Activity\"/>\n </eClassifiers>\n </eSubpackages>\n</ecore:EPackage>\n"}]} |
| {"messages": [{"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:\ncfg\nXML2\ninput\npack\ntypes\nenums\ncomm\nInputDef\ncomment\ninputCHAR\nurl\nPackDef\ncomment\npackCHAR\npack\nType\ncomment\nenter\nprefix\nname\nfields\ncomm\nEnter\nprefix\nrootPath\nField\ncomment\nmeta\ntype\nfieldName\nnodePath\nFieldType\ntype\nListMeta\nprefix\nparams\nSliceMeta\nprefix\nsliceChar\nFieldMetaKey\nfieldName\nEnum\ncomment\nprefix\nname\nfields\ncomm\nEnumField\ncomment\nmeta\nfieldName\nfieldValue\nDefaultMeta\nprefix\nOtherComent\ncomm"}, {"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=\"cfg\"\n nsURI=\"http://www.chw.org/game/Cfg\" nsPrefix=\"cfg\">\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"XML2\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"input\" eType=\"#//InputDef\"\n containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"pack\" eType=\"#//PackDef\"\n containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"types\" upperBound=\"-1\"\n eType=\"#//Type\" containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"enums\" upperBound=\"-1\"\n eType=\"#//Enum\" containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"comm\" upperBound=\"-1\" eType=\"#//OtherComent\"\n containment=\"true\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"InputDef\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"comment\" upperBound=\"-1\"\n eType=\"#//OtherComent\" containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"inputCHAR\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"url\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"PackDef\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"comment\" upperBound=\"-1\"\n eType=\"#//OtherComent\" containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"packCHAR\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"pack\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Type\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"comment\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"enter\" eType=\"#//Enter\"\n containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"prefix\" 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=\"fields\" upperBound=\"-1\"\n eType=\"#//Field\" containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"comm\" upperBound=\"-1\" eType=\"#//OtherComent\"\n containment=\"true\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Enter\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"prefix\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"rootPath\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Field\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"comment\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"meta\" upperBound=\"-1\" eType=\"ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject\"\n containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"type\" eType=\"#//FieldType\"\n containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"fieldName\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"nodePath\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"FieldType\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"type\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ListMeta\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"prefix\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"params\" upperBound=\"-1\"\n eType=\"#//FieldMetaKey\" containment=\"true\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"SliceMeta\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"prefix\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"sliceChar\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"FieldMetaKey\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"fieldName\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Enum\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"comment\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"prefix\" 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=\"fields\" upperBound=\"-1\"\n eType=\"#//EnumField\" containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"comm\" upperBound=\"-1\" eType=\"#//OtherComent\"\n containment=\"true\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"EnumField\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"comment\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"meta\" eType=\"#//DefaultMeta\"\n containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"fieldName\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"fieldValue\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"DefaultMeta\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"prefix\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"OtherComent\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"comm\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n </eClassifiers>\n</ecore:EPackage>\n"}]} |
| {"messages": [{"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:\nmasml\nElement\nname\ncomments\nUseCase\nFeature\nfeaturingClassifier\nClassifier\nStructuralFeature\nBehavioralFeature\nownedParamenter\nraisedException\nClass\noperations\nownedProperty\nisAbstract\nfalse\nsuperClass\nAgentClass\nowendAction\nownedGoal\nownedBelief\nownedPlan\nsentMessage\nreceiveMessage\ninhabit\nplay\nsuperClass\nownedPerception\nownedPlanning\nProperty\ndefault\nisComposite\nfalse\nisReadOnly\nfalse\nassociation\nowningAssociation\nredefinedProperty\nsubsettedProperty\naggregation\nOperation\nclass\nisAbstract\nisLeaf\nisOrdered\nisQuery\nisStatic\nisUnique\npostcondition\nprecondition\nredefinedOperation\nbodyCondition\nreturnValue\nparameter\nActionClass\nprecondition\npostcondition\nownedParameter\nactionSemantics\nNamedElement\nvisibility\nPackageableElement\nType\nNamespace\nownedRule\nRedefinableElement\nOrganizationClass\nownedGoal\nownedBelief\nownedPlan\nownedAction\nsentMessage\nreceiveMessage\ninhabit\nplay\nsuperClass\nownedAttribute\nownership\nplay_in\nownedAgentRole\nowenedObjectRole\nAgentRoleClass\nownedGoal\nownedDuty\nownedRight\nplay\nownership\ncontrol\nsuperClass\nownedBelief\nperformative\nreply_to\nelement\nlanguage\nencoding\nontology\nprotocol\nconversation_id\nreply_with\nin_reply_to\nreply_by\nObjectRoleClass\nownedAttribute\nownedOperation\nplay\nownership\nEnvironmentClass\nownedOperation\nownedProperty\ninhabit\nownedClass\nownedOrganization\nAgentMessageClass\nsender\nroleSender\nreceiver\nroleReceiver\nMultiplicityElement\nlower\nupper\nisOrdered\nisUnique\nTypedElement\ntype\nPlanClass\nowendGoal\nownedAction\nDuty\nRight\nProtocolClass\nmessages\nRelationship\nsource\ntarget\nrelatedElement\nDirectedRelationship\nAssociation\nisDerived\nfalse\nownedEnd\nmemberEnd\nendType\nnavigableOwnedEnd\nisLeaf\nfalse\nisAbstract\nsourceMultiplicity\ntargetMultiplicity\nrepresentation\n\nsourceName\ntargetName\nDependency\nsupplier\nclient\nOwnership\nagentRole\nobjectRole\nowner\nInhabit\nsubOrg\nclass\nagentClass\norg\nenv\nControl\ncontroller\ncontrolled\nPlay\nagent\nagentRole\nobjectRole\norg\nGeneralization\ngeneral\nspecific\nGoal\nownedPlan\nBelief\nConstraint\nconstrainedElement\ncontext\nconstraintSpecification\nMasmlClassDiagram\nownedOrganizationClass\nownedEnvironmentClass\nownedAgentClass\nownedClass\nownedPlay\nownedGeneralization\nownedDependency\nownedAssociation\nownedAggregation\nownedComposite\nownedInhabit\nownedOwnership\nownedObjectRoleClass\nownedAgentRoleClass\nVisibilityKind\npublic\n+\nprivate\n-\nprotected\n#\nParameter\ndefault\ndirection\nin\noperation\nParameterDirectionKind\nin\nin\ninout\ninout\nout\nout\nreturn\nreturn\nAggregationType\nnone\nnone\nshared\nshared\ncomposite\ncomposite\nAggregation\nComposite\nDataType\nString\nString\nInteger\nInteger\nDouble\nDouble\nChar\nChar\nLong\nLong\nBoolean\nBoolean\nList\nList\nFloat\nFloat\nByte\nByte\nDate\nDate\nShort\nShort\nMap\nMap\nEnumerator\nEnumerator\nVoid\nVoid\nNull\n \nMultiplicityKind\nOne\n1\nZeroOne\n0..1\nZeroMulti\n0..*\nMulti\n*\nOneMulti\n1..*\nNull\nNull\nPerception\nPlanning\nActionSemantics\nDefaultSemantics\n \nNextFunction\n<<next-function>>\nUtilityFunction\n<<Utility-Function>>\nFormulateProblemFunction\n<<formulate-problem-function>>\nFormulateGoalFunction\n<<formulate-goal-function>>"}, {"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=\"masml\"\r\n nsURI=\"masml\" nsPrefix=\"masml\">\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Element\">\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=\"comments\" upperBound=\"-1\"\r\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"UseCase\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Feature\" eSuperTypes=\"#//RedefinableElement\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"featuringClassifier\" upperBound=\"-1\"\r\n eType=\"#//Classifier\" containment=\"true\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Classifier\" eSuperTypes=\"#//Type #//Namespace #//RedefinableElement\"/>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"StructuralFeature\" eSuperTypes=\"#//Feature #//TypedElement #//MultiplicityElement\"/>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"BehavioralFeature\" eSuperTypes=\"#//Feature\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedParamenter\" upperBound=\"-1\"\r\n eType=\"#//Parameter\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"raisedException\" upperBound=\"-1\"\r\n eType=\"#//Type\" containment=\"true\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Class\" eSuperTypes=\"#//Classifier\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"operations\" upperBound=\"-1\"\r\n eType=\"#//Operation\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedProperty\" upperBound=\"-1\"\r\n eType=\"#//Property\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"isAbstract\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\r\n defaultValueLiteral=\"false\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"superClass\" upperBound=\"-1\"\r\n eType=\"#//Class\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"AgentClass\" eSuperTypes=\"#//Classifier\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"owendAction\" lowerBound=\"1\"\r\n upperBound=\"-1\" eType=\"#//ActionClass\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedGoal\" upperBound=\"-1\"\r\n eType=\"#//Goal\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedBelief\" upperBound=\"-1\"\r\n eType=\"#//Belief\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedPlan\" upperBound=\"-1\"\r\n eType=\"#//PlanClass\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"sentMessage\" upperBound=\"-1\"\r\n eType=\"#//AgentMessageClass\" eOpposite=\"#//AgentMessageClass/sender\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"receiveMessage\" upperBound=\"-1\"\r\n eType=\"#//AgentMessageClass\" eOpposite=\"#//AgentMessageClass/receiver\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"inhabit\" lowerBound=\"1\"\r\n eType=\"#//Inhabit\" eOpposite=\"#//Inhabit/agentClass\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"play\" lowerBound=\"1\" upperBound=\"-1\"\r\n eType=\"#//Play\" eOpposite=\"#//Play/agent\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"superClass\" upperBound=\"-1\"\r\n eType=\"#//AgentClass\" derived=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedPerception\" upperBound=\"-1\"\r\n eType=\"#//Perception\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedPlanning\" upperBound=\"-1\"\r\n eType=\"#//Planning\" containment=\"true\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Property\" eSuperTypes=\"#//StructuralFeature\">\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"default\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"isComposite\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\r\n defaultValueLiteral=\"false\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"isReadOnly\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\r\n defaultValueLiteral=\"false\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"association\" eType=\"#//Association\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"owningAssociation\" eType=\"#//Association\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"redefinedProperty\" upperBound=\"-1\"\r\n eType=\"#//Property\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"subsettedProperty\" upperBound=\"-1\"\r\n eType=\"#//Property\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"aggregation\" eType=\"#//AggregationType\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Operation\" eSuperTypes=\"#//BehavioralFeature\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"class\" eType=\"#//Class\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"isAbstract\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"isLeaf\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"isOrdered\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"isQuery\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"isStatic\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"isUnique\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"postcondition\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"precondition\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"redefinedOperation\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"bodyCondition\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"returnValue\" eType=\"#//DataType\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"parameter\" upperBound=\"-1\"\r\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ActionClass\" eSuperTypes=\"#//BehavioralFeature\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"precondition\" upperBound=\"-1\"\r\n eType=\"#//Constraint\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"postcondition\" upperBound=\"-1\"\r\n eType=\"#//Constraint\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedParameter\" upperBound=\"-1\"\r\n eType=\"#//Parameter\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"actionSemantics\" eType=\"#//ActionSemantics\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"NamedElement\" eSuperTypes=\"#//Element\">\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"visibility\" eType=\"#//VisibilityKind\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"PackageableElement\" eSuperTypes=\"#//NamedElement\"/>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Type\" eSuperTypes=\"#//PackageableElement\"/>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Namespace\" eSuperTypes=\"#//NamedElement\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedRule\" upperBound=\"-1\"\r\n eType=\"#//Constraint\" containment=\"true\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"RedefinableElement\" eSuperTypes=\"#//NamedElement\"/>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"OrganizationClass\" eSuperTypes=\"#//Classifier\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedGoal\" lowerBound=\"1\"\r\n upperBound=\"-1\" eType=\"#//Property\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedBelief\" upperBound=\"-1\"\r\n eType=\"#//Property\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedPlan\" lowerBound=\"1\"\r\n upperBound=\"-1\" eType=\"#//PlanClass\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedAction\" lowerBound=\"1\"\r\n upperBound=\"-1\" eType=\"#//ActionClass\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"sentMessage\" upperBound=\"-1\"\r\n eType=\"#//AgentMessageClass\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"receiveMessage\" upperBound=\"-1\"\r\n eType=\"#//AgentMessageClass\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"inhabit\" lowerBound=\"1\"\r\n eType=\"#//Inhabit\" eOpposite=\"#//Inhabit/org\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"play\" lowerBound=\"1\" upperBound=\"-1\"\r\n eType=\"#//Play\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"superClass\" upperBound=\"-1\"\r\n eType=\"#//OrganizationClass\" derived=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedAttribute\" upperBound=\"-1\"\r\n eType=\"#//Property\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownership\" upperBound=\"-1\"\r\n eType=\"#//Ownership\" eOpposite=\"#//Ownership/owner\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"play_in\" upperBound=\"-1\"\r\n eType=\"#//Play\" eOpposite=\"#//Play/org\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedAgentRole\" eType=\"#//AgentRoleClass\"\r\n containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"owenedObjectRole\" eType=\"#//ObjectRoleClass\"\r\n containment=\"true\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"AgentRoleClass\" eSuperTypes=\"#//Classifier\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedGoal\" upperBound=\"-1\"\r\n eType=\"#//Property\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedDuty\" upperBound=\"-1\"\r\n eType=\"#//ActionClass\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedRight\" upperBound=\"-1\"\r\n eType=\"#//ActionClass\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"play\" lowerBound=\"1\" eType=\"#//Play\"\r\n eOpposite=\"#//Play/agentRole\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownership\" lowerBound=\"1\"\r\n eType=\"#//Ownership\" eOpposite=\"#//Ownership/agentRole\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"control\" upperBound=\"-1\"\r\n eType=\"#//Control\" eOpposite=\"#//Control/controlled\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"superClass\" upperBound=\"-1\"\r\n eType=\"#//AgentRoleClass\" derived=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedBelief\" upperBound=\"-1\"\r\n eType=\"#//Belief\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"performative\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"reply_to\" upperBound=\"-1\"\r\n eType=\"#//Classifier\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"element\" lowerBound=\"1\"\r\n eType=\"#//Element\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"language\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"encoding\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"ontology\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"protocol\" upperBound=\"-1\"\r\n eType=\"#//ProtocolClass\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"conversation_id\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"reply_with\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"in_reply_to\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"reply_by\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ObjectRoleClass\" eSuperTypes=\"#//Classifier\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedAttribute\" upperBound=\"-1\"\r\n eType=\"#//Property\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedOperation\" upperBound=\"-1\"\r\n eType=\"#//Operation\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"play\" lowerBound=\"1\" eType=\"#//Play\"\r\n eOpposite=\"#//Play/objectRole\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownership\" lowerBound=\"1\"\r\n eType=\"#//Ownership\" eOpposite=\"#//Ownership/objectRole\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"EnvironmentClass\" eSuperTypes=\"#//Classifier\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedOperation\" upperBound=\"-1\"\r\n eType=\"#//Operation\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedProperty\" upperBound=\"-1\"\r\n eType=\"#//Property\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"inhabit\" upperBound=\"-1\"\r\n eType=\"#//Inhabit\" eOpposite=\"#//Inhabit/env\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedClass\" upperBound=\"-1\"\r\n eType=\"#//Class\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedOrganization\" upperBound=\"-1\"\r\n eType=\"#//OrganizationClass\" containment=\"true\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"AgentMessageClass\" eSuperTypes=\"#//NamedElement\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"sender\" eType=\"#//AgentClass\"\r\n eOpposite=\"#//AgentClass/sentMessage\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"roleSender\" eType=\"#//AgentRoleClass\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"receiver\" upperBound=\"-1\"\r\n eType=\"#//AgentClass\" eOpposite=\"#//AgentClass/receiveMessage\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"roleReceiver\" upperBound=\"-1\"\r\n eType=\"#//AgentRoleClass\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"MultiplicityElement\" eSuperTypes=\"#//Element\">\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"lower\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EIntegerObject\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"upper\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EIntegerObject\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"isOrdered\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"isUnique\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"TypedElement\" eSuperTypes=\"#//NamedElement\">\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"type\" eType=\"#//DataType\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"PlanClass\" eSuperTypes=\"#//BehavioralFeature\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"owendGoal\" lowerBound=\"1\"\r\n upperBound=\"-1\" eType=\"#//Goal\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedAction\" lowerBound=\"1\"\r\n upperBound=\"-1\" eType=\"#//ActionClass\" containment=\"true\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Duty\" eSuperTypes=\"#//ActionClass\"/>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Right\" eSuperTypes=\"#//ActionClass\"/>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"ProtocolClass\" eSuperTypes=\"#//BehavioralFeature\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"messages\" lowerBound=\"1\"\r\n upperBound=\"-1\" eType=\"#//AgentMessageClass\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Relationship\" eSuperTypes=\"#//Element\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"source\" lowerBound=\"1\"\r\n eType=\"#//Element\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"target\" lowerBound=\"1\"\r\n eType=\"#//Element\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"relatedElement\" lowerBound=\"1\"\r\n upperBound=\"-1\" eType=\"#//Element\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"DirectedRelationship\" eSuperTypes=\"#//Relationship\"/>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Association\" eSuperTypes=\"#//Relationship #//Classifier\">\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"isDerived\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\r\n defaultValueLiteral=\"false\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedEnd\" upperBound=\"-1\"\r\n eType=\"#//Property\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"memberEnd\" lowerBound=\"2\"\r\n upperBound=\"-1\" eType=\"#//Property\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"endType\" upperBound=\"-1\"\r\n eType=\"#//Type\" derived=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"navigableOwnedEnd\" upperBound=\"-1\"\r\n eType=\"#//Property\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"isLeaf\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\r\n defaultValueLiteral=\"false\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"isAbstract\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"sourceMultiplicity\" eType=\"#//MultiplicityKind\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"targetMultiplicity\" eType=\"#//MultiplicityKind\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"representation\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"\r\n defaultValueLiteral=\"\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"sourceName\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"targetName\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Dependency\" eSuperTypes=\"#//DirectedRelationship\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"supplier\" lowerBound=\"1\"\r\n upperBound=\"-1\" eType=\"#//NamedElement\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"client\" lowerBound=\"1\"\r\n upperBound=\"-1\" eType=\"#//NamedElement\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Ownership\" eSuperTypes=\"#//DirectedRelationship\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"agentRole\" eType=\"#//AgentRoleClass\"\r\n eOpposite=\"#//AgentRoleClass/ownership\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"objectRole\" eType=\"#//ObjectRoleClass\"\r\n eOpposite=\"#//ObjectRoleClass/ownership\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"owner\" eType=\"#//OrganizationClass\"\r\n eOpposite=\"#//OrganizationClass/ownership\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Inhabit\" eSuperTypes=\"#//DirectedRelationship\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"subOrg\" eType=\"#//OrganizationClass\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"class\" eType=\"#//Class\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"agentClass\" eType=\"#//AgentClass\"\r\n eOpposite=\"#//AgentClass/inhabit\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"org\" eType=\"#//OrganizationClass\"\r\n eOpposite=\"#//OrganizationClass/inhabit\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"env\" lowerBound=\"1\" eType=\"#//EnvironmentClass\"\r\n eOpposite=\"#//EnvironmentClass/inhabit\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Control\" eSuperTypes=\"#//DirectedRelationship\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"controller\" lowerBound=\"1\"\r\n eType=\"#//AgentRoleClass\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"controlled\" lowerBound=\"1\"\r\n eType=\"#//AgentRoleClass\" eOpposite=\"#//AgentRoleClass/control\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Play\" eSuperTypes=\"#//DirectedRelationship\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"agent\" eType=\"#//AgentClass\"\r\n eOpposite=\"#//AgentClass/play\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"agentRole\" eType=\"#//AgentRoleClass\"\r\n eOpposite=\"#//AgentRoleClass/play\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"objectRole\" eType=\"#//ObjectRoleClass\"\r\n eOpposite=\"#//ObjectRoleClass/play\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"org\" eType=\"#//OrganizationClass\"\r\n eOpposite=\"#//OrganizationClass/play_in\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Generalization\" eSuperTypes=\"#//DirectedRelationship\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"general\" lowerBound=\"1\"\r\n eType=\"#//Classifier\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"specific\" lowerBound=\"1\"\r\n eType=\"#//Classifier\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Goal\" eSuperTypes=\"#//Property\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedPlan\" eType=\"#//PlanClass\"\r\n containment=\"true\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Belief\" eSuperTypes=\"#//Property\"/>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Constraint\" eSuperTypes=\"#//PackageableElement\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"constrainedElement\" upperBound=\"-1\"\r\n eType=\"#//Element\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"context\" eType=\"#//Namespace\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"constraintSpecification\"\r\n eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"MasmlClassDiagram\">\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedOrganizationClass\"\r\n upperBound=\"-1\" eType=\"#//OrganizationClass\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedEnvironmentClass\"\r\n upperBound=\"-1\" eType=\"#//EnvironmentClass\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedAgentClass\" upperBound=\"-1\"\r\n eType=\"#//AgentClass\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedClass\" upperBound=\"-1\"\r\n eType=\"#//Class\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedPlay\" upperBound=\"-1\"\r\n eType=\"#//Play\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedGeneralization\" upperBound=\"-1\"\r\n eType=\"#//Generalization\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedDependency\" upperBound=\"-1\"\r\n eType=\"#//Dependency\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedAssociation\" upperBound=\"-1\"\r\n eType=\"#//Association\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedAggregation\" upperBound=\"-1\"\r\n eType=\"#//Aggregation\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedComposite\" upperBound=\"-1\"\r\n eType=\"#//Composite\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedInhabit\" upperBound=\"-1\"\r\n eType=\"#//Inhabit\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedOwnership\" upperBound=\"-1\"\r\n eType=\"#//Ownership\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedObjectRoleClass\" upperBound=\"-1\"\r\n eType=\"#//ObjectRoleClass\" containment=\"true\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"ownedAgentRoleClass\" upperBound=\"-1\"\r\n eType=\"#//AgentRoleClass\" containment=\"true\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EEnum\" name=\"VisibilityKind\">\r\n <eLiterals name=\"public\" literal=\"+\"/>\r\n <eLiterals name=\"private\" literal=\"-\"/>\r\n <eLiterals name=\"protected\" literal=\"#\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Parameter\" eSuperTypes=\"#//TypedElement #//MultiplicityElement\">\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"default\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"direction\" lowerBound=\"1\"\r\n eType=\"#//ParameterDirectionKind\" defaultValueLiteral=\"in\"/>\r\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"operation\" eType=\"#//Operation\"\r\n derived=\"true\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EEnum\" name=\"ParameterDirectionKind\">\r\n <eLiterals name=\"in\"/>\r\n <eLiterals name=\"inout\"/>\r\n <eLiterals name=\"out\"/>\r\n <eLiterals name=\"return\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EEnum\" name=\"AggregationType\">\r\n <eLiterals name=\"none\"/>\r\n <eLiterals name=\"shared\"/>\r\n <eLiterals name=\"composite\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Aggregation\" eSuperTypes=\"#//Association\"/>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Composite\" eSuperTypes=\"#//Association\"/>\r\n <eClassifiers xsi:type=\"ecore:EEnum\" name=\"DataType\">\r\n <eLiterals name=\"String\"/>\r\n <eLiterals name=\"Integer\" value=\"1\"/>\r\n <eLiterals name=\"Double\" value=\"3\"/>\r\n <eLiterals name=\"Char\" value=\"4\"/>\r\n <eLiterals name=\"Long\" value=\"5\"/>\r\n <eLiterals name=\"Boolean\" value=\"6\"/>\r\n <eLiterals name=\"List\" value=\"7\"/>\r\n <eLiterals name=\"Float\" value=\"8\"/>\r\n <eLiterals name=\"Byte\" value=\"9\"/>\r\n <eLiterals name=\"Date\" value=\"10\"/>\r\n <eLiterals name=\"Short\" value=\"11\"/>\r\n <eLiterals name=\"Map\" value=\"12\"/>\r\n <eLiterals name=\"Enumerator\" value=\"13\"/>\r\n <eLiterals name=\"Void\"/>\r\n <eLiterals name=\"Null\" literal=\" \"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EEnum\" name=\"MultiplicityKind\">\r\n <eLiterals name=\"One\" literal=\"1\"/>\r\n <eLiterals name=\"ZeroOne\" literal=\"0..1\"/>\r\n <eLiterals name=\"ZeroMulti\" literal=\"0..*\"/>\r\n <eLiterals name=\"Multi\" literal=\"*\"/>\r\n <eLiterals name=\"OneMulti\" literal=\"1..*\"/>\r\n <eLiterals name=\"Null\"/>\r\n </eClassifiers>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Perception\" eSuperTypes=\"#//BehavioralFeature\"/>\r\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Planning\" eSuperTypes=\"#//BehavioralFeature\"/>\r\n <eClassifiers xsi:type=\"ecore:EEnum\" name=\"ActionSemantics\">\r\n <eLiterals name=\"DefaultSemantics\" literal=\" \"/>\r\n <eLiterals name=\"NextFunction\" value=\"1\" literal=\"<<next-function>>\"/>\r\n <eLiterals name=\"UtilityFunction\" value=\"2\" literal=\"<<Utility-Function>>\"/>\r\n <eLiterals name=\"FormulateProblemFunction\" value=\"3\" literal=\"<<formulate-problem-function>>\"/>\r\n <eLiterals name=\"FormulateGoalFunction\" value=\"4\" literal=\"<<formulate-goal-function>>\"/>\r\n </eClassifiers>\r\n</ecore:EPackage>\r\n"}]} |
| {"messages": [{"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:\nworkflow\nWorkflow\nstates\ntransient\nfalse\nState\nparent\nid\nTransition\nname\ntrigger\ncondition\nusername\nfrom\nto\nParam\nname\nvalue\nTask\nnavajo\nservice"}, {"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=\"workflow\"\n nsURI=\"http://www.dexels.com/navajo/workflow\" nsPrefix=\"com.dexels.navajo.workflow.model\">\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Workflow\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"states\" upperBound=\"-1\"\n eType=\"#//State\" containment=\"true\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"transient\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean\"\n defaultValueLiteral=\"false\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"State\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"parent\" lowerBound=\"1\"\n eType=\"#//Workflow\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"id\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Transition\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"name\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"trigger\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"condition\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"username\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"from\" lowerBound=\"1\" eType=\"#//State\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"to\" lowerBound=\"1\" eType=\"#//State\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"Param\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"name\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\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=\"Task\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"navajo\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"service\" eType=\"ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString\"/>\n </eClassifiers>\n</ecore:EPackage>\n"}]} |
| {"messages": [{"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:\nderivedmodel\nDerivedOPRModel\nundefinedServiceTasks\nincorrectEntriesInChecklist\nDerivedOPRClass\nTaskJobCrs\ntasks\njobs\nDataConnection\nsource\ntargets\nEntryTaskJobCrs\njobs\ntask\nentry\nDerivedModel\nqueryDefinitions\ncontents\nDerivedClass\nqueryDefinition"}, {"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=\"derivedmodel\"\n nsURI=\"http://derivedmodel/1.0\" nsPrefix=\"derivedmodel\">\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"DerivedOPRModel\" eSuperTypes=\"#//DerivedModel\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"undefinedServiceTasks\"\n upperBound=\"-1\" eType=\"ecore:EClass process.ecore#//Task\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"incorrectEntriesInChecklist\"\n upperBound=\"-1\" eType=\"ecore:EClass operation.ecore#//ChecklistEntry\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"DerivedOPRClass\"/>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"TaskJobCrs\" eSuperTypes=\"#//DerivedClass\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"tasks\" lowerBound=\"1\" upperBound=\"-1\"\n eType=\"ecore:EClass process.ecore#//Task\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"jobs\" lowerBound=\"1\" upperBound=\"-1\"\n eType=\"ecore:EClass system.ecore#//Job\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"DataConnection\" eSuperTypes=\"#//DerivedClass\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"source\" lowerBound=\"1\"\n eType=\"ecore:EClass process.ecore#//Task\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"targets\" lowerBound=\"1\"\n upperBound=\"-1\" eType=\"ecore:EClass process.ecore#//Task\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"EntryTaskJobCrs\" eSuperTypes=\"#//DerivedClass\">\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"jobs\" lowerBound=\"1\" upperBound=\"-1\"\n eType=\"ecore:EClass system.ecore#//Job\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"task\" lowerBound=\"1\" eType=\"ecore:EClass process.ecore#//Task\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"entry\" lowerBound=\"1\" eType=\"ecore:EClass operation.ecore#//ChecklistEntry\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"DerivedModel\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"queryDefinitions\" upperBound=\"-1\"/>\n <eStructuralFeatures xsi:type=\"ecore:EReference\" name=\"contents\" upperBound=\"-1\"\n eType=\"#//DerivedClass\" containment=\"true\"/>\n </eClassifiers>\n <eClassifiers xsi:type=\"ecore:EClass\" name=\"DerivedClass\">\n <eStructuralFeatures xsi:type=\"ecore:EAttribute\" name=\"queryDefinition\"/>\n </eClassifiers>\n</ecore:EPackage>\n"}]} |
|
|