X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=vtk%2Fsrc%2Fvtk%2FvtkSQLiteDatabase.java;h=9b3ca92db5ccf5e0584bcd93b5f98b4430499dda;hb=0f1acf557db4515528bc452c037db0831fd34ecf;hp=e9efc38f608a83728c27e70980c393303a2e6420;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/vtk/src/vtk/vtkSQLiteDatabase.java b/vtk/src/vtk/vtkSQLiteDatabase.java index e9efc38f..9b3ca92d 100644 --- a/vtk/src/vtk/vtkSQLiteDatabase.java +++ b/vtk/src/vtk/vtkSQLiteDatabase.java @@ -1,95 +1,95 @@ -// java wrapper for vtkSQLiteDatabase object -// - -package vtk; -import vtk.*; - -public class vtkSQLiteDatabase extends vtkSQLDatabase -{ - - private native String GetClassName_0(); - public String GetClassName() - { return GetClassName_0(); } - - private native int IsA_1(String id0); - public int IsA(String id0) - { return IsA_1(id0); } - - private native boolean Open_2(String id0); - public boolean Open(String id0) - { return Open_2(id0); } - - private native boolean Open_3(String id0,int id1); - public boolean Open(String id0,int id1) - { return Open_3(id0,id1); } - - private native void Close_4(); - public void Close() - { Close_4(); } - - private native boolean IsOpen_5(); - public boolean IsOpen() - { return IsOpen_5(); } - - private native long GetQueryInstance_6(); - public vtkSQLQuery GetQueryInstance() { - long temp = GetQueryInstance_6(); - - if (temp == 0) return null; - return (vtkSQLQuery)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native long GetTables_7(); - public vtkStringArray GetTables() { - long temp = GetTables_7(); - - if (temp == 0) return null; - return (vtkStringArray)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native long GetRecord_8(String id0); - public vtkStringArray GetRecord(String id0) { - long temp = GetRecord_8(id0); - - if (temp == 0) return null; - return (vtkStringArray)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native boolean IsSupported_9(int id0); - public boolean IsSupported(int id0) - { return IsSupported_9(id0); } - - private native boolean HasError_10(); - public boolean HasError() - { return HasError_10(); } - - private native String GetLastErrorText_11(); - public String GetLastErrorText() - { return GetLastErrorText_11(); } - - private native String GetDatabaseType_12(); - public String GetDatabaseType() - { return GetDatabaseType_12(); } - - private native String GetDatabaseFileName_13(); - public String GetDatabaseFileName() - { return GetDatabaseFileName_13(); } - - private native void SetDatabaseFileName_14(String id0); - public void SetDatabaseFileName(String id0) - { SetDatabaseFileName_14(id0); } - - private native String GetURL_15(); - public String GetURL() - { return GetURL_15(); } - - private native String GetColumnSpecification_16(vtkSQLDatabaseSchema id0,int id1,int id2); - public String GetColumnSpecification(vtkSQLDatabaseSchema id0,int id1,int id2) - { return GetColumnSpecification_16(id0,id1,id2); } - - public vtkSQLiteDatabase() { super(); } - - public vtkSQLiteDatabase(long id) { super(id); } - public native long VTKInit(); - -} +// java wrapper for vtkSQLiteDatabase object +// + +package vtk; +import vtk.*; + +public class vtkSQLiteDatabase extends vtkSQLDatabase +{ + + private native int IsTypeOf_0(String id0); + public int IsTypeOf(String id0) + { return IsTypeOf_0(id0); } + + private native int IsA_1(String id0); + public int IsA(String id0) + { return IsA_1(id0); } + + private native boolean Open_2(String id0); + public boolean Open(String id0) + { return Open_2(id0); } + + private native boolean Open_3(String id0,int id1); + public boolean Open(String id0,int id1) + { return Open_3(id0,id1); } + + private native void Close_4(); + public void Close() + { Close_4(); } + + private native boolean IsOpen_5(); + public boolean IsOpen() + { return IsOpen_5(); } + + private native long GetQueryInstance_6(); + public vtkSQLQuery GetQueryInstance() { + long temp = GetQueryInstance_6(); + + if (temp == 0) return null; + return (vtkSQLQuery)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native long GetTables_7(); + public vtkStringArray GetTables() { + long temp = GetTables_7(); + + if (temp == 0) return null; + return (vtkStringArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native long GetRecord_8(String id0); + public vtkStringArray GetRecord(String id0) { + long temp = GetRecord_8(id0); + + if (temp == 0) return null; + return (vtkStringArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp); +} + + private native boolean IsSupported_9(int id0); + public boolean IsSupported(int id0) + { return IsSupported_9(id0); } + + private native boolean HasError_10(); + public boolean HasError() + { return HasError_10(); } + + private native String GetLastErrorText_11(); + public String GetLastErrorText() + { return GetLastErrorText_11(); } + + private native String GetDatabaseType_12(); + public String GetDatabaseType() + { return GetDatabaseType_12(); } + + private native String GetDatabaseFileName_13(); + public String GetDatabaseFileName() + { return GetDatabaseFileName_13(); } + + private native void SetDatabaseFileName_14(String id0); + public void SetDatabaseFileName(String id0) + { SetDatabaseFileName_14(id0); } + + private native String GetURL_15(); + public String GetURL() + { return GetURL_15(); } + + private native String GetColumnSpecification_16(vtkSQLDatabaseSchema id0,int id1,int id2); + public String GetColumnSpecification(vtkSQLDatabaseSchema id0,int id1,int id2) + { return GetColumnSpecification_16(id0,id1,id2); } + + public vtkSQLiteDatabase() { super(); } + + public vtkSQLiteDatabase(long id) { super(id); } + public native long VTKInit(); + +}