public class DeviceNodeMap
extends java.lang.Object
implements java.lang.Comparable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
address
The address of the
UDNode |
UDProxyDevice |
device
The the logical representation of ISY
|
Constructor and Description |
---|
DeviceNodeMap(UDProxyDevice device,
java.lang.String address)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object arg0) |
boolean |
equals(java.lang.Object address)
Tests for equality
|
boolean |
equals(UDProxyDevice device,
java.lang.String address)
Tests for equality
|
java.lang.String |
toString()
Returns the node's address
|
public UDProxyDevice device
public java.lang.String address
UDNode
public DeviceNodeMap(UDProxyDevice device, java.lang.String address)
device
- - the deviceaddress
- - the node addresspublic java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(UDProxyDevice device, java.lang.String address)
Tests whether or not a device and adddress combination is the same as this instance of the class (object)
device
- - a UDProxyDevice
address
- - node's addresspublic boolean equals(java.lang.Object address)
Tests Whether or not another object of DeviceNodeMap
is equal to this instance the same as this instance of the class (object)
equals
in class java.lang.Object
address
- - node's addresspublic int compareTo(java.lang.Object arg0)
compareTo
in interface java.lang.Comparable