Interface BaSyxSubmodelElementParent

All Known Implementing Classes:
AbstractSubmodel, BaSyxSubmodel, BaSyxSubmodelElementCollection, BaSyxSubmodelElementList

public interface BaSyxSubmodelElementParent
Represents the parent element of a submodel element.
Author:
Holger Eichelberger, SSE
  • Method Details

    • getIdShort

      String getIdShort()
      Returns the short id of the element.
      Returns:
      the short id
    • getParent

      Returns the parent element.
      Returns:
      the parent element
    • getPathElement

      org.eclipse.digitaltwin.aas4j.v3.model.SubmodelElement getPathElement()
      Returns the path element to be used in processOnPath(List, boolean, PathFunction).
      Returns:
      the path element
    • processOnPath

      default org.eclipse.digitaltwin.aas4j.v3.model.SubmodelElement processOnPath(List<org.eclipse.digitaltwin.aas4j.v3.model.SubmodelElement> path, boolean skipIfNoRepo, BaSyxSubmodelElement.PathFunction function)
      Iterates up the path up to the submodel and calls function on the aggregated path.
      Parameters:
      path - the path accumulated so far
      skipIfNoRepo - skip executing function if there is no repository to pass into
      function - the function to call at the end of the path
      See Also: