Class BaSyxOperationInvocation
java.lang.Object
de.iip_ecosphere.platform.support.aas.basyx2.BaSyxOperationInvocation
- All Implemented Interfaces:
de.iip_ecosphere.platform.support.aas.Invokable.OperationInvocation
class BaSyxOperationInvocation
extends Object
implements de.iip_ecosphere.platform.support.aas.Invokable.OperationInvocation
Represents an implementation-specific submodel operation invocation.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBaSyxOperationInvocation(String submodelId, String idShort, org.eclipse.digitaltwin.aas4j.v3.model.OperationVariable[] args) Creates an invocation object. -
Method Summary
Modifier and TypeMethodDescription(package private) voidexecute(org.eclipse.digitaltwin.basyx.submodelrepository.client.ConnectedSubmodelRepository repo) Executes the operation onrepo.org.eclipse.digitaltwin.aas4j.v3.model.OperationVariable[]Returns the result of the execution if no exception was thrown.
-
Field Details
-
submodelId
-
idShort
-
args
private org.eclipse.digitaltwin.aas4j.v3.model.OperationVariable[] args -
result
private org.eclipse.digitaltwin.aas4j.v3.model.OperationVariable[] result
-
-
Constructor Details
-
Method Details
-
execute
void execute(org.eclipse.digitaltwin.basyx.submodelrepository.client.ConnectedSubmodelRepository repo) throws org.eclipse.digitaltwin.basyx.core.exceptions.ElementDoesNotExistException Executes the operation onrepo.- Parameters:
repo- the repository to execute the operation on- Throws:
org.eclipse.digitaltwin.basyx.core.exceptions.ElementDoesNotExistException- if the operation/submodel cannot be found
-
getResult
public org.eclipse.digitaltwin.aas4j.v3.model.OperationVariable[] getResult()Returns the result of the execution if no exception was thrown.- Returns:
- the result
-