Skip to main content
aboutsummaryrefslogtreecommitdiffstats
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&#xA;@AttributeOverride(name=&quot;name&quot; column=@Column(name=&quot;bornNameColumn&quot;))"/>
      </eAnnotations>
      <eAnnotations source="teneo.jpa.auditing">
        <details key="appinfo" value="@Embedded&#xA;@AttributeOverride(name=&quot;name&quot; column=@Column(name=&quot;bornNameColumn&quot;))"/>
      </eAnnotations>
    </eStructuralFeatures>
    <eStructuralFeatures xsi:type="ecore:EReference" name="livesIn" lowerBound="1"
        eType="#//City">
      <eAnnotations source="teneo.jpa">
        <details key="appinfo" value="@Embedded&#xA;@AttributeOverrides({&#xA;&#x9;@AttributeOverride(name=&quot;name&quot; column=@Column(name=&quot;nameColumn&quot;)),&#xA;&#x9;@AttributeOverride(name=&quot;country&quot; column=@Column(name=&quot;countryColumn&quot;))&#xA;})"/>
      </eAnnotations>
      <eAnnotations source="teneo.jpa.auditing">
        <details key="appinfo" value="@Embedded&#xA;@AttributeOverrides({&#xA;&#x9;@AttributeOverride(name=&quot;name&quot; column=@Column(name=&quot;nameColumn&quot;)),&#xA;&#x9;@AttributeOverride(name=&quot;country&quot; column=@Column(name=&quot;countryColumn&quot;))&#xA;})"/>
      </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>

Back to the top