public class Trigger extends Object implements io.gs2.model.IModel, Serializable, Comparable<Trigger>
| Modifier and Type | Field and Description |
|---|---|
protected Long |
createdAt
作成日時
|
protected Long |
expiresAt
トリガーの有効期限
|
protected String |
name
トリガーの名前
|
protected String |
triggerId
トリガー
|
protected String |
userId
ユーザーID
|
| Constructor and Description |
|---|
Trigger() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Trigger o) |
boolean |
equals(Object o) |
Long |
getCreatedAt()
作成日時を取得
|
Long |
getExpiresAt()
トリガーの有効期限を取得
|
String |
getName()
トリガーの名前を取得
|
String |
getTriggerId()
トリガーを取得
|
String |
getUserId()
ユーザーIDを取得
|
int |
hashCode() |
void |
setCreatedAt(Long createdAt)
作成日時を設定
|
void |
setExpiresAt(Long expiresAt)
トリガーの有効期限を設定
|
void |
setName(String name)
トリガーの名前を設定
|
void |
setTriggerId(String triggerId)
トリガーを設定
|
void |
setUserId(String userId)
ユーザーIDを設定
|
com.fasterxml.jackson.databind.node.ObjectNode |
toJson() |
Trigger |
withCreatedAt(Long createdAt)
作成日時を設定
|
Trigger |
withExpiresAt(Long expiresAt)
トリガーの有効期限を設定
|
Trigger |
withName(String name)
トリガーの名前を設定
|
Trigger |
withTriggerId(String triggerId)
トリガーを設定
|
Trigger |
withUserId(String userId)
ユーザーIDを設定
|
protected String triggerId
protected String name
protected String userId
protected Long createdAt
protected Long expiresAt
public String getTriggerId()
public void setTriggerId(String triggerId)
triggerId - トリガーpublic Trigger withTriggerId(String triggerId)
triggerId - トリガーpublic String getName()
public void setName(String name)
name - トリガーの名前public String getUserId()
public void setUserId(String userId)
userId - ユーザーIDpublic Trigger withUserId(String userId)
userId - ユーザーIDpublic Long getCreatedAt()
public void setCreatedAt(Long createdAt)
createdAt - 作成日時public Trigger withCreatedAt(Long createdAt)
createdAt - 作成日時public Long getExpiresAt()
public void setExpiresAt(Long expiresAt)
expiresAt - トリガーの有効期限public Trigger withExpiresAt(Long expiresAt)
expiresAt - トリガーの有効期限public com.fasterxml.jackson.databind.node.ObjectNode toJson()
public int compareTo(Trigger o)
compareTo in interface Comparable<Trigger>Copyright © 2016-2019 Game Server Services, Inc. AllRights Reserved.