Class BaSyxOperation
- java.lang.Object
-
- de.iip_ecosphere.platform.support.aas.basyx.BaSyxSubmodelElement
-
- de.iip_ecosphere.platform.support.aas.basyx.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBaSyxOperation.BaSxyOperationBuilderImplements the operation builder.
-
Field Summary
Fields Modifier and Type Field Description private org.eclipse.basyx.submodel.metamodel.api.submodelelement.operation.IOperationoperation
-
Constructor Summary
Constructors Modifier Constructor Description privateBaSyxOperation()Creates an instance.(package private)BaSyxOperation(org.eclipse.basyx.submodel.metamodel.api.submodelelement.operation.IOperation operation)Creates an instance while retrieving an AAS.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(de.iip_ecosphere.platform.support.aas.AasVisitor visitor)intgetArgsCount()java.lang.StringgetIdShort()intgetInArgsCount()intgetInOutArgsCount()(package private) org.eclipse.basyx.submodel.metamodel.api.submodelelement.operation.IOperationgetOperation()Returns the BaSyx operation instance.intgetOutArgsCount()(package private) org.eclipse.basyx.submodel.metamodel.api.submodelelement.operation.IOperationgetSubmodelElement()Returns the implementing sub-model element.java.lang.Objectinvoke(java.lang.Object... args)-
Methods inherited from class de.iip_ecosphere.platform.support.aas.basyx.BaSyxSubmodelElement
update
-
-
-
-
Constructor Detail
-
BaSyxOperation
private BaSyxOperation()
Creates an instance. Prevents from external creation.
-
BaSyxOperation
BaSyxOperation(org.eclipse.basyx.submodel.metamodel.api.submodelelement.operation.IOperation operation)
Creates an instance while retrieving an AAS.- Parameters:
operation- the operation
-
-
Method Detail
-
getOperation
org.eclipse.basyx.submodel.metamodel.api.submodelelement.operation.IOperation getOperation()
Returns the BaSyx operation instance.- Returns:
- the operation instance
-
getIdShort
public java.lang.String getIdShort()
- Specified by:
getIdShortin 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
-
getSubmodelElement
org.eclipse.basyx.submodel.metamodel.api.submodelelement.operation.IOperation getSubmodelElement()
Description copied from class:BaSyxSubmodelElementReturns the implementing sub-model element.- Specified by:
getSubmodelElementin classBaSyxSubmodelElement- Returns:
- the submodel element
-
accept
public void accept(de.iip_ecosphere.platform.support.aas.AasVisitor visitor)
- Specified by:
acceptin interfacede.iip_ecosphere.platform.support.aas.Element
-
-