Class DataItem
java.lang.Object
de.iip_ecosphere.platform.connectors.opcuav1.DataItem
- All Implemented Interfaces:
de.iip_ecosphere.platform.connectors.events.ConnectorTriggerQuery
public class DataItem
extends Object
implements de.iip_ecosphere.platform.connectors.events.ConnectorTriggerQuery
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
FieldsModifier and TypeFieldDescriptionprivate org.eclipse.milo.opcua.stack.core.types.builtin.Variantprivate Objectprivate de.iip_ecosphere.platform.connectors.events.ConnectorTriggerQuery -
Constructor Summary
Constructors -
Method Summary
Methods 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.events.ConnectorTriggerQuery
delay
-
Field Details
-
query
private de.iip_ecosphere.platform.connectors.events.ConnectorTriggerQuery query -
data
private org.eclipse.milo.opcua.stack.core.types.builtin.Variant data -
identifier
-
-
Constructor Details
-
DataItem
public DataItem(de.iip_ecosphere.platform.connectors.events.ConnectorTriggerQuery query) Creates a data item.- Parameters:
query- the data trigger query
-
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 data (may be null if
getQuery()is specified)
-
getIdentifier
Returns the identifier in the model.- Returns:
- the data item identifier in the model, usually a string but who knows in Milo (may be null
if
getQuery()is specified)
-
getQuery
public de.iip_ecosphere.platform.connectors.events.ConnectorTriggerQuery getQuery()Returns the query.- Returns:
- the query (may be null if
getData()/getIdentifier()are specified)
-