diff options
Diffstat (limited to 'runtime/org.eclipse.emf.texo.demo/src-gen/org/eclipse/emf/texo/test/model/samples/librarymodelclasses/model/library.ecore')
-rw-r--r-- | runtime/org.eclipse.emf.texo.demo/src-gen/org/eclipse/emf/texo/test/model/samples/librarymodelclasses/model/library.ecore | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/runtime/org.eclipse.emf.texo.demo/src-gen/org/eclipse/emf/texo/test/model/samples/librarymodelclasses/model/library.ecore b/runtime/org.eclipse.emf.texo.demo/src-gen/org/eclipse/emf/texo/test/model/samples/librarymodelclasses/model/library.ecore new file mode 100644 index 00000000..2d1c8ef3 --- /dev/null +++ b/runtime/org.eclipse.emf.texo.demo/src-gen/org/eclipse/emf/texo/test/model/samples/librarymodelclasses/model/library.ecore @@ -0,0 +1,96 @@ +<?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="library" nsURI="http://www.eclipse.org/emf/texo/test/model/samples/library" + nsPrefix="library"> + <eAnnotations source="texo.java.annotation"> + <details key="type" value="@org.eclipse.emf.texo.test.models.annotations.TestAnnotationOne("type")"/> + </eAnnotations> + <eClassifiers xsi:type="ecore:EClass" name="Book" eSuperTypes="http://www.eclipse.org/emf/texo/test/model/base/identifiable#//Identifiable"> + <eAnnotations source="texo.java.annotation"> + <details key="value" value="@org.eclipse.emf.texo.test.models.annotations.TestAnnotationOne("test")"/> + </eAnnotations> + <eAnnotations source="org.eclipse.emf.texo"> + <details key="title" value="${title} (${pages}) - ${category}"/> + </eAnnotations> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="title" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" + defaultValueLiteral="TEST"> + <eAnnotations source="texo.java.annotation"> + <details key="field" value="@org.eclipse.emf.texo.test.models.annotations.TestAnnotationOne("field")
@org.eclipse.emf.texo.test.models.annotations.TestAnnotationTwo("field")"/> + </eAnnotations> + <eAnnotations source="org.eclipse.emf.texo"> + <details key="id" value="true"/> + <details key="java.member" value="title"/> + </eAnnotations> + </eStructuralFeatures> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="pages" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt" + defaultValueLiteral="100"> + <eAnnotations source="texo.java.annotation"> + <details key="getter" value="@org.eclipse.emf.texo.test.models.annotations.TestAnnotationOne("getter")"/> + </eAnnotations> + <eAnnotations source="org.eclipse.emf.texo"> + <details key="java.member" value="pages"/> + </eAnnotations> + </eStructuralFeatures> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="category" eType="#//BookCategory" + defaultValueLiteral="ScienceFiction"> + <eAnnotations source="org.eclipse.emf.texo"> + <details key="java.member" value="category"/> + </eAnnotations> + </eStructuralFeatures> + <eStructuralFeatures xsi:type="ecore:EReference" name="author" lowerBound="1" + eType="#//Writer" eOpposite="#//Writer/books"> + <eAnnotations source="texo.java.annotation"> + <details key="setter" value="@org.eclipse.emf.texo.test.models.annotations.TestAnnotationOne("setter")"/> + </eAnnotations> + <eAnnotations source="org.eclipse.emf.texo"> + <details key="java.member" value="author"/> + </eAnnotations> + </eStructuralFeatures> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="Library" eSuperTypes="http://www.eclipse.org/emf/texo/test/model/base/identifiable#//Identifiable"> + <eAnnotations source="texo.java.annotation"> + <details key="type" value="@orgeclipseemftexo.OneDotAnnotation("test")"/> + </eAnnotations> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"> + <eAnnotations source="org.eclipse.emf.texo"> + <details key="java.member" value="name"/> + </eAnnotations> + </eStructuralFeatures> + <eStructuralFeatures xsi:type="ecore:EReference" name="writers" upperBound="-1" + eType="#//Writer" containment="true"> + <eAnnotations source="org.eclipse.emf.texo"> + <details key="java.member" value="writers"/> + </eAnnotations> + </eStructuralFeatures> + <eStructuralFeatures xsi:type="ecore:EReference" name="books" upperBound="-1" + eType="#//Book" containment="true"> + <eAnnotations source="org.eclipse.emf.texo"> + <details key="java.member" value="books"/> + </eAnnotations> + </eStructuralFeatures> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="Writer" eSuperTypes="http://www.eclipse.org/emf/texo/test/model/base/identifiable#//Identifiable"> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"> + <eAnnotations source="org.eclipse.emf.texo"> + <details key="title" value="true"/> + <details key="id" value="true"/> + <details key="java.member" value="name"/> + </eAnnotations> + </eStructuralFeatures> + <eStructuralFeatures xsi:type="ecore:EReference" name="books" upperBound="-1" + eType="#//Book" eOpposite="#//Book/author"> + <eAnnotations source="org.eclipse.emf.texo"> + <details key="java.member" value="books"/> + </eAnnotations> + </eStructuralFeatures> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="asdad"/> + <eClassifiers xsi:type="ecore:EEnum" name="BookCategory"> + <eAnnotations source="texo.java.annotation"> + <details key="type" value="@org.eclipse.emf.texo.test.models.annotations.TestAnnotationOne("enum")"/> + </eAnnotations> + <eLiterals name="Mystery"/> + <eLiterals name="ScienceFiction" value="1"/> + <eLiterals name="Biography" value="2"/> + </eClassifiers> +</ecore:EPackage> |