Class AuditWriteUpdateEventNode
- java.lang.Object
-
- com.plccom.opc.ua.client.application.model.nodes.UaNode
-
- com.plccom.opc.ua.client.application.model.nodes.UaObjectNode
-
- com.plccom.opc.ua.client.application.model.nodes.objects.BaseObjectNode
-
- com.plccom.opc.ua.client.application.model.nodes.objects.BaseEventNode
-
- com.plccom.opc.ua.client.application.model.nodes.objects.AuditEventNode
-
- com.plccom.opc.ua.client.application.model.nodes.objects.AuditUpdateEventNode
-
- com.plccom.opc.ua.client.application.model.nodes.objects.AuditWriteUpdateEventNode
-
public class AuditWriteUpdateEventNode extends AuditUpdateEventNode
PLCcom sdk AuditWriteUpdateEventNode Implementation for Opc Ua- Author:
- Indi.An GmbH, www.indi-an.com, support@indi-an.com
-
-
Constructor Summary
Constructors Constructor Description AuditWriteUpdateEventNode(UaClient client, com.plccom.opc.ua.builtintypes.NodeId nodeId)default constructor for AuditWriteUpdateEventNode instances
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.plccom.opc.ua.builtintypes.UnsignedIntegergetAttributeId()Returns the attribute ATTRIBUTE_ID from cache or directly from connected ua serverStringgetIndexRange()Returns the attribute INDEX_RANGE from cache or directly from connected ua serverObjectgetNewValue()Returns the attribute NEW_VALUE from cache or directly from connected ua serverObjectgetOldValue()Returns the attribute OLD_VALUE from cache or directly from connected ua servercom.plccom.opc.ua.builtintypes.StatusCodesetAttributeId(com.plccom.opc.ua.builtintypes.UnsignedInteger value)Sets the attribute ATTRIBUTE_ID of this node at connected ua server and refreshing the nodecachecom.plccom.opc.ua.builtintypes.StatusCodesetIndexRange(String value)Sets the attribute INDEX_RANGE of this node at connected ua server and refreshing the nodecachecom.plccom.opc.ua.builtintypes.StatusCodesetNewValue(Object value)Sets the attribute NEW_VALUE of this node at connected ua server and refreshing the nodecachecom.plccom.opc.ua.builtintypes.StatusCodesetOldValue(Object value)Sets the attribute OLD_VALUE of this node at connected ua server and refreshing the nodecache-
Methods inherited from class com.plccom.opc.ua.client.application.model.nodes.objects.AuditEventNode
getActionTimeStamp, getClientAuditEntryId, getClientUserId, getServerId, getStatus, setActionTimeStamp, setClientAuditEntryId, setClientUserId, setServerId, setStatus
-
Methods inherited from class com.plccom.opc.ua.client.application.model.nodes.objects.BaseEventNode
getEventId, getEventType, getLocalTime, getMessage, getReceiveTime, getSeverity, getSourceName, getSourceNode, getTime, setEventId, setEventType, setLocalTime, setMessage, setReceiveTime, setSeverity, setSourceName, setSourceNode, setTime
-
Methods inherited from class com.plccom.opc.ua.client.application.model.nodes.UaObjectNode
browseObjectType, browseVariable, getEventNotifier, readEventNotifier, setEventNotifier, writeEventNotifier
-
Methods inherited from class com.plccom.opc.ua.client.application.model.nodes.UaNode
getBrowseName, getDescription, getDisplayName, getNodeClass, getNodeId, getUserWriteMask, getWriteMask, readBrowseName, readDescription, readDisplayName, readNodeClass, readNodeId, readUserWriteMask, readWriteMask, setBrowseName, setDescription, setDisplayName, setNodeClass, setNodeId, setUserWriteMask, setWriteMask, writeBrowseName, writeDescription, writeDisplayName, writeNodeClass, writeNodeId, writeUserWriteMask, writeWriteMask
-
-
-
-
Constructor Detail
-
AuditWriteUpdateEventNode
public AuditWriteUpdateEventNode(UaClient client, com.plccom.opc.ua.builtintypes.NodeId nodeId)
default constructor for AuditWriteUpdateEventNode instances- Parameters:
client- the client instancenodeId- the based nodeid
-
-
Method Detail
-
getAttributeId
public com.plccom.opc.ua.builtintypes.UnsignedInteger getAttributeId() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionReturns the attribute ATTRIBUTE_ID from cache or directly from connected ua server- Returns:
- the ATTRIBUTE_ID attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setAttributeId
public com.plccom.opc.ua.builtintypes.StatusCode setAttributeId(com.plccom.opc.ua.builtintypes.UnsignedInteger value) throws com.plccom.opc.ua.common.ServiceResultExceptionSets the attribute ATTRIBUTE_ID of this node at connected ua server and refreshing the nodecache- Parameters:
value- the ATTRIBUTE_ID attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getIndexRange
public String getIndexRange() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultException
Returns the attribute INDEX_RANGE from cache or directly from connected ua server- Returns:
- the INDEX_RANGE attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setIndexRange
public com.plccom.opc.ua.builtintypes.StatusCode setIndexRange(String value) throws com.plccom.opc.ua.common.ServiceResultException
Sets the attribute INDEX_RANGE of this node at connected ua server and refreshing the nodecache- Parameters:
value- the INDEX_RANGE attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getOldValue
public Object getOldValue() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultException
Returns the attribute OLD_VALUE from cache or directly from connected ua server- Returns:
- the OLD_VALUE attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setOldValue
public com.plccom.opc.ua.builtintypes.StatusCode setOldValue(Object value) throws com.plccom.opc.ua.common.ServiceResultException
Sets the attribute OLD_VALUE of this node at connected ua server and refreshing the nodecache- Parameters:
value- the OLD_VALUE attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getNewValue
public Object getNewValue() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultException
Returns the attribute NEW_VALUE from cache or directly from connected ua server- Returns:
- the NEW_VALUE attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setNewValue
public com.plccom.opc.ua.builtintypes.StatusCode setNewValue(Object value) throws com.plccom.opc.ua.common.ServiceResultException
Sets the attribute NEW_VALUE of this node at connected ua server and refreshing the nodecache- Parameters:
value- the NEW_VALUE attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
-