Class FakeOperation.FakeOperationBuilder

  • 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:
    FakeOperation

    static class FakeOperation.FakeOperationBuilder
    extends java.lang.Object
    implements de.iip_ecosphere.platform.support.aas.Operation.OperationBuilder
    A fake operation builder.
    Author:
    Holger Eichelberger, SSE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      de.iip_ecosphere.platform.support.aas.Operation.OperationBuilder addInOutVariable​(java.lang.String name, de.iip_ecosphere.platform.support.aas.Type type)  
      de.iip_ecosphere.platform.support.aas.Operation.OperationBuilder addInputVariable​(java.lang.String name, de.iip_ecosphere.platform.support.aas.Type type)  
      de.iip_ecosphere.platform.support.aas.Operation.OperationBuilder addOutputVariable​(java.lang.String name, de.iip_ecosphere.platform.support.aas.Type type)  
      de.iip_ecosphere.platform.support.aas.Operation build()  
      de.iip_ecosphere.platform.support.aas.SubmodelElementContainerBuilder getParentBuilder()  
      de.iip_ecosphere.platform.support.aas.Operation.OperationBuilder setInvocable​(java.util.function.Function<java.lang.Object[],​java.lang.Object> invocable)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface de.iip_ecosphere.platform.support.aas.Operation.OperationBuilder

        build, setInvocableLazy
    • Constructor Detail

      • FakeOperationBuilder

        FakeOperationBuilder​(FakeSubmodelElementContainerBuilder parent,
                             java.lang.String idShort)
        Creates a builder instance.
        Parameters:
        parent - the parent builder
        idShort - the short id
    • Method Detail

      • getParentBuilder

        public de.iip_ecosphere.platform.support.aas.SubmodelElementContainerBuilder getParentBuilder()
        Specified by:
        getParentBuilder in interface de.iip_ecosphere.platform.support.aas.Operation.OperationBuilder
      • addInputVariable

        public de.iip_ecosphere.platform.support.aas.Operation.OperationBuilder addInputVariable​(java.lang.String name,
                                                                                                 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​(java.lang.String name,
                                                                                                  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​(java.lang.String name,
                                                                                                 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​(java.util.function.Function<java.lang.Object[],​java.lang.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>