1 // java wrapper for vtkSQLDatabase object
7 public class vtkSQLDatabase extends vtkObject
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 void Close_3();
26 private native boolean IsOpen_4();
27 public boolean IsOpen()
28 { return IsOpen_4(); }
30 private native long GetQueryInstance_5();
31 public vtkSQLQuery GetQueryInstance() {
32 long temp = GetQueryInstance_5();
34 if (temp == 0) return null;
35 return (vtkSQLQuery)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
38 private native boolean HasError_6();
39 public boolean HasError()
40 { return HasError_6(); }
42 private native String GetLastErrorText_7();
43 public String GetLastErrorText()
44 { return GetLastErrorText_7(); }
46 private native String GetDatabaseType_8();
47 public String GetDatabaseType()
48 { return GetDatabaseType_8(); }
50 private native long GetTables_9();
51 public vtkStringArray GetTables() {
52 long temp = GetTables_9();
54 if (temp == 0) return null;
55 return (vtkStringArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
58 private native long GetRecord_10(String id0);
59 public vtkStringArray GetRecord(String id0) {
60 long temp = GetRecord_10(id0);
62 if (temp == 0) return null;
63 return (vtkStringArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
66 private native boolean IsSupported_11(int id0);
67 public boolean IsSupported(int id0)
68 { return IsSupported_11(id0); }
70 private native String GetURL_12();
71 public String GetURL()
72 { return GetURL_12(); }
74 private native String GetTablePreamble_13(boolean id0);
75 public String GetTablePreamble(boolean id0)
76 { return GetTablePreamble_13(id0); }
78 private native String GetColumnSpecification_14(vtkSQLDatabaseSchema id0,int id1,int id2);
79 public String GetColumnSpecification(vtkSQLDatabaseSchema id0,int id1,int id2)
80 { return GetColumnSpecification_14(id0,id1,id2); }
82 private native String GetTriggerSpecification_15(vtkSQLDatabaseSchema id0,int id1,int id2);
83 public String GetTriggerSpecification(vtkSQLDatabaseSchema id0,int id1,int id2)
84 { return GetTriggerSpecification_15(id0,id1,id2); }
86 private native long CreateFromURL_16(String id0);
87 public vtkSQLDatabase CreateFromURL(String id0) {
88 long temp = CreateFromURL_16(id0);
90 if (temp == 0) return null;
91 return (vtkSQLDatabase)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
94 private native boolean EffectSchema_17(vtkSQLDatabaseSchema id0,boolean id1);
95 public boolean EffectSchema(vtkSQLDatabaseSchema id0,boolean id1)
96 { return EffectSchema_17(id0,id1); }
98 private native void UnRegisterAllCreateFromURLCallbacks_18();
99 public void UnRegisterAllCreateFromURLCallbacks()
100 { UnRegisterAllCreateFromURLCallbacks_18(); }
102 private native long DATABASE_19();
103 public vtkInformationObjectBaseKey DATABASE() {
104 long temp = DATABASE_19();
106 if (temp == 0) return null;
107 return (vtkInformationObjectBaseKey)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
110 public vtkSQLDatabase() { super(); }
112 public vtkSQLDatabase(long id) { super(id); }