org.minetti.astrodevice.server.plugin.device
Class BaseDeviceSignature

java.lang.Object
  extended by org.minetti.astrodevice.server.plugin.device.BaseDeviceSignature
All Implemented Interfaces:
DeviceSignature

public abstract class BaseDeviceSignature
extends Object
implements DeviceSignature

Base class for device signature through the bus:

All data constituting the device signature must be stored in the properties field. The other fields will only access to the properties field.

Author:
Jean-Philippe MINETTI

Constructor Summary
protected BaseDeviceSignature()
          Hidden constructor (abstract class).
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.minetti.astrodevice.common.device.DeviceSignature
getBus, getProductDescription, getProductId, getProductVersion, getProperties, getSerialNumber
 

Constructor Detail

BaseDeviceSignature

protected BaseDeviceSignature()
Hidden constructor (abstract class).

Method Detail

hashCode

public final int hashCode()
Overrides:
hashCode in class Object

equals

public final boolean equals(Object obj)
Overrides:
equals in class Object

toString

public final String toString()
Overrides:
toString in class Object


Copyright © 2012 astroDevice. All Rights Reserved.