blob: ee67e899e02c620d28f0a6cae0821f4f99c51a13 [file] [log] [blame]
<?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">
<!-- Generated by Teneo on Wed Jul 18 16:46:39 CEST 2007 -->
<hibernate-mapping auto-import="false">
<class name="org.eclipse.emf.teneo.samples.emf.sample.play.impl.ActTypeImpl" entity-name="ActType" abstract="false" lazy="false" table="`acttype`">
<meta attribute="eclassName">ActType</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/play</meta>
<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
<meta attribute="syntheticId">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">true</meta>
</version>
<list name="scene" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`acttype_scene_e_id`" not-null="false" unique="false"/>
</key>
<list-index column="`acttype_scene_idx`"/>
<one-to-many entity-name="SceneType"/>
</list>
<property name="pindex" lazy="false" insert="true" update="true" not-null="false" unique="false" type="byte">
<column not-null="false" unique="false" name="`pindex`"/>
</property>
<property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`title`"/>
</property>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.sample.play.impl.FmTypeImpl" entity-name="FmType" abstract="false" lazy="false" table="`fmtype`">
<meta attribute="eclassName">FmType</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/play</meta>
<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
<meta attribute="syntheticId">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">true</meta>
</version>
<list name="p" table="`fmtype_p`" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`fmtype_p_e_id`" not-null="true" unique="false"/>
</key>
<list-index column="`fmtype_p_idx`"/>
<element type="java.lang.String"/>
</list>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.sample.play.impl.PersonaeTypeImpl" entity-name="PersonaeType" abstract="false" lazy="false" table="`personaetype`">
<meta attribute="eclassName">PersonaeType</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/play</meta>
<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
<meta attribute="syntheticId">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">true</meta>
</version>
<list name="group" table="`personaetype_group`" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`personaetype_group_e_id`" not-null="false" unique="false"/>
</key>
<list-index column="`personaetype_group_idx`"/>
<one-to-many entity-name="PersonaeType_group"/>
</list>
</class>
<class entity-name="PersonaeType_group" lazy="false" table="`personaetype_group`">
<meta attribute="featureMap">PersonaeType</meta>
<id type="long">
<generator class="native"/>
</id>
<version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
<property name="fme_feature" type="java.lang.String"/>
<property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`title`"/>
</property>
<property name="persona" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`persona`"/>
</property>
<many-to-one name="personaGroup" entity-name="PersonaGroupType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
<column not-null="false" unique="false" name="`personagrouptype_personagroup_e_id`"/>
</many-to-one>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.sample.play.impl.PersonaGroupTypeImpl" entity-name="PersonaGroupType" abstract="false" lazy="false" table="`personagrouptype`">
<meta attribute="eclassName">PersonaGroupType</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/play</meta>
<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
<meta attribute="syntheticId">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">true</meta>
</version>
<list name="persona" table="`personagrouptype_persona`" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`personagrouptype_persona_e_id`" not-null="true" unique="false"/>
</key>
<list-index column="`personagrouptype_persona_idx`"/>
<element type="java.lang.String"/>
</list>
<property name="groupDescription" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`groupdescription`"/>
</property>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.sample.play.impl.PlayTypeImpl" entity-name="PlayType" abstract="false" lazy="false" table="`playtype`">
<meta attribute="eclassName">PlayType</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/play</meta>
<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
<meta attribute="syntheticId">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">true</meta>
</version>
<property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`title`"/>
</property>
<many-to-one name="fm" entity-name="FmType" cascade="all" lazy="false" insert="true" update="true" not-null="true">
<column not-null="true" unique="false" name="`fmtype_fm_e_id`"/>
</many-to-one>
<many-to-one name="personae" entity-name="PersonaeType" cascade="all" lazy="false" insert="true" update="true" not-null="true">
<column not-null="true" unique="false" name="`personaetype_personae_e_id`"/>
</many-to-one>
<property name="sceneDescription" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`scenedescription`"/>
</property>
<property name="playSubTitle" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`playsubtitle`"/>
</property>
<list name="act" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`playtype_act_e_id`" not-null="false" unique="false"/>
</key>
<list-index column="`playtype_act_idx`"/>
<one-to-many entity-name="ActType"/>
</list>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.sample.play.impl.SceneTypeImpl" entity-name="SceneType" abstract="false" lazy="false" table="`scenetype`">
<meta attribute="eclassName">SceneType</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/play</meta>
<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
<meta attribute="syntheticId">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">true</meta>
</version>
<list name="group" table="`scenetype_group`" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`scenetype_group_e_id`" not-null="false" unique="false"/>
</key>
<list-index column="`scenetype_group_idx`"/>
<one-to-many entity-name="SceneType_group"/>
</list>
<property name="pindex" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`pindex`"/>
</property>
<property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`title`"/>
</property>
</class>
<class entity-name="SceneType_group" lazy="false" table="`scenetype_group`">
<meta attribute="featureMap">SceneType</meta>
<id type="long">
<generator class="native"/>
</id>
<version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
<property name="fme_feature" type="java.lang.String"/>
<property name="stageDirections" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`stagedirections`"/>
</property>
<many-to-one name="speech" entity-name="SpeechType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
<column not-null="false" unique="false" name="`speechtype_speech_e_id`"/>
</many-to-one>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.sample.play.impl.SpeechTypeImpl" entity-name="SpeechType" abstract="false" lazy="false" table="`speechtype`">
<meta attribute="eclassName">SpeechType</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/play</meta>
<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
<meta attribute="syntheticId">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">true</meta>
</version>
<list name="group" table="`speechtype_group`" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`speechtype_group_e_id`" not-null="false" unique="false"/>
</key>
<list-index column="`speechtype_group_idx`"/>
<one-to-many entity-name="SpeechType_group"/>
</list>
</class>
<class entity-name="SpeechType_group" lazy="false" table="`speechtype_group`">
<meta attribute="featureMap">SpeechType</meta>
<id type="long">
<generator class="native"/>
</id>
<version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
<property name="fme_feature" type="java.lang.String"/>
<property name="speaker" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`speaker`"/>
</property>
<property name="line" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`line`"/>
</property>
<property name="stageDirections" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`stagedirections`"/>
</property>
</class>
</hibernate-mapping>