blob: ef0a0c112021b0081b27149d641cce8f634b8c0a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
<?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="attributeoverrides" nsURI="http:///org/eclipse/emf/teneo/samples/emf/annotations/attributeoverrides.ecore"
nsPrefix="org.eclipse.emf.teneo.samples.emf.annotations.attributeoverrides">
<eClassifiers xsi:type="ecore:EClass" name="Person">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value="Test MappedSuperclass annotation"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="bornIn" lowerBound="1"
eType="#//City">
<eAnnotations source="teneo.jpa">
<details key="appinfo" value="@Embedded
@AttributeOverride(name="name" column=@Column(name="bornNameColumn"))"/>
</eAnnotations>
<eAnnotations source="teneo.jpa.auditing">
<details key="appinfo" value="@Embedded
@AttributeOverride(name="name" column=@Column(name="bornNameColumn"))"/>
</eAnnotations>
</eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="livesIn" lowerBound="1"
eType="#//City">
<eAnnotations source="teneo.jpa">
<details key="appinfo" value="@Embedded
@AttributeOverrides({
	@AttributeOverride(name="name" column=@Column(name="nameColumn")),
	@AttributeOverride(name="country" column=@Column(name="countryColumn"))
})"/>
</eAnnotations>
<eAnnotations source="teneo.jpa.auditing">
<details key="appinfo" value="@Embedded
@AttributeOverrides({
	@AttributeOverride(name="name" column=@Column(name="nameColumn")),
	@AttributeOverride(name="country" column=@Column(name="countryColumn"))
})"/>
</eAnnotations>
</eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="City">
<eAnnotations source="teneo.jpa">
<details key="appinfo" value="@Embeddable"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="country" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
</ecore:EPackage>
|