MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CI.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  * CI.java
19  */
20 
21 package myjapi;
22 
23 import com.mysql.jtie.Wrapper;
24 import com.mysql.jtie.ArrayWrapper;
25 
26 public class CI {
27  static public interface C0C
28  {
29  long id();
30  void check(long id);
31  void print();
32  C0C deliver_C0Cp();
33  C0C deliver_C0Cr();
34  void take_C0Cp(C0C cp);
35  void take_C0Cr(C0C cp);
36  }
37 
38  static public class C0 extends Wrapper implements C0C
39  {
40  protected C0() {
41  //System.out.println("<-> myjapi.C0()");
42  }
43 
44  static public native C0C cc();
45  static public native C0 c();
46 
47  static public native C0 create();
48  static public native void delete(C0 c0);
49 
50  static public native C0Array pass(C0Array c0a);
51  static public native C0CArray pass(C0CArray c0a);
52  static public native long hash(C0CArray c0a, int n);
53 
54  public final native long id();
55  public final native void check(long id);
56  public final native void print();
57  public final native C0C deliver_C0Cp();
58  public final native C0C deliver_C0Cr();
59  public final native void take_C0Cp(C0C cp);
60  public final native void take_C0Cr(C0C cp);
61  public final native C0 deliver_C0p();
62  public final native C0 deliver_C0r();
63  public final native void take_C0p(C0 cp);
64  public final native void take_C0r(C0 cp);
65  }
66 
67  static public interface C1C extends C0C
68  {
69  C1C deliver_C1Cp();
70  C1C deliver_C1Cr();
71  void take_C1Cp(C1C cp);
72  void take_C1Cr(C1C cp);
73  }
74 
75  static public class C1 extends C0 implements C1C
76  {
77  protected C1() {
78  //System.out.println("<-> myjapi.C1()");
79  }
80 
81  static public native C1C cc();
82  static public native C1 c();
83 
84  static public native C1 create();
85  static public native void delete(C1 c1);
86 
87  static public native C1Array pass(C1Array c1a);
88  static public native C1CArray pass(C1CArray c1a);
89  static public native long hash(C1CArray c1a, int n);
90 
91  public final native C1C deliver_C1Cp();
92  public final native C1C deliver_C1Cr();
93  public final native void take_C1Cp(C1C cp);
94  public final native void take_C1Cr(C1C cp);
95  public final native C1 deliver_C1p();
96  public final native C1 deliver_C1r();
97  public final native void take_C1p(C1 cp);
98  public final native void take_C1r(C1 cp);
99  }
100 
101  static public interface C0CArray
102  extends ArrayWrapper< C0C >
103  {
104  // redundant to declare:
105  //C0C at(int i);
106  }
107 
108  static public final class C0Array
109  extends Wrapper implements C0CArray
110  // Java: method cannot be inherited with different arguments/results
111  //implements C0CArray, ArrayWrapper< C0 >
112  {
113  static public native C0Array create(int length);
114  static public native void delete(C0Array e);
115  public native C0 at(int i);
116  }
117 
118  static public interface C1CArray
119  extends ArrayWrapper< C1C >
120  // C++: does not support covariant object arrays (only pointers)
121  //extends C0CArray
122  {
123  // if extended C0CArray, would have to declare; otherwise, redundant:
124  //C1C at(int i);
125  }
126 
127  static public final class C1Array
128  extends Wrapper implements C1CArray
129  // C++: does not support covariant object arrays (only pointers)
130  //extends C0Array
131  // Java: method cannot be inherited with different arguments/results
132  //implements C1CArray, ArrayWrapper< C1 >
133  {
134  static public native C1Array create(int length);
135  static public native void delete(C1Array e);
136  public native C1 at(int i);
137  }
138 }