public class ControlUnitID
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
controlUnitId
Field holding the control unit id.
|
protected java.lang.String |
controlUnitType
Field holding the control unit type.
|
protected java.lang.String |
deviceId
Field holding the id of the device this control unit belongs to.
|
protected java.lang.String |
deviceType
Field holding the type of the device this control unit belongs to.
|
| Constructor and Description |
|---|
ControlUnitID() |
ControlUnitID(java.lang.String deviceType,
java.lang.String deviceId)
Constructs id of device root control.
|
ControlUnitID(java.lang.String controlUnitType,
java.lang.String controlUnitId,
java.lang.String deviceType,
java.lang.String deviceId)
Constructs a control unit id.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object object) |
java.lang.String |
getControlUnitId()
Returns the control unit id.
|
java.lang.String |
getControlUnitType()
Returns the control unit type.
|
java.lang.String |
getDeviceId()
Returns device id.
|
java.lang.String |
getDeviceType()
Returns the device type.
|
java.lang.Object |
getSyncObject()
Used by the system - returns the intern string concatenation of type, id, deviceType, deviceId.
|
int |
hashCode() |
java.lang.String |
toString() |
protected java.lang.String controlUnitType
protected java.lang.String controlUnitId
protected java.lang.String deviceType
protected java.lang.String deviceId
public ControlUnitID()
public ControlUnitID(java.lang.String deviceType,
java.lang.String deviceId)
deviceType - device type.deviceId - device idpublic ControlUnitID(java.lang.String controlUnitType,
java.lang.String controlUnitId,
java.lang.String deviceType,
java.lang.String deviceId)
controlUnitType - control unit type.controlUnitId - control unit id.deviceType - device type.deviceId - device id.public java.lang.String getControlUnitId()
public java.lang.String getControlUnitType()
public java.lang.String getDeviceType()
public java.lang.String getDeviceId()
public java.lang.Object getSyncObject()
public boolean equals(java.lang.Object object)
equals in class java.lang.ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()Copyright © 2019 Bosch Software Innovations GmbH. All Rights Reserved.