Class DialogConditionNode
- 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
-
- com.plccom.opc.ua.client.application.model.nodes.objects.DialogConditionNode
-
public class DialogConditionNode extends ConditionNode
PLCcom sdk DialogConditionNode Implementation for Opc Ua- Author:
- Indi.An GmbH, www.indi-an.com, support@indi-an.com
-
-
Constructor Summary
Constructors Constructor Description DialogConditionNode(UaClient client, com.plccom.opc.ua.builtintypes.NodeId nodeId)default constructor for DialogConditionNode instances
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetCancelResponse()Returns the attribute CANCEL_RESPONSE from cache or directly from connected ua serverIntegergetDefaultResponse()Returns the attribute DEFAULT_RESPONSE from cache or directly from connected ua servercom.plccom.opc.ua.builtintypes.LocalizedTextgetDialogState()Returns the DialogState from cache or directly from connected ua servercom.plccom.opc.ua.builtintypes.LocalizedTextgetEnabledState()Returns the EnabledState from cache or directly from connected ua serverIntegergetLastResponse()Returns the attribute LAST_RESPONSE from cache or directly from connected ua serverIntegergetOkResponse()Returns the attribute OK_RESPONSE from cache or directly from connected ua servercom.plccom.opc.ua.builtintypes.LocalizedTextgetPrompt()Returns the attribute PROMPT from cache or directly from connected ua servercom.plccom.opc.ua.builtintypes.LocalizedText[]getResponseOptionSet()Returns the attribute RESPONSE_OPTION_SET from cache or directly from connected ua servercom.plccom.opc.ua.builtintypes.StatusCodesetCancelResponse(Integer value)Sets the attribute CANCEL_RESPONSE of this node at connected ua server and refreshing the nodecachecom.plccom.opc.ua.builtintypes.StatusCodesetDefaultResponse(Integer value)Sets the attribute DEFAULT_RESPONSE of this node at connected ua server and refreshing the nodecachecom.plccom.opc.ua.builtintypes.StatusCodesetDialogState(com.plccom.opc.ua.builtintypes.LocalizedText value)Sets the DialogState of this node at connected ua server and refreshing the nodecachecom.plccom.opc.ua.builtintypes.StatusCodesetEnabledState(com.plccom.opc.ua.builtintypes.LocalizedText value)Sets the EnabledState of this node at connected ua server and refreshing the nodecachecom.plccom.opc.ua.builtintypes.StatusCodesetLastResponse(Integer value)Sets the attribute LAST_RESPONSE of this node at connected ua server and refreshing the nodecachecom.plccom.opc.ua.builtintypes.StatusCodesetOkResponse(Integer value)Sets the attribute OK_RESPONSE of this node at connected ua server and refreshing the nodecachecom.plccom.opc.ua.builtintypes.StatusCodesetPrompt(com.plccom.opc.ua.builtintypes.LocalizedText value)Sets the attribute PROMPT of this node at connected ua server and refreshing the nodecachecom.plccom.opc.ua.builtintypes.StatusCodesetResponseOptionSet(com.plccom.opc.ua.builtintypes.LocalizedText[] value)Sets the attribute RESPONSE_OPTION_SET of this node at connected ua server and refreshing the nodecache-
Methods inherited from class com.plccom.opc.ua.client.application.model.nodes.objects.ConditionNode
getBranchId, getClientUserId, getComment, getConditionClassId, getConditionClassName, getConditionName, getLastSeverity, getQuality, getRetain, setBranchId, setClientUserId, setComment, setConditionClassId, setConditionClassName, setConditionName, setLastSeverity, setQuality, setRetain
-
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
-
DialogConditionNode
public DialogConditionNode(UaClient client, com.plccom.opc.ua.builtintypes.NodeId nodeId)
default constructor for DialogConditionNode instances- Parameters:
client- the client instancenodeId- the based nodeid
-
-
Method Detail
-
getPrompt
public com.plccom.opc.ua.builtintypes.LocalizedText getPrompt() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionReturns the attribute PROMPT from cache or directly from connected ua server- Returns:
- the PROMPT attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setPrompt
public com.plccom.opc.ua.builtintypes.StatusCode setPrompt(com.plccom.opc.ua.builtintypes.LocalizedText value) throws com.plccom.opc.ua.common.ServiceResultExceptionSets the attribute PROMPT of this node at connected ua server and refreshing the nodecache- Parameters:
value- the PROMPT attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getResponseOptionSet
public com.plccom.opc.ua.builtintypes.LocalizedText[] getResponseOptionSet() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionReturns the attribute RESPONSE_OPTION_SET from cache or directly from connected ua server- Returns:
- the RESPONSE_OPTION_SET attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setResponseOptionSet
public com.plccom.opc.ua.builtintypes.StatusCode setResponseOptionSet(com.plccom.opc.ua.builtintypes.LocalizedText[] value) throws com.plccom.opc.ua.common.ServiceResultExceptionSets the attribute RESPONSE_OPTION_SET of this node at connected ua server and refreshing the nodecache- Parameters:
value- the RESPONSE_OPTION_SET attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getDefaultResponse
public Integer getDefaultResponse() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultException
Returns the attribute DEFAULT_RESPONSE from cache or directly from connected ua server- Returns:
- the DEFAULT_RESPONSE attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setDefaultResponse
public com.plccom.opc.ua.builtintypes.StatusCode setDefaultResponse(Integer value) throws com.plccom.opc.ua.common.ServiceResultException
Sets the attribute DEFAULT_RESPONSE of this node at connected ua server and refreshing the nodecache- Parameters:
value- the DEFAULT_RESPONSE attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getOkResponse
public Integer getOkResponse() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultException
Returns the attribute OK_RESPONSE from cache or directly from connected ua server- Returns:
- the OK_RESPONSE attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setOkResponse
public com.plccom.opc.ua.builtintypes.StatusCode setOkResponse(Integer value) throws com.plccom.opc.ua.common.ServiceResultException
Sets the attribute OK_RESPONSE of this node at connected ua server and refreshing the nodecache- Parameters:
value- the OK_RESPONSE attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getCancelResponse
public Integer getCancelResponse() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultException
Returns the attribute CANCEL_RESPONSE from cache or directly from connected ua server- Returns:
- the CANCEL_RESPONSE attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setCancelResponse
public com.plccom.opc.ua.builtintypes.StatusCode setCancelResponse(Integer value) throws com.plccom.opc.ua.common.ServiceResultException
Sets the attribute CANCEL_RESPONSE of this node at connected ua server and refreshing the nodecache- Parameters:
value- the CANCEL_RESPONSE attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
getLastResponse
public Integer getLastResponse() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultException
Returns the attribute LAST_RESPONSE from cache or directly from connected ua server- Returns:
- the LAST_RESPONSE attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setLastResponse
public com.plccom.opc.ua.builtintypes.StatusCode setLastResponse(Integer value) throws com.plccom.opc.ua.common.ServiceResultException
Sets the attribute LAST_RESPONSE of this node at connected ua server and refreshing the nodecache- Parameters:
value- the LAST_RESPONSE attribute- Returns:
- a StatusCode object with result of actual operation
- 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 EnabledState from cache or directly from connected ua server- Overrides:
getEnabledStatein classConditionNode- Returns:
- the EnabledState
- 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.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionSets the EnabledState of this node at connected ua server and refreshing the nodecache- Overrides:
setEnabledStatein classConditionNode- Parameters:
value- the EnabledState- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
getDialogState
public com.plccom.opc.ua.builtintypes.LocalizedText getDialogState() throws com.plccom.opc.ua.encoding.DecodingException, com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionReturns the DialogState from cache or directly from connected ua server- Returns:
- the DialogState
- 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
-
setDialogState
public com.plccom.opc.ua.builtintypes.StatusCode setDialogState(com.plccom.opc.ua.builtintypes.LocalizedText value) throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionSets the DialogState of this node at connected ua server and refreshing the nodecache- Parameters:
value- the DialogState- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
-