com.trolltech.qt.sql
Class QSql.Location

java.lang.Object
  extended by java.lang.Enum
      extended by com.trolltech.qt.sql.QSql.Location
All Implemented Interfaces:
QtEnumerator, java.io.Serializable, java.lang.Comparable
Enclosing interface:
QSql

public static final class QSql.Location
extends java.lang.Enum
implements QtEnumerator

This enum type describes special SQL navigation locations.

See also:
QSqlQuery::at().

See Also:
Serialized Form

Field Summary
static QSql.Location AfterLastRow
          After the last record.
static QSql.Location BeforeFirstRow
          Before the first record.
 
Method Summary
static QSql.Location resolve(int value)
          Returns the QSql$Location constant with the specified int.
 int value()
          This function should return an integer value for the enum values of the enumeration that implements this interface.
static QSql.Location valueOf(java.lang.String name)
           
static QSql.Location[] values()
           
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

BeforeFirstRow

public static final QSql.Location BeforeFirstRow
Before the first record.


AfterLastRow

public static final QSql.Location AfterLastRow
After the last record.

Method Detail

values

public static QSql.Location[] values()

valueOf

public static QSql.Location valueOf(java.lang.String name)

value

public int value()
This function should return an integer value for the enum values of the enumeration that implements this interface.

Specified by:
value in interface QtEnumerator

resolve

public static QSql.Location resolve(int value)
Returns the QSql$Location constant with the specified int.