Package nxt.db

Class DbKey.StringKey

  • All Implemented Interfaces:
    DbKey
    Enclosing interface:
    DbKey

    public static final class DbKey.StringKey
    extends java.lang.Object
    implements DbKey
    • Method Detail

      • getId

        public java.lang.String 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