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="StampType" class="org.splat.dal.bo.kernel.GenericEnumType">
12 <param name="enumClassName">org.splat.dal.bo.som.ValidationStep</param>
15 <!-- <class name="org.splat.dal.bo.som.Timestamp" table="stamp" lazy="false"> -->
16 <union-subclass name="org.splat.dal.bo.som.Timestamp" extends="org.splat.dal.bo.kernel.Any" table="stamp" lazy="false">
18 <!-- Timestamp properties
20 <!-- StampRelation context -->
21 <one-to-one name="context" property-ref="refer" access="field"/>
23 <!-- ValidationCycle.Step mytype -->
24 <property type="StampType" name="mytype" column="type" access="field" not-null="true" />
27 <many-to-one name="author" column="author" access="field" not-null="true" />
29 <!-- Date sdate, including the time section -->
30 <property type="timestamp" name="sdate" column="date" access="field" not-null="true" />