| <?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="teneoauditing" nsURI="http://www.eclipse.org/emf/teneo/hibernate/auditing" |
| nsPrefix="teneoauditing"> |
| <eClassifiers xsi:type="ecore:EClass" name="TeneoAuditEntry"> |
| <eAnnotations source="teneo.jpa"> |
| <details key="value" value="@MappedSuperclass
@Table(uniqueConstraints={@UniqueConstraint(columnNames={"teneo_object_id", "teneo_start"}), @UniqueConstraint(columnNames={"teneo_object_id", "teneo_end"}), @UniqueConstraint(columnNames={"teneo_object_id", "teneo_previous_start"})})"/> |
| </eAnnotations> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="teneo_audit_id" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"> |
| <eAnnotations source="teneo.jpa"> |
| <details key="value" value="@Id
@GeneratedValue"/> |
| </eAnnotations> |
| </eStructuralFeatures> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="teneo_version" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"> |
| <eAnnotations source="teneo.jpa"> |
| <details key="value" value="@Version"/> |
| </eAnnotations> |
| </eStructuralFeatures> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="teneo_object_id" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="teneo_owner_object_id" |
| eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="teneo_start" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="teneo_end" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong" |
| defaultValueLiteral="-1"/> |
| <eStructuralFeatures xsi:type="ecore:EReference" name="teneo_commit_info" lowerBound="1" |
| eType="#//TeneoAuditCommitInfo"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="teneo_audit_kind" lowerBound="1" |
| eType="#//TeneoAuditKind"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="teneo_container_id" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="teneo_container_feature_id" |
| eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="teneo_container_feature_name" |
| eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="teneo_previous_start" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong" |
| defaultValueLiteral="-1"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="teneo_object_version" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="teneo_resourceid" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EClass" name="TeneoAuditCommitInfo"> |
| <eAnnotations source="teneo.jpa"> |
| <details key="value" value="@Entity"/> |
| </eAnnotations> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"> |
| <eAnnotations source="teneo.jpa"> |
| <details key="value" value="@Id
@GeneratedValue"/> |
| </eAnnotations> |
| </eStructuralFeatures> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="version" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"> |
| <eAnnotations source="teneo.jpa"> |
| <details key="value" value="@Version"/> |
| </eAnnotations> |
| </eStructuralFeatures> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="user" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="comment" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"> |
| <eAnnotations source="teneo.jpa"> |
| <details key="value" value="@Column(length=2000)"/> |
| </eAnnotations> |
| </eStructuralFeatures> |
| <eStructuralFeatures xsi:type="ecore:EAttribute" name="commitTime" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"/> |
| </eClassifiers> |
| <eClassifiers xsi:type="ecore:EEnum" name="TeneoAuditKind"> |
| <eLiterals name="ADD"/> |
| <eLiterals name="UPDATE" value="1"/> |
| <eLiterals name="DELETE" value="2"/> |
| </eClassifiers> |
| </ecore:EPackage> |