public class UaExternalNodeImpl extends BaseNode implements UaExternalNode
UaExternalNode.UaNode.Parameters| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
logger |
NODE_VERSION_PROPERTY_NAME, useQuickPropertyLookupeventListeners, INITIALIZATION_TIME, nodeManager, supportedAttributesMap| Modifier | Constructor and Description |
|---|---|
|
UaExternalNodeImpl(NodeManagerUaNode nodeManager,
NodeId nodeId) |
protected |
UaExternalNodeImpl(UaNode.Parameters parameters) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSubType(UaType type)
Add a new sub type for the type.
|
NodeAttributes |
getAttributes()
Returns the current attribute values of the node in a NodeAttributes structure.
|
Map<UnsignedInteger,Object> |
getAttributesMap()
Returns an unmodifiable
Map containing the Attributes of the node. |
QualifiedName |
getBrowseName()
Nodes have a BrowseName Attribute that is used as a non-localised human-readable name when
browsing the AddressSpace to create paths out of BrowseNames.
|
UaNode |
getComponent(QualifiedName componentName)
Get the component, which has the specified name.
|
LocalizedText |
getDescription()
The optional Description Attribute shall explain the meaning of the Node in a localized text
using the same mechanisms for localization as described for the DisplayName.
|
LocalizedText |
getDisplayName()
The DisplayName Attribute contains the localised name of the Node.
|
Boolean |
getIsAbstract()
Returns true if this is an abstract type, false otherwise.
|
UaMethod |
getMethod(QualifiedName methodName)
Get the method, which has the specified name.
|
NodeClass |
getNodeClass()
The NodeClass Attribute identifies the NodeClass of a Node.
|
UaProperty |
getNodeVersionNode()
Returns the NodeVersion property.
|
UaType |
getSuperType()
Returns the UA type that is defined as the ancestor of the type in the UA AddressSpace.
|
AttributeWriteMask |
getUserWriteMask()
The optional UserWriteMask Attribute exposes the possibilities of a client to write the
Attributes of the Node taking user access rights into account.
|
AttributeWriteMask |
getWriteMask()
The optional WriteMask Attribute exposes the possibilities of a client to write the Attributes
of the Node.
|
boolean |
hasSuperType()
Returns whether the type has a super type.
|
boolean |
hasUserWriteAccess(UnsignedInteger attributeId)
Checks additional user access rights to the node.
|
boolean |
hasWriteAccess(UnsignedInteger attributeId)
Check the common access rights of a node attribute.
|
boolean |
inheritsFrom(NodeId typeId)
Check if the type inherits from the specified type.
|
boolean |
inheritsFrom(UaType type)
Check if the type inherits from the specified type.
|
protected void |
initSupportedAttributes(List<UnsignedInteger> l) |
DataValue |
readAttribute(UnsignedInteger attributeId)
Read the current value of an attribute.
|
UaProperty |
removeProperty(QualifiedName name)
Remove the property with the specified name.
|
void |
setAttribute(UnsignedInteger attributeId,
DataValue dataValue)
Unconditionally, set the value of the specified attribute.
|
void |
setAttributes(NodeAttributes nodeAttributes)
Sets the attributes of the node.
|
void |
setBrowseName(QualifiedName browseName)
Sets the BrowseName Attribute of the node.
|
void |
setDescription(LocalizedText description)
Sets the Description Attribute of the node.
|
void |
setDisplayName(LocalizedText displayName)
Sets the DisplayName Attribute of the node.
|
void |
setIsAbstract(Boolean isAbstract)
Sets the IsAbstract Attribute value.
|
void |
setSuperType(UaType parent)
Set the ModelParent reference.
|
void |
setUserWriteMask(AttributeWriteMask userWriteMask)
Sets the UserWriteMask Attribute of the node.
|
void |
setWriteMask(AttributeWriteMask writeMask)
Sets the WriteMask Attribute of the node.
|
boolean |
supportsAttribute(UnsignedInteger attributeId)
Check if the node supports the specified attribute.
|
String |
toString() |
addPlainProperty, addPlainVariable, assertTypeSupport, assertTypeSupport, createNodeId, createNodeId, createReflectiveInstanceProperty, createReflectiveInstanceProperty, deleteReference, deleteReference, doAddProperty, getAttributes, getAttributesMap, getComponents, getDescription, getDisplayName, getNodeVersion, getProperties, getProperty, getPropertyReference, getPropertyValue, getReferencesAsList, getStandardBrowseName, getStandardDisplayText, hasProperty, hasReference, hasTypeDefinition, incNodeVersion, initNodeVersion, isChildOfType, readAttribute, readAttributeValue, registerCallbackProperty, registerPlainInstanceProperty, registerPlainInstanceProperty, registerPlainProperty, registerPlainProperty, registerPlainVariable, registerPlainVariable, registerReflectiveInstanceProperty, registerReflectiveInstanceVariable, registerReflectiveProperty, registerReflectiveVariable, setAccessLevelRecursively, setAccessLevelRecursively, setNodeVersion, setPropertyValue, writeAttribute, writeAttributeValueaddComponent, addDataChangeListener, addEventListener, addNewReference, addNewReference, addOrganizes, addProperties, addProperty, addReference, addReference, addReference, addReference, addReference, addReference, afterAddReference, afterDeleteReference, beforeAddReference, dataChange, deleteReference, deleteReference, deleteReferences, doDeleteReference, equals, findPlaceholders, fireDataChange, fireEvent, fireEventInParents, getAddressSpace, getDefaultBrowseName, getNodeId, getNodeManager, getNodeSetExtensions, getReference, getReferenceList, getReferences, getSupportedAttributes, getTargetNodes, getUaNodeId, hashCode, isAddNotifierReferencesToServerObject, isFalseOrNull, isMandatory, isMonitoredForEvents, isTrueOrNull, isType, referenceTypeInherits, removeComponent, removeDataChangeListener, removeEventListener, setAddNotifierReferencesToServerObject, setNodeSetExtensions, setReferences, translateBrowsePathToNodeIds, validateHasEventSourceChain, validateHasEventSourceChaingetForwardReferences, getInverseReferences, getReferences, getReferences, getUserData, referenceTypeInherits, setUserDataclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetSuperTypeId, inheritsFromAny, inheritsFromAnyaddComponent, addOrganizes, addProperty, addReference, addReference, addReference, addReference, addReference, addReference, addReference, addReference, deleteReference, deleteReference, deleteReference, deleteReference, deleteReference, getAddressSpace, getBrowsePaths, getComponents, getForwardReferences, getInverseReferences, getNodeId, getOrganizedNode, getOrganizedNodes, getProperties, getProperty, getReference, getReferences, getReferences, getSupportedAttributes, getUaBrowsePaths, getUaNodeId, getUserData, readAttribute, removeComponent, setReferences, setUserData, writeAttributepublic UaExternalNodeImpl(NodeManagerUaNode nodeManager, NodeId nodeId)
protected UaExternalNodeImpl(UaNode.Parameters parameters)
public void addSubType(UaType type)
UaTypeAdds a new reference of type HasSubType to the node with target set to type.
addSubType in interface UaTypetype - the node to add.public NodeAttributes getAttributes()
UaNodegetAttributes in interface UaNodegetAttributes in class BaseNodepublic Map<UnsignedInteger,Object> getAttributesMap()
UaNodeMap containing the Attributes of the node. The key is the
AttributeId (listed in Attributes) and the value is the Attribute value. NOTE! For
mutable Attribute value types (e.g. Value, ArrayDimensions) the value is a clone of the
original.getAttributesMap in interface UaNodegetAttributesMap in class BaseNodepublic QualifiedName getBrowseName()
UaNodegetBrowseName in interface UaNodegetBrowseName in class BaseNodepublic UaNode getComponent(QualifiedName componentName)
UaNodegetComponent in interface UaNodegetComponent in class BaseNodecomponentName - the BrowseName of the component to getpublic LocalizedText getDescription()
UaNodegetDescription in interface UaNodegetDescription in class BaseNodepublic LocalizedText getDisplayName()
UaNodegetDisplayName in interface UaNodegetDisplayName in class BaseNodepublic Boolean getIsAbstract()
UaTypegetIsAbstract in interface UaTypepublic UaMethod getMethod(QualifiedName methodName) throws ClassCastException
UaNodegetMethod in interface UaNodegetMethod in class BaseNodemethodName - the BrowseName (in namespace 0) of the method to getClassCastException - if the node is not a method nodepublic NodeClass getNodeClass()
UaNodegetNodeClass in interface UaNodegetNodeClass in class BaseNodepublic UaProperty getNodeVersionNode()
UaNodegetNodeVersionNode in interface UaNodegetNodeVersionNode in class BaseNodepublic UaType getSuperType()
UaTypegetSuperType in interface UaTypeUaType.hasSuperType()public AttributeWriteMask getUserWriteMask()
UaNodegetUserWriteMask in interface UaNodegetUserWriteMask in class BaseNodepublic AttributeWriteMask getWriteMask()
UaNodegetWriteMask in interface UaNodegetWriteMask in class BaseNodepublic boolean hasSuperType()
UaTypeUaType.getSuperType() returns
null.hasSuperType in interface UaTypepublic boolean hasUserWriteAccess(UnsignedInteger attributeId)
UaNodehasUserWriteAccess in interface UaNodehasUserWriteAccess in class BaseNodeattributeId - the attribute to checkpublic boolean hasWriteAccess(UnsignedInteger attributeId)
UaNodehasWriteAccess in interface UaNodehasWriteAccess in class BaseNodeattributeId - the attribute to checkpublic boolean inheritsFrom(NodeId typeId)
UaTypeinheritsFrom in interface UaTypetypeId - The NodeId of the type to checkUaType.getSuperType()public boolean inheritsFrom(UaType type)
UaTypeinheritsFrom in interface UaTypetype - The NodeId of the type to checkUaType.getSuperType()public DataValue readAttribute(UnsignedInteger attributeId)
BaseNodereadAttribute in interface UaNodereadAttribute in class BaseNodeattributeId - the attribute to read - the valid values are defined in
Attributes. Also check
UaNode.supportsAttribute(UnsignedInteger) whether the node actually supports this
attribute type.UaNode.supportsAttribute(UnsignedInteger)public UaProperty removeProperty(QualifiedName name)
UaNoderemoveProperty in interface UaNoderemoveProperty in class BaseNodename - the name of the propertypublic void setAttribute(UnsignedInteger attributeId, DataValue dataValue) throws StatusException
BaseNodesetAttribute in interface UaNodesetAttribute in class BaseNodeStatusExceptionpublic void setAttributes(NodeAttributes nodeAttributes)
UaNodesetAttributes in interface UaNodesetAttributes in class BaseNodepublic void setBrowseName(QualifiedName browseName)
UaNodesetBrowseName in interface UaNodesetBrowseName in class BaseNodepublic void setDescription(LocalizedText description)
UaNodesetDescription in interface UaNodesetDescription in class BaseNodepublic void setDisplayName(LocalizedText displayName)
UaNodesetDisplayName in interface UaNodesetDisplayName in class BaseNodepublic void setIsAbstract(Boolean isAbstract)
UaTypesetIsAbstract in interface UaTypeUaType.getIsAbstract()public void setSuperType(UaType parent)
UaTypesetSuperType in interface UaTypeparent - the super type to set.public void setUserWriteMask(AttributeWriteMask userWriteMask)
UaNodesetUserWriteMask in interface UaNodesetUserWriteMask in class BaseNodepublic void setWriteMask(AttributeWriteMask writeMask)
UaNodesetWriteMask in interface UaNodesetWriteMask in class BaseNodepublic boolean supportsAttribute(UnsignedInteger attributeId)
UaNodeUaNode.readAttribute(com.prosysopc.ua.stack.builtintypes.UnsignedInteger).supportsAttribute in interface UaNodesupportsAttribute in class ServerNodeattributeId - the attribute to check - the valid values are defined in
Attributesprotected void initSupportedAttributes(List<UnsignedInteger> l)
initSupportedAttributes in class ServerNodeCopyright © 2026. All rights reserved.