Class ConditionNode
- 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.ConditionNode
-
- Direct Known Subclasses:
AcknowledgeableConditionNode,DialogConditionNode
public class ConditionNode extends BaseEventNode
PLCcom sdk ConditionNode Implementation for Opc Ua, with the ConditionNode object you can read or write Attributes or values from cache or directly from connected ua server- Author:
- Indi.An GmbH, www.indi-an.com, support@indi-an.com
-
-
Constructor Summary
Constructors Constructor Description ConditionNode(UaClient client, com.plccom.opc.ua.builtintypes.NodeId nodeId)Standard constructor for a ConditionNode instances
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.plccom.opc.ua.builtintypes.NodeIdgetBranchId()returns the BRANCH_ID of nodeStringgetClientUserId()returns the CLIENT_USER_ID of nodecom.plccom.opc.ua.builtintypes.LocalizedTextgetComment()returns the comment of nodecom.plccom.opc.ua.builtintypes.NodeIdgetConditionClassId()returns the CONDITION_CLASS_ID of nodecom.plccom.opc.ua.builtintypes.LocalizedTextgetConditionClassName()returns the CONDITION_CLASS_NAME of nodeStringgetConditionName()returns the CONDITION_NAME of nodecom.plccom.opc.ua.builtintypes.LocalizedTextgetEnabledState()returns the enabled state of nodecom.plccom.opc.ua.builtintypes.UnsignedShortgetLastSeverity()returns the last severity of nodecom.plccom.opc.ua.builtintypes.StatusCodegetQuality()returns the quality of nodeBooleangetRetain()returns the RETAIN of nodecom.plccom.opc.ua.builtintypes.StatusCodesetBranchId(com.plccom.opc.ua.builtintypes.NodeId value)Sets the BRANCH_IDcom.plccom.opc.ua.builtintypes.StatusCodesetClientUserId(String value)Sets the CLIENT_USER_IDcom.plccom.opc.ua.builtintypes.StatusCodesetComment(com.plccom.opc.ua.builtintypes.LocalizedText value)Sets the comment of nodecom.plccom.opc.ua.builtintypes.StatusCodesetConditionClassId(com.plccom.opc.ua.builtintypes.NodeId value)Sets the CONDITION_CLASS_IDcom.plccom.opc.ua.builtintypes.StatusCodesetConditionClassName(com.plccom.opc.ua.builtintypes.LocalizedText value)Sets the CONDITION_CLASS_NAMEcom.plccom.opc.ua.builtintypes.StatusCodesetConditionName(String value)Sets the CONDITION_NAMEcom.plccom.opc.ua.builtintypes.StatusCodesetEnabledState(com.plccom.opc.ua.builtintypes.LocalizedText value)Sets the enabled statecom.plccom.opc.ua.builtintypes.StatusCodesetLastSeverity(com.plccom.opc.ua.builtintypes.UnsignedShort value)Sets the last severitycom.plccom.opc.ua.builtintypes.StatusCodesetQuality(com.plccom.opc.ua.builtintypes.StatusCode value)Sets the qualitycom.plccom.opc.ua.builtintypes.StatusCodesetRetain(Boolean value)Sets the RETAIN-
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
-
ConditionNode
public ConditionNode(UaClient client, com.plccom.opc.ua.builtintypes.NodeId nodeId)
Standard constructor for a ConditionNode instances- Parameters:
client- a client instancenodeId- the based nodeId
-
-
Method Detail
-
getConditionClassId
public com.plccom.opc.ua.builtintypes.NodeId getConditionClassId() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionreturns the CONDITION_CLASS_ID of node- Returns:
- the CONDITION_CLASS_ID
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setConditionClassId
public com.plccom.opc.ua.builtintypes.StatusCode setConditionClassId(com.plccom.opc.ua.builtintypes.NodeId value) throws com.plccom.opc.ua.common.ServiceResultExceptionSets the CONDITION_CLASS_ID- Parameters:
value- the CONDITION_CLASS_ID- Returns:
- a StatusCode object
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getConditionClassName
public com.plccom.opc.ua.builtintypes.LocalizedText getConditionClassName() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionreturns the CONDITION_CLASS_NAME of node- Returns:
- the CONDITION_CLASS_NAME
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setConditionClassName
public com.plccom.opc.ua.builtintypes.StatusCode setConditionClassName(com.plccom.opc.ua.builtintypes.LocalizedText value) throws com.plccom.opc.ua.common.ServiceResultExceptionSets the CONDITION_CLASS_NAME- Parameters:
value- the CONDITION_CLASS_NAME- Returns:
- a StatusCode object
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getConditionName
public String getConditionName() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultException
returns the CONDITION_NAME of node- Returns:
- the CONDITION_NAME
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setConditionName
public com.plccom.opc.ua.builtintypes.StatusCode setConditionName(String value) throws com.plccom.opc.ua.common.ServiceResultException
Sets the CONDITION_NAME- Parameters:
value- the CONDITION_NAME- Returns:
- a StatusCode object
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getBranchId
public com.plccom.opc.ua.builtintypes.NodeId getBranchId() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionreturns the BRANCH_ID of node- Returns:
- the BRANCH_ID
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setBranchId
public com.plccom.opc.ua.builtintypes.StatusCode setBranchId(com.plccom.opc.ua.builtintypes.NodeId value) throws com.plccom.opc.ua.common.ServiceResultExceptionSets the BRANCH_ID- Parameters:
value- the BRANCH_ID- Returns:
- a StatusCode object
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getRetain
public Boolean getRetain() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultException
returns the RETAIN of node- Returns:
- the RETAIN
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setRetain
public com.plccom.opc.ua.builtintypes.StatusCode setRetain(Boolean value) throws com.plccom.opc.ua.common.ServiceResultException
Sets the RETAIN- Parameters:
value- the RETAIN- Returns:
- a StatusCode object
- 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 CLIENT_USER_ID of node- Returns:
- the CLIENT_USER_ID
- 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 CLIENT_USER_ID- Parameters:
value- the CLIENT_USER_ID- Returns:
- a StatusCode object
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getEnabledState
public com.plccom.opc.ua.builtintypes.LocalizedText getEnabledState() throws com.plccom.opc.ua.encoding.DecodingException, com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionreturns the enabled state of node- Returns:
- the enabled state
- Throws:
com.plccom.opc.ua.encoding.DecodingException- throws if internal cast operation throws errorscom.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setEnabledState
public com.plccom.opc.ua.builtintypes.StatusCode setEnabledState(com.plccom.opc.ua.builtintypes.LocalizedText value) throws com.plccom.opc.ua.common.ServiceResultExceptionSets the enabled state- Parameters:
value- the enabled state- Returns:
- a StatusCode object
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getQuality
public com.plccom.opc.ua.builtintypes.StatusCode getQuality() throws com.plccom.opc.ua.encoding.DecodingException, com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionreturns the quality of node- Returns:
- the quality
- Throws:
com.plccom.opc.ua.encoding.DecodingException- throws if internal cast operation throws errorscom.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setQuality
public com.plccom.opc.ua.builtintypes.StatusCode setQuality(com.plccom.opc.ua.builtintypes.StatusCode value) throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionSets the quality- Parameters:
value- the quality- Returns:
- a StatusCode object
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
getLastSeverity
public com.plccom.opc.ua.builtintypes.UnsignedShort getLastSeverity() throws com.plccom.opc.ua.encoding.DecodingException, com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionreturns the last severity of node- Returns:
- the last severity
- Throws:
com.plccom.opc.ua.encoding.DecodingException- throws if internal cast operation throws errorscom.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setLastSeverity
public com.plccom.opc.ua.builtintypes.StatusCode setLastSeverity(com.plccom.opc.ua.builtintypes.UnsignedShort value) throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionSets the last severity- Parameters:
value- the last severity- Returns:
- a StatusCode object
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
getComment
public com.plccom.opc.ua.builtintypes.LocalizedText getComment() throws com.plccom.opc.ua.encoding.DecodingException, com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionreturns the comment of node- Returns:
- the comment
- Throws:
com.plccom.opc.ua.encoding.DecodingException- throws if internal cast operation throws errorscom.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setComment
public com.plccom.opc.ua.builtintypes.StatusCode setComment(com.plccom.opc.ua.builtintypes.LocalizedText value) throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionSets the comment of node- Parameters:
value- comment- Returns:
- a StatusCode object
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
-