| <?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"> |
| <class entity-name="Vehicle" abstract="false" lazy="false" table="`VEHICLE`"> |
| <meta attribute="eclassName" inherit="false">Vehicle</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecore</meta> |
| <id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler"> |
| <meta attribute="syntheticId" inherit="false">true</meta> |
| <generator class="native"/> |
| </id> |
| <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> |
| <meta attribute="syntheticVersion" inherit="false">true</meta> |
| </version> |
| <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="`VEHICLE_AVAILABLECOLORS`" lazy="true" cascade="all"> |
| <key foreign-key="VEHICLE_AVAILABLECOLORS_KEY" update="true"> |
| <column name="`VEHICLE_AVAILABLECOLORS_E_ID`" unique="false"/> |
| </key> |
| <list-index column="`VEHICLE_AVAILABLECOLORS_IDX`"/> |
| <element type="java.lang.String"/> |
| </list> |
| <many-to-one name="owner" entity-name="Person" lazy="false" cascade="all" foreign-key="VEHICLE_OWNER" insert="true" update="true" not-null="false"> |
| <column not-null="false" unique="false" name="`PERSON_OWNER_E_ID`"/> |
| </many-to-one> |
| <list name="manufacturedAt" lazy="true" cascade="persist,merge,refresh,save-update,lock"> |
| <key foreign-key="VEHICLE_MANUFACTUREDAT_KEY" update="true"> |
| <column name="`VEHICLE_MANUFACTUREDAT_E_ID`" unique="false"/> |
| </key> |
| <list-index column="`VEHICLE_MANUFACTUREDAT_IDX`"/> |
| <one-to-many entity-name="ManufacturingPlant"/> |
| </list> |
| <many-to-one name="tireSpec" entity-name="Tire" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="VEHICLE_TIRESPEC" insert="true" update="true" not-null="false"> |
| <column not-null="false" unique="false" name="`TIRE_TIRESPEC_E_ID`"/> |
| </many-to-one> |
| </class> |
| <class entity-name="Temporal" abstract="false" lazy="false" table="`TEMPORAL`"> |
| <meta attribute="eclassName" inherit="false">Temporal</meta> |
| <meta attribute="epackage" inherit="false">http:///temporal.ecore</meta> |
| <id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler"> |
| <meta attribute="syntheticId" inherit="false">true</meta> |
| <generator class="native"/> |
| </id> |
| <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> |
| <meta attribute="syntheticVersion" inherit="false">true</meta> |
| </version> |
| <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="`TEMPORAL_TOUCHEDATTRIBUTES`" cascade="all"> |
| <key foreign-key="TEMPORAL_TOUCHEDATTRIBUTES_KEY" update="true"> |
| <column name="`TEMPORAL_TOUCHEDATTRIBUTES_E_ID`" unique="false"/> |
| </key> |
| <list-index column="`TEMPORAL_TOUCHEDATTRIBUTES_IDX`"/> |
| <element type="byte"/> |
| </array> |
| <property name="continuity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> |
| <column not-null="false" unique="false" name="`CONTINUITY`"/> |
| </property> |
| <many-to-one name="versionHolder" entity-name="VersionHolder" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TEMPORAL_VERSIONHOLDER" insert="false" update="false" not-null="false"> |
| <column not-null="false" unique="false" name="`TEMPORAL_VERSIONHOLDER_E_ID`"/> |
| </many-to-one> |
| <many-to-one name="versionHolderContainment" entity-name="VersionHolder" lazy="false" cascade="all" foreign-key="TEMPORAL_VERSIONHOLDERCONTAINMENT" insert="true" update="true" not-null="false"> |
| <column not-null="false" unique="false" name="`VERSIONHOLDER_VERSIONHOLDERCONTAINMENT_E_ID`"/> |
| </many-to-one> |
| </class> |
| <joined-subclass entity-name="Person" abstract="false" lazy="false" extends="Temporal" table="`PERSON`"> |
| <meta attribute="eclassName" inherit="false">Person</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecore</meta> |
| <key> |
| <column name="`TEMPORAL_E_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" lazy="true" cascade="all,delete-orphan"> |
| <key foreign-key="PERSON_ADDRESSES_KEY" update="true"> |
| <column name="`PERSON_ADDRESSES_E_ID`" unique="false"/> |
| </key> |
| <list-index column="`PERSON_ADDRESSES_IDX`"/> |
| <one-to-many entity-name="Address"/> |
| </list> |
| <list name="ownedVehicles" lazy="true" cascade="persist,merge,refresh,save-update,lock"> |
| <key foreign-key="PERSON_OWNEDVEHICLES_KEY" update="true"> |
| <column name="`PERSON_OWNEDVEHICLES_E_ID`" unique="false"/> |
| </key> |
| <list-index column="`PERSON_OWNEDVEHICLES_IDX`"/> |
| <one-to-many entity-name="VehicleInfo"/> |
| </list> |
| <many-to-one name="birthAddress" entity-name="Address" lazy="false" cascade="all" foreign-key="PERSON_BIRTHADDRESS" insert="true" update="true" not-null="false"> |
| <column not-null="false" unique="false" name="`ADDRESS_BIRTHADDRESS_E_ID`"/> |
| </many-to-one> |
| </joined-subclass> |
| <joined-subclass entity-name="Address" abstract="false" lazy="false" extends="Temporal" table="`ADDRESS`"> |
| <meta attribute="eclassName" inherit="false">Address</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecore</meta> |
| <key> |
| <column name="`TEMPORAL_E_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 entity-name="VehicleInfo" abstract="false" lazy="false" table="`VEHICLEINFO`"> |
| <meta attribute="eclassName" inherit="false">VehicleInfo</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecore</meta> |
| <id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler"> |
| <meta attribute="syntheticId" inherit="false">true</meta> |
| <generator class="native"/> |
| </id> |
| <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> |
| <meta attribute="syntheticVersion" inherit="false">true</meta> |
| </version> |
| <property name="acquisitionDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp"> |
| <column not-null="true" unique="false" name="`ACQUISITIONDATE`"/> |
| </property> |
| <many-to-one name="vehicle" entity-name="Vehicle" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="VEHICLEINFO_VEHICLE" insert="true" update="true" not-null="true"> |
| <column not-null="true" unique="false" name="`VEHICLE_VEHICLE_E_ID`"/> |
| </many-to-one> |
| </class> |
| <class entity-name="ManufacturingPlant" abstract="false" lazy="false" table="`MANUFACTURINGPLANT`"> |
| <meta attribute="eclassName" inherit="false">ManufacturingPlant</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecore</meta> |
| <id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler"> |
| <meta attribute="syntheticId" inherit="false">true</meta> |
| <generator class="native"/> |
| </id> |
| <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> |
| <meta attribute="syntheticVersion" inherit="false">true</meta> |
| </version> |
| <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> |
| <many-to-one name="address" entity-name="Address" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="MANUFACTURINGPLANT_ADDRESS" insert="true" update="true" not-null="false"> |
| <column not-null="false" unique="false" name="`ADDRESS_ADDRESS_E_ID`"/> |
| </many-to-one> |
| <many-to-one name="transportFleet" entity-name="Fleet" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="MANUFACTURINGPLANT_TRANSPORTFLEET" insert="true" update="true" not-null="false"> |
| <column not-null="false" unique="false" name="`FLEET_TRANSPORTFLEET_E_ID`"/> |
| </many-to-one> |
| </class> |
| <joined-subclass entity-name="Fleet" abstract="false" lazy="false" extends="Temporal" table="`FLEET`"> |
| <meta attribute="eclassName" inherit="false">Fleet</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecore</meta> |
| <key> |
| <column name="`TEMPORAL_E_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" lazy="true" cascade="persist,merge,refresh,save-update,lock"> |
| <key foreign-key="FLEET_VEHICLES_KEY" update="true"> |
| <column name="`FLEET_VEHICLES_E_ID`" unique="false"/> |
| </key> |
| <list-index column="`FLEET_VEHICLES_IDX`"/> |
| <one-to-many entity-name="Vehicle"/> |
| </list> |
| <list name="vehicleInformation" lazy="true" cascade="all,delete-orphan"> |
| <key foreign-key="FLEET_VEHICLEINFORMATION_KEY" update="true"> |
| <column name="`FLEET_VEHICLEINFORMATION_E_ID`" unique="false"/> |
| </key> |
| <list-index column="`FLEET_VEHICLEINFORMATION_IDX`"/> |
| <one-to-many entity-name="VehicleInfo"/> |
| </list> |
| <many-to-one name="serviceGarage" entity-name="Garage" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="FLEET_SERVICEGARAGE" insert="false" update="false" not-null="false"> |
| <column not-null="false" unique="false" name="`FLEET_SERVICEGARAGE_E_ID`"/> |
| </many-to-one> |
| </joined-subclass> |
| <joined-subclass entity-name="Garage" abstract="false" lazy="false" extends="Temporal" table="`GARAGE`"> |
| <meta attribute="eclassName" inherit="false">Garage</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecore</meta> |
| <key> |
| <column name="`TEMPORAL_E_ID`"/> |
| </key> |
| <list name="vehicles" lazy="true" cascade="persist,merge,refresh,save-update,lock"> |
| <key foreign-key="GARAGE_VEHICLES_KEY" update="true"> |
| <column name="`GARAGE_VEHICLES_E_ID`" unique="false"/> |
| </key> |
| <list-index column="`GARAGE_VEHICLES_IDX`"/> |
| <one-to-many entity-name="Vehicle"/> |
| </list> |
| <many-to-one name="customerShuttles" entity-name="Fleet" lazy="false" cascade="all" foreign-key="GARAGE_CUSTOMERSHUTTLES" insert="true" update="true" not-null="false"> |
| <column not-null="false" unique="false" name="`FLEET_CUSTOMERSHUTTLES_E_ID`"/> |
| </many-to-one> |
| <many-to-one name="address" entity-name="Address" lazy="false" cascade="all" foreign-key="GARAGE_ADDRESS" insert="true" update="true" not-null="false"> |
| <column not-null="false" unique="false" name="`ADDRESS_ADDRESS_E_ID`"/> |
| </many-to-one> |
| <list name="fleetsUsingGarage" lazy="true" cascade="persist,merge,refresh,save-update,lock"> |
| <key update="true"> |
| <column name="`FLEET_SERVICEGARAGE_E_ID`" unique="false"/> |
| </key> |
| <list-index column="`GARAGE_FLEETSUSINGGARAGE_IDX`"/> |
| <one-to-many entity-name="Fleet"/> |
| </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 entity-name="Tire" abstract="false" lazy="false" table="`TIRE`"> |
| <meta attribute="eclassName" inherit="false">Tire</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecore</meta> |
| <id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler"> |
| <meta attribute="syntheticId" inherit="false">true</meta> |
| <generator class="native"/> |
| </id> |
| <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> |
| <meta attribute="syntheticVersion" inherit="false">true</meta> |
| </version> |
| <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> |
| <joined-subclass entity-name="Car" abstract="false" lazy="false" extends="Vehicle" table="`CAR`"> |
| <meta attribute="eclassName" inherit="false">Car</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecore</meta> |
| <key> |
| <column name="`PASSENGERVEHICLE_E_ID`"/> |
| </key> |
| <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> |
| <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="`CAR_TOUCHEDATTRIBUTES`" cascade="all"> |
| <key foreign-key="CAR_TOUCHEDATTRIBUTES_KEY" update="true"> |
| <column name="`CAR_TOUCHEDATTRIBUTES_E_ID`" unique="false"/> |
| </key> |
| <list-index column="`CAR_TOUCHEDATTRIBUTES_IDX`"/> |
| <element type="byte"/> |
| </array> |
| <property name="continuity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> |
| <column not-null="false" unique="false" name="`CONTINUITY`"/> |
| </property> |
| <many-to-one name="versionHolder" entity-name="VersionHolder" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="CAR_VERSIONHOLDER" insert="false" update="false" not-null="false"> |
| <column not-null="false" unique="false" name="`CAR_VERSIONHOLDER_E_ID`"/> |
| </many-to-one> |
| <many-to-one name="versionHolderContainment" entity-name="VersionHolder" lazy="false" cascade="all" foreign-key="CAR_VERSIONHOLDERCONTAINMENT" insert="true" update="true" not-null="false"> |
| <column not-null="false" unique="false" name="`VERSIONHOLDER_VERSIONHOLDERCONTAINMENT_E_ID`"/> |
| </many-to-one> |
| <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" lazy="true" cascade="all,delete-orphan"> |
| <key foreign-key="CAR_TIRES_KEY" update="true"> |
| <column name="`CAR_TIRES_E_ID`" unique="false"/> |
| </key> |
| <list-index column="`CAR_TIRES_IDX`"/> |
| <one-to-many entity-name="Tire"/> |
| </list> |
| </joined-subclass> |
| <joined-subclass entity-name="Hybrid" abstract="false" lazy="false" extends="Car" table="`HYBRID`"> |
| <meta attribute="eclassName" inherit="false">Hybrid</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecore</meta> |
| <key> |
| <column name="`CAR_E_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> |
| <class name="fleet.PassengerVehicle" entity-name="PassengerVehicle" abstract="true" lazy="false" table="`PASSENGERVEHICLE`"> |
| <meta attribute="eclassName" inherit="false">PassengerVehicle</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecore</meta> |
| <id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler"> |
| <meta attribute="syntheticId" inherit="false">true</meta> |
| <generator class="native"/> |
| </id> |
| <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> |
| <meta attribute="syntheticVersion" inherit="false">true</meta> |
| </version> |
| <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 entity-name="EngineFactory" abstract="false" lazy="false" extends="ManufacturingPlant" table="`ENGINEFACTORY`"> |
| <meta attribute="eclassName" inherit="false">EngineFactory</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecore</meta> |
| <key> |
| <column name="`MANUFACTURINGPLANT_E_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="`ENGINEFACTORY_BRANDS`" lazy="true" cascade="all"> |
| <key foreign-key="ENGINEFACTORY_BRANDS_KEY" update="true"> |
| <column name="`ENGINEFACTORY_BRANDS_E_ID`" unique="false"/> |
| </key> |
| <list-index column="`ENGINEFACTORY_BRANDS_IDX`"/> |
| <element type="java.lang.String"/> |
| </list> |
| </joined-subclass> |
| <joined-subclass entity-name="USAddress" abstract="false" lazy="false" extends="Address" table="`USADDRESS`"> |
| <meta attribute="eclassName" inherit="false">USAddress</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecore</meta> |
| <key> |
| <column name="`ADDRESS_E_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 entity-name="Vin" abstract="false" lazy="false" table="`VIN`"> |
| <meta attribute="eclassName" inherit="false">Vin</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecore</meta> |
| <id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler"> |
| <meta attribute="syntheticId" inherit="false">true</meta> |
| <generator class="native"/> |
| </id> |
| <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> |
| <meta attribute="syntheticVersion" inherit="false">true</meta> |
| </version> |
| <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> |
| <many-to-one name="vehicle" entity-name="Vehicle" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="VIN_VEHICLE" insert="true" update="true" not-null="true"> |
| <column not-null="true" unique="false" name="`VEHICLE_VEHICLE_E_ID`"/> |
| </many-to-one> |
| </class> |
| <class entity-name="TransportationDevice" abstract="false" lazy="false" table="`TRANSPORTATIONDEVICE`"> |
| <meta attribute="eclassName" inherit="false">TransportationDevice</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecore</meta> |
| <id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler"> |
| <meta attribute="syntheticId" inherit="false">true</meta> |
| <generator class="native"/> |
| </id> |
| <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> |
| <meta attribute="syntheticVersion" inherit="false">true</meta> |
| </version> |
| <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 entity-name="VersionHolder" abstract="false" lazy="false" table="`VERSIONHOLDER`"> |
| <meta attribute="eclassName" inherit="false">VersionHolder</meta> |
| <meta attribute="epackage" inherit="false">http:///temporal.ecore</meta> |
| <id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler"> |
| <meta attribute="syntheticId" inherit="false">true</meta> |
| <generator class="native"/> |
| </id> |
| <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> |
| <meta attribute="syntheticVersion" inherit="false">true</meta> |
| </version> |
| <list name="versions" lazy="true" cascade="persist,merge,refresh,save-update,lock"> |
| <key update="true"> |
| <column name="`TEMPORAL_VERSIONHOLDER_E_ID`" unique="false"/> |
| </key> |
| <list-index column="`VERSIONHOLDER_VERSIONS_IDX`"/> |
| <one-to-many entity-name="Temporal"/> |
| </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> |
| <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditCommitInfoImpl" entity-name="TeneoAuditCommitInfo" abstract="false" lazy="false" table="`TENEOAUDITCOMMITINFO`"> |
| <meta attribute="eclassName" inherit="false">TeneoAuditCommitInfo</meta> |
| <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/hibernate/auditing</meta> |
| <id name="id" type="long" unsaved-value="0"> |
| <column not-null="true" unique="false" name="`ID`"/> |
| <generator class="native"/> |
| </id> |
| <version name="version" type="long"> |
| <column not-null="true" unique="false" name="`VERSION`"/> |
| </version> |
| <property name="user" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`USER`"/> |
| </property> |
| <property name="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`COMMENT`" length="2000"/> |
| </property> |
| <property name="commitTime" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`COMMITTIME`"/> |
| </property> |
| </class> |
| <class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="VehicleAuditing" abstract="false" lazy="false" table="`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="`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="`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="`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="`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="`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="`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="`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="`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="`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="`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="`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="`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="`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="`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="`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="`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="`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="`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="`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="`CARAUDITING_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="`CARAUDITING_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="`CARAUDITING_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="`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="`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="`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="`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="`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="`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="`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="`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="`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> |