public class Action extends AbstractEntityWithCreationDate<String> implements IAction
creationDateid| Constructor and Description |
|---|
Action() |
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONObject |
getMetadata()
Gets the generic metadata attached to this action, this is an array which can contain any keys or values.
|
String |
getName()
Gets the name of the action.
|
void |
setMetadata(org.json.JSONObject metadata)
Sets the generic metadata attached to this action, this is an array which can contain any keys or values.
|
void |
setName(String name)
Sets the name of the action.
|
getCreationDate, setCreationDateget, getId, set, setIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCreationDate, setCreationDatepublic org.json.JSONObject getMetadata()
getMetadata in interface IActionpublic String getName()
public void setMetadata(org.json.JSONObject metadata)
setMetadata in interface IActionmetadata - An array with arbitrary metadata.Copyright © 2017 GOMOOB. All rights reserved.