- class QOpcUaAddNodeItem¶
This class stores the necessary information to create a new node on the server. More…
Synopsis¶
Methods¶
def
__init__()
def
browseName()
def
nodeAttributes()
def
nodeClass()
def
parentNodeId()
def
setBrowseName()
def
setNodeClass()
def
typeDefinition()
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 an add node item with no parameters set.
- __init__(arg__1)
- Parameters:
arg__1 –
QOpcUaAddNodeItem
Constructs a add node item from
other
.- browseName()¶
- Return type:
Returns the browse name of the new node.
See also
- nodeAttributes()¶
- Return type:
Returns the values for the node attributes of the new node.
See also
- nodeAttributesRef()¶
- Return type:
Returns a reference to the values for the node attributes of the new node.
Returns the node class of the new node.
See also
- parentNodeId()¶
- Return type:
Returns the parent node id.
See also
- referenceTypeId()¶
- Return type:
str
Returns the reference type id.
See also
- requestedNewNodeId()¶
- Return type:
Returns the requested new node id.
See also
- setBrowseName(browseName)¶
- Parameters:
browseName –
QOpcUaQualifiedName
Sets the browse name of the new node to
browseName
.See also
- setNodeAttributes(nodeAttributes)¶
- Parameters:
nodeAttributes –
QOpcUaNodeCreationAttributes
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
Sets the node class of the new node to
nodeClass
.See also
- setParentNodeId(parentNodeId)¶
- Parameters:
parentNodeId –
QOpcUaExpandedNodeId
Sets the parent node id to
parentNodeId
. A reference of the type set insetReferenceTypeId()
from this node to the newly added node will be created.See also
- 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.See also
- setRequestedNewNodeId(requestedNewNodeId)¶
- Parameters:
requestedNewNodeId –
QOpcUaExpandedNodeId
Sets the requested new node id to
requestedNewNodeId
.See also
- setTypeDefinition(typeDefinition)¶
- Parameters:
typeDefinition –
QOpcUaExpandedNodeId
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()¶
- Return type:
Returns the node id of the type definition node.
See also