<?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="example" nsURI="http://www.example.org/example" nsPrefix="ex"> | |
<eAnnotations source="http://www.eclipse.org/emf/2002/Ecore"> | |
<details key="invocationDelegates" value="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"/> | |
<details key="settingDelegates" value="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"/> | |
<details key="validationDelegates" value="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"/> | |
</eAnnotations> | |
<eClassifiers xsi:type="ecore:EClass" name="Node"> | |
<eAnnotations source="http://www.eclipse.org/emf/2002/Ecore"> | |
<details key="constraints" value="NoGrandChildren"/> | |
</eAnnotations> | |
<eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"> | |
<details key="NoGrandChildren" value="kids.kids->isEmpty()"/> | |
</eAnnotations> | |
<eOperations name="numKids" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBigInteger"> | |
<eAnnotations source="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot"> | |
<details key="body" value="kids->size()"/> | |
</eAnnotations> | |
</eOperations> | |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | |
<eStructuralFeatures xsi:type="ecore:EReference" name="kids" ordered="false" upperBound="-1" | |
eType="#//Node" containment="true"/> | |
</eClassifiers> | |
</ecore:EPackage> |