/***************************************************************************
                            QSqlRecord.java -  description
                             -------------------
    begin                : Wed Nov 21 17:05:56 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Nov 21 17:05:56 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
***************************************************************************/

package org.kde.qt;

import java.util.*;
import java.lang.Error;

public class  QSqlRecord implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;

	protected QSqlRecord(Class dummy){}

	private native void newQSqlRecord();
	public QSqlRecord() {
		newQSqlRecord();
	}
	private native void newQSqlRecord( QSqlRecord other);
	public QSqlRecord( QSqlRecord other) {
		newQSqlRecord( other);
	}
	protected native void finalize() throws InternalError;
	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 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 arg1);
	public native ArrayList toStringList( String prefix);
}
