File size: 17,036 Bytes
0c17c5b |
1 |
[{ "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" }] |