]> gerrit.simantics Code Review - simantics/3d.git/blob - vtk/src/vtk/vtkSQLQuery.java
7421d027065931ed1d6cab133d10309d4539851e
[simantics/3d.git] / vtk / src / vtk / vtkSQLQuery.java
1 // java wrapper for vtkSQLQuery object
2 //
3
4 package vtk;
5 import vtk.*;
6
7 public class vtkSQLQuery extends vtkRowQuery
8 {
9
10   private native int IsTypeOf_0(String id0);
11   public int IsTypeOf(String id0)
12     { return IsTypeOf_0(id0); }
13
14   private native int IsA_1(String id0);
15   public int IsA(String id0)
16     { return IsA_1(id0); }
17
18   private native boolean SetQuery_2(String id0);
19   public boolean SetQuery(String id0)
20     { return SetQuery_2(id0); }
21
22   private native String GetQuery_3();
23   public String GetQuery()
24     { return GetQuery_3(); }
25
26   private native boolean IsActive_4();
27   public boolean IsActive()
28     { return IsActive_4(); }
29
30   private native boolean Execute_5();
31   public boolean Execute()
32     { return Execute_5(); }
33
34   private native boolean BeginTransaction_6();
35   public boolean BeginTransaction()
36     { return BeginTransaction_6(); }
37
38   private native boolean CommitTransaction_7();
39   public boolean CommitTransaction()
40     { return CommitTransaction_7(); }
41
42   private native boolean RollbackTransaction_8();
43   public boolean RollbackTransaction()
44     { return RollbackTransaction_8(); }
45
46   private native long GetDatabase_9();
47   public vtkSQLDatabase GetDatabase() {
48     long temp = GetDatabase_9();
49
50     if (temp == 0) return null;
51     return (vtkSQLDatabase)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
52 }
53
54   private native boolean BindParameter_10(int id0,char id1);
55   public boolean BindParameter(int id0,char id1)
56     { return BindParameter_10(id0,id1); }
57
58   private native boolean BindParameter_11(int id0,double id1);
59   public boolean BindParameter(int id0,double id1)
60     { return BindParameter_11(id0,id1); }
61
62   private native boolean BindParameter_12(int id0,String id1);
63   public boolean BindParameter(int id0,String id1)
64     { return BindParameter_12(id0,id1); }
65
66   private native boolean ClearParameterBindings_13();
67   public boolean ClearParameterBindings()
68     { return ClearParameterBindings_13(); }
69
70   private native String EscapeString_14(String id0,boolean id1);
71   public String EscapeString(String id0,boolean id1)
72     { return EscapeString_14(id0,id1); }
73
74   public vtkSQLQuery() { super(); }
75
76   public vtkSQLQuery(long id) { super(id); }
77
78 }