PySide6.QtOpcUa.QOpcUaDeleteReferenceItem¶
- class QOpcUaDeleteReferenceItem¶
- This class stores the necessary information to delete a reference from the server. More… - Synopsis¶- Methods¶- def - __init__()
- def - sourceNodeId()
- def - targetNodeId()
 - 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 - __init__()¶
 - Default constructs a delete reference item with no parameters set. - __init__(other)
- Parameters:
- other – - QOpcUaDeleteReferenceItem
 
 - Constructs a delete reference item from - other.- deleteBidirectional()¶
- Return type:
- bool 
 
 - Returns the deleteBidirectional Flag. - See also - isForwardReference()¶
- Return type:
- bool 
 
 - Returns the isForwardReference flag. - See also - referenceTypeId()¶
- Return type:
- str 
 
 - Returns the reference type id. - See also - setDeleteBidirectional(deleteBidirectional)¶
- Parameters:
- deleteBidirectional – bool 
 
 - Sets the - deleteBidirectionalflag 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.- See also - setIsForwardReference(isForwardReference)¶
- Parameters:
- isForwardReference – bool 
 
 - Sets the - isForwardReferenceflag to- isForwardReference.- See also - setReferenceTypeId(referenceTypeId)¶
- Parameters:
- referenceTypeId – str 
 
 - Sets the reference type id to - referenceTypeId.- See also - setSourceNodeId(sourceNodeId)¶
- Parameters:
- sourceNodeId – str 
 
 - Sets the node id of the source node to - sourceNodeId.- See also - setTargetNodeId(targetNodeId)¶
- Parameters:
- targetNodeId – - QOpcUaExpandedNodeId
 
 - Sets the node id of the target node to - targetNodeId.- See also - sourceNodeId()¶
- Return type:
- str 
 
 - Returns the source node id. - See also - targetNodeId()¶
- Return type:
 
 - Returns the target node id. - See also