Class SubmodelRepositoryUtils.ExtendedConnectedSubmodelRepository
java.lang.Object
org.eclipse.digitaltwin.basyx.submodelrepository.client.ConnectedSubmodelRepository
de.iip_ecosphere.platform.support.aas.basyx2.SubmodelRepositoryUtils.ExtendedConnectedSubmodelRepository
- All Implemented Interfaces:
org.eclipse.digitaltwin.basyx.submodelrepository.SubmodelRepository
- Enclosing class:
SubmodelRepositoryUtils
static class SubmodelRepositoryUtils.ExtendedConnectedSubmodelRepository
extends org.eclipse.digitaltwin.basyx.submodelrepository.client.ConnectedSubmodelRepository
Customized connected submodel repository to equip subsequent API creation with information on TLS/authentication.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionExtendedConnectedSubmodelRepository(String submodelRepoUrl, org.eclipse.digitaltwin.basyx.submodelrepository.client.internal.SubmodelRepositoryApi submodelRepositoryApi, de.iip_ecosphere.platform.support.aas.SetupSpec spec) Creates an instance. -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.digitaltwin.basyx.submodelservice.client.ConnectedSubmodelServicegetConnectedSubmodelService(String submodelId) Methods inherited from class org.eclipse.digitaltwin.basyx.submodelrepository.client.ConnectedSubmodelRepository
createSubmodel, createSubmodelElement, createSubmodelElement, deleteFileValue, deleteSubmodel, deleteSubmodelElement, getAllSubmodels, getAllSubmodels, getBaseUrl, getFileByFilePath, getFileByPathSubmodel, getSubmodel, getSubmodelByIdMetadata, getSubmodelByIdValueOnly, getSubmodelElement, getSubmodelElements, getSubmodelElementValue, getSubmodelUrl, invokeOperation, mapExceptionSubmodelAccess, patchSubmodelElements, setFileValue, setSubmodelElementValue, updateSubmodel, updateSubmodelElementMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.digitaltwin.basyx.submodelrepository.SubmodelRepository
getName
-
Field Details
-
repoApi
private org.eclipse.digitaltwin.basyx.submodelrepository.client.internal.SubmodelRepositoryApi repoApi -
spec
private de.iip_ecosphere.platform.support.aas.SetupSpec spec
-
-
Constructor Details
-
ExtendedConnectedSubmodelRepository
public ExtendedConnectedSubmodelRepository(String submodelRepoUrl, org.eclipse.digitaltwin.basyx.submodelrepository.client.internal.SubmodelRepositoryApi submodelRepositoryApi, de.iip_ecosphere.platform.support.aas.SetupSpec spec) Creates an instance.- Parameters:
submodelRepoUrl- the submodel URL to connect tosubmodelRepositoryApi- the API instance to usespec- the setup specification needed for creating subsequence API instanced
-
-
Method Details
-
getConnectedSubmodelService
public org.eclipse.digitaltwin.basyx.submodelservice.client.ConnectedSubmodelService getConnectedSubmodelService(String submodelId) throws org.eclipse.digitaltwin.basyx.core.exceptions.ElementDoesNotExistException - Overrides:
getConnectedSubmodelServicein classorg.eclipse.digitaltwin.basyx.submodelrepository.client.ConnectedSubmodelRepository- Throws:
org.eclipse.digitaltwin.basyx.core.exceptions.ElementDoesNotExistException
-