]> SALOME platform Git repositories - tools/siman.git/blob - Workspace/SPlat/src/org/splat/som/CommentAttribute.java
Salome HOME
SIMAN Eclipse workspace first version
[tools/siman.git] / Workspace / SPlat / src / org / splat / som / CommentAttribute.java
1 package org.splat.som;
2 /**
3  * Attribute class of type Comment.<br/>
4  * A comment is made of any text up to 65 thousand characters.
5  * 
6  * @author    Daniel Brunier-Coulin
7  * @copyright OPEN CASCADE 2012
8  */
9
10 import org.splat.kernel.Text;
11 import org.splat.kernel.TextAttribute;
12
13
14 public class CommentAttribute extends TextAttribute {
15
16 //  ==============================================================================================================================
17 //  Constructors
18 //  ==============================================================================================================================
19
20 //  Database fetch constructor.
21     protected CommentAttribute () {
22     }
23 /**
24  * Constructs a comment attached to a time stamp.
25  * 
26  * @param from  the time stamp to which this comment is attached.
27  * @param value the text of this comment
28  */
29     protected CommentAttribute (Timestamp from, String value) {
30 //  ---------------------------------------------------------
31       super(from, new Text(value));
32     }
33 }