java.lang.Object
de.iip_ecosphere.platform.support.iip_aas.Id

public class Id extends Object
Generic IDs for different purposes. For now, the IDs are determined upon startup, but they may be also determined through configurable system properties later if needed.
Author:
Holger Eichelberger, SSE
  • Field Details

    • JVM_NAME

      private static final String JVM_NAME
    • JVM_NAME_AAS

      private static final String JVM_NAME_AAS
    • DEVICE_ID

      private static final String DEVICE_ID
    • DEVICE_ID_AAS

      private static final String DEVICE_ID_AAS
    • DEVICE_NAME

      private static final String DEVICE_NAME
    • DEVICE_NAME_AAS

      private static final String DEVICE_NAME_AAS
    • DEVICE_IP

      private static final String DEVICE_IP
    • DEVICE_IP_AAS

      private static final String DEVICE_IP_AAS
  • Constructor Details

    • Id

      public Id()
  • Method Details

    • getEnvId

      public static final String getEnvId()
      Returns a unique ID for the runtime environment.
      Returns:
      the unique ID
    • getEnvIdAas

      public static final String getEnvIdAas()
      Returns a unique ID for the runtime environment as valid AAS identifier.
      Returns:
      the unique ID for AAS
    • getDeviceId

      public static final String getDeviceId()
      Returns a unique ID for the device.
      Returns:
      the unique ID (may be getEnvId() for no network)
    • getDeviceIdAas

      public static final String getDeviceIdAas()
      Returns a unique ID for the device as valid AAS identifier.
      Returns:
      the unique ID for AAS (may be getEnvIdAas() for no network)
    • getDeviceName

      public static final String getDeviceName()
      Returns the device name.
      Returns:
      the unique ID (may be getEnvId() for no network)
    • getDeviceNameAas

      public static final String getDeviceNameAas()
      Returns the device name as valid AAS identifier.
      Returns:
      the device name for AAS (may be getEnvIdAas() for no network)
    • getDeviceIp

      public static final String getDeviceIp()
      Returns the device IP address.
      Returns:
      the IP address (may be empty for no network)
    • getDeviceIpAas

      public static final String getDeviceIpAas()
      Returns the device IP address as valid AAS identifier.
      Returns:
      the device IP address for AAS (may be empty for no network)