Package io.github.webbasedwodt.adapter
Class WoDTDigitalAdapterConfiguration
- java.lang.Object
-
- io.github.webbasedwodt.adapter.WoDTDigitalAdapterConfiguration
-
public final class WoDTDigitalAdapterConfiguration extends java.lang.ObjectConfiguration for theWoDTDigitalAdapter.
-
-
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.StringgetDigitalTwinUri()Obtain the WoDT Digital Twin URI.DTOntologygetOntology()Obtain the ontology to describe the Digital Twin data.java.lang.StringgetPhysicalAssetId()Obtain the associated physical asset id.java.util.Set<java.net.URI>getPlatformToRegister()Obtain the platform to which register.intgetPortNumber()Obtain the port number where to expose services.
-
-
-
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 Twinontology- the ontology to use for the semanticsportNumber- the port number where to expose servicesphysicalAssetId- the id of the associated physical assetplatformToRegister- 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.
-
-