java.lang.Object
io.qt.internal.QtJambiObject
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
ModifierConstructorDescriptionOverloaded constructor forQSqlField(java.lang.String, io.qt.core.QVariant.Type)
protected
Constructor for internal use only.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
clear()
clone()
final Object
boolean
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.int
hashCode()
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) final void
setTableName
(String tableName) final void
setType
(QVariant.Type type) final void
final String
toString()
final QVariant.Type
type()
final int
typeID()
final Object
value()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
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 = ""
type = io.qt.core.QVariant.Type.Invalid
-
QSqlField
-
QSqlField
-
QSqlField
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
clear
-
defaultValue
-
isAutoValue
-
isGenerated
-
isNull
-
isReadOnly
-
isValid
-
length
-
name
-
precision
-
requiredStatus
-
setAutoValue
-
setDefaultValue
-
setGenerated
-
setLength
-
setName
-
setPrecision
-
setReadOnly
-
setRequired
-
setRequiredStatus
-
setSqlType
-
setTableName
-
setType
-
setValue
-
tableName
-
type
-
typeID
-
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
-
toString
-
clone
-