Class UaReferenceTypeNode
- java.lang.Object
-
- com.plccom.opc.ua.client.application.model.nodes.UaNode
-
- com.plccom.opc.ua.client.application.model.nodes.UaReferenceTypeNode
-
public class UaReferenceTypeNode extends UaNode
PLCcom sdk UaReferenceTypeNode Implementation for Opc Ua, with the UaReferenceTypeNode 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 UaReferenceTypeNode(UaClient client, com.plccom.opc.ua.builtintypes.NodeId nodeId)Standard constructor for a UaReferenceTypeNode instances
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.plccom.opc.ua.builtintypes.LocalizedTextgetInverseName()Returns the attribute InverseName from cache or directly from connected ua serverBooleangetIsAbstract()Returns the attribute IsAbstract from cache or directly from connected ua serverBooleangetSymmetric()Returns the attribute Symmetric from cache or directly from connected ua servercom.plccom.opc.ua.builtintypes.DataValuereadInverseName()Reads the complete datavalue of attribute InverseName this node from cache or directly from connected ua servercom.plccom.opc.ua.builtintypes.DataValuereadIsAbstract()Reads the complete datavalue of attribute IsAbstract this node from cache or directly from connected ua servercom.plccom.opc.ua.builtintypes.DataValuereadSymmetric()Reads the complete datavalue of attribute Symmetric this node from cache or directly from connected ua servercom.plccom.opc.ua.builtintypes.StatusCodesetInverseName(com.plccom.opc.ua.builtintypes.LocalizedText inverseName)Sets the attribute inverseName of this node at connected ua server and refreshing the nodecachecom.plccom.opc.ua.builtintypes.StatusCodesetIsAbstract(boolean isAbstract)Sets the attribute isAbstract of this node at connected ua server and refreshing the nodecachecom.plccom.opc.ua.builtintypes.StatusCodesetSymmetric(boolean symmetric)Sets the attribute isAbssymmetrictract of this node at connected ua server and refreshing the nodecachecom.plccom.opc.ua.builtintypes.StatusCodewriteInverseName(com.plccom.opc.ua.builtintypes.DataValue value)Writes the InverseName attributecom.plccom.opc.ua.builtintypes.StatusCodewriteIsAbstract(com.plccom.opc.ua.builtintypes.DataValue value)Writes the IsAbstract attributecom.plccom.opc.ua.builtintypes.StatusCodewriteSymmetric(com.plccom.opc.ua.builtintypes.DataValue value)Writes the Symmetric attribute-
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
-
UaReferenceTypeNode
public UaReferenceTypeNode(UaClient client, com.plccom.opc.ua.builtintypes.NodeId nodeId)
Standard constructor for a UaReferenceTypeNode instances- Parameters:
client- a client instancenodeId- the based nodeId
-
-
Method Detail
-
getIsAbstract
public Boolean getIsAbstract() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultException
Returns the attribute IsAbstract from cache or directly from connected ua server- Returns:
- the IsAbstract attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
getSymmetric
public Boolean getSymmetric() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultException
Returns the attribute Symmetric from cache or directly from connected ua server- Returns:
- the Symmetric attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
getInverseName
public com.plccom.opc.ua.builtintypes.LocalizedText getInverseName() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionReturns the attribute InverseName from cache or directly from connected ua server- Returns:
- the InverseName attribute
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
setIsAbstract
public com.plccom.opc.ua.builtintypes.StatusCode setIsAbstract(boolean isAbstract) throws com.plccom.opc.ua.common.ServiceResultExceptionSets the attribute isAbstract of this node at connected ua server and refreshing the nodecache- Parameters:
isAbstract- the isAbstract attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
setSymmetric
public com.plccom.opc.ua.builtintypes.StatusCode setSymmetric(boolean symmetric) throws com.plccom.opc.ua.common.ServiceResultExceptionSets the attribute isAbssymmetrictract of this node at connected ua server and refreshing the nodecache- Parameters:
symmetric- the symmetric attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
setInverseName
public com.plccom.opc.ua.builtintypes.StatusCode setInverseName(com.plccom.opc.ua.builtintypes.LocalizedText inverseName) throws com.plccom.opc.ua.common.ServiceResultExceptionSets the attribute inverseName of this node at connected ua server and refreshing the nodecache- Parameters:
inverseName- the inverseName attribute- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
readIsAbstract
public com.plccom.opc.ua.builtintypes.DataValue readIsAbstract() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionReads the complete datavalue of attribute IsAbstract this node from cache or directly from connected ua server- Returns:
- a datavalue object with the attribute IsAbstract
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
readSymmetric
public com.plccom.opc.ua.builtintypes.DataValue readSymmetric() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionReads the complete datavalue of attribute Symmetric this node from cache or directly from connected ua server- Returns:
- a datavalue object with the attribute Symmetric
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
readInverseName
public com.plccom.opc.ua.builtintypes.DataValue readInverseName() throws com.plccom.opc.ua.common.ServiceFaultException, com.plccom.opc.ua.common.ServiceResultExceptionReads the complete datavalue of attribute InverseName this node from cache or directly from connected ua server- Returns:
- a datavalue object with the attribute InverseName
- Throws:
com.plccom.opc.ua.common.ServiceFaultException- on error while executing the operationcom.plccom.opc.ua.common.ServiceResultException- on communication error
-
writeIsAbstract
public com.plccom.opc.ua.builtintypes.StatusCode writeIsAbstract(com.plccom.opc.ua.builtintypes.DataValue value) throws com.plccom.opc.ua.common.ServiceResultExceptionWrites the IsAbstract attribute- Parameters:
value- a datavalue object with informations to write- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
writeSymmetric
public com.plccom.opc.ua.builtintypes.StatusCode writeSymmetric(com.plccom.opc.ua.builtintypes.DataValue value) throws com.plccom.opc.ua.common.ServiceResultExceptionWrites the Symmetric attribute- Parameters:
value- a datavalue object with informations to write- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
writeInverseName
public com.plccom.opc.ua.builtintypes.StatusCode writeInverseName(com.plccom.opc.ua.builtintypes.DataValue value) throws com.plccom.opc.ua.common.ServiceResultExceptionWrites the InverseName attribute- Parameters:
value- a datavalue object with informations to write- Returns:
- a StatusCode object with result of actual operation
- Throws:
com.plccom.opc.ua.common.ServiceResultException- on communication error
-
-