|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.minetti.astrodevice.server.hibernate.object.DeviceSpecificationImpl
@Entity public final class DeviceSpecificationImpl
Object representing the specifications on a device.
Nested Class Summary | |
---|---|
protected class |
DeviceSpecificationImpl.DeviceSignatureImpl
Signature used for recognize the device. |
Field Summary | |
---|---|
protected String |
bus
Bus name where the device is connected (never NULL). |
protected String |
productDescription
Product description of device (never NULL). |
protected String |
productId
Unique identifier identifying the device product (never NULL). |
protected String |
productVersion
Product version of device (can be NULL). |
protected HashMap<String,Object> |
properties
Map containing all properties of the device (never NULL). |
protected String |
serialNumber
Serial number of device or other data identifying the devices of the same product (can be NULL). |
Constructor Summary | |
---|---|
DeviceSpecificationImpl()
Constructor. |
|
DeviceSpecificationImpl(DeviceSpecification deviceSpecification)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Long |
getId()
|
String |
getName()
|
String |
getPluginClassName()
|
org.minetti.astrodevice.common.device.DeviceSignature |
getSignature()
|
int |
hashCode()
|
void |
setName(String name)
|
void |
setPluginClassName(String pluginClassName)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected String bus
protected String productId
protected String productDescription
protected String productVersion
protected String serialNumber
protected HashMap<String,Object> properties
Constructor Detail |
---|
public DeviceSpecificationImpl()
public DeviceSpecificationImpl(DeviceSpecification deviceSpecification)
deviceSpecification
- Object representing the specifications on a device.Method Detail |
---|
public final Long getId()
getId
in interface DeviceSpecification
public final String getName()
getName
in interface DeviceSpecification
public final void setName(String name)
setName
in interface DeviceSpecification
public final String getPluginClassName()
getPluginClassName
in interface DeviceSpecification
public final void setPluginClassName(String pluginClassName)
setPluginClassName
in interface DeviceSpecification
public final org.minetti.astrodevice.common.device.DeviceSignature getSignature()
getSignature
in interface DeviceSpecification
public final int hashCode()
hashCode
in class Object
public final boolean equals(Object obj)
equals
in class Object
public final String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |