Interface MachineCommandInputTranslator.InputCustomizer

All Known Implementing Classes:
AbstractInformationModelConnectorTest
Enclosing class:
MachineCommandInputTranslator<O>

public static interface MachineCommandInputTranslator.InputCustomizer
Customizer of this input translator.
Author:
Holger Eichelberger, SSE
  • Method Details

    • getQNameOperationStartMachine

      String getQNameOperationStartMachine()
      Returns the qualified name of the command operation to start the machine.
      Returns:
      the qualified name
    • getQNameOperationStopMachine

      String getQNameOperationStopMachine()
      Returns the qualified name of the command operation to stop the machine.
      Returns:
      the qualified name
    • getQNameVarLotSize

      String getQNameVarLotSize()
      Returns the qualified name of the command operation to access the lot size.
      Returns:
      the qualified name
    • getTopLevelModelPartName

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

      void additionalFromActions(de.iip_ecosphere.platform.connectors.model.ModelAccess access, MachineCommand data) throws IOException
      Performs additional actions during MachineCommandInputTranslator.from(MachineCommand), e.g., to access structures in the information model.
      Parameters:
      access - the model access instance
      data - the data object being handled
      Throws:
      IOException - if model access fails
    • assertSetExceptions

      default boolean assertSetExceptions()
      Returns whether expected exceptions while setting values shall be asserted.
      Returns:
      true for assert, false else
    • assertOperationExceptions

      default boolean assertOperationExceptions()
      Returns whether expected exceptions while calling operations shall be asserted.
      Returns:
      true for assert, false else
    • getQNameStart

      default String getQNameStart()
      Returns the qualified name of the start field.
      Returns:
      the qualified name, null for do not write/access
    • getQNameStop

      default String getQNameStop()
      Returns the qualified name of the stop field.
      Returns:
      the qualified name, null for do not write/access