Class WoDTDigitalAdapterConfiguration


  • public final class WoDTDigitalAdapterConfiguration
    extends java.lang.Object
    Configuration for the WoDTDigitalAdapter.
    • Constructor Summary

      Constructors 
      Constructor Description
      WoDTDigitalAdapterConfiguration​(java.lang.String digitalTwinUri, DTOntology ontology, int portNumber, java.lang.String physicalAssetId, java.util.Set<java.net.URI> platformToRegister)
      Default constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDigitalTwinUri()
      Obtain the WoDT Digital Twin URI.
      DTOntology getOntology()
      Obtain the ontology to describe the Digital Twin data.
      java.lang.String getPhysicalAssetId()
      Obtain the associated physical asset id.
      java.util.Set<java.net.URI> getPlatformToRegister()
      Obtain the platform to which register.
      int getPortNumber()
      Obtain the port number where to expose services.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WoDTDigitalAdapterConfiguration

        public WoDTDigitalAdapterConfiguration​(java.lang.String digitalTwinUri,
                                               DTOntology ontology,
                                               int portNumber,
                                               java.lang.String physicalAssetId,
                                               java.util.Set<java.net.URI> platformToRegister)
        Default constructor.
        Parameters:
        digitalTwinUri - the uri of the WoDT Digital Twin
        ontology - the ontology to use for the semantics
        portNumber - the port number where to expose services
        physicalAssetId - the id of the associated physical asset
        platformToRegister - the platforms to which register
    • Method Detail

      • getDigitalTwinUri

        public java.lang.String getDigitalTwinUri()
        Obtain the WoDT Digital Twin URI.
        Returns:
        the URI.
      • getOntology

        public DTOntology getOntology()
        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 java.lang.String getPhysicalAssetId()
        Obtain the associated physical asset id.
        Returns:
        the id of the associated physical asset
      • getPlatformToRegister

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