| <?xml version="1.0" encoding="UTF-8"?> |
| <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> |
| |
| <hibernate-mapping auto-import="false"> |
| <subclass entity-name="Vehicle" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Vehicle"/> |
| <subclass entity-name="Temporal" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Temporal"/> |
| <subclass entity-name="Person" abstract="false" lazy="false" extends="Temporal" discriminator-value="Person"/> |
| <subclass entity-name="Address" abstract="false" lazy="false" extends="Temporal" discriminator-value="Address"/> |
| <subclass entity-name="VehicleInfo" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="VehicleInfo"/> |
| <subclass entity-name="ManufacturingPlant" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="ManufacturingPlant"/> |
| <subclass entity-name="Fleet" abstract="false" lazy="false" extends="Temporal" discriminator-value="Fleet"/> |
| <subclass entity-name="Garage" abstract="false" lazy="false" extends="Temporal" discriminator-value="Garage"/> |
| <subclass entity-name="Tire" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Tire"/> |
| <subclass entity-name="Car" abstract="false" lazy="false" extends="Vehicle" discriminator-value="Car"/> |
| <subclass entity-name="Hybrid" abstract="false" lazy="false" extends="Car" discriminator-value="Hybrid"/> |
| <subclass name="fleet.PassengerVehicle" entity-name="PassengerVehicle" abstract="true" lazy="false" extends="EAV_EObject" discriminator-value="PassengerVehicle"/> |
| <subclass entity-name="EngineFactory" abstract="false" lazy="false" extends="ManufacturingPlant" discriminator-value="EngineFactory"/> |
| <subclass entity-name="USAddress" abstract="false" lazy="false" extends="Address" discriminator-value="USAddress"/> |
| <subclass entity-name="Vin" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="Vin"/> |
| <subclass entity-name="TransportationDevice" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="TransportationDevice"/> |
| <subclass entity-name="VersionHolder" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="VersionHolder"/> |
| <subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditCommitInfoImpl" entity-name="TeneoAuditCommitInfo" abstract="false" lazy="false" extends="EAV_EObject" discriminator-value="TeneoAuditCommitInfo"/> |
| <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="VehicleAuditing" abstract="false" lazy="false" table="`PREFIX_VEHICLEAUDITING`"> |
| <meta attribute="eclassName" inherit="false">VehicleAuditing</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecoreAuditing</meta> |
| <id name="teneo_audit_id" type="long" unsaved-value="0"> |
| <column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/> |
| <generator class="native"/> |
| </id> |
| <version name="teneo_version" type="long"> |
| <column not-null="true" unique="false" name="`TENEO_VERSION`"/> |
| </version> |
| <property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_OBJECT_ID`" unique-key="c0,c1,c2"/> |
| </property> |
| <property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`"/> |
| </property> |
| <property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`TENEO_START`" unique-key="c0"/> |
| </property> |
| <property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/> |
| </property> |
| <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="VEHICLEAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true"> |
| <column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/> |
| </many-to-one> |
| <property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false"> |
| <column not-null="true" unique="false" name="`TENEO_AUDIT_KIND`"/> |
| <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> |
| <param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param> |
| <param name="eclassifier">TeneoAuditKind</param> |
| <param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param> |
| </type> |
| </property> |
| <property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_CONTAINER_ID`"/> |
| </property> |
| <property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> |
| <column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_ID`"/> |
| </property> |
| <property name="teneo_container_feature_name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_NAME`"/> |
| </property> |
| <property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`" unique-key="c2"/> |
| </property> |
| <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> |
| </property> |
| <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> |
| </property> |
| <property name="brand" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`BRAND`"/> |
| </property> |
| <property name="model" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`MODEL`"/> |
| </property> |
| <property name="make" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`MAKE`"/> |
| </property> |
| <property name="color" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`COLOR`"/> |
| </property> |
| <property name="plate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`PLATE`"/> |
| </property> |
| <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`ID`"/> |
| </property> |
| <property name="year" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> |
| <column not-null="false" unique="false" name="`YEAR`"/> |
| </property> |
| <property name="length" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`LENGTH`"/> |
| </property> |
| <list name="availableColors" table="`PREFIX_VEHICLEAUDITING_AVAILABLECOLORSAUDITING`" lazy="true" cascade="all"> |
| <key foreign-key="VEHICLEAUDITING_AVAILABLECOLORS_KEY" update="true"> |
| <column name="`VEHICLEAUDITING_AVAILABLECOLORS_TENEO_AUDIT_ID`" unique="false"/> |
| </key> |
| <list-index column="`VEHICLEAUDITING_AVAILABLECOLORS_IDX`"/> |
| <element type="java.lang.String"/> |
| </list> |
| <property name="owner" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`OWNER`"/> |
| </property> |
| <list name="manufacturedAt" table="`PREFIX_VEHICLEAUDITING_MANUFACTUREDATAUDITING`" lazy="true" cascade="all"> |
| <key foreign-key="VEHICLEAUDITING_MANUFACTUREDAT_KEY" update="true"> |
| <column name="`VEHICLEAUDITING_MANUFACTUREDAT_TENEO_AUDIT_ID`" unique="false"/> |
| </key> |
| <list-index column="`VEHICLEAUDITING_MANUFACTUREDAT_IDX`"/> |
| <element type="java.lang.String"/> |
| </list> |
| <property name="tireSpec" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TIRESPEC`"/> |
| </property> |
| </class> |
| <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="TemporalAuditing" abstract="false" lazy="false" table="`PREFIX_TEMPORALAUDITING`"> |
| <meta attribute="eclassName" inherit="false">TemporalAuditing</meta> |
| <meta attribute="epackage" inherit="false">http:///temporal.ecoreAuditing</meta> |
| <id name="teneo_audit_id" type="long" unsaved-value="0"> |
| <column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/> |
| <generator class="native"/> |
| </id> |
| <version name="teneo_version" type="long"> |
| <column not-null="true" unique="false" name="`TENEO_VERSION`"/> |
| </version> |
| <property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_OBJECT_ID`" unique-key="c0,c1,c2"/> |
| </property> |
| <property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`"/> |
| </property> |
| <property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`TENEO_START`" unique-key="c0"/> |
| </property> |
| <property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/> |
| </property> |
| <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TEMPORALAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true"> |
| <column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/> |
| </many-to-one> |
| <property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false"> |
| <column not-null="true" unique="false" name="`TENEO_AUDIT_KIND`"/> |
| <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> |
| <param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param> |
| <param name="eclassifier">TeneoAuditKind</param> |
| <param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param> |
| </type> |
| </property> |
| <property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_CONTAINER_ID`"/> |
| </property> |
| <property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> |
| <column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_ID`"/> |
| </property> |
| <property name="teneo_container_feature_name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_NAME`"/> |
| </property> |
| <property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`" unique-key="c2"/> |
| </property> |
| <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> |
| </property> |
| <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> |
| </property> |
| <property name="date" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> |
| <column not-null="false" unique="false" name="`DATE`"/> |
| </property> |
| <array name="touchedAttributes" table="`PREFIX_TEMPORALAUDITING_TOUCHEDATTRIBUTESAUDITING`" cascade="all"> |
| <key foreign-key="TEMPORALAUDITING_TOUCHEDATTRIBUTES_KEY" update="true"> |
| <column name="`TEMPORALAUDITING_TOUCHEDATTRIBUTES_TENEO_AUDIT_ID`" unique="false"/> |
| </key> |
| <list-index column="`TEMPORALAUDITING_TOUCHEDATTRIBUTES_IDX`"/> |
| <element type="byte"/> |
| </array> |
| <property name="versionHolder" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`VERSIONHOLDER`"/> |
| </property> |
| <property name="versionHolderContainment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`VERSIONHOLDERCONTAINMENT`"/> |
| </property> |
| </class> |
| <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="PersonAuditing" abstract="false" lazy="false" extends="TemporalAuditing" table="`PREFIX_PERSONAUDITING`"> |
| <meta attribute="eclassName" inherit="false">PersonAuditing</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecoreAuditing</meta> |
| <key> |
| <column name="`TEMPORALAUDITING_TENEO_AUDIT_ID`"/> |
| </key> |
| <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`ID`"/> |
| </property> |
| <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`NAME`"/> |
| </property> |
| <property name="employed" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> |
| <column not-null="false" unique="false" name="`EMPLOYED`"/> |
| </property> |
| <list name="addresses" table="`PREFIX_PERSONAUDITING_ADDRESSESAUDITING`" lazy="true" cascade="all"> |
| <key foreign-key="PERSONAUDITING_ADDRESSES_KEY" update="true"> |
| <column name="`PERSONAUDITING_ADDRESSES_TENEO_AUDIT_ID`" unique="false"/> |
| </key> |
| <list-index column="`PERSONAUDITING_ADDRESSES_IDX`"/> |
| <element type="java.lang.String"/> |
| </list> |
| <list name="ownedVehicles" table="`PREFIX_PERSONAUDITING_OWNEDVEHICLESAUDITING`" lazy="true" cascade="all"> |
| <key foreign-key="PERSONAUDITING_OWNEDVEHICLES_KEY" update="true"> |
| <column name="`PERSONAUDITING_OWNEDVEHICLES_TENEO_AUDIT_ID`" unique="false"/> |
| </key> |
| <list-index column="`PERSONAUDITING_OWNEDVEHICLES_IDX`"/> |
| <element type="java.lang.String"/> |
| </list> |
| <property name="birthAddress" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`BIRTHADDRESS`"/> |
| </property> |
| </joined-subclass> |
| <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="AddressAuditing" abstract="false" lazy="false" extends="TemporalAuditing" table="`PREFIX_ADDRESSAUDITING`"> |
| <meta attribute="eclassName" inherit="false">AddressAuditing</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecoreAuditing</meta> |
| <key> |
| <column name="`TEMPORALAUDITING_TENEO_AUDIT_ID`"/> |
| </key> |
| <property name="streetName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`STREETNAME`"/> |
| </property> |
| <property name="streetNumber" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`STREETNUMBER`"/> |
| </property> |
| <property name="city" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`CITY`"/> |
| </property> |
| <property name="country" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`COUNTRY`"/> |
| </property> |
| </joined-subclass> |
| <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="VehicleInfoAuditing" abstract="false" lazy="false" table="`PREFIX_VEHICLEINFOAUDITING`"> |
| <meta attribute="eclassName" inherit="false">VehicleInfoAuditing</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecoreAuditing</meta> |
| <id name="teneo_audit_id" type="long" unsaved-value="0"> |
| <column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/> |
| <generator class="native"/> |
| </id> |
| <version name="teneo_version" type="long"> |
| <column not-null="true" unique="false" name="`TENEO_VERSION`"/> |
| </version> |
| <property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_OBJECT_ID`" unique-key="c0,c1,c2"/> |
| </property> |
| <property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`"/> |
| </property> |
| <property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`TENEO_START`" unique-key="c0"/> |
| </property> |
| <property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/> |
| </property> |
| <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="VEHICLEINFOAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true"> |
| <column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/> |
| </many-to-one> |
| <property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false"> |
| <column not-null="true" unique="false" name="`TENEO_AUDIT_KIND`"/> |
| <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> |
| <param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param> |
| <param name="eclassifier">TeneoAuditKind</param> |
| <param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param> |
| </type> |
| </property> |
| <property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_CONTAINER_ID`"/> |
| </property> |
| <property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> |
| <column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_ID`"/> |
| </property> |
| <property name="teneo_container_feature_name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_NAME`"/> |
| </property> |
| <property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`" unique-key="c2"/> |
| </property> |
| <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> |
| </property> |
| <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> |
| </property> |
| <property name="acquisitionDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> |
| <column not-null="false" unique="false" name="`ACQUISITIONDATE`"/> |
| </property> |
| <property name="vehicle" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`VEHICLE`"/> |
| </property> |
| </class> |
| <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ManufacturingPlantAuditing" abstract="false" lazy="false" table="`PREFIX_MANUFACTURINGPLANTAUDITING`"> |
| <meta attribute="eclassName" inherit="false">ManufacturingPlantAuditing</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecoreAuditing</meta> |
| <id name="teneo_audit_id" type="long" unsaved-value="0"> |
| <column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/> |
| <generator class="native"/> |
| </id> |
| <version name="teneo_version" type="long"> |
| <column not-null="true" unique="false" name="`TENEO_VERSION`"/> |
| </version> |
| <property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_OBJECT_ID`" unique-key="c0,c1,c2"/> |
| </property> |
| <property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`"/> |
| </property> |
| <property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`TENEO_START`" unique-key="c0"/> |
| </property> |
| <property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/> |
| </property> |
| <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="MANUFACTURINGPLANTAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true"> |
| <column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/> |
| </many-to-one> |
| <property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false"> |
| <column not-null="true" unique="false" name="`TENEO_AUDIT_KIND`"/> |
| <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> |
| <param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param> |
| <param name="eclassifier">TeneoAuditKind</param> |
| <param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param> |
| </type> |
| </property> |
| <property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_CONTAINER_ID`"/> |
| </property> |
| <property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> |
| <column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_ID`"/> |
| </property> |
| <property name="teneo_container_feature_name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_NAME`"/> |
| </property> |
| <property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`" unique-key="c2"/> |
| </property> |
| <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> |
| </property> |
| <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> |
| </property> |
| <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`ID`"/> |
| </property> |
| <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`NAME`"/> |
| </property> |
| <property name="address" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`ADDRESS`"/> |
| </property> |
| <property name="transportFleet" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TRANSPORTFLEET`"/> |
| </property> |
| </class> |
| <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="FleetAuditing" abstract="false" lazy="false" extends="TemporalAuditing" table="`PREFIX_FLEETAUDITING`"> |
| <meta attribute="eclassName" inherit="false">FleetAuditing</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecoreAuditing</meta> |
| <key> |
| <column name="`TEMPORALAUDITING_TENEO_AUDIT_ID`"/> |
| </key> |
| <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`ID`"/> |
| </property> |
| <list name="vehicles" table="`PREFIX_FLEETAUDITING_VEHICLESAUDITING`" lazy="true" cascade="all"> |
| <key foreign-key="FLEETAUDITING_VEHICLES_KEY" update="true"> |
| <column name="`FLEETAUDITING_VEHICLES_TENEO_AUDIT_ID`" unique="false"/> |
| </key> |
| <list-index column="`FLEETAUDITING_VEHICLES_IDX`"/> |
| <element type="java.lang.String"/> |
| </list> |
| <list name="vehicleInformation" table="`PREFIX_FLEETAUDITING_VEHICLEINFORMATIONAUDITING`" lazy="true" cascade="all"> |
| <key foreign-key="FLEETAUDITING_VEHICLEINFORMATION_KEY" update="true"> |
| <column name="`FLEETAUDITING_VEHICLEINFORMATION_TENEO_AUDIT_ID`" unique="false"/> |
| </key> |
| <list-index column="`FLEETAUDITING_VEHICLEINFORMATION_IDX`"/> |
| <element type="java.lang.String"/> |
| </list> |
| <property name="serviceGarage" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`SERVICEGARAGE`"/> |
| </property> |
| </joined-subclass> |
| <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="GarageAuditing" abstract="false" lazy="false" extends="TemporalAuditing" table="`PREFIX_GARAGEAUDITING`"> |
| <meta attribute="eclassName" inherit="false">GarageAuditing</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecoreAuditing</meta> |
| <key> |
| <column name="`TEMPORALAUDITING_TENEO_AUDIT_ID`"/> |
| </key> |
| <list name="vehicles" table="`PREFIX_GARAGEAUDITING_VEHICLESAUDITING`" lazy="true" cascade="all"> |
| <key foreign-key="GARAGEAUDITING_VEHICLES_KEY" update="true"> |
| <column name="`GARAGEAUDITING_VEHICLES_TENEO_AUDIT_ID`" unique="false"/> |
| </key> |
| <list-index column="`GARAGEAUDITING_VEHICLES_IDX`"/> |
| <element type="java.lang.String"/> |
| </list> |
| <property name="customerShuttles" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`CUSTOMERSHUTTLES`"/> |
| </property> |
| <property name="address" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`ADDRESS`"/> |
| </property> |
| <list name="fleetsUsingGarage" table="`PREFIX_GARAGEAUDITING_FLEETSUSINGGARAGEAUDITING`" lazy="true" cascade="all"> |
| <key foreign-key="GARAGEAUDITING_FLEETSUSINGGARAGE_KEY" update="true"> |
| <column name="`GARAGEAUDITING_FLEETSUSINGGARAGE_TENEO_AUDIT_ID`" unique="false"/> |
| </key> |
| <list-index column="`GARAGEAUDITING_FLEETSUSINGGARAGE_IDX`"/> |
| <element type="java.lang.String"/> |
| </list> |
| <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`NAME`"/> |
| </property> |
| </joined-subclass> |
| <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="TireAuditing" abstract="false" lazy="false" table="`PREFIX_TIREAUDITING`"> |
| <meta attribute="eclassName" inherit="false">TireAuditing</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecoreAuditing</meta> |
| <id name="teneo_audit_id" type="long" unsaved-value="0"> |
| <column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/> |
| <generator class="native"/> |
| </id> |
| <version name="teneo_version" type="long"> |
| <column not-null="true" unique="false" name="`TENEO_VERSION`"/> |
| </version> |
| <property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_OBJECT_ID`" unique-key="c0,c1,c2"/> |
| </property> |
| <property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`"/> |
| </property> |
| <property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`TENEO_START`" unique-key="c0"/> |
| </property> |
| <property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/> |
| </property> |
| <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TIREAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true"> |
| <column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/> |
| </many-to-one> |
| <property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false"> |
| <column not-null="true" unique="false" name="`TENEO_AUDIT_KIND`"/> |
| <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> |
| <param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param> |
| <param name="eclassifier">TeneoAuditKind</param> |
| <param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param> |
| </type> |
| </property> |
| <property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_CONTAINER_ID`"/> |
| </property> |
| <property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> |
| <column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_ID`"/> |
| </property> |
| <property name="teneo_container_feature_name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_NAME`"/> |
| </property> |
| <property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`" unique-key="c2"/> |
| </property> |
| <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> |
| </property> |
| <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> |
| </property> |
| <property name="radius" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> |
| <column not-null="false" unique="false" name="`RADIUS`"/> |
| </property> |
| <property name="width" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> |
| <column not-null="false" unique="false" name="`WIDTH`"/> |
| </property> |
| <property name="profile" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> |
| <column not-null="false" unique="false" name="`PROFILE`"/> |
| </property> |
| <property name="make" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`MAKE`"/> |
| </property> |
| <property name="model" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`MODEL`"/> |
| </property> |
| </class> |
| <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="PassengerVehicleAuditing" abstract="false" lazy="false" table="`PREFIX_PASSENGERVEHICLEAUDITING`"> |
| <meta attribute="eclassName" inherit="false">PassengerVehicleAuditing</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecoreAuditing</meta> |
| <id name="teneo_audit_id" type="long" unsaved-value="0"> |
| <column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/> |
| <generator class="native"/> |
| </id> |
| <version name="teneo_version" type="long"> |
| <column not-null="true" unique="false" name="`TENEO_VERSION`"/> |
| </version> |
| <property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_OBJECT_ID`" unique-key="c0,c1,c2"/> |
| </property> |
| <property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`"/> |
| </property> |
| <property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`TENEO_START`" unique-key="c0"/> |
| </property> |
| <property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/> |
| </property> |
| <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PASSENGERVEHICLEAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true"> |
| <column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/> |
| </many-to-one> |
| <property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false"> |
| <column not-null="true" unique="false" name="`TENEO_AUDIT_KIND`"/> |
| <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> |
| <param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param> |
| <param name="eclassifier">TeneoAuditKind</param> |
| <param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param> |
| </type> |
| </property> |
| <property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_CONTAINER_ID`"/> |
| </property> |
| <property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> |
| <column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_ID`"/> |
| </property> |
| <property name="teneo_container_feature_name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_NAME`"/> |
| </property> |
| <property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`" unique-key="c2"/> |
| </property> |
| <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> |
| </property> |
| <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> |
| </property> |
| <property name="passengerName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`PASSENGERNAME`"/> |
| </property> |
| </class> |
| <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="CarAuditing" abstract="false" lazy="false" extends="PassengerVehicleAuditing" table="`PREFIX_CARAUDITING`"> |
| <meta attribute="eclassName" inherit="false">CarAuditing</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecoreAuditing</meta> |
| <key> |
| <column name="`PASSENGERVEHICLEAUDITING_TENEO_AUDIT_ID`"/> |
| </key> |
| <property name="brand" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`BRAND`"/> |
| </property> |
| <property name="model" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`MODEL`"/> |
| </property> |
| <property name="make" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`MAKE`"/> |
| </property> |
| <property name="color" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`COLOR`"/> |
| </property> |
| <property name="plate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`PLATE`"/> |
| </property> |
| <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`ID`"/> |
| </property> |
| <property name="year" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> |
| <column not-null="false" unique="false" name="`YEAR`"/> |
| </property> |
| <property name="length" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`LENGTH`"/> |
| </property> |
| <list name="availableColors" table="`PREFIX_VEHICLEAUDITING_AVAILABLECOLORSAUDITING`" lazy="true" cascade="all"> |
| <key foreign-key="CARAUDITING_AVAILABLECOLORS_KEY" update="true"> |
| <column name="`CARAUDITING_AVAILABLECOLORS_TENEO_AUDIT_ID`" unique="false"/> |
| </key> |
| <list-index column="`CARAUDITING_AVAILABLECOLORS_IDX`"/> |
| <element type="java.lang.String"/> |
| </list> |
| <property name="owner" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`OWNER`"/> |
| </property> |
| <list name="manufacturedAt" table="`PREFIX_VEHICLEAUDITING_MANUFACTUREDATAUDITING`" lazy="true" cascade="all"> |
| <key foreign-key="CARAUDITING_MANUFACTUREDAT_KEY" update="true"> |
| <column name="`CARAUDITING_MANUFACTUREDAT_TENEO_AUDIT_ID`" unique="false"/> |
| </key> |
| <list-index column="`CARAUDITING_MANUFACTUREDAT_IDX`"/> |
| <element type="java.lang.String"/> |
| </list> |
| <property name="tireSpec" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TIRESPEC`"/> |
| </property> |
| <property name="date" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> |
| <column not-null="false" unique="false" name="`DATE`"/> |
| </property> |
| <array name="touchedAttributes" table="`PREFIX_TEMPORALAUDITING_TOUCHEDATTRIBUTESAUDITING`" cascade="all"> |
| <key foreign-key="CARAUDITING_TOUCHEDATTRIBUTES_KEY" update="true"> |
| <column name="`CARAUDITING_TOUCHEDATTRIBUTES_TENEO_AUDIT_ID`" unique="false"/> |
| </key> |
| <list-index column="`CARAUDITING_TOUCHEDATTRIBUTES_IDX`"/> |
| <element type="byte"/> |
| </array> |
| <property name="versionHolder" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`VERSIONHOLDER`"/> |
| </property> |
| <property name="versionHolderContainment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`VERSIONHOLDERCONTAINMENT`"/> |
| </property> |
| <property name="numPassengers" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> |
| <column not-null="false" unique="false" name="`NUMPASSENGERS`"/> |
| </property> |
| <property name="numTires" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> |
| <column not-null="false" unique="false" name="`NUMTIRES`"/> |
| </property> |
| <list name="tires" table="`PREFIX_CARAUDITING_TIRESAUDITING`" lazy="true" cascade="all"> |
| <key foreign-key="CARAUDITING_TIRES_KEY" update="true"> |
| <column name="`CARAUDITING_TIRES_TENEO_AUDIT_ID`" unique="false"/> |
| </key> |
| <list-index column="`CARAUDITING_TIRES_IDX`"/> |
| <element type="java.lang.String"/> |
| </list> |
| </joined-subclass> |
| <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="HybridAuditing" abstract="false" lazy="false" extends="CarAuditing" table="`PREFIX_HYBRIDAUDITING`"> |
| <meta attribute="eclassName" inherit="false">HybridAuditing</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecoreAuditing</meta> |
| <key> |
| <column name="`CARAUDITING_TENEO_AUDIT_ID`"/> |
| </key> |
| <property name="hasRechargePlug" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> |
| <column not-null="false" unique="false" name="`HASRECHARGEPLUG`"/> |
| </property> |
| <property name="batteryLife" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> |
| <column not-null="false" unique="false" name="`BATTERYLIFE`"/> |
| </property> |
| </joined-subclass> |
| <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="EngineFactoryAuditing" abstract="false" lazy="false" extends="ManufacturingPlantAuditing" table="`PREFIX_ENGINEFACTORYAUDITING`"> |
| <meta attribute="eclassName" inherit="false">EngineFactoryAuditing</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecoreAuditing</meta> |
| <key> |
| <column name="`MANUFACTURINGPLANTAUDITING_TENEO_AUDIT_ID`"/> |
| </key> |
| <property name="makesDieselEngines" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> |
| <column not-null="false" unique="false" name="`MAKESDIESELENGINES`"/> |
| </property> |
| <list name="brands" table="`PREFIX_ENGINEFACTORYAUDITING_BRANDSAUDITING`" lazy="true" cascade="all"> |
| <key foreign-key="ENGINEFACTORYAUDITING_BRANDS_KEY" update="true"> |
| <column name="`ENGINEFACTORYAUDITING_BRANDS_TENEO_AUDIT_ID`" unique="false"/> |
| </key> |
| <list-index column="`ENGINEFACTORYAUDITING_BRANDS_IDX`"/> |
| <element type="java.lang.String"/> |
| </list> |
| </joined-subclass> |
| <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="USAddressAuditing" abstract="false" lazy="false" extends="AddressAuditing" table="`PREFIX_USADDRESSAUDITING`"> |
| <meta attribute="eclassName" inherit="false">USAddressAuditing</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecoreAuditing</meta> |
| <key> |
| <column name="`ADDRESSAUDITING_TENEO_AUDIT_ID`"/> |
| </key> |
| <property name="zipCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`ZIPCODE`"/> |
| </property> |
| <property name="state" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`STATE`"/> |
| </property> |
| </joined-subclass> |
| <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="VinAuditing" abstract="false" lazy="false" table="`PREFIX_VINAUDITING`"> |
| <meta attribute="eclassName" inherit="false">VinAuditing</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecoreAuditing</meta> |
| <id name="teneo_audit_id" type="long" unsaved-value="0"> |
| <column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/> |
| <generator class="native"/> |
| </id> |
| <version name="teneo_version" type="long"> |
| <column not-null="true" unique="false" name="`TENEO_VERSION`"/> |
| </version> |
| <property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_OBJECT_ID`" unique-key="c0,c1,c2"/> |
| </property> |
| <property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`"/> |
| </property> |
| <property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`TENEO_START`" unique-key="c0"/> |
| </property> |
| <property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/> |
| </property> |
| <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="VINAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true"> |
| <column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/> |
| </many-to-one> |
| <property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false"> |
| <column not-null="true" unique="false" name="`TENEO_AUDIT_KIND`"/> |
| <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> |
| <param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param> |
| <param name="eclassifier">TeneoAuditKind</param> |
| <param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param> |
| </type> |
| </property> |
| <property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_CONTAINER_ID`"/> |
| </property> |
| <property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> |
| <column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_ID`"/> |
| </property> |
| <property name="teneo_container_feature_name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_NAME`"/> |
| </property> |
| <property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`" unique-key="c2"/> |
| </property> |
| <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> |
| </property> |
| <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> |
| </property> |
| <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`ID`"/> |
| </property> |
| <property name="installationDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> |
| <column not-null="false" unique="false" name="`INSTALLATIONDATE`"/> |
| </property> |
| <property name="vehicle" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`VEHICLE`"/> |
| </property> |
| </class> |
| <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="TransportationDeviceAuditing" abstract="false" lazy="false" table="`PREFIX_TRANSPORTATIONDEVICEAUDITING`"> |
| <meta attribute="eclassName" inherit="false">TransportationDeviceAuditing</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecoreAuditing</meta> |
| <id name="teneo_audit_id" type="long" unsaved-value="0"> |
| <column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/> |
| <generator class="native"/> |
| </id> |
| <version name="teneo_version" type="long"> |
| <column not-null="true" unique="false" name="`TENEO_VERSION`"/> |
| </version> |
| <property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_OBJECT_ID`" unique-key="c0,c1,c2"/> |
| </property> |
| <property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`"/> |
| </property> |
| <property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`TENEO_START`" unique-key="c0"/> |
| </property> |
| <property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/> |
| </property> |
| <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TRANSPORTATIONDEVICEAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true"> |
| <column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/> |
| </many-to-one> |
| <property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false"> |
| <column not-null="true" unique="false" name="`TENEO_AUDIT_KIND`"/> |
| <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> |
| <param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param> |
| <param name="eclassifier">TeneoAuditKind</param> |
| <param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param> |
| </type> |
| </property> |
| <property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_CONTAINER_ID`"/> |
| </property> |
| <property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> |
| <column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_ID`"/> |
| </property> |
| <property name="teneo_container_feature_name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_NAME`"/> |
| </property> |
| <property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`" unique-key="c2"/> |
| </property> |
| <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> |
| </property> |
| <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> |
| </property> |
| <property name="manufacturedBy" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`MANUFACTUREDBY`"/> |
| </property> |
| <property name="year" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> |
| <column not-null="false" unique="false" name="`YEAR`"/> |
| </property> |
| </class> |
| <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="VersionHolderAuditing" abstract="false" lazy="false" table="`PREFIX_VERSIONHOLDERAUDITING`"> |
| <meta attribute="eclassName" inherit="false">VersionHolderAuditing</meta> |
| <meta attribute="epackage" inherit="false">http:///temporal.ecoreAuditing</meta> |
| <id name="teneo_audit_id" type="long" unsaved-value="0"> |
| <column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/> |
| <generator class="native"/> |
| </id> |
| <version name="teneo_version" type="long"> |
| <column not-null="true" unique="false" name="`TENEO_VERSION`"/> |
| </version> |
| <property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_OBJECT_ID`" unique-key="c0,c1,c2"/> |
| </property> |
| <property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`"/> |
| </property> |
| <property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`TENEO_START`" unique-key="c0"/> |
| </property> |
| <property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/> |
| </property> |
| <many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="VERSIONHOLDERAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true"> |
| <column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/> |
| </many-to-one> |
| <property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false"> |
| <column not-null="true" unique="false" name="`TENEO_AUDIT_KIND`"/> |
| <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> |
| <param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param> |
| <param name="eclassifier">TeneoAuditKind</param> |
| <param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param> |
| </type> |
| </property> |
| <property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_CONTAINER_ID`"/> |
| </property> |
| <property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> |
| <column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_ID`"/> |
| </property> |
| <property name="teneo_container_feature_name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_NAME`"/> |
| </property> |
| <property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`" unique-key="c2"/> |
| </property> |
| <property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/> |
| </property> |
| <property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/> |
| </property> |
| <list name="versions" table="`PREFIX_VERSIONHOLDERAUDITING_VERSIONSAUDITING`" lazy="true" cascade="all"> |
| <key foreign-key="VERSIONHOLDERAUDITING_VERSIONS_KEY" update="true"> |
| <column name="`VERSIONHOLDERAUDITING_VERSIONS_TENEO_AUDIT_ID`" unique="false"/> |
| </key> |
| <list-index column="`VERSIONHOLDERAUDITING_VERSIONS_IDX`"/> |
| <element type="java.lang.String"/> |
| </list> |
| <property name="indexOfContinuity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> |
| <column not-null="false" unique="false" name="`INDEXOFCONTINUITY`"/> |
| </property> |
| </class> |
| </hibernate-mapping> |