Class FirstMatchingDeviceAasProvider
java.lang.Object
de.iip_ecosphere.platform.ecsRuntime.deviceAas.DeviceAasProvider
de.iip_ecosphere.platform.ecsRuntime.deviceAas.FirstMatchingDeviceAasProvider
Implements a device AAS provider that queries all JSL-specified
DeviceAasProviderDescriptor instances and takes the first non-null result from a
non-multi-provider. Must be
specified first in JSL file.- Author:
- Holger Eichelberger, SSE
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classImplements the JSL descriptor. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the device AAS address for this device.Returns the short ID of the device AAS.getURN()Returns the URN of the device AAS.Methods inherited from class de.iip_ecosphere.platform.ecsRuntime.deviceAas.DeviceAasProvider
getInstance
-
Field Details
-
match
-
address
-
-
Constructor Details
-
FirstMatchingDeviceAasProvider
public FirstMatchingDeviceAasProvider()
-
-
Method Details
-
getDeviceAasAddress
Description copied from class:DeviceAasProviderReturns the device AAS address for this device.- Specified by:
getDeviceAasAddressin classDeviceAasProvider- Returns:
- the device AAS address, may be null if there is no AAS
-
getURN
Description copied from class:DeviceAasProviderReturns the URN of the device AAS.- Specified by:
getURNin classDeviceAasProvider- Returns:
- the (envisioned) URN, may be null, if there is no AAS
-
getIdShort
Description copied from class:DeviceAasProviderReturns the short ID of the device AAS.- Specified by:
getIdShortin classDeviceAasProvider- Returns:
- the (envisioned) short ID, may be null, if there is no AAS
-