class QOpcUaNodeCreationAttributes#

This class manages attribute values for node creation. 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#

This class holds values for node attributes that are passed to the server when creating a new node in the OPC UA address space.

The following node attributes are supported by the different node classes:

Attribute

Object

Variable

Method

ObjectType

VariableType

ReferenceType

DataType

View

AccessLevel

X

ArrayDimensions

X

X

ContainsNoLoops

X

DataType

X

X

Description

X

X

X

X

X

X

X

X

DisplayName

X

X

X

X

X

X

X

X

EventNotifier

X

Executable

X

Historizing

X

InverseName

X

IsAbstract

X

X

X

X

MinimumSamplingInterval

X

Symmetric

X

UserAccessLevel

X

UserExecutable

X

UserWriteMask

X

X

X

X

X

X

X

X

Value

X

X

ValueRank

X

X

WriteMask

X

X

X

X

X

X

X

X

See also

addNode()

__init__(other)#
Parameters:

otherQOpcUaNodeCreationAttributes

Constructs a node creation attributes object with the values of other.

__init__()

Default constructs a node creation attributes object with no parameters set.

accessLevel()#
Return type:

Combination of AccessLevelBit

Returns the value for the AccessLevel attribute.

See also

setAccessLevel()

arrayDimensions()#
Return type:

.list of quint32

Returns the value for the ArrayDimensions attribute.

containsNoLoops()#
Return type:

bool

Returns the value for the ContainsNoLoops attribute.

dataTypeId()#
Return type:

str

Returns the value for the DataType attribute.

See also

setDataTypeId()

description()#
Return type:

QOpcUaLocalizedText

Returns the value for the Description attribute.

See also

setDescription()

displayName()#
Return type:

QOpcUaLocalizedText

Returns the value for the DisplayName attribute.

See also

setDisplayName()

eventNotifier()#
Return type:

Combination of EventNotifierBit

Returns the value for the EventNotifier attribute.

executable()#
Return type:

bool

Returns the value for the Executable attribute.

See also

setExecutable()

hasAccessLevel()#
Return type:

bool

Returns true if a value for the AccessLevel attribute is set.

hasArrayDimensions()#
Return type:

bool

Returns true if a value for the ArrayDimensions attribute is set.

hasContainsNoLoops()#
Return type:

bool

Returns true if a value for the ContainsNoLoops attribute is set.

hasDataTypeId()#
Return type:

bool

Returns true if a value for the DataType attribute is set.

hasDescription()#
Return type:

bool

Returns true if a value for the Description attribute is set.

hasDisplayName()#
Return type:

bool

Returns true if a value for the DisplayName attribute is set.

hasEventNotifier()#
Return type:

bool

Returns true if a value for the EventNotifier attribute is set.

hasExecutable()#
Return type:

bool

Returns true if a value for the Executable attribute is set.

hasHistorizing()#
Return type:

bool

Returns true if a value for the Historizing attribute is set.

hasInverseName()#
Return type:

bool

Returns true if a value for the InverseName attribute is set.

hasIsAbstract()#
Return type:

bool

Returns true if a value for the IsAbstract attribute is set.

hasMinimumSamplingInterval()#
Return type:

bool

Returns true if a value for the MinimumSamplingInterval attribute is set.

hasSymmetric()#
Return type:

bool

Returns true if a value for the Symmetric attribute is set.

hasUserAccessLevel()#
Return type:

bool

Returns true if a value for the UserAccessLevel attribute is set.

hasUserExecutable()#
Return type:

bool

Returns true if a value for the UserExecutable attribute is set.

hasUserWriteMask()#
Return type:

bool

Returns true if a value for the UserWriteMask attribute is set.

hasValue()#
Return type:

bool

Returns true if a value for the Value attribute is set.

hasValueRank()#
Return type:

bool

Returns true if a value for the ValueRank attribute is set.

hasWriteMask()#
Return type:

bool

Returns true if a value for the WriteMask attribute is set.

historizing()#
Return type:

bool

Returns the value for the Historizing attribute.

See also

setHistorizing()

inverseName()#
Return type:

QOpcUaLocalizedText

Returns the value for the InverseName attribute.

See also

setInverseName()

isAbstract()#
Return type:

bool

Returns the value for the IsAbstract attribute.

See also

setIsAbstract()

minimumSamplingInterval()#
Return type:

float

Returns the value for the MinimumSamplingInterval attribute.

setAccessLevel(accessLevel)#
Parameters:

accessLevel – Combination of AccessLevelBit

Sets the value for the AccessLevel attribute to accessLevel.

See also

accessLevel()

setArrayDimensions(arrayDimensions)#
Parameters:

arrayDimensions – .list of quint32

Sets the value for the ArrayDimensions attribute to arrayDimensions.

setContainsNoLoops(containsNoLoops)#
Parameters:

containsNoLoops – bool

Sets the value for the ContainsNoLoops attribute to containsNoLoops.

setDataTypeId(dataTypeId)#
Parameters:

dataTypeId – str

Sets the value for the DataType attribute to dataTypeId.

See also

dataTypeId()

setDescription(description)#
Parameters:

descriptionQOpcUaLocalizedText

Sets the value for the Description attribute to description.

See also

description()

setDisplayName(displayName)#
Parameters:

displayNameQOpcUaLocalizedText

Sets the value for the DisplayName attribute to displayName.

See also

displayName()

setEventNotifier(eventNotifier)#
Parameters:

eventNotifier – Combination of EventNotifierBit

Sets the value for the EventNotifier attribute to eventNotifier.

See also

eventNotifier()

setExecutable(executable)#
Parameters:

executable – bool

Sets the value for the Executable attribute to executable.

See also

executable()

setHistorizing(historizing)#
Parameters:

historizing – bool

Sets the value for the Historizing attribute to historizing.

See also

historizing()

setInverseName(inverseName)#
Parameters:

inverseNameQOpcUaLocalizedText

Sets the value for the InverseName attribute to inverseName.

See also

inverseName()

setIsAbstract(isAbstract)#
Parameters:

isAbstract – bool

Sets the value for the IsAbstract attribute to isAbstract.

See also

isAbstract()

setMinimumSamplingInterval(minimumSamplingInterval)#
Parameters:

minimumSamplingInterval – float

Sets the value for the MinimumSamplingInterval attribute to minimumSamplingInterval.

setSymmetric(symmetric)#
Parameters:

symmetric – bool

Sets the value for the Symmetric attribute to symmetric.

See also

symmetric()

setUserAccessLevel(userAccessLevel)#
Parameters:

userAccessLevel – Combination of AccessLevelBit

Sets the value for the UserAccessLevel attribute to userAccessLevel.

setUserExecutable(userExecutable)#
Parameters:

userExecutable – bool

Sets the value for the UserExecutable attribute to userExecutable.

See also

userExecutable()

setUserWriteMask(userWriteMask)#
Parameters:

userWriteMask – Combination of WriteMaskBit

Sets the value for the UserWriteMask attribute to userWriteMask.

See also

userWriteMask()

setValue(value[, type=QOpcUa.Types.Undefined])#
Parameters:
  • value – object

  • typeTypes

Sets the value for the Value attribute to value of type type.

See also

value()

setValueRank(valueRank)#
Parameters:

valueRank – int

Sets the value for the ValueRank attribute to valueRank.

See also

valueRank()

setWriteMask(writeMask)#
Parameters:

writeMask – Combination of WriteMaskBit

Sets the value for the WriteMask attribute to writeMask.

See also

writeMask()

symmetric()#
Return type:

bool

Returns the value for the Symmetric attribute.

See also

setSymmetric()

userAccessLevel()#
Return type:

Combination of AccessLevelBit

Returns the value for the UserAccessLevel attribute.

userExecutable()#
Return type:

bool

Returns the value for the UserExecutable attribute.

userWriteMask()#
Return type:

Combination of WriteMaskBit

Returns the value for the UserWriteMask attribute.

value()#
Return type:

object

Returns the value for the Value attribute.

See also

setValue()

valueRank()#
Return type:

int

Returns the value for the ValueRank attribute.

See also

setValueRank()

valueType()#
Return type:

Types

Returns the type of the value attribute.

writeMask()#
Return type:

Combination of WriteMaskBit

Returns the value for the WriteMask attribute.

See also

setWriteMask()