Class TimestampUidPair


  • public class TimestampUidPair
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean canEqual​(java.lang.Object other)  
      boolean equals​(java.lang.Object o)  
      java.util.Optional<java.lang.String> getBy()
      The Ask Kodiak UID of the user associated with the timestamp
      java.util.Optional<java.sql.Timestamp> getOn()
      Timestamp represented with an action, event, or change.
      int hashCode()  
      void setBy​(java.lang.String by)
      The Ask Kodiak UID of the user associated with the timestamp
      void setOn​(java.sql.Timestamp on)
      Timestamp represented with an action, event, or change.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TimestampUidPair

        public TimestampUidPair()
    • Method Detail

      • getBy

        public java.util.Optional<java.lang.String> getBy()
        The Ask Kodiak UID of the user associated with the timestamp
        Returns:
        an Ask Kodiak UID
      • getOn

        public java.util.Optional<java.sql.Timestamp> getOn()
        Timestamp represented with an action, event, or change.
        Returns:
        a timestamp
      • setBy

        public void setBy​(java.lang.String by)
        The Ask Kodiak UID of the user associated with the timestamp
      • setOn

        public void setOn​(java.sql.Timestamp on)
        Timestamp represented with an action, event, or change.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object