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

import org.kde.qt.Qt;
import java.util.ArrayList;

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

	public QSqlRecord() {
		newQSqlRecord();
	}
	private native void newQSqlRecord();
	public QSqlRecord(QSqlRecord other) {
		newQSqlRecord(other);
	}
	private native void newQSqlRecord(QSqlRecord other);
	public native QVariant value(int i);
	public native QVariant value(String name);
	public native void setValue(int i, QVariant val);
	public native void setValue(String name, QVariant val);
	public native boolean isGenerated(int i);
	public native boolean isGenerated(String name);
	public native void setGenerated(String name, boolean generated);
	public native void setGenerated(int i, boolean generated);
	public native void setNull(int i);
	public native void setNull(String name);
	public native boolean isNull(int i);
	public native boolean isNull(String name);
	public native int position(String name);
	public native String fieldName(int i);
	public native QSqlField field(int i);
	public native QSqlField field(String name);
	public native void append(QSqlField field);
	public native void insert(int pos, QSqlField field);
	public native void remove(int pos);
	public native boolean isEmpty();
	public native boolean contains(String name);
	public native void clear();
	public native void clearValues(boolean nullify);
	public native void clearValues();
	public native int count();
	public native String toString(String prefix, String sep);
	public native String toString(String prefix);
	public native String toString();
	public native ArrayList toStringList(String prefix);
	public native ArrayList toStringList();
	/** 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();
}
