org.minetti.astrodevice.common.device
Interface DeviceSignature


public interface DeviceSignature

Signature used for recognize a device.

Each device is identified by:

Author:
Jean-Philippe MINETTI

Method Summary
 String getBus()
          Returns the bus name where the device is connected.
 String getProductDescription()
          Returns the product description of device.
 String getProductId()
          Returns an unique identifier identifying the device product.
 String getProductVersion()
          Returns the product version of device.
 Map<String,Object> getProperties()
          Returns the map containing all properties of the device.
 String getSerialNumber()
          Returns the serial number of device or other data identifying the devices of the same product.
 

Method Detail

getBus

String getBus()
Returns the bus name where the device is connected.

This can be:

Returns:
Bus name (never NULL).

getProductId

String getProductId()
Returns an unique identifier identifying the device product.

Returns:
Identifier of device product (never NULL).

getProductDescription

String getProductDescription()
Returns the product description of device.

Returns:
Product description of device (never NULL).

getProductVersion

String getProductVersion()
Returns the product version of device.

Returns:
Product version of device (can be NULL).

getSerialNumber

String getSerialNumber()
Returns the serial number of device or other data identifying the devices of the same product.

Returns:
Serial number of device (can be NULL).

getProperties

Map<String,Object> getProperties()
Returns the map containing all properties of the device.

Returns:
Property map of device (never NULL).


Copyright © 2012 astroDevice. All Rights Reserved.