Class IdPK

    • Constructor Detail

      • IdPK

        public IdPK()
      • IdPK

        public IdPK​(String id)
      • IdPK

        public IdPK​(int id)
    • Method Detail

      • equals

        public boolean equals​(Object other)
        Description copied from class: WAPrimaryKey
        This method must be specialized - Check if an another object is equal to this object
        Specified by:
        equals in class WAPrimaryKey
        Parameters:
        other - the object to compare to this WAPrimaryKey
        Returns:
        true if obj is equals to this object
      • setIdAsLong

        public void setIdAsLong​(long value)
      • getIdAsLong

        public long getIdAsLong()
      • hashCode

        public int hashCode()
        Description copied from class: WAPrimaryKey
        Returns a hash code for the key
        Overrides:
        hashCode in class WAPrimaryKey
        Returns:
        A hash code for this object