Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.jet.tests/data/xmlSubclass/with-metadata')
-rw-r--r--tests/org.eclipse.jet.tests/data/xmlSubclass/with-metadata/human2.ecore102
-rw-r--r--tests/org.eclipse.jet.tests/data/xmlSubclass/with-metadata/human2.genmodel31
-rw-r--r--tests/org.eclipse.jet.tests/data/xmlSubclass/with-metadata/human2.xsd32
-rw-r--r--tests/org.eclipse.jet.tests/data/xmlSubclass/with-metadata/humans.xml7
4 files changed, 0 insertions, 172 deletions
diff --git a/tests/org.eclipse.jet.tests/data/xmlSubclass/with-metadata/human2.ecore b/tests/org.eclipse.jet.tests/data/xmlSubclass/with-metadata/human2.ecore
deleted file mode 100644
index bf1144f..0000000
--- a/tests/org.eclipse.jet.tests/data/xmlSubclass/with-metadata/human2.ecore
+++ /dev/null
@@ -1,102 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ecore:EPackage xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="human2"
- nsURI="http://www.example.org/human2" nsPrefix="human2">
- <eClassifiers xsi:type="ecore:EClass" name="DocumentRoot">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value=""/>
- <details key="kind" value="mixed"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed" unique="false" upperBound="-1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="elementWildcard"/>
- <details key="name" value=":mixed"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="xMLNSPrefixMap" upperBound="-1"
- eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
- transient="true" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="xmlns:prefix"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="xSISchemaLocation" upperBound="-1"
- eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
- transient="true" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="xsi:schemaLocation"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="root" upperBound="-2" eType="#//Root"
- volatile="true" transient="true" derived="true" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="root"/>
- <details key="namespace" value="##targetNamespace"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Human">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="Human"/>
- <details key="kind" value="empty"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="age" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Int"
- unsettable="true">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="age"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="name"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Man" eSuperTypes="#//Human">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="Man"/>
- <details key="kind" value="empty"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="likesCars" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
- unsettable="true">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="likesCars"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Root">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="Root"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="human" upperBound="-1"
- eType="#//Human" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="human"/>
- <details key="namespace" value="##targetNamespace"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Woman" eSuperTypes="#//Human">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="Woman"/>
- <details key="kind" value="empty"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="likesShopping" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
- unsettable="true">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="likesShopping"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
-</ecore:EPackage>
diff --git a/tests/org.eclipse.jet.tests/data/xmlSubclass/with-metadata/human2.genmodel b/tests/org.eclipse.jet.tests/data/xmlSubclass/with-metadata/human2.genmodel
deleted file mode 100644
index e34124d..0000000
--- a/tests/org.eclipse.jet.tests/data/xmlSubclass/with-metadata/human2.genmodel
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<genmodel:GenModel xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
- xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.jet.tests/src"
- editDirectory="/org.eclipse.jet.tests.edit/src" editorDirectory="/org.eclipse.jet.tests.editor/src"
- modelPluginID="org.eclipse.jet.tests" modelName="Human2" importerID="org.eclipse.xsd.ecore.importer"
- copyrightFields="false">
- <foreignModel>../../dkb.xsd/human2.xsd</foreignModel>
- <genPackages prefix="Human2" basePackage="org.example" resource="XML" disposableProviderFactory="true"
- ecorePackage="human2.ecore#/">
- <genClasses ecoreClass="human2.ecore#//DocumentRoot">
- <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute human2.ecore#//DocumentRoot/mixed"/>
- <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference human2.ecore#//DocumentRoot/xMLNSPrefixMap"/>
- <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference human2.ecore#//DocumentRoot/xSISchemaLocation"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference human2.ecore#//DocumentRoot/root"/>
- </genClasses>
- <genClasses ecoreClass="human2.ecore#//Human">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute human2.ecore#//Human/age"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute human2.ecore#//Human/name"/>
- </genClasses>
- <genClasses ecoreClass="human2.ecore#//Man">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute human2.ecore#//Man/likesCars"/>
- </genClasses>
- <genClasses ecoreClass="human2.ecore#//Root">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference human2.ecore#//Root/human"/>
- </genClasses>
- <genClasses ecoreClass="human2.ecore#//Woman">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute human2.ecore#//Woman/likesShopping"/>
- </genClasses>
- </genPackages>
-</genmodel:GenModel>
diff --git a/tests/org.eclipse.jet.tests/data/xmlSubclass/with-metadata/human2.xsd b/tests/org.eclipse.jet.tests/data/xmlSubclass/with-metadata/human2.xsd
deleted file mode 100644
index ca7fcf1..0000000
--- a/tests/org.eclipse.jet.tests/data/xmlSubclass/with-metadata/human2.xsd
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<schema targetNamespace="http://www.example.org/human2" elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.example.org/human2">
-
- <complexType name="Root">
- <sequence>
- <element name="human" type="tns:Human" maxOccurs="unbounded" minOccurs="0"></element>
- </sequence>
- </complexType>
-
- <complexType name="Human">
- <attribute name="name" type="string"></attribute>
- <attribute name="age" type="int"></attribute>
- </complexType>
-
- <element name="root" type="tns:Root"></element>
-
- <complexType name="Man">
- <complexContent>
- <extension base="tns:Human">
- <attribute name="likesCars" type="boolean"></attribute>
- </extension>
- </complexContent>
- </complexType>
-
- <complexType name="Woman">
- <complexContent>
- <extension base="tns:Human">
- <attribute name="likesShopping" type="boolean"></attribute>
- </extension>
- </complexContent>
- </complexType>
-</schema>
diff --git a/tests/org.eclipse.jet.tests/data/xmlSubclass/with-metadata/humans.xml b/tests/org.eclipse.jet.tests/data/xmlSubclass/with-metadata/humans.xml
deleted file mode 100644
index 6c82685..0000000
--- a/tests/org.eclipse.jet.tests/data/xmlSubclass/with-metadata/humans.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<tns:root xmlns:tns="http://www.example.org/human2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- >
- <tns:human xsi:type="tns:Man" age="25" likesCars="true" name="John" />
- <tns:human age="32" name="Yoko" xsi:type="tns:Woman"
- likesShopping="true" />
-</tns:root>

Back to the top