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.dal.bo.som.SimulationContext" table="contelm">
13 <!-- Properties inherited Persistent
15 <id name="rid" column="rid" access="field">
16 <generator class="native"/>
19 <!-- SimulationContext properties
21 <!-- SimulationContextType type -->
22 <many-to-one name="type" column="type" access="field" not-null="true" />
25 <property name="step" column="step" access="field" not-null="true" />
27 <!-- ProgressState state -->
28 <property name="state" column="state" type="ProgressState" access="field" not-null="true" />
31 <property name="value" column="value" type="text" access="field" not-null="true" />
34 <property name="counter" column="counter" access="field" not-null="true" />
37 <!-- Class SimulationContextType
39 <class name="org.splat.dal.bo.som.SimulationContextType" table="contype" lazy="false">
40 <id name="rid" column="rid" access="field">
41 <generator class="increment"/>
43 <property name="name" column="name" access="field" not-null="true" />
44 <property name="state" column="state" type="ProgressState" access="field" not-null="true" />
45 <property name="step" column="step" access="field" not-null="true" />