Class AasPartRegistryTest.MyAasClient
java.lang.Object
de.iip_ecosphere.platform.support.iip_aas.SubmodelClient
test.de.iip_ecosphere.platform.support.iip_aas.AasPartRegistryTest.MyAasClient
- Enclosing class:
AasPartRegistryTest
private static class AasPartRegistryTest.MyAasClient
extends de.iip_ecosphere.platform.support.iip_aas.SubmodelClient
A simple submodel client.
- Author:
- Holger Eichelberger, SSE
-
Constructor Summary
ConstructorsConstructorDescriptionMyAasClient(de.iip_ecosphere.platform.support.aas.Submodel submodel) Creates an instance. -
Method Summary
Modifier and TypeMethodDescriptionvoidassertOp()Asserts the existence of an operation, i.e., viaSubmodelClient.getOperation(String).voidAsserts the existence of a property, i.e., viaSubmodelClient.getProperty(String).Methods inherited from class de.iip_ecosphere.platform.support.iip_aas.SubmodelClient
checkNotNull, checkString, clear, getOperation, getOperation, getProperty, getProperty, getPropertyStringValue, getSubmodel, requestRefresh
-
Constructor Details
-
MyAasClient
MyAasClient(de.iip_ecosphere.platform.support.aas.Submodel submodel) Creates an instance.- Parameters:
submodel- the submodel
-
-
Method Details
-
assertProp
Asserts the existence of a property, i.e., viaSubmodelClient.getProperty(String). Usually, this would be a meaningful operation based on the property.- Throws:
ExecutionException- if the property does not exist
-
assertOp
Asserts the existence of an operation, i.e., viaSubmodelClient.getOperation(String). Usually, this would be a meaningful operation based on the operation.- Throws:
ExecutionException- if the operation does not exist
-