Salome HOME
Siman codebase is refactored. Spring beans are introduced in the context.
[tools/siman.git] / Workspace / Siman-Common / src / org / splat / dal / bo / som / ValidationCycle.hbm.xml
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" >
3 <!--
4   -
5   - @author    Daniel Brunier-Coulin
6   - @copyright OPEN CASCADE 2012
7   -->
8
9 <hibernate-mapping>
10
11   <union-subclass name="org.splat.dal.bo.som.ValidationCycle" extends="org.splat.dal.bo.kernel.Persistent" table="cycle" lazy="false">
12   
13 <!-- Properties inherited Persistent
14   -->
15  <!--    <id name="rid" column="rid" access="field">
16       <generator class="native"/>
17     </id>-->
18
19 <!-- ValidationCycle properties
20   -->
21     <!-- ValidationCycleRelation  context -->    
22     <one-to-one   name="context" property-ref="refer" access="field" />
23     
24     <!-- DocumentType   mytype      -->    
25     <many-to-one  name="mytype"    column="type"    access="field" not-null="true" />
26
27     <!-- User           publisher -->    
28     <many-to-one  name="publisher" column="publisher" access="field" />
29
30     <!-- User           reviewer  -->    
31     <many-to-one  name="reviewer"  column="reviewer"  access="field" />
32
33     <!-- User           approver  -->    
34     <many-to-one  name="approver"  column="approver"  access="field" />
35
36     <!-- User           signatory -->    
37     <many-to-one  name="signatory" column="signatory" access="field" />
38
39   </union-subclass>
40 </hibernate-mapping>