1 // java wrapper for vtkSQLQuery object
7 public class vtkSQLQuery extends vtkRowQuery
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 SetQuery_2(String id0);
19 public boolean SetQuery(String id0)
20 { return SetQuery_2(id0); }
22 private native String GetQuery_3();
23 public String GetQuery()
24 { return GetQuery_3(); }
26 private native boolean IsActive_4();
27 public boolean IsActive()
28 { return IsActive_4(); }
30 private native boolean Execute_5();
31 public boolean Execute()
32 { return Execute_5(); }
34 private native boolean BeginTransaction_6();
35 public boolean BeginTransaction()
36 { return BeginTransaction_6(); }
38 private native boolean CommitTransaction_7();
39 public boolean CommitTransaction()
40 { return CommitTransaction_7(); }
42 private native boolean RollbackTransaction_8();
43 public boolean RollbackTransaction()
44 { return RollbackTransaction_8(); }
46 private native long GetDatabase_9();
47 public vtkSQLDatabase GetDatabase() {
48 long temp = GetDatabase_9();
50 if (temp == 0) return null;
51 return (vtkSQLDatabase)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
54 private native boolean BindParameter_10(int id0,char id1);
55 public boolean BindParameter(int id0,char id1)
56 { return BindParameter_10(id0,id1); }
58 private native boolean BindParameter_11(int id0,double id1);
59 public boolean BindParameter(int id0,double id1)
60 { return BindParameter_11(id0,id1); }
62 private native boolean BindParameter_12(int id0,String id1);
63 public boolean BindParameter(int id0,String id1)
64 { return BindParameter_12(id0,id1); }
66 private native boolean ClearParameterBindings_13();
67 public boolean ClearParameterBindings()
68 { return ClearParameterBindings_13(); }
70 private native String EscapeString_14(String id0,boolean id1);
71 public String EscapeString(String id0,boolean id1)
72 { return EscapeString_14(id0,id1); }
74 public vtkSQLQuery() { super(); }
76 public vtkSQLQuery(long id) { super(id); }