QOpcUaAddReferenceItem#
This class stores the necessary information to add a new reference on the server. More…
Synopsis#
Functions#
def
isForwardReference()def
referenceTypeId()def
setIsForwardReference(isForwardReference)def
setReferenceTypeId(referenceTypeId)def
setSourceNodeId(sourceNodeId)def
setTargetNodeClass(targetNodeClass)def
setTargetNodeId(targetNodeId)def
setTargetServerUri(targetServerUri)def
sourceNodeId()def
targetNodeClass()def
targetNodeId()def
targetServerUri()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description#
See also
- class PySide6.QtOpcUa.QOpcUaAddReferenceItem#
PySide6.QtOpcUa.QOpcUaAddReferenceItem(other)
- Parameters:
Constructs an add reference item from other.
- PySide6.QtOpcUa.QOpcUaAddReferenceItem.isForwardReference()#
- Return type:
bool
Returns the isForwardReference flag.
See also
- PySide6.QtOpcUa.QOpcUaAddReferenceItem.referenceTypeId()#
- Return type:
str
Returns the reference type id.
See also
- PySide6.QtOpcUa.QOpcUaAddReferenceItem.setIsForwardReference(isForwardReference)#
- Parameters:
isForwardReference – bool
Sets the isForwardReference flag to isForwardReference. If the flag is set, a forward reference is created. Otherwise, an inverse reference is created.
See also
- PySide6.QtOpcUa.QOpcUaAddReferenceItem.setReferenceTypeId(referenceTypeId)#
- Parameters:
referenceTypeId – str
Sets the reference type id to referenceTypeId. A reference of this type will be created on the server.
See also
- PySide6.QtOpcUa.QOpcUaAddReferenceItem.setSourceNodeId(sourceNodeId)#
- Parameters:
sourceNodeId – str
Sets the node id of the source node to sourceNodeId.
See also
- PySide6.QtOpcUa.QOpcUaAddReferenceItem.setTargetNodeClass(targetNodeClass)#
- Parameters:
targetNodeClass –
NodeClass
Sets the node class of the target node to targetNodeClass. The target node class shall be specified because the target node might be located on another server.
See also
- PySide6.QtOpcUa.QOpcUaAddReferenceItem.setTargetNodeId(targetNodeId)#
- Parameters:
targetNodeId –
PySide6.QtOpcUa.QOpcUaExpandedNodeId
Sets the node id of the target node to targetNodeId.
See also
- PySide6.QtOpcUa.QOpcUaAddReferenceItem.setTargetServerUri(targetServerUri)#
- Parameters:
targetServerUri – str
Sets the URI of the target server to targetServerUri. If this value is set, it will override the server URI from setTargetNodeId() .
See also
- PySide6.QtOpcUa.QOpcUaAddReferenceItem.sourceNodeId()#
- Return type:
str
Returns the source node id.
See also
Returns the target node class.
See also
- PySide6.QtOpcUa.QOpcUaAddReferenceItem.targetNodeId()#
- Return type:
Returns the target node id.
See also
- PySide6.QtOpcUa.QOpcUaAddReferenceItem.targetServerUri()#
- Return type:
str
Returns the target server URI.
See also