class QOpcUaAddNodeItem

This class stores the necessary information to create a new node on 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

See also

addNode()

__init__()

Default constructs an add node item with no parameters set.

__init__(arg__1)
Parameters:

arg__1QOpcUaAddNodeItem

Constructs a add node item from other.

browseName()
Return type:

QOpcUaQualifiedName

Returns the browse name of the new node.

See also

setBrowseName()

nodeAttributes()
Return type:

QOpcUaNodeCreationAttributes

Returns the values for the node attributes of the new node.

nodeAttributesRef()
Return type:

QOpcUaNodeCreationAttributes

Returns a reference to the values for the node attributes of the new node.

nodeClass()
Return type:

NodeClass

Returns the node class of the new node.

See also

setNodeClass()

parentNodeId()
Return type:

QOpcUaExpandedNodeId

Returns the parent node id.

referenceTypeId()
Return type:

str

Returns the reference type id.

requestedNewNodeId()
Return type:

QOpcUaExpandedNodeId

Returns the requested new node id.

setBrowseName(browseName)
Parameters:

browseNameQOpcUaQualifiedName

Sets the browse name of the new node to browseName.

See also

browseName()

setNodeAttributes(nodeAttributes)
Parameters:

nodeAttributesQOpcUaNodeCreationAttributes

Sets the values for the node attributes of the new node to nodeAttributes. Only the attributes supported by the node class of the new node will be used.

See also

nodeAttributes()

setNodeClass(nodeClass)
Parameters:

nodeClassNodeClass

Sets the node class of the new node to nodeClass.

See also

nodeClass()

setParentNodeId(parentNodeId)
Parameters:

parentNodeIdQOpcUaExpandedNodeId

Sets the parent node id to parentNodeId. A reference of the type set in setReferenceTypeId() from this node to the newly added node will be created.

setReferenceTypeId(referenceTypeId)
Parameters:

referenceTypeId – str

Sets the reference type id to referenceTypeId. A reference of this type will be used to connect the node to the parent node.

setRequestedNewNodeId(requestedNewNodeId)
Parameters:

requestedNewNodeIdQOpcUaExpandedNodeId

Sets the requested new node id to requestedNewNodeId.

setTypeDefinition(typeDefinition)
Parameters:

typeDefinitionQOpcUaExpandedNodeId

Sets the node id of the type definition node to typeDefinition. This value shall be set if the node class is not Object or Variable.

See also

typeDefinition()

typeDefinition()
Return type:

QOpcUaExpandedNodeId

Returns the node id of the type definition node.