1 package org.splat.dal.bo.kernel;
3 import org.splat.dal.dao.kernel.Database;
7 * @author Daniel Brunier-Coulin
8 * @copyright OPEN CASCADE 2012
12 public abstract class TextAttribute extends Attribute {
14 //private Text mytext;
15 private String mytext;
17 // ==============================================================================================================================
19 // ==============================================================================================================================
21 // Database fetch constructor.
22 protected TextAttribute () {
25 // Initialization constructor
26 protected TextAttribute (Any from, String value) {
27 // ----------------------------------------------
32 // ==============================================================================================================================
33 // Public member functions
34 // ==============================================================================================================================
36 public String getValue () {
37 // -------------------------
41 // ==============================================================================================================================
43 // ==============================================================================================================================
45 protected void setValue (String value) {
46 // --------------------------------------
48 if (this.isSaved()) Database.getSession().update(this);