Class Nickname
- java.lang.Object
-
- com.djrapitops.plan.delivery.domain.Nickname
-
- All Implemented Interfaces:
DateHolder
public class Nickname extends java.lang.Object implements DateHolder
Object storing nickname information.
-
-
Constructor Summary
Constructors Constructor Description Nickname(java.lang.String name, long date, java.util.UUID serverUUID)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
long
getDate()
Get the date the object holds.java.lang.String
getName()
java.util.UUID
getServerUUID()
int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getDate
public long getDate()
Description copied from interface:DateHolder
Get the date the object holds.- Specified by:
getDate
in interfaceDateHolder
- Returns:
- Epoch ms - milliseconds passed since January 1st 1970.
-
getServerUUID
public java.util.UUID getServerUUID()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-