public class ZwaveDevice extends AbstractProfile
Modifier and Type | Field and Description |
---|---|
protected ZwaveNode |
node |
UNKNOWN_NAME
Constructor and Description |
---|
ZwaveDevice(ZwaveNode node) |
Modifier and Type | Method and Description |
---|---|
<D extends Device> |
getDescriptor()
Returns the device hardware descriptor.
|
String |
getName()
Returns the name of the device.
|
Device |
getParent()
Returns the parent of this device in the hardware topology.
|
getChildren
protected ZwaveNode node
public ZwaveDevice(ZwaveNode node)
public <D extends Device> HardwareDescriptor<D> getDescriptor()
Device
D
- the type of the devicepublic String getName()
Device
Device.UNKNOWN_NAME
if this device is not registered and its name is unavailable.