Class AlarmId


  • @Beta
    public final class AlarmId
    extends Identifier<String>
    Alarm identifier suitable as an external key.

    This class is immutable.

    • Method Detail

      • alarmId

        public static AlarmId alarmId​(DeviceId id,
                                      String uniqueIdentifier)
        Creates an alarm identifier from the specified device id and unique identifier provided representation.
        Parameters:
        id - device id
        uniqueIdentifier - per device unique identifier of the alarm
        Returns:
        alarm identifier
      • alarmId

        public static AlarmId alarmId​(String globallyUniqueIdentifier)
        Creates an alarm identifier from the specified globally unique identifier.
        Parameters:
        globallyUniqueIdentifier - the globally unique identifier of the Alarm, device Id + local unique identifier on the device
        Returns:
        alarm identifier