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.Variant data  
    private Object identifier  
  • Constructor Summary

    Constructors 
    Constructor Description
    DataItem​(Object identifier, org.eclipse.milo.opcua.stack.core.types.builtin.Variant data)
    Creates a data item.
  • Method Summary

    Modifier and Type Method Description
    org.eclipse.milo.opcua.stack.core.types.builtin.Variant getData()
    Returns the changed data.
    Object getIdentifier()
    Returns the identifier in the model.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • data

      private org.eclipse.milo.opcua.stack.core.types.builtin.Variant data
    • identifier

      private Object identifier
  • Constructor Details

    • DataItem

      public DataItem​(Object identifier, org.eclipse.milo.opcua.stack.core.types.builtin.Variant data)
      Creates a data item.
      Parameters:
      identifier - the data item identifier in the model, usually a string but who knows in Milo
      data - 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

      public Object getIdentifier()
      Returns the identifier in the model.
      Returns:
      the data item identifier in the model, usually a string but who knows in Milo