Class AuditEventNode
- 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
-
- Direct Known Subclasses:
AuditNodeManagementEventNode,AuditSecurityEventNode,AuditUpdateEventNode,AuditUpdateMethodEventNode
public class AuditEventNode extends BaseEventNode
PLCcom sdk AuditEventNode Implementation for Opc Ua- Author:
- Indi.An GmbH, www.indi-an.com, support@indi-an.com
-
-
Constructor Summary
Constructors Constructor Description AuditEventNode(UaClient client, com.plccom.opc.ua.builtintypes.NodeId nodeId)default constructor for AuditEventNode instances
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.plccom.opc.ua.builtintypes.DateTimegetActionTimeStamp()Returns the attribute ACTION_TIME_STAMP from cache or directly from connected ua serverStringgetClientAuditEntryId()Returns the attribute CLIENT_AUDIT_ENTRY_ID from cache or directly from connected ua serverStringgetClientUserId()Returns the attribute CLIENT_USER_ID from cache or directly from connected ua serverStringgetServerId()Returns the attribute SERVER_ID from cache or directly from connected ua serverBooleangetStatus()Returns the attribute STATUS from cache or directly from connected ua servercom.plccom.opc.ua.builtintypes.StatusCodesetActionTimeStamp(com.plccom.opc.ua.builtintypes.DateTime value)Sets the attribute ACTION_TIME_STAMP of this node at connected ua server and refreshing the nodecachecom.plccom.opc.ua.builtintypes.StatusCodesetClientAuditEntryId(String value)Sets the attribute CLIENT_AUDIT_ENTRY_ID of this node at connected ua server and refreshing the nodecachecom.plccom.opc.ua.builtintypes.StatusCodesetClientUserId(String value)Sets the attribute CLIENT_USER_ID of this node at connected ua server and refreshing the nodecachecom.plccom.opc.ua.builtintypes.StatusCodesetServerId(String value)Sets the attribute SERVER_ID of this node at connected ua server and refreshing the nodecachecom.plccom.opc.ua.builtintypes.StatusCodesetStatus(Boolean value)Sets the attribute STATUS of this node at connected ua server and refreshing the nodecache-
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
-
AuditEventNode
public AuditEventNode(UaClient client, com.plccom.opc.ua.builtintypes.NodeId nodeId)
default constructor for AuditEventNode instances- Parameters:
client- the client instancenodeId- the based nodeid
-
-
Method Detail
-
getActionTimeStamp
public com.plccom.opc.ua.builtintypes.DateTime getActionTimeStamp() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionReturns the attribute ACTION_TIME_STAMP from cache or directly from connected ua server- Returns:
- the ACTION_TIME_STAMP attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setActionTimeStamp
public com.plccom.opc.ua.builtintypes.StatusCode setActionTimeStamp(com.plccom.opc.ua.builtintypes.DateTime value) throws com.plccom.opc.ua.common.ServiceResultExceptionSets the attribute ACTION_TIME_STAMP of this node at connected ua server and refreshing the nodecache- Parameters:
value- the ACTION_TIME_STAMP attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getStatus
public Boolean getStatus() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultException
Returns the attribute STATUS from cache or directly from connected ua server- Returns:
- the STATUS attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setStatus
public com.plccom.opc.ua.builtintypes.StatusCode setStatus(Boolean value) throws com.plccom.opc.ua.common.ServiceResultException
Sets the attribute STATUS of this node at connected ua server and refreshing the nodecache- Parameters:
value- the STATUS attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getServerId
public String getServerId() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultException
Returns the attribute SERVER_ID from cache or directly from connected ua server- Returns:
- the SERVER_ID attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setServerId
public com.plccom.opc.ua.builtintypes.StatusCode setServerId(String value) throws com.plccom.opc.ua.common.ServiceResultException
Sets the attribute SERVER_ID of this node at connected ua server and refreshing the nodecache- Parameters:
value- the SERVER_ID attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getClientAuditEntryId
public String getClientAuditEntryId() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultException
Returns the attribute CLIENT_AUDIT_ENTRY_ID from cache or directly from connected ua server- Returns:
- the CLIENT_AUDIT_ENTRY_ID attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setClientAuditEntryId
public com.plccom.opc.ua.builtintypes.StatusCode setClientAuditEntryId(String value) throws com.plccom.opc.ua.common.ServiceResultException
Sets the attribute CLIENT_AUDIT_ENTRY_ID of this node at connected ua server and refreshing the nodecache- Parameters:
value- the CLIENT_AUDIT_ENTRY_ID attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getClientUserId
public String getClientUserId() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultException
Returns the attribute CLIENT_USER_ID from cache or directly from connected ua server- Returns:
- the CLIENT_USER_ID attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setClientUserId
public com.plccom.opc.ua.builtintypes.StatusCode setClientUserId(String value) throws com.plccom.opc.ua.common.ServiceResultException
Sets the attribute CLIENT_USER_ID of this node at connected ua server and refreshing the nodecache- Parameters:
value- the CLIENT_USER_ID attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
-