]> SALOME platform Git repositories - tools/siman.git/blobdiff - Workspace/Siman-Common/src/org/splat/dal/bo/som/DescriptionAttribute.java
Salome HOME
Siman codebase is refactored. Spring beans are introduced in the context.
[tools/siman.git] / Workspace / Siman-Common / src / org / splat / dal / bo / som / DescriptionAttribute.java
diff --git a/Workspace/Siman-Common/src/org/splat/dal/bo/som/DescriptionAttribute.java b/Workspace/Siman-Common/src/org/splat/dal/bo/som/DescriptionAttribute.java
new file mode 100644 (file)
index 0000000..4213156
--- /dev/null
@@ -0,0 +1,52 @@
+package org.splat.dal.bo.som;
+/**
+ * Attribute class of type Description.<br/>
+ * A description is made of any text up to 65 thousand characters.
+ * 
+ * @author    Daniel Brunier-Coulin
+ * @copyright OPEN CASCADE 2012
+ */
+
+import org.splat.dal.bo.kernel.TextAttribute;
+
+
+public class DescriptionAttribute extends TextAttribute {
+
+//  ==============================================================================================================================
+//  Constructors
+//  ==============================================================================================================================
+
+//  Database fetch constructor.
+    protected DescriptionAttribute () {
+    }
+/**
+ * Constructs the description of a study or a scenario.
+ * 
+ * @param from  the study or the scenario to which this description is attached.
+ * @param value the text of this description
+ */
+    public DescriptionAttribute (ProjectElement from, String value) {
+//  ------------------------------------------------------------------
+      super(from, value);
+    }
+/**
+ * Constructs the description attached to a version relation.
+ * 
+ * @param from  the version relation to which this description is attached.
+ * @param value the text of this description
+ */
+    protected DescriptionAttribute (VersionsRelation from, String value) {
+//  --------------------------------------------------------------------
+      super(from, value);
+    }
+    /**
+     * Constructs the description attached to a conversion relation.
+     * 
+     * @param from  the conversion relation to which this description is attached.
+     * @param value the text of this description
+     */
+    protected DescriptionAttribute (ConvertsRelation from, String value) {
+//  --------------------------------------------------------------------
+      super(from, value);
+    }
+}
\ No newline at end of file