Interface BaSyxSubmodelElement.PathFunction

Enclosing class:
BaSyxSubmodelElement

public static interface BaSyxSubmodelElement.PathFunction
A function to be called on an accumulated submodel element path.
Author:
Holger Eichelberger, SSE
  • Method Summary

    Modifier and Type
    Method
    Description
    org.eclipse.digitaltwin.aas4j.v3.model.SubmodelElement
    apply(String submodelId, String idShortPath, org.eclipse.digitaltwin.basyx.submodelrepository.client.ConnectedSubmodelRepository repo)
    The path function.
  • Method Details

    • apply

      org.eclipse.digitaltwin.aas4j.v3.model.SubmodelElement apply(String submodelId, String idShortPath, org.eclipse.digitaltwin.basyx.submodelrepository.client.ConnectedSubmodelRepository repo) throws org.eclipse.digitaltwin.basyx.core.exceptions.ElementDoesNotExistException
      The path function.
      Parameters:
      submodelId - the id of the parent submodel
      idShortPath - the full path to the original caller, may be empty (!)
      repo - the submodel repository, may be null if not skipped
      Throws:
      org.eclipse.digitaltwin.basyx.core.exceptions.ElementDoesNotExistException - if the element does not exist