summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/trinitydesktop/qt/TQSqlFieldInfo.java
blob: c0da3f2181c9905459e12fe2d54603bcbf9c96fc (plain)
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.qt;

import org.trinitydesktop.qt.Qt;

public class TQSqlFieldInfo implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected TQSqlFieldInfo(Class dummy){}

	public TQSqlFieldInfo(String name, int typ, int required, int len, int prec, TQVariant defValue, int sqlType, boolean generated, boolean trim, boolean calculated) {
		newTQSqlFieldInfo(name,typ,required,len,prec,defValue,sqlType,generated,trim,calculated);
	}
	private native void newTQSqlFieldInfo(String name, int typ, int required, int len, int prec, TQVariant defValue, int sqlType, boolean generated, boolean trim, boolean calculated);
	public TQSqlFieldInfo(String name, int typ, int required, int len, int prec, TQVariant defValue, int sqlType, boolean generated, boolean trim) {
		newTQSqlFieldInfo(name,typ,required,len,prec,defValue,sqlType,generated,trim);
	}
	private native void newTQSqlFieldInfo(String name, int typ, int required, int len, int prec, TQVariant defValue, int sqlType, boolean generated, boolean trim);
	public TQSqlFieldInfo(String name, int typ, int required, int len, int prec, TQVariant defValue, int sqlType, boolean generated) {
		newTQSqlFieldInfo(name,typ,required,len,prec,defValue,sqlType,generated);
	}
	private native void newTQSqlFieldInfo(String name, int typ, int required, int len, int prec, TQVariant defValue, int sqlType, boolean generated);
	public TQSqlFieldInfo(String name, int typ, int required, int len, int prec, TQVariant defValue, int sqlType) {
		newTQSqlFieldInfo(name,typ,required,len,prec,defValue,sqlType);
	}
	private native void newTQSqlFieldInfo(String name, int typ, int required, int len, int prec, TQVariant defValue, int sqlType);
	public TQSqlFieldInfo(String name, int typ, int required, int len, int prec, TQVariant defValue) {
		newTQSqlFieldInfo(name,typ,required,len,prec,defValue);
	}
	private native void newTQSqlFieldInfo(String name, int typ, int required, int len, int prec, TQVariant defValue);
	public TQSqlFieldInfo(String name, int typ, int required, int len, int prec) {
		newTQSqlFieldInfo(name,typ,required,len,prec);
	}
	private native void newTQSqlFieldInfo(String name, int typ, int required, int len, int prec);
	public TQSqlFieldInfo(String name, int typ, int required, int len) {
		newTQSqlFieldInfo(name,typ,required,len);
	}
	private native void newTQSqlFieldInfo(String name, int typ, int required, int len);
	public TQSqlFieldInfo(String name, int typ, int required) {
		newTQSqlFieldInfo(name,typ,required);
	}
	private native void newTQSqlFieldInfo(String name, int typ, int required);
	public TQSqlFieldInfo(String name, int typ) {
		newTQSqlFieldInfo(name,typ);
	}
	private native void newTQSqlFieldInfo(String name, int typ);
	public TQSqlFieldInfo(String name) {
		newTQSqlFieldInfo(name);
	}
	private native void newTQSqlFieldInfo(String name);
	public TQSqlFieldInfo() {
		newTQSqlFieldInfo();
	}
	private native void newTQSqlFieldInfo();
	public TQSqlFieldInfo(TQSqlFieldInfo other) {
		newTQSqlFieldInfo(other);
	}
	private native void newTQSqlFieldInfo(TQSqlFieldInfo other);
	public TQSqlFieldInfo(TQSqlField other, boolean generated) {
		newTQSqlFieldInfo(other,generated);
	}
	private native void newTQSqlFieldInfo(TQSqlField other, boolean generated);
	public TQSqlFieldInfo(TQSqlField other) {
		newTQSqlFieldInfo(other);
	}
	private native void newTQSqlFieldInfo(TQSqlField other);
	public native boolean op_equals(TQSqlFieldInfo f);
	public native TQSqlField toField();
	public native int isRequired();
	public native int type();
	public native int length();
	public native int precision();
	public native TQVariant defaultValue();
	public native String name();
	public native int typeID();
	public native boolean isGenerated();
	public native boolean isTrim();
	public native boolean isCalculated();
	public native void setTrim(boolean trim);
	public native void setGenerated(boolean gen);
	public native void setCalculated(boolean calc);
	/** Deletes the wrapped C++ instance */
	protected native void finalize() throws InternalError;
	/** Delete the wrapped C++ instance ahead of finalize() */
	public native void dispose();
	/** Has the wrapped C++ instance been deleted? */
	public native boolean isDisposed();
}