nxt.db

## Class DbKey.LongKey

- java.lang.Object
- - nxt.db.DbKey.LongKey

- All Implemented Interfaces:
    DbKey
  Enclosing interface:
    DbKey

      public static final class DbKey.LongKey
      extends java.lang.Object
      implements DbKey

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface nxt.db.DbKey

      `DbKey.Factory<T>, DbKey.LinkKey, DbKey.LinkKeyFactory<T>, DbKey.LongKey, DbKey.LongKeyFactory<T>, DbKey.StringKey, DbKey.StringKeyFactory<T>`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(java.lang.Object o)`
    `long` | `getId()`
    `int` | `hashCode()`
    `int` | `setPK(java.sql.PreparedStatement pstmt)`
    `int` | `setPK(java.sql.PreparedStatement pstmt, int index)`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getId

          public long getId()

    - #### setPK

          public int setPK(java.sql.PreparedStatement pstmt)
                    throws java.sql.SQLException

      Specified by:
        `setPK` in interface `DbKey`
      Throws:
        `java.sql.SQLException`

    - #### setPK

          public int setPK(java.sql.PreparedStatement pstmt,
                           int index)
                    throws java.sql.SQLException

      Specified by:
        `setPK` in interface `DbKey`
      Throws:
        `java.sql.SQLException`

    - #### equals

          public boolean equals(java.lang.Object o)

      Overrides:
        `equals` in class `java.lang.Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `java.lang.Object`