blob: c430208976893954ebefcdec1743b5a049f3f7a4 [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">
<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" inherit="false">ActType</meta>
<meta attribute="epackage" inherit="false">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" 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="scene" lazy="true" cascade="all,delete-orphan">
<key update="true" foreign-key="acttype_scene">
<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" inherit="false">FmType</meta>
<meta attribute="epackage" inherit="false">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" 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="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" inherit="false">PersonaeType</meta>
<meta attribute="epackage" inherit="false">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" 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="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" inherit="false">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" inherit="false">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="`group_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="`group_persona`"/>
</property>
<many-to-one name="personaGroup" entity-name="PersonaGroupType" lazy="false" cascade="all" foreign-key="personaetype_personagroup" insert="true" update="true" not-null="false">
<column not-null="false" unique="false" name="`group_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" inherit="false">PersonaGroupType</meta>
<meta attribute="epackage" inherit="false">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" 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="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" inherit="false">PlayType</meta>
<meta attribute="epackage" inherit="false">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" 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="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" lazy="false" cascade="all" foreign-key="playtype_fm" insert="true" update="true" not-null="true" unique="true">
<column not-null="true" unique="false" name="`fmtype_fm_e_id`"/>
</many-to-one>
<many-to-one name="personae" entity-name="PersonaeType" lazy="false" cascade="all" foreign-key="playtype_personae" insert="true" update="true" not-null="true" unique="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" foreign-key="playtype_act">
<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" inherit="false">SceneType</meta>
<meta attribute="epackage" inherit="false">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" 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="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" inherit="false">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" inherit="false">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="`group_stagedirections`"/>
</property>
<many-to-one name="speech" entity-name="SpeechType" lazy="false" cascade="all" foreign-key="scenetype_speech" insert="true" update="true" not-null="false">
<column not-null="false" unique="false" name="`group_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" inherit="false">SpeechType</meta>
<meta attribute="epackage" inherit="false">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" 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="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" inherit="false">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" inherit="false">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="`group_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="`group_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="`group_stagedirections`"/>
</property>
</class>
</hibernate-mapping>