diff options
Diffstat (limited to 'examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/model/inheritancemapping.ecore')
-rw-r--r-- | examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/model/inheritancemapping.ecore | 232 |
1 files changed, 0 insertions, 232 deletions
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/model/inheritancemapping.ecore b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/model/inheritancemapping.ecore deleted file mode 100644 index 47178a467..000000000 --- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/model/inheritancemapping.ecore +++ /dev/null @@ -1,232 +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="inheritancemapping" - nsURI="http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping" - nsPrefix="inheritancemapping"> - <eClassifiers xsi:type="ecore:EClass" name="Address" abstract="true"> - <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData"> - <details key="name" value="Address"/> - <details key="kind" value="elementOnly"/> - </eAnnotations> - <eAnnotations source="teneo.jpa"> - <details key="appinfo" value="@Inheritance(strategy=JOINED)
			"/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" unique="false" lowerBound="1" - eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"> - <eAnnotations source="teneo.jpa"> - <details key="appinfo" value="@Id"/> - </eAnnotations> - <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData"> - <details key="kind" value="element"/> - <details key="name" value="name"/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="street" unique="false" - 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="element"/> - <details key="name" value="street"/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="city" unique="false" 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="element"/> - <details key="name" value="city"/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="ContentList"> - <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData"> - <details key="name" value="contentList"/> - <details key="kind" value="elementOnly"/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" unique="false" lowerBound="1" - eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"> - <eAnnotations source="teneo.jpa"> - <details key="appinfo" value="@Id"/> - </eAnnotations> - <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData"> - <details key="kind" value="element"/> - <details key="name" value="name"/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EReference" name="address" lowerBound="1" - upperBound="-1" eType="#//Address" resolveProxies="false"> - <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData"> - <details key="kind" value="element"/> - <details key="name" value="address"/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EReference" name="price" lowerBound="1" upperBound="-1" - eType="#//Price" resolveProxies="false"> - <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData"> - <details key="kind" value="element"/> - <details key="name" value="price"/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="DistrictUKAddress" eSuperTypes="#//UKAddress"> - <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData"> - <details key="name" value="DistrictUKAddress"/> - <details key="kind" value="elementOnly"/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="district" unique="false" - lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String" - unsettable="true"> - <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData"> - <details key="kind" value="element"/> - <details key="name" value="district"/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="InternationalPrice" eSuperTypes="#//Price"> - <eAnnotations source="teneo.jpa"> - <details key="appinfo" value="
				@DiscriminatorValue("myInternationalPrice")
			"/> - </eAnnotations> - <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData"> - <details key="name" value="InternationalPrice"/> - <details key="kind" value="elementOnly"/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="currency" unique="false" - 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="element"/> - <details key="name" value="currency"/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Price"> - <eAnnotations source="teneo.jpa"> - <details key="appinfo" value="
				@Table(name="myprice")
				@Inheritance(strategy=SINGLE_TABLE)
				@DiscriminatorColumn(name="DISCRIMINATOR", discriminatorType=STRING, column=@Column(index="discrIndex,ohterindex", length=120))
				@DiscriminatorValue("myPrice")
			"/> - </eAnnotations> - <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData"> - <details key="name" value="Price"/> - <details key="kind" value="elementOnly"/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" unique="false" 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="element"/> - <details key="name" value="name"/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" unique="false" lowerBound="1" - eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Decimal"> - <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData"> - <details key="kind" value="element"/> - <details key="name" value="value"/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="UKAddress" eSuperTypes="#//Address"> - <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData"> - <details key="name" value="UKAddress"/> - <details key="kind" value="elementOnly"/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="postcode" unique="false" - 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="element"/> - <details key="name" value="postcode"/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="USAddress" eSuperTypes="#//Address"> - <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData"> - <details key="name" value="USAddress"/> - <details key="kind" value="elementOnly"/> - </eAnnotations> - <eAnnotations source="teneo.jpa"> - <details key="appinfo" value="@Table(name="UNITEDSTATESADDRESS")
			"/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="state" unique="false" lowerBound="1" - eType="#//USState" defaultValueLiteral="AK" unsettable="true"> - <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData"> - <details key="kind" value="element"/> - <details key="name" value="state"/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="zip" unique="false" lowerBound="1" - eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//PositiveInteger" - unsettable="true"> - <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData"> - <details key="kind" value="element"/> - <details key="name" value="zip"/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Customer"> - <eAnnotations source="teneo.jpa"> - <details key="appinfo" value="				@Inheritance(strategy=TABLE_PER_CLASS)			"/> - </eAnnotations> - <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData"> - <details key="name" value="Price"/> - <details key="kind" value="elementOnly"/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" unique="false" lowerBound="1" - eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"> - <eAnnotations source="teneo.jpa"> - <details key="appinfo" value="@Id"/> - </eAnnotations> - <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData"> - <details key="kind" value="element"/> - <details key="name" value="name"/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="SpecificCustomer" eSuperTypes="#//Customer"> - <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData"> - <details key="name" value="Price"/> - <details key="kind" value="elementOnly"/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="specificName" unique="false" - eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"> - <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData"> - <details key="kind" value="element"/> - <details key="name" value="name"/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EEnum" name="USState"> - <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData"> - <details key="name" value="USState"/> - </eAnnotations> - <eLiterals name="AK"/> - <eLiterals name="AL" value="1"/> - <eLiterals name="AR" value="2"/> - </eClassifiers> - <eClassifiers xsi:type="ecore:EDataType" name="USStateObject" instanceClassName="org.eclipse.emf.common.util.Enumerator"> - <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData"> - <details key="name" value="USState:Object"/> - <details key="baseType" value="USState"/> - </eAnnotations> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="UKAddressList"> - <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData"> - <details key="name" value="contentList"/> - <details key="kind" value="elementOnly"/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" unique="false" lowerBound="1" - eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"> - <eAnnotations source="teneo.jpa"> - <details key="appinfo" value="@Id"/> - </eAnnotations> - <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData"> - <details key="kind" value="element"/> - <details key="name" value="name"/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EReference" name="address" upperBound="-1" - eType="#//UKAddress" containment="true" resolveProxies="false"> - <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData"> - <details key="kind" value="element"/> - <details key="name" value="address"/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="ParentOne"/> - <eClassifiers xsi:type="ecore:EClass" name="ParentTwo"/> - <eClassifiers xsi:type="ecore:EClass" name="ChildOne" eSuperTypes="#//ParentOne #//ParentTwo"/> -</ecore:EPackage> |