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

    Constructors
    Constructor
    Description
    MyAasClient(de.iip_ecosphere.platform.support.aas.Submodel submodel)
    Creates an instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Asserts the existence of an operation, i.e., via SubmodelClient.getOperation(String).
    void
    Asserts the existence of a property, i.e., via SubmodelClient.getProperty(String).

    Methods inherited from class de.iip_ecosphere.platform.support.iip_aas.SubmodelClient

    checkNotNull, checkString, clear, getOperation, getOperation, getProperty, getProperty, getPropertyStringValue, getSubmodel, requestRefresh

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MyAasClient

      MyAasClient(de.iip_ecosphere.platform.support.aas.Submodel submodel)
      Creates an instance.
      Parameters:
      submodel - the submodel
  • Method Details

    • assertProp

      public void assertProp() throws ExecutionException
      Asserts the existence of a property, i.e., via SubmodelClient.getProperty(String). Usually, this would be a meaningful operation based on the property.
      Throws:
      ExecutionException - if the property does not exist
    • assertOp

      public void assertOp() throws ExecutionException
      Asserts the existence of an operation, i.e., via SubmodelClient.getOperation(String). Usually, this would be a meaningful operation based on the operation.
      Throws:
      ExecutionException - if the operation does not exist