diff options
Diffstat (limited to 'examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/issues/bz329275/model/bz329275.ecore')
-rw-r--r-- | examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/issues/bz329275/model/bz329275.ecore | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/issues/bz329275/model/bz329275.ecore b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/issues/bz329275/model/bz329275.ecore new file mode 100644 index 000000000..ff590602e --- /dev/null +++ b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/issues/bz329275/model/bz329275.ecore @@ -0,0 +1,57 @@ +<?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="bz329275" + nsURI="http://www.eclipse.org/emf/teneo/samples/issues/bz329275" nsPrefix="bz329275"> + <eClassifiers xsi:type="ecore:EClass" name="Item"> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Long" + unsettable="true"> + <eAnnotations source="teneo.jpa"> + <details key="appinfo" value="@Id
@GeneratedValue"/> + </eAnnotations> + </eStructuralFeatures> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="version" lowerBound="1" + eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Long" unsettable="true"> + <eAnnotations source="teneo.jpa"> + <details key="appinfo" value="@Version"/> + </eAnnotations> + </eStructuralFeatures> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="unSettableStringNoDefault" + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" defaultValueLiteral="" + unsettable="true"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="standardStringNoDefault" + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" defaultValueLiteral=""/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="unSettableStringWithDefault" + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" defaultValueLiteral="default" + unsettable="true"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="standardStringDefault" + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString" defaultValueLiteral="default"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="unSettableEnum" eType="#//TestEnum" + unsettable="true"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="standardEnum" eType="#//TestEnum"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="unSettablePrimitiveNoDefault" + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong" unsettable="true"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="standardPrimitiveNoDefault" + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="unSettablePrimitiveWithDefault" + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong" defaultValueLiteral="155" + unsettable="true"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="standardPrimitiveWithDefault" + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong" defaultValueLiteral="155"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="unSettableObjectPrimitiveWithDefault" + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELongObject" + defaultValueLiteral="155" unsettable="true"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="standardObjectPrimitiveWithDefault" + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELongObject" + defaultValueLiteral="155"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="unSettableObjectPrimitiveNoDefault" + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELongObject" + unsettable="true"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="standardObjectPrimitiveNoDefault" + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELongObject"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EEnum" name="TestEnum"> + <eLiterals name="Literal1"/> + <eLiterals name="Literal2" value="1"/> + </eClassifiers> +</ecore:EPackage> |