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" >
4 - Mapping of the Attribute concrete subclasses.
6 - @author Daniel Brunier-Coulin
7 - @copyright OPEN CASCADE 2012
12 <!-- Description attribute
14 <union-subclass name="org.splat.dal.bo.som.DescriptionAttribute"
15 extends="org.splat.dal.bo.kernel.TextAttribute" table="descr_attr">
18 <!-- Comment attribute
20 <union-subclass name="org.splat.dal.bo.som.CommentAttribute"
21 extends="org.splat.dal.bo.kernel.TextAttribute" table="comment_attr">
24 <!-- Step Comment attribute
26 <union-subclass name="org.splat.dal.bo.som.StepCommentAttribute"
27 extends="org.splat.dal.bo.kernel.TextAttribute" table="step_comment">
29 <many-to-one name="user" column="user" not-null="true" />
30 <property name="date" column="date" not-null="true" />
31 <property name="step" column="step" not-null="true" />
32 <property name="title" column="title" not-null="true" type="text"/>