Skip to main content
summaryrefslogblamecommitdiffstats
blob: 583bb81a036194acb68861d43e724852c4970cfd (plain) (tree)
























                                                                                                                                             
<?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.test.jet2/src"
    modelPluginID="zzz.dataAccess" modelName="DataAccess" importerID="org.eclipse.emf.importer.ecore">
  <foreignModel>../../analysis/dataAccess.ecore</foreignModel>
  <genPackages prefix="DataAccess" disposableProviderFactory="true" ecorePackage="dataAccess.ecore#/">
    <genClasses ecoreClass="dataAccess.ecore#//Customer">
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference dataAccess.ecore#//Customer/orders"/>
    </genClasses>
    <genClasses ecoreClass="dataAccess.ecore#//Employee">
      <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference dataAccess.ecore#//Employee/customers"/>
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute dataAccess.ecore#//Employee/employeeNumber"/>
    </genClasses>
    <genClasses ecoreClass="dataAccess.ecore#//Order">
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute dataAccess.ecore#//Order/orderNumber"/>
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute dataAccess.ecore#//Order/date"/>
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute dataAccess.ecore#//Order/quantity"/>
    </genClasses>
    <genClasses ecoreClass="dataAccess.ecore#//Person">
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute dataAccess.ecore#//Person/name"/>
      <genFeatures createChild="false" ecoreFeature="ecore:EAttribute dataAccess.ecore#//Person/address"/>
    </genClasses>
  </genPackages>
</genmodel:GenModel>

Back to the top