Class AlarmId


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

    This class is immutable.

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static AlarmId alarmId​(java.lang.String globallyUniqueIdentifier)
      Creates an alarm identifier from the specified globally unique identifier.
      static AlarmId alarmId​(DeviceId id, java.lang.String uniqueIdentifier)
      Creates an alarm identifier from the specified device id and unique identifier provided representation.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • alarmId

        public static AlarmId alarmId​(DeviceId id,
                                      java.lang.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​(java.lang.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