Salome HOME
Copyrights update 2015.
[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-2015
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 <!-- ValidationCycle properties
14   -->
15     <!-- ValidationCycleRelation  context -->    
16     <one-to-one   name="context" property-ref="refer" access="field" />
17     
18     <!-- DocumentType   mytype      -->    
19     <many-to-one  name="mytype"    column="type"    access="field" not-null="true" />
20
21     <!-- User           publisher -->    
22     <many-to-one  name="publisher" column="publisher" access="field" />
23
24     <!-- User           reviewer  -->    
25     <many-to-one  name="reviewer"  column="reviewer"  access="field" />
26
27     <!-- User           approver  -->    
28     <many-to-one  name="approver"  column="approver"  access="field" />
29
30     <!-- User           signatory -->    
31     <many-to-one  name="signatory" column="signatory" access="field" />
32
33   </union-subclass>
34 </hibernate-mapping>