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 Summary
Modifier and TypeMethodDescriptiondefault booleanReturns whether expected exceptions while reading unknown properties shall be asserted.Returns the qualified model name for accessing the machine's lot size.Returns the qualified model name for accessing the machine's power consumption.Returns a valid top-level model part name.getVendor(de.iip_ecosphere.platform.connectors.model.ModelAccess access) Returns the machine vendor.voidinitializeModelAccess(de.iip_ecosphere.platform.connectors.model.ModelAccess access, boolean withNotifications)
-
Method Details
-
initializeModelAccess
void initializeModelAccess(de.iip_ecosphere.platform.connectors.model.ModelAccess access, boolean withNotifications) throws IOException - Parameters:
access- the information model access objectwithNotifications- operate with/without notifications (for testing)- Throws:
IOException- in case that model access problems occur
-
getVendor
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:
truefor assert,falseelse
-