MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
A.java
1 /*
2  Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
3 
4  This program is free software; you can redistribute it and/or modify
5  it under the terms of the GNU General Public License as published by
6  the Free Software Foundation; version 2 of the License.
7 
8  This program is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  GNU General Public License for more details.
12 
13  You should have received a copy of the GNU General Public License
14  along with this program; if not, write to the Free Software
15  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
16 */
17 /*
18  * A.java
19  */
20 
21 package myjapi;
22 
23 public class A extends com.mysql.jtie.Wrapper {
24  // this c'tor may me protected, for access from JNI is still possible
25  // with default constructor, cdelegate needs to be written from JNI
26  protected A() {
27  //System.out.println("<-> myjapi.A()");
28  };
29 
30  // constructor wrapper (mapped by reference)
31  static public native A create_r();
32 
33  // constructor wrapper (mapped by reference)
34  static public native A create_r(int p0);
35 
36  // constructor wrapper (mapped by pointer)
37  static public native A create_p();
38 
39  // constructor wrapper (mapped by pointer)
40  static public native A create_p(int p0);
41 
42  // destructor wrapper (mapped by reference)
43  static public native void delete_r(A a);
44 
45  // destructor wrapper (mapped by pointer)
46  static public native void delete_p(A a);
47 
48  // static method
49  static public native int f0s();
50 
51  // non-virtual method
52  static public native int f0n(A p0);
53 
54  // virtual method
55  public native int f0v();
56 
57  // creates a B0
58  public native B0 newB0();
59 
60  // creates a B1
61  public native B1 newB1();
62 
63  // deletes a B0
64  public native void del(B0 b);
65 
66  // deletes a B1
67  public native void del(B1 b);
68 
69  // returns an A
70  static public native A deliver_ptr();
71 
72  // returns NULL
73  static public native A deliver_null_ptr();
74 
75  // returns an A
76  static public native A deliver_ref();
77 
78  // always supposed to raise an exception
79  static public native A deliver_null_ref();
80 
81  // requires the A returned by deliver_ptr()
82  static public native void take_ptr(A p0);
83 
84  // requires NULL
85  static public native void take_null_ptr(A p0);
86 
87  // requires the A returned by deliver_ref()
88  static public native void take_ref(A p0);
89 
90  // never supposed to abort but raise an exception when called with null
91  static public native void take_null_ref(A p0);
92 
93  // prints an A
94  static public native void print(A p0);
95 
96  // ----------------------------------------------------------------------
97 
98  // static const field accessor
99  static public final native int d0sc();
100 
101  // static field accessor
102  static public final native int d0s();
103 
104  // static field mutator
105  static public final native void d0s(int d);
106 
107  // instance const field accessor
108  public final native int d0c();
109 
110  // instance field accessor
111  public final native int d0();
112 
113  // instance field mutator
114  public final native void d0(int d);
115 
116  // ----------------------------------------------------------------------
117 
118  public native final void g0c();
119 
120  public native final void g1c(byte p0);
121 
122  public native final void g2c(byte p0, short p1);
123 
124  public native final void g3c(byte p0, short p1, int p2);
125 
126  public native final void g0();
127 
128  public native final void g1(byte p0);
129 
130  public native final void g2(byte p0, short p1);
131 
132  public native final void g3(byte p0, short p1, int p2);
133 
134  public native final int g0rc();
135 
136  public native final int g1rc(byte p0);
137 
138  public native final int g2rc(byte p0, short p1);
139 
140  public native final int g3rc(byte p0, short p1, int p2);
141 
142  public native final int g0r();
143 
144  public native final int g1r(byte p0);
145 
146  public native final int g2r(byte p0, short p1);
147 
148  public native final int g3r(byte p0, short p1, int p2);
149 
150  static public native void h0();
151 
152  static public native void h1(byte p0);
153 
154  static public native void h2(byte p0, short p1);
155 
156  static public native void h3(byte p0, short p1, int p2);
157 
158  static public native int h0r();
159 
160  static public native int h1r(byte p0);
161 
162  static public native int h2r(byte p0, short p1);
163 
164  static public native int h3r(byte p0, short p1, int p2);
165 }