public class UaObjectTypeNode extends UaNode implements ObjectTypeNode
| Modifier and Type | Class and Description |
|---|---|
static class |
UaObjectTypeNode.UaObjectTypeNodeBuilder |
| Constructor and Description |
|---|
UaObjectTypeNode(UaNodeContext context,
NodeId nodeId,
QualifiedName browseName,
LocalizedText displayName,
LocalizedText description,
UInteger writeMask,
UInteger userWriteMask,
Boolean isAbstract) |
| Modifier and Type | Method and Description |
|---|---|
void |
addComponent(UaNode node)
Add a 'HasComponent' reference from this node to
node and an inverse 'ComponentOf' reference from
node back to this node. |
void |
addSubtype(UaObjectTypeNode node)
Add a 'HasSubtype' reference from this node to
node and an inverse 'SubtypeOf' reference from
node back to this node. |
static UaObjectTypeNode |
build(UaNodeContext context,
Function<UaObjectTypeNode.UaObjectTypeNodeBuilder,UaObjectTypeNode> build)
Build a
UaObjectTypeNode using the UaObjectTypeNode.UaObjectTypeNodeBuilder supplied to the
build function. |
static UaObjectTypeNode.UaObjectTypeNodeBuilder |
builder(UaNodeContext context) |
@Nullable UaMethodNode |
findMethodNode(NodeId methodId) |
Object |
getAttribute(AttributeId attributeId)
Direct read access to the field for
attributeId, bypassing the AttributeFilterChain. |
@Nullable ByteString |
getIcon()
Get the value of the Icon Property, if it exists.
|
Boolean |
getIsAbstract() |
List<UaMethodNode> |
getMethodNodes() |
@Nullable String |
getNodeVersion()
Get the value of the NodeVersion Property, if it exists.
|
void |
setAttribute(AttributeId attributeId,
Object value)
Direct write access to the field for
attributeId, bypassing the AttributeFilterChain. |
void |
setIcon(ByteString icon)
Set the value of the Icon Property.
|
void |
setIsAbstract(Boolean isAbstract) |
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 UaObjectTypeNode(UaNodeContext context, NodeId nodeId, QualifiedName browseName, LocalizedText displayName, LocalizedText description, UInteger writeMask, UInteger userWriteMask, Boolean isAbstract)
public Boolean getIsAbstract()
getIsAbstract in interface ObjectTypeNodepublic void setIsAbstract(Boolean isAbstract)
setIsAbstract in interface ObjectTypeNodepublic 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 void addComponent(UaNode node)
node and an inverse 'ComponentOf' reference from
node back to this node.node - the node to add as a component of this node.public void addSubtype(UaObjectTypeNode node)
node and an inverse 'SubtypeOf' reference from
node back to this node.node - the node to add as a subtype of this node.@Nullable public @Nullable String getNodeVersion()
ObjectTypeNodeProperties.NodeVersion@Nullable public @Nullable ByteString getIcon()
ObjectTypeNodeProperties.Iconpublic void setNodeVersion(String nodeVersion)
A PropertyNode will be created if it does not already exist.
nodeVersion - the value to set.ObjectTypeNodeProperties.NodeVersionpublic void setIcon(ByteString icon)
A PropertyNode will be created if it does not already exist.
icon - the value to set.ObjectTypeNodeProperties.NodeVersionpublic static UaObjectTypeNode.UaObjectTypeNodeBuilder builder(UaNodeContext context)
public static UaObjectTypeNode build(UaNodeContext context, Function<UaObjectTypeNode.UaObjectTypeNodeBuilder,UaObjectTypeNode> build)
UaObjectTypeNode using the UaObjectTypeNode.UaObjectTypeNodeBuilder supplied to the
build function.context - a UaNodeContext.build - a function that accepts a UaObjectTypeNode.UaObjectTypeNodeBuilder and uses it to build
and return a UaObjectTypeNode.UaObjectTypeNode built using the supplied UaObjectTypeNode.UaObjectTypeNodeBuilder.Copyright © 2021. All rights reserved.