Salome HOME
Refactoring: configuration files are moved into Siman web project.
[tools/siman.git] / Workspace / Siman-Common / src / org / splat / som / File.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
7   -->
8
9 <hibernate-mapping>
10
11   <class name="org.splat.som.File" table="file" lazy="false">
12
13 <!-- Properties inherited Persistent
14   -->
15     <id name="rid" column="rid" access="field">
16       <generator class="increment"/>
17     </id>
18
19 <!-- File properties
20   -->
21     <!-- String  format -->
22     <property name="format" column="format" access="field" not-null="true" />
23
24     <!-- String  path   -->
25     <property name="path"   column="path"   access="field" not-null="true" />
26     
27     <!-- String  date   -->
28     <property name="date"   column="date"   access="field" not-null="true" />
29
30   </class>
31   
32 </hibernate-mapping>