//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();
}
