- All Implemented Interfaces:
io.qt.QtObjectInterface,Cloneable
Manipulates the fields in SQL database tables and views
Java wrapper for Qt class QSqlField
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class io.qt.QtObject
io.qt.QtObject.QPrivateConstructor -
Constructor Summary
ConstructorsConstructorDescriptionOverloaded 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)Overloaded constructor forQSqlField(java.lang.String, io.qt.core.QMetaType, java.lang.String)withtableName = (String)null.Deprecated.Use the constructor using a QMetaType insteadDeprecated.Use the constructor using a QMetaType instead -
Method Summary
Modifier and TypeMethodDescriptionfinal voidfinal voidclear()clone()Creates and returns a copy of this object.final ObjectbooleaninthashCode()Returns the objects's hash code computed byqHash(QSqlField).final booleanfinal booleanfinal booleanisNull()final booleanfinal booleanisValid()final intlength()final io.qt.core.QMetaTypemetaType()final Stringname()final intfinal QSqlField.RequiredStatusfinal voidsetAutoValue(boolean autoVal) final voidsetDefaultValue(Object value) final voidsetGenerated(boolean gen) final voidsetLength(int fieldLength) final voidsetMetaType(io.qt.core.QMetaType type) 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(io.qt.core.QVariant.Type type) Deprecated.UsesetMetaType(io.qt.core.QMetaType)insteadfinal voidfinal voidfinal StringtoString()Seeoperator<<(QDebug,QSqlField) final io.qt.core.QVariant.Typetype()Deprecated.UsemetaType()insteadfinal inttypeID()SeeQSqlField::typeID()const final Objectvalue()Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QSqlField
-
QSqlField
-
QSqlField
Deprecated.Use the constructor using a QMetaType insteadSee
QSqlField::QSqlField(QString, QVariant::Type, QString) -
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)nulltype = new io.qt.core.QMetaType()tableName = (String)null
-
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.
-
-
Method Details
-
clear
@QtUninvokable public final void clear() -
defaultValue
-
isAutoValue
@QtUninvokable public final boolean isAutoValue() -
isGenerated
@QtUninvokable public final boolean isGenerated() -
isNull
@QtUninvokable public final boolean isNull() -
isReadOnly
@QtUninvokable public final boolean isReadOnly() -
isValid
@QtUninvokable public final boolean isValid() -
length
@QtUninvokable public final int length() -
metaType
@QtUninvokable public final io.qt.core.QMetaType metaType() -
name
-
assign
-
precision
@QtUninvokable public final int precision() -
requiredStatus
-
setAutoValue
@QtUninvokable public final void setAutoValue(boolean autoVal) -
setDefaultValue
-
setGenerated
@QtUninvokable public final void setGenerated(boolean gen) -
setLength
@QtUninvokable public final void setLength(int fieldLength) -
setMetaType
@QtUninvokable public final void setMetaType(io.qt.core.QMetaType type) -
setName
-
setPrecision
@QtUninvokable public final void setPrecision(int precision) -
setReadOnly
@QtUninvokable public final void setReadOnly(boolean readOnly) -
setRequired
@QtUninvokable public final void setRequired(boolean required) -
setRequiredStatus
-
setSqlType
@QtUninvokable public final void setSqlType(int type) See
QSqlField::setSqlType(int) -
setTableName
-
setType
Deprecated.UsesetMetaType(io.qt.core.QMetaType)insteadSee
QSqlField::setType(QVariant::Type) -
setValue
-
swap
-
tableName
-
type
Deprecated.UsemetaType()insteadSee
QSqlField::type()const -
typeID
@QtUninvokable public final int typeID()See
QSqlField::typeID()const -
value
-
equals
- Overrides:
equalsin classio.qt.QtObject- Parameters:
other- other object- Returns:
- true if the native counterpart of the two objects are one and the same.
-
hashCode
@QtUninvokable public int hashCode()Returns the objects's hash code computed byqHash(QSqlField). -
toString
See
operator<<(QDebug,QSqlField) -
clone
Creates and returns a copy of this object.
-