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
    Modifier and Type
    Field
    Description
    private org.eclipse.digitaltwin.basyx.submodelrepository.client.internal.SubmodelRepositoryApi
     
    private de.iip_ecosphere.platform.support.aas.SetupSpec
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ExtendedConnectedSubmodelRepository(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 Type
    Method
    Description
    org.eclipse.digitaltwin.basyx.submodelservice.client.ConnectedSubmodelService
     

    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, updateSubmodelElement

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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 to
      submodelRepositoryApi - the API instance to use
      spec - 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:
      getConnectedSubmodelService in class org.eclipse.digitaltwin.basyx.submodelrepository.client.ConnectedSubmodelRepository
      Throws:
      org.eclipse.digitaltwin.basyx.core.exceptions.ElementDoesNotExistException