public class DeviceCommand extends MetadataProviderEntity implements IDeviceCommand, java.io.Serializable
| Constructor and Description |
|---|
DeviceCommand() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceCommand |
copy(IDeviceCommand input)
Create a copy of an SPI object.
|
java.lang.String |
getDescription()
Get a description of the command.
|
java.lang.String |
getName()
Get command name.
|
java.lang.String |
getNamespace()
Optional namespace for distinguishing commands.
|
java.util.List<ICommandParameter> |
getParameters()
Get list of parameters.
|
java.lang.String |
getSpecificationToken()
Get token for the parent specification.
|
java.lang.String |
getToken()
Get the unique command token.
|
void |
setDescription(java.lang.String description) |
void |
setName(java.lang.String name) |
void |
setNamespace(java.lang.String namespace) |
void |
setParameters(java.util.List<CommandParameter> parameters) |
void |
setSpecificationToken(java.lang.String specificationToken) |
void |
setToken(java.lang.String token) |
copy, getCreatedBy, getCreatedDate, getUpdatedBy, getUpdatedDate, isDeleted, setCreatedBy, setCreatedDate, setDeleted, setUpdatedBy, setUpdatedDateaddOrReplaceMetadata, clearMetadata, copy, copy, getMetadata, getMetadata, removeMetadata, setMetadataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddOrReplaceMetadata, clearMetadata, getMetadata, getMetadata, removeMetadatagetCreatedBy, getCreatedDate, getUpdatedBy, getUpdatedDate, isDeletedpublic java.lang.String getToken()
IDeviceCommandgetToken in interface IDeviceCommandpublic void setToken(java.lang.String token)
public java.lang.String getSpecificationToken()
IDeviceCommandgetSpecificationToken in interface IDeviceCommandpublic void setSpecificationToken(java.lang.String specificationToken)
public java.lang.String getNamespace()
IDeviceCommandgetNamespace in interface IDeviceCommandpublic void setNamespace(java.lang.String namespace)
public java.lang.String getName()
IDeviceCommandgetName in interface IDeviceCommandpublic void setName(java.lang.String name)
public java.lang.String getDescription()
IDeviceCommandgetDescription in interface IDeviceCommandpublic void setDescription(java.lang.String description)
public java.util.List<ICommandParameter> getParameters()
IDeviceCommandgetParameters in interface IDeviceCommandpublic void setParameters(java.util.List<CommandParameter> parameters)
public static DeviceCommand copy(IDeviceCommand input) throws SiteWhereException
input - SiteWhereException