Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Taal2011-11-01 18:10:14 +0000
committerMartin Taal2011-11-01 18:10:14 +0000
commit709ec105b89258b5e6b27e57cb3deb177529c54c (patch)
tree436b7b45306590da29d24dfa9b6ad252c2a987d1 /examples/org.eclipse.emf.teneo.samples/src/com/example/car/model
parent0298896cf5731abb5e728ca6997fd2410d0a8f0f (diff)
downloadorg.eclipse.emf.teneo-709ec105b89258b5e6b27e57cb3deb177529c54c.tar.gz
org.eclipse.emf.teneo-709ec105b89258b5e6b27e57cb3deb177529c54c.tar.xz
org.eclipse.emf.teneo-709ec105b89258b5e6b27e57cb3deb177529c54c.zip
Remove everything for restructuring
Diffstat (limited to 'examples/org.eclipse.emf.teneo.samples/src/com/example/car/model')
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/example/car/model/car.ecore169
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/example/car/model/car.genmodel41
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/example/car/model/car.xsd52
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/example/car/model/cars.xml14
4 files changed, 0 insertions, 276 deletions
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/model/car.ecore b/examples/org.eclipse.emf.teneo.samples/src/com/example/car/model/car.ecore
deleted file mode 100644
index af5bcc7b9..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/model/car.ecore
+++ /dev/null
@@ -1,169 +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="car"
- nsURI="http://www.example.com/car.xsd" nsPrefix="car">
- <eAnnotations source="http://www.w3.org/XML/1998/namespace">
- <details key="lang" value="en"/>
- </eAnnotations>
- <eClassifiers xsi:type="ecore:EClass" name="CarFrame">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="CarFrame"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="carWheel" upperBound="-1"
- eType="#//CarWheel" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="carWheel"/>
- <details key="namespace" value="##targetNamespace"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="carLinkRef" eType="#//CarLink"
- resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="carLinkRef"/>
- </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="CarLink">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="CarLink"/>
- <details key="kind" value="empty"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="carLinkId" lowerBound="1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//ID" iD="true">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="carLinkId"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" 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="CarsList">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="CarsList"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="carType" lowerBound="1"
- upperBound="-1" eType="#//CarType" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="carType"/>
- <details key="namespace" value="##targetNamespace"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="carLink" upperBound="-1"
- eType="#//CarLink" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="carLink"/>
- <details key="namespace" value="##targetNamespace"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="CarTire">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="CarTire"/>
- <details key="kind" value="empty"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//ID"
- iD="true">
- <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="CarType">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="CarType"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="carFrame" upperBound="-1"
- eType="#//CarFrame" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="carFrame"/>
- <details key="namespace" value="##targetNamespace"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="carID" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//ID"
- iD="true">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="carID"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="CarWheel">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="CarWheel"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="carTire" upperBound="-1"
- eType="#//CarTire" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="carTire"/>
- <details key="namespace" value="##targetNamespace"/>
- </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="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="carsList" upperBound="-2"
- eType="#//CarsList" 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="carsList"/>
- <details key="namespace" value="##targetNamespace"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
-</ecore:EPackage>
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/model/car.genmodel b/examples/org.eclipse.emf.teneo.samples/src/com/example/car/model/car.genmodel
deleted file mode 100644
index a94cda6d9..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/model/car.genmodel
+++ /dev/null
@@ -1,41 +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.emf.teneo.samples/src"
- modelPluginID="org.eclipse.emf.teneo.samples" modelName="Car" importerID="org.eclipse.xsd.ecore.importer"
- complianceLevel="5.0" copyrightFields="false">
- <foreignModel>car.xsd</foreignModel>
- <genPackages prefix="Car" basePackage="com.example" resource="XML" disposableProviderFactory="true"
- ecorePackage="car.ecore#/">
- <genClasses ecoreClass="car.ecore#//CarFrame">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference car.ecore#//CarFrame/carWheel"/>
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference car.ecore#//CarFrame/carLinkRef"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute car.ecore#//CarFrame/name"/>
- </genClasses>
- <genClasses ecoreClass="car.ecore#//CarLink">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute car.ecore#//CarLink/carLinkId"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute car.ecore#//CarLink/name"/>
- </genClasses>
- <genClasses ecoreClass="car.ecore#//CarsList">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference car.ecore#//CarsList/carType"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference car.ecore#//CarsList/carLink"/>
- </genClasses>
- <genClasses ecoreClass="car.ecore#//CarTire">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute car.ecore#//CarTire/name"/>
- </genClasses>
- <genClasses ecoreClass="car.ecore#//CarType">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference car.ecore#//CarType/carFrame"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute car.ecore#//CarType/carID"/>
- </genClasses>
- <genClasses ecoreClass="car.ecore#//CarWheel">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference car.ecore#//CarWheel/carTire"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute car.ecore#//CarWheel/name"/>
- </genClasses>
- <genClasses ecoreClass="car.ecore#//DocumentRoot">
- <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute car.ecore#//DocumentRoot/mixed"/>
- <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference car.ecore#//DocumentRoot/xMLNSPrefixMap"/>
- <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference car.ecore#//DocumentRoot/xSISchemaLocation"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference car.ecore#//DocumentRoot/carsList"/>
- </genClasses>
- </genPackages>
-</genmodel:GenModel>
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/model/car.xsd b/examples/org.eclipse.emf.teneo.samples/src/com/example/car/model/car.xsd
deleted file mode 100644
index 4c65252ca..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/model/car.xsd
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xs:schema targetNamespace="http://www.example.com/car.xsd"
- elementFormDefault="qualified"
- attributeFormDefault="unqualified"
- version="0.9.3.0"
- xml:lang="en"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
- xmlns:car="http://www.example.com/car.xsd"
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:xlink="http://www.w3.org/1999/xlink">
-
- <xs:element name="carsList" type="car:CarsList"/>
-
- <xs:complexType name="CarsList">
- <xs:sequence>
- <xs:element name="carType" type="car:CarType" maxOccurs="unbounded"/>
- <xs:element name="carLink" type="car:CarLink" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="CarType">
- <xs:sequence>
- <xs:element name="carFrame" type="car:CarFrame" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:attribute name="carID" type="xs:ID" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="CarLink">
- <xs:attribute name="carLinkId" type="xs:ID" use="required"/>
- <xs:attribute name="name" type="xs:string" use="required"/>
- </xs:complexType>
-
-
- <xs:complexType name="CarFrame">
- <xs:sequence>
- <xs:element name="carWheel" type="car:CarWheel" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:attribute name="name" type="xs:string" use="optional"/>
- <xs:attribute name="carLinkRef" type="xs:IDREF" ecore:reference="car:CarLink"/>
- </xs:complexType>
-
- <xs:complexType name="CarWheel">
- <xs:sequence>
- <xs:element name="carTire" type="car:CarTire" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:attribute name="name" type="xs:string" use="optional"/>
- </xs:complexType>
-
- <xs:complexType name="CarTire">
- <xs:attribute name="name" type="xs:ID" use="required"/>
- </xs:complexType>
-</xs:schema>
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/model/cars.xml b/examples/org.eclipse.emf.teneo.samples/src/com/example/car/model/cars.xml
deleted file mode 100644
index 2127e18f8..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/model/cars.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<car:CarsList xmlns:car="http://www.example.com/car.xsd">
-
- <car:carType carID="carNumber1">
- <car:carFrame carLinkRef="a984073182" name="carFrameIron">
- <car:carWheel name="carWheelBrand">
- <car:carTire name="b890388762"/>
- </car:carWheel>
- </car:carFrame>
- </car:carType>
-
- <car:carLink name="link-car" carLinkId="a984073182"/>
-
-</car:CarsList>

Back to the top