public static class UaMethodNode.UaMethodNodeBuilder extends Object implements Supplier<UaMethodNode>
| Constructor and Description |
|---|
UaMethodNodeBuilder(UaNodeContext context) |
public UaMethodNodeBuilder(UaNodeContext context)
public UaMethodNode get()
get in interface Supplier<UaMethodNode>build()public UaMethodNode build()
UaMethodNode.
The following fields are required: NodeId, BrowseName, DisplayName.
UaMethodNode built from the configuration of this builder.public UaMethodNode buildAndAdd()
UaMethodNode using the configured values and add it to the
NodeManager from the UaNodeContext.UaMethodNode built from the configured values.build()public UaMethodNode.UaMethodNodeBuilder setNodeId(NodeId nodeId)
public UaMethodNode.UaMethodNodeBuilder setBrowseName(QualifiedName browseName)
public UaMethodNode.UaMethodNodeBuilder setDisplayName(LocalizedText displayName)
public UaMethodNode.UaMethodNodeBuilder setDescription(LocalizedText description)
public UaMethodNode.UaMethodNodeBuilder setWriteMask(UInteger writeMask)
public UaMethodNode.UaMethodNodeBuilder setUserWriteMask(UInteger userWriteMask)
public UaMethodNode.UaMethodNodeBuilder setExecutable(boolean executable)
public UaMethodNode.UaMethodNodeBuilder setUserExecutable(boolean userExecutable)
public NodeId getNodeId()
public QualifiedName getBrowseName()
public LocalizedText getDisplayName()
public LocalizedText getDescription()
public UInteger getWriteMask()
public UInteger getUserWriteMask()
public boolean isExecutable()
public boolean isUserExecutable()
public UaMethodNode.UaMethodNodeBuilder addAttributeFilter(AttributeFilter attributeFilter)
AttributeFilter that will be added to the node's
AttributeFilterChain when it's built.
The order filters are added in this builder is maintained.
attributeFilter - the AttributeFilter to add.UaMethodNode.UaMethodNodeBuilder.public UaMethodNode.UaMethodNodeBuilder addReference(Reference reference)
Reference to the node when it's built.reference - the Reference to add.UaMethodNode.UaMethodNodeBuilder.Copyright © 2021. All rights reserved.