Class Id
java.lang.Object
de.iip_ecosphere.platform.support.iip_aas.Id
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final StringReturns a unique ID for the device.static final StringReturns a unique ID for the device as valid AAS identifier.static final StringReturns the device IP address.static final StringReturns the device IP address as valid AAS identifier.static final StringReturns the device name.static final StringReturns the device name as valid AAS identifier.static final StringgetEnvId()Returns a unique ID for the runtime environment.static final StringReturns a unique ID for the runtime environment as valid AAS identifier.
-
Field Details
-
JVM_NAME
-
JVM_NAME_AAS
-
DEVICE_ID
-
DEVICE_ID_AAS
-
DEVICE_NAME
-
DEVICE_NAME_AAS
-
DEVICE_IP
-
DEVICE_IP_AAS
-
-
Constructor Details
-
Id
public Id()
-
-
Method Details
-
getEnvId
Returns a unique ID for the runtime environment.- Returns:
- the unique ID
-
getEnvIdAas
Returns a unique ID for the runtime environment as valid AAS identifier.- Returns:
- the unique ID for AAS
-
getDeviceId
Returns a unique ID for the device.- Returns:
- the unique ID (may be
getEnvId()for no network)
-
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
Returns the device name.- Returns:
- the unique ID (may be
getEnvId()for no network)
-
getDeviceNameAas
Returns the device name as valid AAS identifier.- Returns:
- the device name for AAS (may be
getEnvIdAas()for no network)
-
getDeviceIp
Returns the device IP address.- Returns:
- the IP address (may be empty for no network)
-
getDeviceIpAas
Returns the device IP address as valid AAS identifier.- Returns:
- the device IP address for AAS (may be empty for no network)
-