Class MachineDataOutputTranslator<S>
java.lang.Object
de.iip_ecosphere.platform.connectors.types.AbstractConnectorOutputTypeTranslator<S,MachineData>
test.de.iip_ecosphere.platform.connectors.MachineDataOutputTranslator<S>
- Type Parameters:
S- the source datatype
- All Implemented Interfaces:
de.iip_ecosphere.platform.connectors.model.ModelAccessProvider,de.iip_ecosphere.platform.connectors.types.ConnectorOutputTypeTranslator<S,,MachineData> de.iip_ecosphere.platform.transport.serialization.OutputTypeTranslator<S,MachineData>
public class MachineDataOutputTranslator<S>
extends de.iip_ecosphere.platform.connectors.types.AbstractConnectorOutputTypeTranslator<S,MachineData>
The machine data output translator for information-model based tests.
- Author:
- Holger Eichelberger, SSE
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceA plugin to this translator to customize the translator towards specific capabilities of the test/connector.Nested classes/interfaces inherited from interface de.iip_ecosphere.platform.connectors.model.ModelAccessProvider
de.iip_ecosphere.platform.connectors.model.ModelAccessProvider.IOModelAccessFunction, de.iip_ecosphere.platform.connectors.model.ModelAccessProvider.IOVoidFunction -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean -
Constructor Summary
ConstructorsConstructorDescriptionMachineDataOutputTranslator(boolean withNotifications, Class<? extends S> sourceType, MachineDataOutputTranslator.OutputCustomizer customizer) Creates instance. -
Method Summary
Methods inherited from class de.iip_ecosphere.platform.connectors.types.AbstractConnectorOutputTypeTranslator
getModelAccess, setModelAccess
-
Field Details
-
withNotifications
private boolean withNotifications -
sourceType
-
customizer
-
-
Constructor Details
-
MachineDataOutputTranslator
public MachineDataOutputTranslator(boolean withNotifications, Class<? extends S> sourceType, MachineDataOutputTranslator.OutputCustomizer customizer) Creates instance.- Parameters:
withNotifications- operate with/without notifications (for testing)sourceType- the source typecustomizer- the translator customizer
-
-
Method Details
-
to
- Throws:
IOException
-
initializeModelAccess
- Throws:
IOException
-
getSourceType
-
getTargetType
-