Class AbstractTypeMappingModelAccess
java.lang.Object
de.iip_ecosphere.platform.connectors.model.AbstractModelAccess
de.iip_ecosphere.platform.connectors.model.AbstractTypeMappingModelAccess
- All Implemented Interfaces:
ModelAccess
Delegates
set(String, Object) to typed calls by casting.- Author:
- Holger Eichelberger, SSE
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static interfaceInternal setter interface to generically call set methods.Nested classes/interfaces inherited from class de.iip_ecosphere.platform.connectors.model.AbstractModelAccess
AbstractModelAccess.NotificationChangedListener -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractTypeMappingModelAccess(AbstractModelAccess.NotificationChangedListener notificationChangedListener) Creates an instance. -
Method Summary
Modifier and TypeMethodDescriptionvoidChanges a property value.abstract voidsetBoolean(String qName, boolean value) Changes a boolean property value.abstract voidChanges a byte property value.abstract voidChanges a double property value.abstract voidChanges a float property value.abstract voidChanges an int property value.abstract voidChanges a long property value.abstract voidChanges a short property value.abstract voidChanges a string property value.Methods inherited from class de.iip_ecosphere.platform.connectors.model.AbstractModelAccess
getConnectorParameter, iqName, isDetailNotifiedItemEnabled, monitor, monitorModelChanges, qName, setDetailNotifiedItem, useNotifications, useNotificationsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.iip_ecosphere.platform.connectors.model.ModelAccess
call, dispose, get, get, getBoolean, getByte, getDouble, getFloat, getInputConverter, getInt, getLong, getMultiValue, getOutputConverter, getQSeparator, getShort, getString, getStruct, monitor, monitorModelChanges, registerCustomType, setMultiValue, setMultiValue, setStruct, stepInto, stepOut, topInstancesQName
-
Field Details
-
setters
-
-
Constructor Details
-
AbstractTypeMappingModelAccess
protected AbstractTypeMappingModelAccess(AbstractModelAccess.NotificationChangedListener notificationChangedListener) Creates an instance.- Parameters:
notificationChangedListener- listener to be called when the notification settings have been changed, typically during initialization of the connector/model
-
-
Method Details
-
set
Description copied from interface:ModelAccessChanges a property value.- Parameters:
qName- the qualified name of the property (composed usingModelAccess.getQSeparator()).value- the new property value- Throws:
IOException- in case that the access fails or setting properties is not implemented (seeMachineConnector.supportsModelProperties()isfalse)
-
setInt
Description copied from interface:ModelAccessChanges an int property value.- Parameters:
qName- the qualified name of the property (composed usingModelAccess.getQSeparator()).value- the new property value- Throws:
IOException- in case that the access fails or setting properties is not implemented (seeMachineConnector.supportsModelProperties()isfalse)
-
setLong
Description copied from interface:ModelAccessChanges a long property value.- Parameters:
qName- the qualified name of the property (composed usingModelAccess.getQSeparator()).value- the new property value- Throws:
IOException- in case that the access fails or setting properties is not implemented (seeMachineConnector.supportsModelProperties()isfalse)
-
setByte
Description copied from interface:ModelAccessChanges a byte property value.- Parameters:
qName- the qualified name of the property (composed usingModelAccess.getQSeparator()).value- the new property value- Throws:
IOException- in case that the access fails or setting properties is not implemented (seeMachineConnector.supportsModelProperties()isfalse)
-
setShort
Description copied from interface:ModelAccessChanges a short property value.- Parameters:
qName- the qualified name of the property (composed usingModelAccess.getQSeparator()).value- the new property value- Throws:
IOException- in case that the access fails or setting properties is not implemented (seeMachineConnector.supportsModelProperties()isfalse)
-
setBoolean
Description copied from interface:ModelAccessChanges a boolean property value.- Parameters:
qName- the qualified name of the property (composed usingModelAccess.getQSeparator()).value- the new property value- Throws:
IOException- in case that the access fails or setting properties is not implemented (seeMachineConnector.supportsModelProperties()isfalse)
-
setDouble
Description copied from interface:ModelAccessChanges a double property value.- Parameters:
qName- the qualified name of the property (composed usingModelAccess.getQSeparator()).value- the new property value- Throws:
IOException- in case that the access fails or setting properties is not implemented (seeMachineConnector.supportsModelProperties()isfalse)
-
setFloat
Description copied from interface:ModelAccessChanges a float property value.- Parameters:
qName- the qualified name of the property (composed usingModelAccess.getQSeparator()).value- the new property value- Throws:
IOException- in case that the access fails or setting properties is not implemented (seeMachineConnector.supportsModelProperties()isfalse)
-
setString
Description copied from interface:ModelAccessChanges a string property value.- Parameters:
qName- the qualified name of the property (composed usingModelAccess.getQSeparator()).value- the new property value- Throws:
IOException- in case that the access fails or setting properties is not implemented (seeMachineConnector.supportsModelProperties()isfalse)
-