Skip to content

Instantly share code, notes, and snippets.

@xseignard
Created November 17, 2011 10:46
Show Gist options
  • Save xseignard/1372895 to your computer and use it in GitHub Desktop.
Save xseignard/1372895 to your computer and use it in GitHub Desktop.
My.ecore
<?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="test"
nsURI="test" nsPrefix="test">
<eClassifiers xsi:type="ecore:EClass" name="NumericDataType">
<eTypeParameters name="T"/>
<eOperations name="getMin">
<eGenericType eTypeParameter="#//NumericDataType/T"/>
</eOperations>
<eOperations name="setMin">
<eParameters name="minValue">
<eGenericType eTypeParameter="#//NumericDataType/T"/>
</eParameters>
</eOperations>
</eClassifiers>
</ecore:EPackage>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment