Class BaSyxOperation

java.lang.Object
de.iip_ecosphere.platform.support.aas.basyx2.BaSyxSubmodelElement
de.iip_ecosphere.platform.support.aas.basyx2.BaSyxOperation
All Implemented Interfaces:
de.iip_ecosphere.platform.support.aas.Element, de.iip_ecosphere.platform.support.aas.HasDataSpecification, de.iip_ecosphere.platform.support.aas.HasKind, de.iip_ecosphere.platform.support.aas.HasSemantics, de.iip_ecosphere.platform.support.aas.Operation, de.iip_ecosphere.platform.support.aas.Qualifiable, de.iip_ecosphere.platform.support.aas.Referable, de.iip_ecosphere.platform.support.aas.SubmodelElement

public class BaSyxOperation extends BaSyxSubmodelElement implements de.iip_ecosphere.platform.support.aas.Operation
Implements an AAS Operation wrapper for BaSyx.
Author:
Holger Eichelberger, SSE
  • Field Details

    • INVOCATION_DELEGATION_TYPE

      public static final String INVOCATION_DELEGATION_TYPE
      See Also:
    • INVOCATION_DELEGATION_SUBMODELID_TYPE

      public static final String INVOCATION_DELEGATION_SUBMODELID_TYPE
      See Also:
    • INVOCATION_DELEGATION_SUBMODELREGISTRYURL_TYPE

      public static final String INVOCATION_DELEGATION_SUBMODELREGISTRYURL_TYPE
      See Also:
    • operation

      private org.eclipse.digitaltwin.aas4j.v3.model.Operation operation
  • Constructor Details

    • BaSyxOperation

      private BaSyxOperation()
      Creates an instance. Prevents from external creation.
    • BaSyxOperation

      BaSyxOperation(org.eclipse.digitaltwin.aas4j.v3.model.Operation operation)
      Creates an instance while retrieving an AAS.
      Parameters:
      operation - the operation
  • Method Details

    • getOperation

      org.eclipse.digitaltwin.aas4j.v3.model.Operation getOperation()
      Returns the BaSyx operation instance.
      Returns:
      the operation instance
    • getInArgsCount

      public int getInArgsCount()
      Specified by:
      getInArgsCount in interface de.iip_ecosphere.platform.support.aas.Operation
    • getOutArgsCount

      public int getOutArgsCount()
      Specified by:
      getOutArgsCount in interface de.iip_ecosphere.platform.support.aas.Operation
    • getInOutArgsCount

      public int getInOutArgsCount()
      Specified by:
      getInOutArgsCount in interface de.iip_ecosphere.platform.support.aas.Operation
    • getArgsCount

      public int getArgsCount()
      Specified by:
      getArgsCount in interface de.iip_ecosphere.platform.support.aas.Operation
    • invoke

      public Object invoke(Object... args) throws ExecutionException
      Specified by:
      invoke in interface de.iip_ecosphere.platform.support.aas.Operation
      Throws:
      ExecutionException
    • getSubmodelElement

      org.eclipse.digitaltwin.aas4j.v3.model.Operation getSubmodelElement()
      Description copied from class: BaSyxSubmodelElement
      Returns the implementing sub-model element.
      Specified by:
      getSubmodelElement in class BaSyxSubmodelElement
      Returns:
      the submodel element
    • accept

      public void accept(de.iip_ecosphere.platform.support.aas.AasVisitor visitor)
      Specified by:
      accept in interface de.iip_ecosphere.platform.support.aas.Element