java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.sql.QSqlRecord
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Direct Known Subclasses:
QSqlIndex
public class QSqlRecord extends QtObject implements Cloneable
Encapsulates a database record
Java wrapper for Qt class QSqlRecord
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QSqlRecord()
protected
QSqlRecord(QtObject.QPrivateConstructor p)
Constructor for internal use only.QSqlRecord(QSqlRecord other)
-
Method Summary
Modifier and Type Method Description void
append(QSqlField field)
void
clear()
void
clearValues()
QSqlRecord
clone()
boolean
contains(String name)
int
count()
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.QSqlField
field(int i)
QSqlField
field(String name)
String
fieldName(int i)
int
hashCode()
int
indexOf(String name)
void
insert(int pos, QSqlField field)
boolean
isEmpty()
boolean
isGenerated(int i)
boolean
isGenerated(String name)
boolean
isNull(int i)
boolean
isNull(String name)
QSqlRecord
keyValues(QSqlRecord keyFields)
void
remove(int pos)
void
replace(int pos, QSqlField field)
void
setGenerated(int i, boolean generated)
void
setGenerated(String name, boolean generated)
void
setNull(int i)
void
setNull(String name)
void
setValue(int i, Object val)
void
setValue(String name, Object val)
String
toString()
Object
value(int i)
Object
value(String name)
-
Constructor Details
-
QSqlRecord
public QSqlRecord() -
QSqlRecord
-
QSqlRecord
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
append
-
clear
-
clearValues
-
contains
-
count
-
field
-
field
-
fieldName
-
indexOf
-
insert
-
isEmpty
-
isGenerated
-
isGenerated
-
isNull
-
isNull
-
keyValues
-
remove
-
replace
-
setGenerated
-
setGenerated
-
setNull
-
setNull
-
setValue
-
setValue
-
value
-
value
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
public int hashCode() -
toString
-
clone
-