Salome HOME
c6ce6a8e1b5b8d6688e501fc6889b1055787e7c5
[tools/siman.git] / Workspace / Siman-Common / src / org / splat / dal / bo / som / DescriptionAttribute.java
1 package org.splat.dal.bo.som;
2 /**
3  * Attribute class of type Description.<br/>
4  * A description 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.dal.bo.kernel.TextAttribute;
11
12
13 public class DescriptionAttribute extends TextAttribute {
14
15 //  ==============================================================================================================================
16 //  Constructors
17 //  ==============================================================================================================================
18
19 //  Database fetch constructor.
20     public DescriptionAttribute () {
21     }
22 /**
23  * Constructs the description of a study or a scenario.
24  * 
25  * @param from  the study or the scenario to which this description is attached.
26  * @param value the text of this description
27  */
28     public DescriptionAttribute (ProjectElement from, String value) {
29 //  ------------------------------------------------------------------
30       super(from, value);
31     }
32 /**
33  * Constructs the description attached to a version relation.
34  * 
35  * @param from  the version relation to which this description is attached.
36  * @param value the text of this description
37  */
38     protected DescriptionAttribute (VersionsRelation from, String value) {
39 //  --------------------------------------------------------------------
40       super(from, value);
41     }
42     /**
43      * Constructs the description attached to a conversion relation.
44      * 
45      * @param from  the conversion relation to which this description is attached.
46      * @param value the text of this description
47      */
48     protected DescriptionAttribute (ConvertsRelation from, String value) {
49 //  --------------------------------------------------------------------
50       super(from, value);
51     }
52 }