jhomenet.hw
Interface Hardware

All Known Implementing Classes:
BarometricSensor, ConfigurableTestSensor, Device, DoorSensor, HardwareTreeNode, HomenetHardware, HumiditySensor, LightningSensor, LightSensor, LightSwitchDevice, RainSensor, Sensor, StateSensor, TempSensor, TestDevice, TestStateSensor, TestValueSensor, ValueSensor, WindDirectionSensor, WindSpeedSensor

public interface Hardware

ID: $Id: Hardware.java,v 1.9 2005/10/04 00:10:13 dhirwinjr Exp $ Description: Hardware interface.


Method Summary
 boolean equals(Hardware hardware)
          Used to check for equality.
 java.lang.String getDriverHardwareDescription()
          Get the driver hardware description.
 java.lang.String getDriverName()
          Get the hardware driver name.
 java.lang.String getHardwareClassname()
          Get the jHomenet hardware type.
 java.lang.String getHardwareId()
          Get the hardware ID.
 boolean isRegistered()
          Whether the hardware is registered or not.
 

Method Detail

isRegistered

boolean isRegistered()
Whether the hardware is registered or not.

Returns:
true if the hardware is registered

getHardwareId

java.lang.String getHardwareId()
Get the hardware ID.

Returns:
The hardware ID

getHardwareClassname

java.lang.String getHardwareClassname()
Get the jHomenet hardware type.

Returns:
The jHomenet hardware type

getDriverName

java.lang.String getDriverName()
Get the hardware driver name.

Returns:
Hardware driver name

getDriverHardwareDescription

java.lang.String getDriverHardwareDescription()
Get the driver hardware description.

Returns:
Driver hardware description

equals

boolean equals(Hardware hardware)
Used to check for equality.

Parameters:
hardware -
Returns:
True if the hardware is considered equal


Copyright © 2004-2005 David Irwin. All Rights Reserved.