public class ElementStateEvent extends ChartStatusEvent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TYPEID |
Constructor and Description |
---|
ElementStateEvent() |
ElementStateEvent(java.util.UUID elementId,
ElementStateEnum previous,
ElementStateEnum current,
ChartStatus status) |
Modifier and Type | Method and Description |
---|---|
protected void |
fromJSON(JSONObject object) |
ElementStateEnum |
getCurrent() |
java.util.UUID |
getElementId() |
java.lang.String |
getElementType() |
ElementStateEnum |
getPrevious() |
java.lang.String |
getType() |
protected void |
toJSON(JSONObject object) |
getElementStatusType, getStatus
createFrom, getTimestamp, toJSON
public static final java.lang.String TYPEID
public ElementStateEvent()
public ElementStateEvent(java.util.UUID elementId, ElementStateEnum previous, ElementStateEnum current, ChartStatus status)
public java.lang.String getType()
getType
in class ChartStatusEvent
public java.lang.String getElementType()
public java.util.UUID getElementId()
public ElementStateEnum getPrevious()
public ElementStateEnum getCurrent()
protected void toJSON(JSONObject object) throws JSONException
toJSON
in class ChartStatusEvent
JSONException
protected void fromJSON(JSONObject object) throws JSONException
fromJSON
in class ChartStatusEvent
JSONException