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, setUpdatedDate
addOrReplaceMetadata, clearMetadata, copy, copy, getMetadata, getMetadata, removeMetadata, setMetadata
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addOrReplaceMetadata, clearMetadata, getMetadata, getMetadata, removeMetadata
getCreatedBy, getCreatedDate, getUpdatedBy, getUpdatedDate, isDeleted
public java.lang.String getToken()
IDeviceCommand
getToken
in interface IDeviceCommand
public void setToken(java.lang.String token)
public java.lang.String getSpecificationToken()
IDeviceCommand
getSpecificationToken
in interface IDeviceCommand
public void setSpecificationToken(java.lang.String specificationToken)
public java.lang.String getNamespace()
IDeviceCommand
getNamespace
in interface IDeviceCommand
public void setNamespace(java.lang.String namespace)
public java.lang.String getName()
IDeviceCommand
getName
in interface IDeviceCommand
public void setName(java.lang.String name)
public java.lang.String getDescription()
IDeviceCommand
getDescription
in interface IDeviceCommand
public void setDescription(java.lang.String description)
public java.util.List<ICommandParameter> getParameters()
IDeviceCommand
getParameters
in interface IDeviceCommand
public void setParameters(java.util.List<CommandParameter> parameters)
public static DeviceCommand copy(IDeviceCommand input) throws SiteWhereException
input
- SiteWhereException