Interface MachineDataOutputTranslator.OutputCustomizer

All Known Implementing Classes:
AbstractInformationModelConnectorTest
Enclosing class:
MachineDataOutputTranslator<S>

public static interface MachineDataOutputTranslator.OutputCustomizer
A plugin to this translator to customize the translator towards specific capabilities of the test/connector.
Author:
Holger Eichelberger, SSE
  • Method Details

    • initializeModelAccess

      void initializeModelAccess(de.iip_ecosphere.platform.connectors.model.ModelAccess access, boolean withNotifications) throws IOException
      Parameters:
      access - the information model access object
      withNotifications - operate with/without notifications (for testing)
      Throws:
      IOException - in case that model access problems occur
    • getVendor

      String getVendor(de.iip_ecosphere.platform.connectors.model.ModelAccess access) throws IOException
      Returns the machine vendor. This may be done directly from the information model or eg. through a structure if supported.
      Parameters:
      access - the information model access object
      Returns:
      the name of the vendor
      Throws:
      IOException - in case that model access problems occur
    • getTopLevelModelPartName

      String getTopLevelModelPartName()
      Returns a valid top-level model part name.
      Returns:
      the name of a valid top-level model part
    • getQNameVarLotSize

      String getQNameVarLotSize()
      Returns the qualified model name for accessing the machine's lot size.
      Returns:
      the lot size qualified name
    • getQNameVarPowerConsumption

      String getQNameVarPowerConsumption()
      Returns the qualified model name for accessing the machine's power consumption.
      Returns:
      the power consumption qualified name
    • assertNotExistingProperties

      default boolean assertNotExistingProperties()
      Returns whether expected exceptions while reading unknown properties shall be asserted.
      Returns:
      true for assert, false else