1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd" >
5 - @author Daniel Brunier-Coulin
6 - @copyright OPEN CASCADE 2012
11 <typedef name="ProgressState" class="org.splat.dal.bo.kernel.GenericEnumType">
12 <param name="enumClassName">org.splat.dal.bo.som.ProgressState</param>
15 <typedef name="Visibility" class="org.splat.dal.bo.kernel.GenericEnumType">
16 <param name="enumClassName">org.splat.dal.bo.som.Visibility</param>
19 <union-subclass name="org.splat.dal.bo.som.Study" extends="org.splat.dal.bo.som.ProjectElement" table="study" lazy="false">
22 <property name="sid" column="sid" access="field" not-null="true" />
25 <property name="docount" column="docount" access="field" not-null="true" />
27 <!-- ProgressState state -->
28 <property name="state" type="ProgressState" column="state" access="field" not-null="true" />
30 <!-- Visibility visibility -->
31 <property name="visibility" type="Visibility" column="area" access="field" not-null="true" />
33 <!-- List<Scenario> scenarii -->
34 <list name="scenarii" lazy="false" cascade="delete-orphan" access="field">
35 <key column="owner" not-null="true" />
36 <list-index column="scendex"/>
37 <one-to-many class="org.splat.dal.bo.som.Scenario" />
40 <!-- String version -->
41 <property name="version" column="version" access="field" not-null="true" />
44 <property name="history" column="history" access="field" not-null="true" />