Class DataItem
java.lang.Object
de.iip_ecosphere.platform.connectors.opcuav1.DataItem
public class DataItem extends Object
Represents a monitored, changed data item send to the
ConnectorOutputTypeTranslator for detailed change
data, but only if enabled through ModelAccess.setDetailNotifiedItem(boolean).- Author:
- Holger Eichelberger, SSE
-
Field Summary
Fields Modifier and Type Field Description private org.eclipse.milo.opcua.stack.core.types.builtin.Variantdataprivate Objectidentifier -
Constructor Summary
-
Method Summary
Modifier and Type Method Description org.eclipse.milo.opcua.stack.core.types.builtin.VariantgetData()Returns the changed data.ObjectgetIdentifier()Returns the identifier in the model.
-
Field Details
-
data
private org.eclipse.milo.opcua.stack.core.types.builtin.Variant data -
identifier
-
-
Constructor Details
-
DataItem
Creates a data item.- Parameters:
identifier- the data item identifier in the model, usually a string but who knows in Milodata- the new data
-
-
Method Details
-
getData
public org.eclipse.milo.opcua.stack.core.types.builtin.Variant getData()Returns the changed data.- Returns:
- the changed ata
-
getIdentifier
Returns the identifier in the model.- Returns:
- the data item identifier in the model, usually a string but who knows in Milo
-