Class DeviceAasProvider

java.lang.Object
de.iip_ecosphere.platform.ecsRuntime.deviceAas.DeviceAasProvider
Direct Known Subclasses:
AasxDeviceAasProvider, FirstMatchingDeviceAasProvider, YamlDeviceAasProvider

public abstract class DeviceAasProvider extends Object
Describes a device AAS provider.
Author:
Holger Eichelberger, SSE
  • Field Details

  • Constructor Details

    • DeviceAasProvider

      public DeviceAasProvider()
  • Method Details

    • getDeviceAasAddress

      public abstract String getDeviceAasAddress()
      Returns the device AAS address for this device.
      Returns:
      the device AAS address, may be null if there is no AAS
    • getURN

      public abstract String getURN()
      Returns the URN of the device AAS.
      Returns:
      the (envisioned) URN, may be null, if there is no AAS
    • getIdShort

      public abstract String getIdShort()
      Returns the short ID of the device AAS.
      Returns:
      the (envisioned) short ID, may be null, if there is no AAS
    • getInstance

      public static DeviceAasProvider 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, the YamlDeviceAasProvider is used as fallback.
      Returns:
      the provider instance