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

import org.kde.qt.Qt;

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

	public QSqlField(String fieldName, int type) {
		newQSqlField(fieldName,type);
	}
	private native void newQSqlField(String fieldName, int type);
	public QSqlField(String fieldName) {
		newQSqlField(fieldName);
	}
	private native void newQSqlField(String fieldName);
	public QSqlField() {
		newQSqlField();
	}
	private native void newQSqlField();
	public QSqlField(QSqlField other) {
		newQSqlField(other);
	}
	private native void newQSqlField(QSqlField other);
	public native boolean op_equals(QSqlField other);
	public native void setValue(QVariant value);
	public native QVariant value();
	public native void setName(String name);
	public native String name();
	public native void setNull();
	public native boolean isNull();
	public native void setReadOnly(boolean readOnly);
	public native boolean isReadOnly();
	public native void clear(boolean nullify);
	public native void clear();
	public native int type();
	/** 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();
}
