public interface DataItem
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,Variant> |
getAttributes() |
DataItemInformation |
getInformation() |
|
readValue()
The read operation of a data item.
|
void |
setListener(ItemListener listener)
Sets the listener for this item.
|
|
startSetAttributes(java.util.Map<java.lang.String,Variant> attributes,
OperationParameters operationParameters)
Start the write attributes operation
|
|
startWriteValue(Variant value,
OperationParameters operationParameters)
The write operation of a data item.
|
DataItemInformation getInformation()
readValue() throws InvalidOperationException
InvalidOperationException - Raised if "read" is not a valid operation for this itemjava.util.Map<java.lang.String,Variant> getAttributes()
void setListener(ItemListener listener)
listener - The listener to use or null to disable notificationstartWriteValue(Variant value, OperationParameters operationParameters)
session - The user sessionvalue - The value to write to the subsystemoperationParameters - InvalidOperationException - Raised if "write" is not a valid operation for this itemNullValueException - Raised if a null value was passed but the subsystem does not
allow null values to be writtenNotConvertableException - Raised if a value was passed that cannot be converted in a
variant type suitable for the subsystemOperationException - Raised if the value could not be written due to some
subsystem errorstartSetAttributes(java.util.Map<java.lang.String,Variant> attributes, OperationParameters operationParameters)
attributes - attributes to setsession - The user sessionoperationParameters -
Copyright (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0