1 package org.splat.kernel;
3 * Class implementing Hibernate-based persistent Java String.
5 * @author Daniel Brunier-Coulin
6 * @copyright OPEN CASCADE 2012
9 import org.splat.som.Database;
12 public class Text extends Persistent {
16 // ==============================================================================================================================
18 // ==============================================================================================================================
20 // Database fetch constructor.
23 // Initialization constructor
24 public Text (String value) {
25 // --------------------------
29 // ==============================================================================================================================
30 // Public member functions
31 // ==============================================================================================================================
33 public String getValue () {
34 // -------------------------
38 public void setValue (String value) {
39 // -----------------------------------
41 //RKV if (this.isSaved()) Database.getSession().update(this);