public class Event extends Object implements io.gs2.model.IModel, Serializable, Comparable<Event>
| Modifier and Type | Field and Description |
|---|---|
protected Long |
absoluteBegin
イベントの開始日時
|
protected Long |
absoluteEnd
イベントの終了日時
|
protected String |
eventId
イベントマスター
|
protected String |
metadata
イベントの種類のメタデータ
|
protected String |
name
イベントの種類名
|
protected Integer |
relativeDuration
イベントの開催期間(秒)
|
protected String |
relativeTriggerName
イベントの開始トリガー
|
protected String |
scheduleType
イベント期間の種類
|
| Constructor and Description |
|---|
Event() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Event o) |
boolean |
equals(Object o) |
Long |
getAbsoluteBegin()
イベントの開始日時を取得
|
Long |
getAbsoluteEnd()
イベントの終了日時を取得
|
String |
getEventId()
イベントマスターを取得
|
String |
getMetadata()
イベントの種類のメタデータを取得
|
String |
getName()
イベントの種類名を取得
|
Integer |
getRelativeDuration()
イベントの開催期間(秒)を取得
|
String |
getRelativeTriggerName()
イベントの開始トリガーを取得
|
String |
getScheduleType()
イベント期間の種類を取得
|
int |
hashCode() |
void |
setAbsoluteBegin(Long absoluteBegin)
イベントの開始日時を設定
|
void |
setAbsoluteEnd(Long absoluteEnd)
イベントの終了日時を設定
|
void |
setEventId(String eventId)
イベントマスターを設定
|
void |
setMetadata(String metadata)
イベントの種類のメタデータを設定
|
void |
setName(String name)
イベントの種類名を設定
|
void |
setRelativeDuration(Integer relativeDuration)
イベントの開催期間(秒)を設定
|
void |
setRelativeTriggerName(String relativeTriggerName)
イベントの開始トリガーを設定
|
void |
setScheduleType(String scheduleType)
イベント期間の種類を設定
|
com.fasterxml.jackson.databind.node.ObjectNode |
toJson() |
Event |
withAbsoluteBegin(Long absoluteBegin)
イベントの開始日時を設定
|
Event |
withAbsoluteEnd(Long absoluteEnd)
イベントの終了日時を設定
|
Event |
withEventId(String eventId)
イベントマスターを設定
|
Event |
withMetadata(String metadata)
イベントの種類のメタデータを設定
|
Event |
withName(String name)
イベントの種類名を設定
|
Event |
withRelativeDuration(Integer relativeDuration)
イベントの開催期間(秒)を設定
|
Event |
withRelativeTriggerName(String relativeTriggerName)
イベントの開始トリガーを設定
|
Event |
withScheduleType(String scheduleType)
イベント期間の種類を設定
|
protected String eventId
protected String name
protected String metadata
protected String scheduleType
protected Long absoluteBegin
protected Long absoluteEnd
protected String relativeTriggerName
protected Integer relativeDuration
public String getEventId()
public void setEventId(String eventId)
eventId - イベントマスターpublic Event withEventId(String eventId)
eventId - イベントマスターpublic String getName()
public void setName(String name)
name - イベントの種類名public String getMetadata()
public void setMetadata(String metadata)
metadata - イベントの種類のメタデータpublic Event withMetadata(String metadata)
metadata - イベントの種類のメタデータpublic String getScheduleType()
public void setScheduleType(String scheduleType)
scheduleType - イベント期間の種類public Event withScheduleType(String scheduleType)
scheduleType - イベント期間の種類public Long getAbsoluteBegin()
public void setAbsoluteBegin(Long absoluteBegin)
absoluteBegin - イベントの開始日時public Event withAbsoluteBegin(Long absoluteBegin)
absoluteBegin - イベントの開始日時public Long getAbsoluteEnd()
public void setAbsoluteEnd(Long absoluteEnd)
absoluteEnd - イベントの終了日時public Event withAbsoluteEnd(Long absoluteEnd)
absoluteEnd - イベントの終了日時public String getRelativeTriggerName()
public void setRelativeTriggerName(String relativeTriggerName)
relativeTriggerName - イベントの開始トリガーpublic Event withRelativeTriggerName(String relativeTriggerName)
relativeTriggerName - イベントの開始トリガーpublic Integer getRelativeDuration()
public void setRelativeDuration(Integer relativeDuration)
relativeDuration - イベントの開催期間(秒)public Event withRelativeDuration(Integer relativeDuration)
relativeDuration - イベントの開催期間(秒)public com.fasterxml.jackson.databind.node.ObjectNode toJson()
public int compareTo(Event o)
compareTo in interface Comparable<Event>Copyright © 2016-2019 Game Server Services, Inc. AllRights Reserved.