public class UaObjectNode extends UaNode implements ObjectNode
| Modifier and Type | Class and Description |
|---|---|
static class |
UaObjectNode.UaObjectNodeBuilder |
| Constructor and Description |
|---|
UaObjectNode(UaNodeContext context,
NodeId nodeId,
ObjectTypeNode objectTypeNode) |
UaObjectNode(UaNodeContext context,
NodeId nodeId,
QualifiedName browseName,
LocalizedText displayName) |
UaObjectNode(UaNodeContext context,
NodeId nodeId,
QualifiedName browseName,
LocalizedText displayName,
LocalizedText description,
UInteger writeMask,
UInteger userWriteMask) |
UaObjectNode(UaNodeContext context,
NodeId nodeId,
QualifiedName browseName,
LocalizedText displayName,
LocalizedText description,
UInteger writeMask,
UInteger userWriteMask,
UByte eventNotifier) |
| Modifier and Type | Method and Description |
|---|---|
void |
addComponent(UaNode node)
Add a 'HasComponent' reference from this Object to
node and an inverse 'ComponentOf' reference from
node back to this Object. |
static UaObjectNode |
build(UaNodeContext context,
Function<UaObjectNode.UaObjectNodeBuilder,UaObjectNode> build)
|
static UaObjectNode.UaObjectNodeBuilder |
builder(UaNodeContext context)
Deprecated.
use
UaObjectNodeBuilder#UaObjectNodeBuilder(UaNodeContext) or
build(UaNodeContext, Function). |
@Nullable UaMethodNode |
findMethodNode(NodeId methodId) |
Object |
getAttribute(AttributeId attributeId)
Direct read access to the field for
attributeId, bypassing the AttributeFilterChain. |
List<UaNode> |
getComponentNodes() |
UByte |
getEventNotifier() |
List<Node> |
getEventSourceNodes() |
@Nullable ByteString |
getIcon()
Get the value of the Icon Property, if it exists.
|
List<UaMethodNode> |
getMethodNodes() |
@Nullable NamingRuleType |
getNamingRule()
Get the value of the NamingRule Property, if it exists.
|
@Nullable String |
getNodeVersion()
Get the value of the NodeVersion Property, if it exists.
|
List<Node> |
getNotifierNodes() |
List<Node> |
getOrganizesNodes() |
List<UaNode> |
getPropertyNodes() |
ObjectTypeNode |
getTypeDefinitionNode() |
void |
removeComponent(UaNode node)
Remove the 'HasComponent' reference from this Object to
node and the inverse 'ComponentOf' reference
from node back to this Object. |
void |
setAttribute(AttributeId attributeId,
Object value)
Direct write access to the field for
attributeId, bypassing the AttributeFilterChain. |
void |
setEventNotifier(UByte eventNotifier) |
void |
setIcon(ByteString icon)
Set the value of the Icon Property.
|
void |
setNamingRule(NamingRuleType namingRule)
Set the value of the NamingRule Property.
|
void |
setNodeVersion(String nodeVersion)
Set the value of the NodeVersion Property.
|
addAttributeObserver, addReference, delete, findNode, findNode, findNode, findNode, fireAttributeChanged, getAttribute, getAttributeDelegate, getBrowseName, getDescription, getDisplayName, getFilterChain, getManagedNode, getManagedNode, getNodeClass, getNodeContext, getNodeId, getNodeManager, getObjectComponent, getObjectComponent, getObjectComponent, getProperty, getProperty, getPropertyNode, getPropertyNode, getPropertyNode, getReferences, getUserWriteMask, getVariableComponent, getVariableComponent, getVariableComponent, getWriteMask, removeAttributeObserver, removeReference, setAttribute, setAttributeDelegate, setBrowseName, setDescription, setDisplayName, setNodeClass, setNodeId, setProperty, setUserWriteMask, setWriteMaskclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBrowseName, getDescription, getDisplayName, getNodeClass, getNodeId, getUserWriteMask, getWriteMask, setBrowseName, setDescription, setDisplayName, setNodeClass, setNodeId, setUserWriteMask, setWriteMaskreadAttribute, readAttribute, readAttribute, writeAttribute, writeAttributepublic UaObjectNode(UaNodeContext context, NodeId nodeId, ObjectTypeNode objectTypeNode)
public UaObjectNode(UaNodeContext context, NodeId nodeId, QualifiedName browseName, LocalizedText displayName)
public UaObjectNode(UaNodeContext context, NodeId nodeId, QualifiedName browseName, LocalizedText displayName, LocalizedText description, UInteger writeMask, UInteger userWriteMask)
public UaObjectNode(UaNodeContext context, NodeId nodeId, QualifiedName browseName, LocalizedText displayName, LocalizedText description, UInteger writeMask, UInteger userWriteMask, UByte eventNotifier)
public UByte getEventNotifier()
getEventNotifier in interface ObjectNodepublic void setEventNotifier(UByte eventNotifier)
setEventNotifier in interface ObjectNodepublic Object getAttribute(AttributeId attributeId)
UaNodeattributeId, bypassing the AttributeFilterChain.getAttribute in class UaNodeattributeId - the AttributeId to get the value for.attributeId.public void setAttribute(AttributeId attributeId, Object value)
UaNodeattributeId, bypassing the AttributeFilterChain.
Setting an attribute value invokes UaNode.fireAttributeChanged(AttributeId, Object), notifying any registered
AttributeObservers of the change.
setAttribute in class UaNodeattributeId - the AttributeId to set the value for.value - the value to set.@Nullable public @Nullable UaMethodNode findMethodNode(NodeId methodId)
public List<UaMethodNode> getMethodNodes()
public ObjectTypeNode getTypeDefinitionNode()
public void addComponent(UaNode node)
node and an inverse 'ComponentOf' reference from
node back to this Object.node - the node to add as a component of this Object.public void removeComponent(UaNode node)
node and the inverse 'ComponentOf' reference
from node back to this Object.node - the node to remove as a component of this Object.@Nullable public @Nullable String getNodeVersion()
ObjectNodeProperties.NodeVersion@Nullable public @Nullable ByteString getIcon()
ObjectNodeProperties.Icon@Nullable public @Nullable NamingRuleType getNamingRule()
ObjectNodeProperties.NamingRulepublic void setNodeVersion(String nodeVersion)
A PropertyNode will be created if it does not already exist.
nodeVersion - the value to set.ObjectNodeProperties.NodeVersionpublic void setIcon(ByteString icon)
A PropertyNode will be created if it does not already exist.
icon - the value to set.ObjectNodeProperties.Iconpublic void setNamingRule(NamingRuleType namingRule)
A PropertyNode will be created if it does not already exist.
namingRule - the value to set.ObjectNodeProperties.NamingRule@Deprecated public static UaObjectNode.UaObjectNodeBuilder builder(UaNodeContext context)
UaObjectNodeBuilder#UaObjectNodeBuilder(UaNodeContext) or
build(UaNodeContext, Function).public static UaObjectNode build(UaNodeContext context, Function<UaObjectNode.UaObjectNodeBuilder,UaObjectNode> build)
context - a UaNodeContext.build - a function that accepts a UaObjectNode.UaObjectNodeBuilder and uses it to build
and return a UaObjectNode.UaObjectNode built using the supplied UaObjectNode.UaObjectNodeBuilder.Copyright © 2021. All rights reserved.