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 <class name="org.splat.som.ValidationCycle" table="cycle" lazy="false">
13 <!-- Properties inherited Persistent
15 <id name="rid" column="rid" access="field">
16 <generator class="increment"/>
19 <!-- ValidationCycle properties
21 <!-- ValidationCycleRelation context -->
22 <one-to-one name="context" property-ref="refer" access="field" />
24 <!-- DocumentType mytype -->
25 <many-to-one name="mytype" column="type" access="field" not-null="true" />
27 <!-- User publisher -->
28 <many-to-one name="publisher" column="publisher" access="field" />
30 <!-- User reviewer -->
31 <many-to-one name="reviewer" column="reviewer" access="field" />
33 <!-- User approver -->
34 <many-to-one name="approver" column="approver" access="field" />
36 <!-- User signatory -->
37 <many-to-one name="signatory" column="signatory" access="field" />