java.lang.Object
io.qt.QFlags<QSql.ParamTypeFlag>
io.qt.sql.QSql.ParamType
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<QSql.ParamType>
- Enclosing class:
QSql
public static final class QSql.ParamType
extends io.qt.QFlags<QSql.ParamTypeFlag>
implements Comparable<QSql.ParamType>
QFlags type for enum QSql.ParamTypeFlag- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionParamType(int value) Creates a new ParamType with givenvalue.ParamType(QSql.ParamTypeFlag ... args) Creates a new ParamType where the flags inargsare set. -
Method Summary
Modifier and TypeMethodDescriptionfinal QSql.ParamTypeclone()Clones the flagsfinal QSql.ParamTypeCombines this flags with enum entry.final intcompareTo(QSql.ParamType other) final QSql.ParamTypeFlag []flags()Returns an array of flag objects represented by this ParamType.final QSql.ParamTypeSets the flagefinal QSql.ParamTypesetFlag(QSql.ParamTypeFlag e, boolean on) Sets or clears the flagflagMethods inherited from class io.qt.QFlags
clear, clear, clearAll, cleared, compare, equals, exclude, flags, hashCode, isSet, isSet, set, set, setValue, testAnyFlags, testAnyFlags, testFlag, testFlags, testFlags, toInt, toString, value
-
Constructor Details
-
ParamType
Creates a new ParamType where the flags inargsare set.- Parameters:
args- enum entries
-
ParamType
public ParamType(int value) Creates a new ParamType with givenvalue.- Parameters:
value-
-
-
Method Details
-
combined
Combines this flags with enum entry.- Overrides:
combinedin classio.qt.QFlags<QSql.ParamTypeFlag>- Parameters:
e- enum entry- Returns:
- new ParamType
-
setFlag
Sets the flage- Overrides:
setFlagin classio.qt.QFlags<QSql.ParamTypeFlag>- Parameters:
e- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag- Overrides:
setFlagin classio.qt.QFlags<QSql.ParamTypeFlag>- Parameters:
e- enum entryon- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this ParamType.- Overrides:
flagsin classio.qt.QFlags<QSql.ParamTypeFlag>- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clonein classio.qt.QFlags<QSql.ParamTypeFlag>
-
compareTo
- Specified by:
compareToin interfaceComparable<QSql.ParamType>
-