//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;

import org.kde.qt.Qt;

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

	public QSqlFieldInfo(String name, int typ, int required, int len, int prec, QVariant defValue, int sqlType, boolean generated, boolean trim, boolean calculated) {
		newQSqlFieldInfo(name,typ,required,len,prec,defValue,sqlType,generated,trim,calculated);
	}
	private native void newQSqlFieldInfo(String name, int typ, int required, int len, int prec, QVariant defValue, int sqlType, boolean generated, boolean trim, boolean calculated);
	public QSqlFieldInfo(String name, int typ, int required, int len, int prec, QVariant defValue, int sqlType, boolean generated, boolean trim) {
		newQSqlFieldInfo(name,typ,required,len,prec,defValue,sqlType,generated,trim);
	}
	private native void newQSqlFieldInfo(String name, int typ, int required, int len, int prec, QVariant defValue, int sqlType, boolean generated, boolean trim);
	public QSqlFieldInfo(String name, int typ, int required, int len, int prec, QVariant defValue, int sqlType, boolean generated) {
		newQSqlFieldInfo(name,typ,required,len,prec,defValue,sqlType,generated);
	}
	private native void newQSqlFieldInfo(String name, int typ, int required, int len, int prec, QVariant defValue, int sqlType, boolean generated);
	public QSqlFieldInfo(String name, int typ, int required, int len, int prec, QVariant defValue, int sqlType) {
		newQSqlFieldInfo(name,typ,required,len,prec,defValue,sqlType);
	}
	private native void newQSqlFieldInfo(String name, int typ, int required, int len, int prec, QVariant defValue, int sqlType);
	public QSqlFieldInfo(String name, int typ, int required, int len, int prec, QVariant defValue) {
		newQSqlFieldInfo(name,typ,required,len,prec,defValue);
	}
	private native void newQSqlFieldInfo(String name, int typ, int required, int len, int prec, QVariant defValue);
	public QSqlFieldInfo(String name, int typ, int required, int len, int prec) {
		newQSqlFieldInfo(name,typ,required,len,prec);
	}
	private native void newQSqlFieldInfo(String name, int typ, int required, int len, int prec);
	public QSqlFieldInfo(String name, int typ, int required, int len) {
		newQSqlFieldInfo(name,typ,required,len);
	}
	private native void newQSqlFieldInfo(String name, int typ, int required, int len);
	public QSqlFieldInfo(String name, int typ, int required) {
		newQSqlFieldInfo(name,typ,required);
	}
	private native void newQSqlFieldInfo(String name, int typ, int required);
	public QSqlFieldInfo(String name, int typ) {
		newQSqlFieldInfo(name,typ);
	}
	private native void newQSqlFieldInfo(String name, int typ);
	public QSqlFieldInfo(String name) {
		newQSqlFieldInfo(name);
	}
	private native void newQSqlFieldInfo(String name);
	public QSqlFieldInfo() {
		newQSqlFieldInfo();
	}
	private native void newQSqlFieldInfo();
	public QSqlFieldInfo(QSqlFieldInfo other) {
		newQSqlFieldInfo(other);
	}
	private native void newQSqlFieldInfo(QSqlFieldInfo other);
	public QSqlFieldInfo(QSqlField other, boolean generated) {
		newQSqlFieldInfo(other,generated);
	}
	private native void newQSqlFieldInfo(QSqlField other, boolean generated);
	public QSqlFieldInfo(QSqlField other) {
		newQSqlFieldInfo(other);
	}
	private native void newQSqlFieldInfo(QSqlField other);
	public native boolean op_equals(QSqlFieldInfo f);
	public native QSqlField toField();
	public native int isRequired();
	public native int type();
	public native int length();
	public native int precision();
	public native QVariant 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();
}
