java.lang.Object
io.qt.QtObject
io.qt.sql.QSqlRecord
- All Implemented Interfaces:
io.qt.QtObjectInterface,Cloneable
- Direct Known Subclasses:
QSqlIndex
Encapsulates a database record
Java wrapper for Qt's class QSqlRecord
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
io.qt.QtObject.QPrivateConstructor -
Constructor Summary
ConstructorsModifierConstructorDescriptionQSqlRecord(QSqlRecord other) protectedQSqlRecord(io.qt.QtObject.QPrivateConstructor p) Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionvoidfinal voidassign(QSqlRecord other) final voidclear()final voidclone()Creates and returns a copy of this object.final booleanfinal intcount()booleanUsed to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.final QSqlFieldfield(int i) final QSqlFieldfinal StringfieldName(int i) inthashCode()final intfinal voidfinal booleanisEmpty()final booleanisGenerated(int i) final booleanisGenerated(String name) final booleanisNull(int i) final booleanfinal QSqlRecordkeyValues(QSqlRecord keyFields) final voidremove(int pos) final voidfinal voidsetGenerated(int i, boolean generated) final voidsetGenerated(String name, boolean generated) final voidsetNull(int i) final voidfinal voidfinal voidtoString()final Objectvalue(int i) final ObjectMethods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QSqlRecord
public QSqlRecord() -
QSqlRecord
-
QSqlRecord
protected QSqlRecord(io.qt.QtObject.QPrivateConstructor p) Constructor for internal use only.- Parameters:
p- expected to benull.
-
-
Method Details
-
append
-
clear
@QtUninvokable public final void clear() -
clearValues
@QtUninvokable public final void clearValues() -
contains
-
count
@QtUninvokable public final int count() -
field
-
field
-
fieldName
-
indexOf
-
insert
-
isEmpty
@QtUninvokable public final boolean isEmpty() -
isGenerated
-
isGenerated
@QtUninvokable public final boolean isGenerated(int i) -
isNull
-
isNull
@QtUninvokable public final boolean isNull(int i) -
keyValues
-
assign
-
remove
@QtUninvokable public final void remove(int pos) -
replace
-
setGenerated
-
setGenerated
@QtUninvokable public final void setGenerated(int i, boolean generated) -
setNull
-
setNull
@QtUninvokable public final void setNull(int i) -
setValue
-
setValue
-
value
-
value
-
equals
Description copied from class:io.qt.QtObjectUsed to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation.- Overrides:
equalsin classio.qt.QtObject- Parameters:
other- other object- Returns:
- true if the native counterpart of the two objects are one and the same.
-
hashCode
@QtUninvokable public int hashCode() -
toString
-
clone
Creates and returns a copy of this object.
-