QOpcUaDeleteReferenceItem#

This class stores the necessary information to delete a reference from the server. More

Synopsis#

Functions#

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#

class PySide6.QtOpcUa.QOpcUaDeleteReferenceItem#

PySide6.QtOpcUa.QOpcUaDeleteReferenceItem(other)

Parameters:

otherPySide6.QtOpcUa.QOpcUaDeleteReferenceItem

Default constructs a delete reference item with no parameters set.

Constructs a delete reference item from other.

PySide6.QtOpcUa.QOpcUaDeleteReferenceItem.deleteBidirectional()#
Return type:

bool

Returns the deleteBidirectional Flag.

PySide6.QtOpcUa.QOpcUaDeleteReferenceItem.isForwardReference()#
Return type:

bool

Returns the isForwardReference flag.

PySide6.QtOpcUa.QOpcUaDeleteReferenceItem.referenceTypeId()#
Return type:

str

Returns the reference type id.

PySide6.QtOpcUa.QOpcUaDeleteReferenceItem.setDeleteBidirectional(deleteBidirectional)#
Parameters:

deleteBidirectional – bool

Sets the deleteBidirectional flag to deleteBidirectional. If this flag is false, only this reference will be deleted. Else, the opposite reference from the target node is deleted too if accessible by the server.

PySide6.QtOpcUa.QOpcUaDeleteReferenceItem.setIsForwardReference(isForwardReference)#
Parameters:

isForwardReference – bool

Sets the isForwardReference flag to isForwardReference.

PySide6.QtOpcUa.QOpcUaDeleteReferenceItem.setReferenceTypeId(referenceTypeId)#
Parameters:

referenceTypeId – str

Sets the reference type id to referenceTypeId.

PySide6.QtOpcUa.QOpcUaDeleteReferenceItem.setSourceNodeId(sourceNodeId)#
Parameters:

sourceNodeId – str

Sets the node id of the source node to sourceNodeId.

See also

sourceNodeId()

PySide6.QtOpcUa.QOpcUaDeleteReferenceItem.setTargetNodeId(targetNodeId)#
Parameters:

targetNodeIdPySide6.QtOpcUa.QOpcUaExpandedNodeId

Sets the node id of the target node to targetNodeId.

See also

targetNodeId()

PySide6.QtOpcUa.QOpcUaDeleteReferenceItem.sourceNodeId()#
Return type:

str

Returns the source node id.

PySide6.QtOpcUa.QOpcUaDeleteReferenceItem.targetNodeId()#
Return type:

PySide6.QtOpcUa.QOpcUaExpandedNodeId

Returns the target node id.