@Beta public final class AlarmId extends Identifier<java.lang.String>
This class is immutable.
identifier| Modifier and Type | Method and Description |
|---|---|
static AlarmId |
alarmId(DeviceId id,
java.lang.String uniqueIdentifier)
Creates an alarm identifier from the specified device id and
unique identifier provided representation.
|
static AlarmId |
alarmId(java.lang.String globallyUniqueIdentifier)
Creates an alarm identifier from the specified globally unique identifier.
|
equals, hashCode, id, toStringpublic static AlarmId alarmId(DeviceId id, java.lang.String uniqueIdentifier)
id - device iduniqueIdentifier - per device unique identifier of the alarmpublic static AlarmId alarmId(java.lang.String globallyUniqueIdentifier)
globallyUniqueIdentifier - the globally unique identifier of the Alarm,
device Id + local unique identifier on the device