private static class AasPartRegistryTest.MyAasClient
extends de.iip_ecosphere.platform.support.iip_aas.SubmodelClient
| Constructor and Description |
|---|
MyAasClient(de.iip_ecosphere.platform.support.aas.Submodel submodel)
Creates an instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
assertOp()
Asserts the existence of an operation, i.e., via
SubmodelClient.getOperation(String). |
void |
assertProp()
Asserts the existence of a property, i.e., via
SubmodelClient.getProperty(String). |
MyAasClient(de.iip_ecosphere.platform.support.aas.Submodel submodel)
submodel - public void assertProp()
throws ExecutionException
SubmodelClient.getProperty(String). Usually, this would be
a meaningful operation based on the property.ExecutionException - if the property does not existpublic void assertOp()
throws ExecutionException
SubmodelClient.getOperation(String). Usually, this would be
a meaningful operation based on the operation.ExecutionException - if the operation does not existCopyright © 2021. All rights reserved.