Class WoDTDigitalAdapterConfiguration

java.lang.Object
io.github.webbasedwodt.adapter.WoDTDigitalAdapterConfiguration

public final class WoDTDigitalAdapterConfiguration extends Object
Configuration for the WoDTDigitalAdapter.
  • Constructor Details

    • WoDTDigitalAdapterConfiguration

      public WoDTDigitalAdapterConfiguration(URI digitalTwinUri, DTVersion dtVersion, DigitalTwinSemantics digitalTwinSemantics, int portNumber, String physicalAssetId, Set<URI> platformToRegister)
      Default constructor.
      Parameters:
      digitalTwinUri - the uri of the WoDT Digital Twin. It also acts as the base URI (port included) for exposed services
      dtVersion - the version of the dt
      digitalTwinSemantics - the Digital Twin semantics
      portNumber - the port number where to expose services
      physicalAssetId - the id of the associated physical asset
      platformToRegister - the platforms to which register
  • Method Details

    • getDigitalTwinUri

      public URI getDigitalTwinUri()
      Obtain the WoDT Digital Twin URI.
      Returns:
      the URI.
    • getDtVersion

      public DTVersion getDtVersion()
      Obtain the WoDT Digital Twin version.
      Returns:
      the dt version.
    • getDigitalTwinSemantics

      public DigitalTwinSemantics getDigitalTwinSemantics()
      Obtain the ontology to describe the Digital Twin data.
      Returns:
      the ontology.
    • getPortNumber

      public int getPortNumber()
      Obtain the port number where to expose services.
      Returns:
      the port number
    • getPhysicalAssetId

      public String getPhysicalAssetId()
      Obtain the associated physical asset id.
      Returns:
      the id of the associated physical asset
    • getPlatformToRegister

      public Set<URI> getPlatformToRegister()
      Obtain the platform to which register.
      Returns:
      the platforms urls.