- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<QSql.ParamType>
- Enclosing class:
- QSql
public static final class QSql.ParamType extends QFlags<QSql.ParamTypeFlag> implements Comparable<QSql.ParamType>
QFlags type for enum
QSql.ParamTypeFlag
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ParamType(int value)
Creates a new ParamType with givenvalue
.ParamType(QSql.ParamTypeFlag... args)
Creates a new ParamType where the flags inargs
are set. -
Method Summary
Modifier and Type Method Description QSql.ParamType
clone()
Clones the flagsQSql.ParamType
combined(QSql.ParamTypeFlag e)
Combines this flags with enum entry.int
compareTo(QSql.ParamType other)
QSql.ParamTypeFlag[]
flags()
Returns an array of flag objects represented by this ParamType.QSql.ParamType
setFlag(QSql.ParamTypeFlag e)
Sets the flage
QSql.ParamType
setFlag(QSql.ParamTypeFlag e, boolean on)
Sets or clears the flagflag
-
Constructor Details
-
Method Details
-
combined
Combines this flags with enum entry.- Overrides:
combined
in classQFlags<QSql.ParamTypeFlag>
- Parameters:
e
- enum entry- Returns:
- new ParamType
-
setFlag
Sets the flage
- Overrides:
setFlag
in classQFlags<QSql.ParamTypeFlag>
- Parameters:
e
- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag
- Overrides:
setFlag
in classQFlags<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:
flags
in classQFlags<QSql.ParamTypeFlag>
- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clone
in classQFlags<QSql.ParamTypeFlag>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QSql.ParamType>
-