3 * Attribute class of type Description.<br/>
4 * A description 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 DescriptionAttribute extends TextAttribute {
16 // ==============================================================================================================================
18 // ==============================================================================================================================
20 // Database fetch constructor.
21 protected DescriptionAttribute () {
24 * Constructs the description of a study or a scenario.
26 * @param from the study or the scenario to which this description is attached.
27 * @param value the text of this description
29 protected DescriptionAttribute (ProjectElement from, String value) {
30 // ------------------------------------------------------------------
31 super(from, new Text(value));
34 * Constructs the description attached to a version relation.
36 * @param from the version relation to which this description is attached.
37 * @param value the text of this description
39 protected DescriptionAttribute (VersionsRelation from, String value) {
40 // --------------------------------------------------------------------
41 super(from, new Text(value));
44 * Constructs the description attached to a conversion relation.
46 * @param from the conversion relation to which this description is attached.
47 * @param value the text of this description
49 protected DescriptionAttribute (ConvertsRelation from, String value) {
50 // --------------------------------------------------------------------
51 super(from, new Text(value));