public class State extends AbstractEntityWithCreationDate<String> implements IState
creationDateid| Constructor and Description |
|---|
State() |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage()
Gets the message, in most cases this message is empty.
|
org.json.JSONObject |
getMetadata()
Gets the generic metadata attached to this state, this is an array which can contain any keys or values.
|
String |
getName()
Gets the name of the state.
|
void |
setMessage(String message)
Sets the message, in most cases this message is empty.
|
void |
setMetadata(org.json.JSONObject metadata)
Sets the generic metadata attached to this state, this is an array which can contain any keys or values.
|
void |
setName(String name)
Sets the name of the state.
|
getCreationDate, setCreationDateget, getId, set, setIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCreationDate, setCreationDatepublic String getMessage()
getMessage in interface IStatepublic org.json.JSONObject getMetadata()
getMetadata in interface IStatepublic String getName()
public void setMessage(String message)
setMessage in interface IStatemessage - the message.public void setMetadata(org.json.JSONObject metadata)
setMetadata in interface IStatemetadata - the JSON Object of metadata.Copyright © 2017 GOMOOB. All rights reserved.