public class BlaubotDevice extends java.lang.Object implements IBlaubotDevice
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
readableName |
protected java.lang.String |
uniqueDeviceId |
Constructor and Description |
---|
BlaubotDevice() |
BlaubotDevice(java.lang.String uniqueId) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(IBlaubotDevice another) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getReadableName() |
java.lang.String |
getUniqueDeviceID()
Note that ; and | are reserved characters which are not allowed to be used as part of the uniqueId
|
int |
hashCode() |
void |
setReadableName(java.lang.String readableName) |
java.lang.String |
toString() |
protected java.lang.String uniqueDeviceId
protected java.lang.String readableName
public BlaubotDevice()
public BlaubotDevice(java.lang.String uniqueId)
public java.lang.String getUniqueDeviceID()
IBlaubotDevice
getUniqueDeviceID
in interface IBlaubotDevice
public java.lang.String getReadableName()
getReadableName
in interface IBlaubotDevice
public void setReadableName(java.lang.String readableName)
public int compareTo(IBlaubotDevice another)
compareTo
in interface java.lang.Comparable<IBlaubotDevice>
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object