public class Counter extends Object implements Serializable, Comparable<Counter>
| Modifier and Type | Field and Description |
|---|---|
protected String |
counterId
カウンター
|
protected Long |
createdAt
作成日時
|
protected String |
name
カウンター名
|
protected Long |
updatedAt
最終更新日時
|
protected String |
userId
ユーザーID
|
protected List<ScopedValue> |
values
値
|
| Constructor and Description |
|---|
Counter() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Counter o) |
boolean |
equals(Object o) |
String |
getCounterId()
カウンターを取得
|
Long |
getCreatedAt()
作成日時を取得
|
String |
getName()
カウンター名を取得
|
Long |
getUpdatedAt()
最終更新日時を取得
|
String |
getUserId()
ユーザーIDを取得
|
List<ScopedValue> |
getValues()
値を取得
|
int |
hashCode() |
void |
setCounterId(String counterId)
カウンターを設定
|
void |
setCreatedAt(Long createdAt)
作成日時を設定
|
void |
setName(String name)
カウンター名を設定
|
void |
setUpdatedAt(Long updatedAt)
最終更新日時を設定
|
void |
setUserId(String userId)
ユーザーIDを設定
|
void |
setValues(List<ScopedValue> values)
値を設定
|
com.fasterxml.jackson.databind.node.ObjectNode |
toJson() |
Counter |
withCounterId(String counterId)
カウンターを設定
|
Counter |
withCreatedAt(Long createdAt)
作成日時を設定
|
Counter |
withName(String name)
カウンター名を設定
|
Counter |
withUpdatedAt(Long updatedAt)
最終更新日時を設定
|
Counter |
withUserId(String userId)
ユーザーIDを設定
|
Counter |
withValues(List<ScopedValue> values)
値を設定
|
protected String counterId
protected String userId
protected String name
protected List<ScopedValue> values
protected Long createdAt
protected Long updatedAt
public String getCounterId()
public void setCounterId(String counterId)
counterId - カウンターpublic Counter withCounterId(String counterId)
counterId - カウンターpublic String getUserId()
public void setUserId(String userId)
userId - ユーザーIDpublic Counter withUserId(String userId)
userId - ユーザーIDpublic String getName()
public void setName(String name)
name - カウンター名public List<ScopedValue> getValues()
public void setValues(List<ScopedValue> values)
values - 値public Counter withValues(List<ScopedValue> values)
values - 値public Long getCreatedAt()
public void setCreatedAt(Long createdAt)
createdAt - 作成日時public Counter withCreatedAt(Long createdAt)
createdAt - 作成日時public Long getUpdatedAt()
public void setUpdatedAt(Long updatedAt)
updatedAt - 最終更新日時public Counter withUpdatedAt(Long updatedAt)
updatedAt - 最終更新日時public com.fasterxml.jackson.databind.node.ObjectNode toJson()
public int compareTo(Counter o)
compareTo in interface Comparable<Counter>Copyright © 2016-2019 Game Server Services, Inc. AllRights Reserved.