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()
IBlaubotDevicegetUniqueDeviceID in interface IBlaubotDevicepublic java.lang.String getReadableName()
getReadableName in interface IBlaubotDevicepublic 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.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object