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 -
Constructor Summary
ConstructorsConstructorDescriptionOverloaded 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 voidfinal voidclear()clone()Creates and returns a copy of this object.final Objectfinal booleanbooleaninthashCode()Returns the objects's hash code computed byqHash(QSqlField).final booleanfinal booleanfinal booleanisNull()final booleanfinal booleanisValid()final intlength()final Stringname()final intfinal QSqlField.RequiredStatusfinal voidsetAutoValue(boolean autoVal) final voidsetDefaultValue(Object value) final voidsetGenerated(boolean gen) final voidsetLength(int fieldLength) final voidfinal voidsetPrecision(int precision) final voidsetReadOnly(boolean readOnly) final voidsetRequired(boolean required) final voidfinal voidsetSqlType(int type) SeeQSqlField::setSqlType(int) final voidsetTableName(String tableName) final voidsetType(QVariant.Type type) final voidfinal StringtoString()Seeoperator<<(QDebug,QSqlField) final QVariant.Typetype()final inttypeID()SeeQSqlField::typeID()const final Objectvalue()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)nulltype = io.qt.core.QVariant.Type.Invalid
-
-
Method Details
-
clear
-
defaultValue
-
isAutoValue
-
isGenerated
-
isNull
-
isReadOnly
-
isValid
-
length
-
name
-
assign
-
equals
-
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.
-