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
Modifier and Type Method Description voidaccept(de.iip_ecosphere.platform.support.aas.AasVisitor visitor)intgetArgsCount()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.Objectinvoke(Object... args)
-
Field Details
-
operation
private org.eclipse.basyx.submodel.metamodel.api.submodelelement.operation.IOperation operation
-
-
Constructor Details
-
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 Details
-
getOperation
org.eclipse.basyx.submodel.metamodel.api.submodelelement.operation.IOperation getOperation()Returns the BaSyx operation instance.- Returns:
- the operation instance
-
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
- Specified by:
invokein interfacede.iip_ecosphere.platform.support.aas.Operation- Throws:
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
-