Package io.github.webbasedwodt.adapter
Class WoDTDigitalAdapterConfiguration
java.lang.Object
io.github.webbasedwodt.adapter.WoDTDigitalAdapterConfiguration
Configuration for the
WoDTDigitalAdapter
.-
Constructor Summary
ConstructorDescriptionWoDTDigitalAdapterConfiguration
(URI digitalTwinUri, DTVersion dtVersion, DigitalTwinSemantics digitalTwinSemantics, int portNumber, String physicalAssetId, Set<URI> platformToRegister) Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionObtain the ontology to describe the Digital Twin data.Obtain the WoDT Digital Twin URI.Obtain the WoDT Digital Twin version.Obtain the associated physical asset id.Obtain the platform to which register.int
Obtain the port number where to expose services.
-
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 servicesdtVersion
- the version of the dtdigitalTwinSemantics
- the Digital Twin semanticsportNumber
- the port number where to expose servicesphysicalAssetId
- the id of the associated physical assetplatformToRegister
- the platforms to which register
-
-
Method Details
-
getDigitalTwinUri
Obtain the WoDT Digital Twin URI.- Returns:
- the URI.
-
getDtVersion
Obtain the WoDT Digital Twin version.- Returns:
- the dt version.
-
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
Obtain the associated physical asset id.- Returns:
- the id of the associated physical asset
-
getPlatformToRegister
Obtain the platform to which register.- Returns:
- the platforms urls.
-