java.lang.Object
io.qt.internal.NativeUtility.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's 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.QMetaType, java.lang.String)
protected
Constructor for internal use only.Overloaded constructor forQSqlField(java.lang.String, io.qt.core.QMetaType, java.lang.String)
Overloaded constructor forQSqlField(java.lang.String, io.qt.core.QMetaType, java.lang.String)
withtableName = (String)null
.QSqlField
(String fieldName, QVariant.Type type) Deprecated.Use the constructor using a QMetaType insteadQSqlField
(String fieldName, QVariant.Type type, String tableName) Deprecated.Use the constructor using a QMetaType instead -
Method Summary
Modifier and TypeMethodDescriptionfinal void
clear()
clone()
final Object
boolean
Used 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.int
hashCode()
final boolean
final boolean
final boolean
isNull()
final boolean
final boolean
isValid()
final int
length()
final QMetaType
metaType()
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
setMetaType
(QMetaType type) 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) Deprecated.UsesetMetaType(io.qt.core.QMetaType)
insteadfinal void
final String
toString()
final QVariant.Type
type()
Deprecated.UsemetaType()
insteadfinal 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.QMetaType, java.lang.String)
withtableName = (String)null
. -
QSqlField
Overloaded constructor for
QSqlField(java.lang.String, io.qt.core.QMetaType, java.lang.String)
with:
type = new io.qt.core.QMetaType()
tableName = (String)null
-
QSqlField
public QSqlField()Overloaded constructor for
QSqlField(java.lang.String, io.qt.core.QMetaType, java.lang.String)
with:
fieldName = (String)null
type = new io.qt.core.QMetaType()
tableName = (String)null
-
QSqlField
-
QSqlField
Deprecated.Use the constructor using a QMetaType insteadOverloaded constructor for
QSqlField(java.lang.String, io.qt.core.QVariant.Type, java.lang.String)
withtableName = (String)null
. -
QSqlField
Deprecated.Use the constructor using a QMetaType instead -
QSqlField
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
clear
-
defaultValue
-
isAutoValue
-
isGenerated
-
isNull
-
isReadOnly
-
isValid
-
length
-
metaType
-
name
-
precision
-
requiredStatus
-
setAutoValue
-
setDefaultValue
-
setGenerated
-
setLength
-
setMetaType
-
setName
-
setPrecision
-
setReadOnly
-
setRequired
-
setRequiredStatus
-
setSqlType
-
setTableName
-
setType
Deprecated.UsesetMetaType(io.qt.core.QMetaType)
instead -
setValue
-
tableName
-
type
Deprecated.UsemetaType()
instead -
typeID
-
value
-
equals
Description copied from class:QtObject
Used 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. -
hashCode
-
toString
-
clone
-