3 * Attribute class of type Comment.<br/>
4 * A comment is made of any text up to 65 thousand characters.
6 * @author Daniel Brunier-Coulin
7 * @copyright OPEN CASCADE 2012
10 import org.splat.kernel.Text;
11 import org.splat.kernel.TextAttribute;
14 public class CommentAttribute extends TextAttribute {
16 // ==============================================================================================================================
18 // ==============================================================================================================================
20 // Database fetch constructor.
21 protected CommentAttribute () {
24 * Constructs a comment attached to a time stamp.
26 * @param from the time stamp to which this comment is attached.
27 * @param value the text of this comment
29 protected CommentAttribute (Timestamp from, String value) {
30 // ---------------------------------------------------------
31 super(from, new Text(value));