* Java mapping of Scilab data has now a new method called getType() which
[scilab.git] / scilab / modules / types / src / java / org / scilab / modules / types / ScilabBoolean.java
index 3727c53..e9ee4e9 100644 (file)
@@ -32,6 +32,8 @@ public class ScilabBoolean implements ScilabType {
        /* the boolean data */
        private boolean[][] data;
 
+       private ScilabTypeEnum type = ScilabTypeEnum.sci_boolean;
+
        /**
         * Create an empty object
         */
@@ -76,6 +78,15 @@ public class ScilabBoolean implements ScilabType {
                return data;
        }
 
+    /** 
+     * Return the type of Scilab 
+     * @return the type of Scilab
+     * @since 5.4.0
+     */
+    public ScilabTypeEnum getType() {
+        return type;
+    }
+
        /**
         * Return the height (number of element) of the stored data
         *