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