blob: 047f835bc496160dcb86366350bf57088b0f51fe [file] [log] [blame]
<?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" copyrightText="&lt;copyright>&#xD;&#xA;&#xD;&#xA;Copyright (c) 2015, 2022 Willink Transformations and others.&#xD;&#xA;All rights reserved. This program and the accompanying materials&#xD;&#xA;are made available under the terms of the Eclipse Public License v2.0&#xD;&#xA;which accompanies this distribution, and is available at&#xD;&#xA;http://www.eclipse.org/legal/epl-v20.html&#xD;&#xA;&#xD;&#xA;Contributors:&#xD;&#xA; E.D.Willink - Initial API and implementation&#xD;&#xA;&#xD;&#xA;&lt;/copyright>"
modelDirectory="/org.eclipse.ocl.examples.xtext.tests/emf-gen" modelPluginID="org.eclipse.ocl.examples.xtext.tests"
templateDirectory="/org.eclipse.ocl.examples.codegen/templates" forceOverwrite="true"
modelName="Company" nonNLSMarkers="true" importerID="org.eclipse.emf.importer.ecore"
bundleManifest="false" complianceLevel="8.0" copyrightFields="false" runtimeVersion="2.7"
operationReflection="true" pluginKey="">
<genAnnotations source="http://www.eclipse.org/OCL/GenModel">
<details key="Use Delegates" value="false"/>
<details key="Use Null Annotations" value="true"/>
</genAnnotations>
<foreignModel>Company.ecore</foreignModel>
<genPackages prefix="Codegencompany" basePackage="org.eclipse.ocl.examples.xtext.tests.codegen"
disposableProviderFactory="true" ecorePackage="Company.ecore#/">
<genEnums typeSafeEnumCompatible="false" ecoreEnum="Company.ecore#//CompanySizeKind">
<genEnumLiterals ecoreEnumLiteral="Company.ecore#//CompanySizeKind/small"/>
<genEnumLiterals ecoreEnumLiteral="Company.ecore#//CompanySizeKind/medium"/>
<genEnumLiterals ecoreEnumLiteral="Company.ecore#//CompanySizeKind/large"/>
</genEnums>
<genClasses ecoreClass="Company.ecore#//Company">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Company.ecore#//Company/name"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Company.ecore#//Company/employees"/>
<genFeatures property="Readonly" createChild="false" ecoreFeature="ecore:EAttribute Company.ecore#//Company/size"/>
<genOperations ecoreOperation="Company.ecore#//Company/dummyInvariant">
<genParameters ecoreParameter="Company.ecore#//Company/dummyInvariant/diagnostics"/>
<genParameters ecoreParameter="Company.ecore#//Company/dummyInvariant/context"/>
</genOperations>
</genClasses>
<genClasses ecoreClass="Company.ecore#//Employee">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Company.ecore#//Employee/name"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference Company.ecore#//Employee/manager"/>
<genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference Company.ecore#//Employee/company"/>
<genFeatures property="Readonly" notify="false" createChild="false" ecoreFeature="ecore:EReference Company.ecore#//Employee/directReports"/>
<genFeatures property="Readonly" notify="false" createChild="false" ecoreFeature="ecore:EReference Company.ecore#//Employee/allReports"/>
<genFeatures property="Readonly" notify="false" createChild="false" ecoreFeature="ecore:EReference Company.ecore#//Employee/reportingChain"/>
<genFeatures property="Readonly" createChild="false" ecoreFeature="ecore:EAttribute Company.ecore#//Employee/hasNameAsAttribute"/>
<genOperations ecoreOperation="Company.ecore#//Employee/reportsTo">
<genParameters ecoreParameter="Company.ecore#//Employee/reportsTo/manager"/>
</genOperations>
<genOperations ecoreOperation="Company.ecore#//Employee/hasNameAsOperation"/>
<genOperations ecoreOperation="Company.ecore#//Employee/noManagerImpliesDirectReports">
<genParameters ecoreParameter="Company.ecore#//Employee/noManagerImpliesDirectReports/diagnostics"/>
<genParameters ecoreParameter="Company.ecore#//Employee/noManagerImpliesDirectReports/context"/>
</genOperations>
</genClasses>
<genClasses ecoreClass="Company.ecore#//Bug418716">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Company.ecore#//Bug418716/AttributeWithInitital"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Company.ecore#//Bug418716/AttributeWithoutInitital"/>
</genClasses>
</genPackages>
</genmodel:GenModel>