Class FakeOperation
- java.lang.Object
-
- test.de.iip_ecosphere.platform.support.fakeAas.FakeElement
-
- test.de.iip_ecosphere.platform.support.fakeAas.FakeOperation
-
- 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 FakeOperation extends FakeElement implements de.iip_ecosphere.platform.support.aas.Operation
A simple fake operation. No real arguments/parameters, just fake.- Author:
- Holger Eichelberger, SSE
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classFakeOperation.FakeOperationBuilderA fake operation builder.
-
Constructor Summary
Constructors Modifier Constructor Description protectedFakeOperation(java.lang.String idShort, int inArgs, int outArgs, int inOutArgs)Creates a fake operation instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(de.iip_ecosphere.platform.support.aas.AasVisitor visitor)intgetArgsCount()intgetInArgsCount()intgetInOutArgsCount()intgetOutArgsCount()java.lang.Objectinvoke(java.lang.Object... args)-
Methods inherited from class test.de.iip_ecosphere.platform.support.fakeAas.FakeElement
getIdShort, update
-
-
-
-
Constructor Detail
-
FakeOperation
protected FakeOperation(java.lang.String idShort, int inArgs, int outArgs, int inOutArgs)Creates a fake operation instance.- Parameters:
idShort- the short idinArgs- the number of input argsoutArgs- the number of output argsinOutArgs- the nuber of input/output args
-
-
Method Detail
-
accept
public void accept(de.iip_ecosphere.platform.support.aas.AasVisitor visitor)
- Specified by:
acceptin interfacede.iip_ecosphere.platform.support.aas.Element
-
getInArgsCount
public int getInArgsCount()
- Specified by:
getInArgsCountin interfacede.iip_ecosphere.platform.support.aas.Operation
-
getOutArgsCount
public int getOutArgsCount()
- Specified by:
getOutArgsCountin interfacede.iip_ecosphere.platform.support.aas.Operation
-
getInOutArgsCount
public int getInOutArgsCount()
- Specified by:
getInOutArgsCountin interfacede.iip_ecosphere.platform.support.aas.Operation
-
getArgsCount
public int getArgsCount()
- Specified by:
getArgsCountin interfacede.iip_ecosphere.platform.support.aas.Operation
-
invoke
public java.lang.Object invoke(java.lang.Object... args) throws java.util.concurrent.ExecutionException- Specified by:
invokein interfacede.iip_ecosphere.platform.support.aas.Operation- Throws:
java.util.concurrent.ExecutionException
-
-