public abstract class UserListEntryBan<T> extends UserListEntry<T>
Modifier and Type | Field and Description |
---|---|
protected java.util.Date |
banEndDate |
protected java.lang.String |
bannedBy |
protected java.util.Date |
banStartDate |
static java.text.SimpleDateFormat |
DATE_FORMAT |
protected java.lang.String |
reason |
Modifier | Constructor and Description |
---|---|
|
UserListEntryBan(T valueIn,
java.util.Date startDate,
java.lang.String banner,
java.util.Date endDate,
java.lang.String banReason) |
protected |
UserListEntryBan(T valueIn,
com.google.gson.JsonObject json) |
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getBanEndDate() |
java.lang.String |
getBanReason() |
protected void |
onSerialization(com.google.gson.JsonObject data) |
public static final java.text.SimpleDateFormat DATE_FORMAT
protected final java.util.Date banStartDate
protected final java.lang.String bannedBy
protected final java.util.Date banEndDate
protected final java.lang.String reason
public UserListEntryBan(T valueIn, java.util.Date startDate, java.lang.String banner, java.util.Date endDate, java.lang.String banReason)
protected UserListEntryBan(T valueIn, com.google.gson.JsonObject json)
public java.util.Date getBanEndDate()
public java.lang.String getBanReason()
protected void onSerialization(com.google.gson.JsonObject data)
onSerialization
in class UserListEntry<T>