|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QSql.ParamTypeFlag>
com.trolltech.qt.sql.QSql.ParamTypeFlag
public static enum QSql.ParamTypeFlag
This enum is used to specify the type of a bind parameter.
Enum Constant Summary | |
---|---|
Binary
This must be OR'd with one of the other flags if you want to indicate that the data being transferred is raw binary data. |
|
In
The bind parameter is used to put data into the database. |
|
InOut
The bind parameter is used to put data into the database; it will be overwritten with output data on executing a query. |
|
Out
The bind parameter is used to receive data from the database. |
Method Summary | |
---|---|
static QSql.ParamType |
createQFlags(QSql.ParamTypeFlag... values)
|
static QSql.ParamTypeFlag |
resolve(int value)
|
int |
value()
|
static QSql.ParamTypeFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QSql.ParamTypeFlag[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final QSql.ParamTypeFlag In
The bind parameter is used to put data into the database.
public static final QSql.ParamTypeFlag Out
The bind parameter is used to receive data from the database.
public static final QSql.ParamTypeFlag InOut
The bind parameter is used to put data into the database; it will be overwritten with output data on executing a query.
public static final QSql.ParamTypeFlag Binary
This must be OR'd with one of the other flags if you want to indicate that the data being transferred is raw binary data.
Method Detail |
---|
public static final QSql.ParamTypeFlag[] values()
for(QSql.ParamTypeFlag c : QSql.ParamTypeFlag.values()) System.out.println(c);
public static QSql.ParamTypeFlag valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic int value()
value
in interface QtEnumerator
public static QSql.ParamType createQFlags(QSql.ParamTypeFlag... values)
public static QSql.ParamTypeFlag resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |