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

import org.trinitydesktop.qt.TQt;
import java.util.ArrayList;

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

	public TQSqlRecord() {
		newTQSqlRecord();
	}
	private native void newTQSqlRecord();
	public TQSqlRecord(TQSqlRecord other) {
		newTQSqlRecord(other);
	}
	private native void newTQSqlRecord(TQSqlRecord other);
	public native TQVariant value(int i);
	public native TQVariant value(String name);
	public native void setValue(int i, TQVariant val);
	public native void setValue(String name, TQVariant 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 TQSqlField field(int i);
	public native TQSqlField field(String name);
	public native void append(TQSqlField field);
	public native void insert(int pos, TQSqlField 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();
}
