Class TimestampUidPair
- java.lang.Object
-
- com.trustedchoice.askkodiak.v2.model.TimestampUidPair
-
public class TimestampUidPair extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description TimestampUidPair()
-
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 timestampjava.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 timestampvoid
setOn(java.sql.Timestamp on)
Timestamp represented with an action, event, or change.java.lang.String
toString()
-
-
-
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 classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-