public class User extends Object implements Serializable, Comparable<User>
| Modifier and Type | Field and Description |
|---|---|
protected Long |
createdAt
作成日時
|
protected String |
description
ユーザの説明
|
protected String |
name
ユーザー名
|
protected String |
ownerId
オーナーID
|
protected Long |
updatedAt
最終更新日時
|
protected String |
userId
ユーザ
|
| Constructor and Description |
|---|
User() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(User o) |
boolean |
equals(Object o) |
Long |
getCreatedAt()
作成日時を取得
|
String |
getDescription()
ユーザの説明を取得
|
String |
getName()
ユーザー名を取得
|
String |
getOwnerId()
オーナーIDを取得
|
Long |
getUpdatedAt()
最終更新日時を取得
|
String |
getUserId()
ユーザを取得
|
int |
hashCode() |
void |
setCreatedAt(Long createdAt)
作成日時を設定
|
void |
setDescription(String description)
ユーザの説明を設定
|
void |
setName(String name)
ユーザー名を設定
|
void |
setOwnerId(String ownerId)
オーナーIDを設定
|
void |
setUpdatedAt(Long updatedAt)
最終更新日時を設定
|
void |
setUserId(String userId)
ユーザを設定
|
com.fasterxml.jackson.databind.node.ObjectNode |
toJson() |
User |
withCreatedAt(Long createdAt)
作成日時を設定
|
User |
withDescription(String description)
ユーザの説明を設定
|
User |
withName(String name)
ユーザー名を設定
|
User |
withOwnerId(String ownerId)
オーナーIDを設定
|
User |
withUpdatedAt(Long updatedAt)
最終更新日時を設定
|
User |
withUserId(String userId)
ユーザを設定
|
protected String userId
protected String ownerId
protected String name
protected String description
protected Long createdAt
protected Long updatedAt
public String getUserId()
public void setUserId(String userId)
userId - ユーザpublic String getOwnerId()
public void setOwnerId(String ownerId)
ownerId - オーナーIDpublic User withOwnerId(String ownerId)
ownerId - オーナーIDpublic String getName()
public void setName(String name)
name - ユーザー名public String getDescription()
public void setDescription(String description)
description - ユーザの説明public User withDescription(String description)
description - ユーザの説明public Long getCreatedAt()
public void setCreatedAt(Long createdAt)
createdAt - 作成日時public User withCreatedAt(Long createdAt)
createdAt - 作成日時public Long getUpdatedAt()
public void setUpdatedAt(Long updatedAt)
updatedAt - 最終更新日時public User withUpdatedAt(Long updatedAt)
updatedAt - 最終更新日時public com.fasterxml.jackson.databind.node.ObjectNode toJson()
public int compareTo(User o)
compareTo in interface Comparable<User>Copyright © 2016-2019 Game Server Services, Inc. AllRights Reserved.