]> SALOME platform Git repositories - tools/siman.git/blob - Workspace/Siman-Common/src/org/splat/dal/bo/kernel/Attribute.hbm.xml
Salome HOME
StepServiceImpl doesn't use Database class anymore.
[tools/siman.git] / Workspace / Siman-Common / src / org / splat / dal / bo / kernel / Attribute.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   - Mapping of the Attribute class hierarchy.
5   - The attribute hierarchy is mapped to a single table using a String discriminator.
6   -
7   - @author    Daniel Brunier-Coulin
8   - @copyright OPEN CASCADE 2012
9   -->
10
11 <hibernate-mapping>
12
13   <class name="org.splat.dal.bo.kernel.Attribute" abstract="true" table="attribute">
14   
15     <!-- int     rid   -->    
16     <id name="rid" column="rid" access="field">
17       <generator class="native"/>
18     </id>
19     <discriminator column="type" type="string"/>
20
21     <!-- Any     owner -->    
22     <many-to-one name="owner" column="owner" access="field" not-null="true" />
23
24   </class>
25
26 </hibernate-mapping>