Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: ff1b62deec6e7f344f7829c94b36d6e87f3ce7fe (plain) (tree)
1
2
3
4
5
6



                                                                                            

                                                                                          






                                                                                                                                          

                                                                                                                                                



                                                                                  

                                                                                                                                                                                                                                                                                        



                                                    


                                                  



                                                                                                                                             
<?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>
    </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>
    </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