Class BaSyxOperation.BaSxyOperationBuilder

java.lang.Object
de.iip_ecosphere.platform.support.aas.basyx.BaSyxOperation.BaSxyOperationBuilder
All Implemented Interfaces:
de.iip_ecosphere.platform.support.aas.Operation.OperationBuilder, de.iip_ecosphere.platform.support.Builder<de.iip_ecosphere.platform.support.aas.Operation>
Enclosing class:
BaSyxOperation

public static class BaSyxOperation.BaSxyOperationBuilder
extends Object
implements de.iip_ecosphere.platform.support.aas.Operation.OperationBuilder
Implements the operation builder.
Author:
Holger Eichelberger, SSE
  • Field Details

  • Constructor Details

  • Method Details

    • getParentBuilder

      public BaSyxSubmodelElementContainerBuilder<?> getParentBuilder()
      Specified by:
      getParentBuilder in interface de.iip_ecosphere.platform.support.aas.Operation.OperationBuilder
    • createOperationVariable

      private org.eclipse.basyx.submodel.metamodel.map.submodelelement.operation.OperationVariable createOperationVariable​(String idShort, de.iip_ecosphere.platform.support.aas.Type type)
      Creates an operation variable. Just in case that we somewhen need name and type.
      Parameters:
      idShort - the short id of the variable
      type - the type of the variable (may be null for left undefined)
      Returns:
      the operation variable
    • addInputVariable

      public de.iip_ecosphere.platform.support.aas.Operation.OperationBuilder addInputVariable​(String idShort, de.iip_ecosphere.platform.support.aas.Type type)
      Specified by:
      addInputVariable in interface de.iip_ecosphere.platform.support.aas.Operation.OperationBuilder
    • addOutputVariable

      public de.iip_ecosphere.platform.support.aas.Operation.OperationBuilder addOutputVariable​(String idShort, de.iip_ecosphere.platform.support.aas.Type type)
      Specified by:
      addOutputVariable in interface de.iip_ecosphere.platform.support.aas.Operation.OperationBuilder
    • addInOutVariable

      public de.iip_ecosphere.platform.support.aas.Operation.OperationBuilder addInOutVariable​(String idShort, de.iip_ecosphere.platform.support.aas.Type type)
      Specified by:
      addInOutVariable in interface de.iip_ecosphere.platform.support.aas.Operation.OperationBuilder
    • setInvocable

      public de.iip_ecosphere.platform.support.aas.Operation.OperationBuilder setInvocable​(Function<Object[],​Object> invocable)
      Specified by:
      setInvocable in interface de.iip_ecosphere.platform.support.aas.Operation.OperationBuilder
    • build

      public de.iip_ecosphere.platform.support.aas.Operation build()
      Specified by:
      build in interface de.iip_ecosphere.platform.support.Builder<de.iip_ecosphere.platform.support.aas.Operation>