-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSQLType.swift
More file actions
70 lines (42 loc) · 2.49 KB
/
SQLType.swift
File metadata and controls
70 lines (42 loc) · 2.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
import java_swift
import java_lang
/// generated by: genswift.java 'java/lang|java/util|java/sql|java/awt|javax/swing' ///
/// interface java.sql.SQLType ///
public protocol SQLType: JavaProtocol {
/// public abstract java.lang.String java.sql.SQLType.getName()
func getName() -> String!
/// public abstract java.lang.String java.sql.SQLType.getVendor()
func getVendor() -> String!
/// public abstract java.lang.Integer java.sql.SQLType.getVendorTypeNumber()
func getVendorTypeNumber() -> java_lang.Integer!
}
open class SQLTypeForward: JNIObjectForward, SQLType {
private static var SQLTypeJNIClass: jclass?
/// public abstract java.lang.String java.sql.SQLType.getName()
private static var getName_MethodID_4: jmethodID?
open func getName() -> String! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "getName", methodSig: "()Ljava/lang/String;", methodCache: &SQLTypeForward.getName_MethodID_4, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? String( javaObject: __return ) : nil
}
/// public abstract java.lang.String java.sql.SQLType.getVendor()
private static var getVendor_MethodID_5: jmethodID?
open func getVendor() -> String! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "getVendor", methodSig: "()Ljava/lang/String;", methodCache: &SQLTypeForward.getVendor_MethodID_5, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? String( javaObject: __return ) : nil
}
/// public abstract java.lang.Integer java.sql.SQLType.getVendorTypeNumber()
private static var getVendorTypeNumber_MethodID_6: jmethodID?
open func getVendorTypeNumber() -> java_lang.Integer! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "getVendorTypeNumber", methodSig: "()Ljava/lang/Integer;", methodCache: &SQLTypeForward.getVendorTypeNumber_MethodID_6, args: &__args, locals: &__locals )
defer { JNI.DeleteLocalRef( __return ) }
return __return != nil ? java_lang.Integer( javaObject: __return ) : nil
}
}