Package nxt.db

Class DbKey.LongKey

  • All Implemented Interfaces:
    DbKey
    Enclosing interface:
    DbKey

    public static final class DbKey.LongKey
    extends java.lang.Object
    implements DbKey
    • 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