public abstract static class DeviceModelAction.Argument
extends java.lang.Object
Constructor and Description |
---|
Argument() |
Modifier and Type | Method and Description |
---|---|
abstract DeviceModelAttribute.Type |
getArgType()
The data type of the argument to the action.
|
java.lang.Object |
getDefaultValue()
Get the default value of the argument as defined by the device model.
|
abstract java.lang.Number |
getLowerBound()
For
DeviceModelAttribute.Type.NUMBER and
DeviceModelAttribute.Type.INTEGER only, give the lower bound of the
acceptable range of values for the action's argument. |
abstract java.lang.String |
getName()
Get the argument name.
|
abstract java.lang.Number |
getUpperBound()
For
DeviceModelAttribute.Type.NUMBER and
DeviceModelAttribute.Type.INTEGER only, give the upper bound of the
acceptable range of values for the action's argument. |
public abstract java.lang.String getName()
public abstract DeviceModelAttribute.Type getArgType()
public abstract java.lang.Number getLowerBound()
DeviceModelAttribute.Type.NUMBER
and
DeviceModelAttribute.Type.INTEGER
only, give the lower bound of the
acceptable range of values for the action's argument.
Null is always returned for actions other than NUMBER
or INTEGER
type.public abstract java.lang.Number getUpperBound()
DeviceModelAttribute.Type.NUMBER
and
DeviceModelAttribute.Type.INTEGER
only, give the upper bound of the
acceptable range of values for the action's argument.
Null is always returned for actions other than NUMBER
or INTEGER
type.public java.lang.Object getDefaultValue()
defaultValue
for the argument in the device model, then this method will return
null
. The value null
is not a default value.null
if no default is defined