java.lang.Object
io.qt.QtObject
io.qt.sql.QSqlField
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Manipulates the fields in SQL database tables and views
Java wrapper for Qt class QSqlField
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ConstructorDescriptionOverloaded constructor forQSqlField(java.lang.String, io.qt.core.QVariant.Type)
Overloaded constructor forQSqlField(java.lang.String, io.qt.core.QVariant.Type)
withtype = io.qt.core.QVariant.Type.Invalid
.QSqlField
(String fieldName, QVariant.Type type) QSqlField
(String fieldName, QVariant.Type type, String tableName) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
final void
clear()
clone()
Creates and returns a copy of this object.final Object
boolean
int
hashCode()
Returns the objects's hash code computed byqHash(QSqlField)
.final boolean
final boolean
final boolean
isNull()
final boolean
final boolean
isValid()
final int
length()
final String
name()
final int
final QSqlField.RequiredStatus
final void
setAutoValue
(boolean autoVal) final void
setDefaultValue
(Object value) final void
setGenerated
(boolean gen) final void
setLength
(int fieldLength) final void
final void
setPrecision
(int precision) final void
setReadOnly
(boolean readOnly) final void
setRequired
(boolean required) final void
final void
setSqlType
(int type) SeeQSqlField::
setSqlType(int) final void
setTableName
(String tableName) final void
setType
(QVariant.Type type) final void
final String
toString()
Seeoperator<<(QDebug,
QSqlField) final QVariant.Type
type()
final int
typeID()
SeeQSqlField::
typeID()const final Object
value()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QSqlField
-
QSqlField
-
QSqlField
-
QSqlField
Overloaded constructor for
QSqlField(java.lang.String, io.qt.core.QVariant.Type)
withtype = io.qt.core.QVariant.Type.Invalid
. -
QSqlField
public QSqlField()Overloaded constructor for
QSqlField(java.lang.String, io.qt.core.QVariant.Type)
with:
fieldName = (String)null
type = io.qt.core.QVariant.Type.Invalid
-
-
Method Details
-
clear
-
defaultValue
-
isAutoValue
-
isGenerated
-
isNull
-
isReadOnly
-
isValid
-
length
-
name
-
assign
-
precision
-
requiredStatus
-
setAutoValue
-
setDefaultValue
-
setGenerated
-
setLength
-
setName
-
setPrecision
-
setReadOnly
-
setRequired
-
setRequiredStatus
-
setSqlType
See
QSqlField::
setSqlType(int) -
setTableName
-
setType
-
setValue
-
tableName
-
type
-
typeID
See
QSqlField::
typeID()const -
value
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QSqlField)
. -
toString
See
operator<<(QDebug,
QSqlField) -
clone
Creates and returns a copy of this object.
-