1 // java wrapper for vtkSQLiteDatabase object
7 public class vtkSQLiteDatabase extends vtkSQLDatabase
10 private native int IsTypeOf_0(String id0);
11 public int IsTypeOf(String id0)
12 { return IsTypeOf_0(id0); }
14 private native int IsA_1(String id0);
15 public int IsA(String id0)
16 { return IsA_1(id0); }
18 private native boolean Open_2(String id0);
19 public boolean Open(String id0)
20 { return Open_2(id0); }
22 private native boolean Open_3(String id0,int id1);
23 public boolean Open(String id0,int id1)
24 { return Open_3(id0,id1); }
26 private native void Close_4();
30 private native boolean IsOpen_5();
31 public boolean IsOpen()
32 { return IsOpen_5(); }
34 private native long GetQueryInstance_6();
35 public vtkSQLQuery GetQueryInstance() {
36 long temp = GetQueryInstance_6();
38 if (temp == 0) return null;
39 return (vtkSQLQuery)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
42 private native long GetTables_7();
43 public vtkStringArray GetTables() {
44 long temp = GetTables_7();
46 if (temp == 0) return null;
47 return (vtkStringArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
50 private native long GetRecord_8(String id0);
51 public vtkStringArray GetRecord(String id0) {
52 long temp = GetRecord_8(id0);
54 if (temp == 0) return null;
55 return (vtkStringArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
58 private native boolean IsSupported_9(int id0);
59 public boolean IsSupported(int id0)
60 { return IsSupported_9(id0); }
62 private native boolean HasError_10();
63 public boolean HasError()
64 { return HasError_10(); }
66 private native String GetLastErrorText_11();
67 public String GetLastErrorText()
68 { return GetLastErrorText_11(); }
70 private native String GetDatabaseType_12();
71 public String GetDatabaseType()
72 { return GetDatabaseType_12(); }
74 private native String GetDatabaseFileName_13();
75 public String GetDatabaseFileName()
76 { return GetDatabaseFileName_13(); }
78 private native void SetDatabaseFileName_14(String id0);
79 public void SetDatabaseFileName(String id0)
80 { SetDatabaseFileName_14(id0); }
82 private native String GetURL_15();
83 public String GetURL()
84 { return GetURL_15(); }
86 private native String GetColumnSpecification_16(vtkSQLDatabaseSchema id0,int id1,int id2);
87 public String GetColumnSpecification(vtkSQLDatabaseSchema id0,int id1,int id2)
88 { return GetColumnSpecification_16(id0,id1,id2); }
90 public vtkSQLiteDatabase() { super(); }
92 public vtkSQLiteDatabase(long id) { super(id); }
93 public native long VTKInit();