PySide6.QtOpcUa.QOpcUaDeleteReferenceItem

class QOpcUaDeleteReferenceItem

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

Synopsis

Methods

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

__init__()

Default constructs a delete reference item with no parameters set.

__init__(other)
Parameters:

otherQOpcUaDeleteReferenceItem

Constructs a delete reference item from other.

deleteBidirectional()
Return type:

bool

Returns the deleteBidirectional Flag.

isForwardReference()
Return type:

bool

Returns the isForwardReference flag.

referenceTypeId()
Return type:

str

Returns the reference type id.

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.

setIsForwardReference(isForwardReference)
Parameters:

isForwardReference – bool

Sets the isForwardReference flag to isForwardReference.

setReferenceTypeId(referenceTypeId)
Parameters:

referenceTypeId – str

Sets the reference type id to referenceTypeId.

setSourceNodeId(sourceNodeId)
Parameters:

sourceNodeId – str

Sets the node id of the source node to sourceNodeId.

See also

sourceNodeId()

setTargetNodeId(targetNodeId)
Parameters:

targetNodeIdQOpcUaExpandedNodeId

Sets the node id of the target node to targetNodeId.

See also

targetNodeId()

sourceNodeId()
Return type:

str

Returns the source node id.

targetNodeId()
Return type:

QOpcUaExpandedNodeId

Returns the target node id.