* Java mapping of Scilab data has now a new method called getType() which
[scilab.git] / scilab / modules / types / src / java / org / scilab / modules / types / ScilabString.java
index 273351f..f7c6f3a 100644 (file)
@@ -30,6 +30,7 @@ public class ScilabString implements ScilabType {
 
        private String[][] data;
 
+       private ScilabTypeEnum type = ScilabTypeEnum.sci_strings;
        /**
         * Default constructor
         */
@@ -85,6 +86,15 @@ public class ScilabString implements ScilabType {
                this.data = data;
        }
 
+    /** 
+     * Return the type of Scilab 
+     * @return the type of Scilab
+     * @since 5.4.0
+     */
+    public ScilabTypeEnum getType() {
+        return type;
+    }
+
        /**
         * @return the associated values
         */