Class DeviceAasProvider
java.lang.Object
de.iip_ecosphere.platform.ecsRuntime.deviceAas.DeviceAasProvider
- Direct Known Subclasses:
AasxDeviceAasProvider,FirstMatchingDeviceAasProvider,YamlDeviceAasProvider
Describes a device AAS provider.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract StringReturns the device AAS address for this device.abstract StringReturns the short ID of the device AAS.static DeviceAasProviderReturns the actual provider instance.abstract StringgetURN()Returns the URN of the device AAS.
-
Field Details
-
instance
-
-
Constructor Details
-
DeviceAasProvider
public DeviceAasProvider()
-
-
Method Details
-
getDeviceAasAddress
Returns the device AAS address for this device.- Returns:
- the device AAS address, may be null if there is no AAS
-
getURN
Returns the URN of the device AAS.- Returns:
- the (envisioned) URN, may be null, if there is no AAS
-
getIdShort
Returns the short ID of the device AAS.- Returns:
- the (envisioned) short ID, may be null, if there is no AAS
-
getInstance
Returns the actual provider instance. Either the first multi-provider delivered by JSL (with precedence) or the first single-provider is returned and installed. If no descriptor is specified, theYamlDeviceAasProvideris used as fallback.- Returns:
- the provider instance
-