public class UaMethodNode extends UaNode implements MethodNode
| Modifier and Type | Class and Description |
|---|---|
static class |
UaMethodNode.UaMethodNodeBuilder |
| Modifier and Type | Field and Description |
|---|---|
static Property<com.digitalpetri.opcua.stack.core.types.structured.Argument[]> |
InputArguments |
static Property<String> |
NodeVersion |
static Property<com.digitalpetri.opcua.stack.core.types.structured.Argument[]> |
OutputArguments |
| Constructor and Description |
|---|
UaMethodNode(UaNamespace namespace,
com.digitalpetri.opcua.stack.core.types.builtin.NodeId nodeId,
com.digitalpetri.opcua.stack.core.types.builtin.QualifiedName browseName,
com.digitalpetri.opcua.stack.core.types.builtin.LocalizedText displayName,
Optional<com.digitalpetri.opcua.stack.core.types.builtin.LocalizedText> description,
Optional<com.digitalpetri.opcua.stack.core.types.builtin.unsigned.UInteger> writeMask,
Optional<com.digitalpetri.opcua.stack.core.types.builtin.unsigned.UInteger> userWriteMask,
boolean executable,
boolean userExecutable) |
| Modifier and Type | Method and Description |
|---|---|
static UaMethodNode.UaMethodNodeBuilder |
builder(UaNamespace nodeManager) |
List<Node> |
getAlwaysGeneratesEventNodes() |
com.digitalpetri.opcua.stack.core.types.structured.Argument[] |
getInputArguments() |
Optional<MethodInvocationHandler> |
getInvocationHandler() |
Optional<ObjectNode> |
getModellingRuleNode() |
String |
getNodeVersion() |
com.digitalpetri.opcua.stack.core.types.structured.Argument[] |
getOutputArguments() |
List<Node> |
getPropertyNodes() |
Boolean |
isExecutable()
The Executable attribute indicates whether the Method is executable, not taking user access rights into account.
|
Boolean |
isUserExecutable()
The UserExecutable attribute indicates whether the Method is executable, taking user access rights into account.
|
void |
setExecutable(boolean executable)
Set the Executable attribute of this Method.
|
void |
setInputArguments(com.digitalpetri.opcua.stack.core.types.structured.Argument[] inputArguments) |
void |
setInvocationHandler(MethodInvocationHandler handler) |
void |
setNodeVersion(String nodeVersion) |
void |
setOutputArguments(com.digitalpetri.opcua.stack.core.types.structured.Argument[] outputArguments) |
void |
setUserExecutable(boolean userExecutable)
Set the UserExecutable attribute of this Method.
|
addAttributeObserver, addProperty, addReference, addReferences, deallocate, fireAttributeChanged, getBrowseName, getDescription, getDisplayName, getNamespace, getNode, getNode, getNodeClass, getNodeId, getObjectComponent, getObjectComponent, getProperty, getProperty, getProperty, getPropertyNode, getPropertyNode, getReferences, getUserWriteMask, getVariableComponent, getVariableComponent, getWriteMask, removeAttributeObserver, removeProperty, removeReference, removeReferences, setBrowseName, setDescription, setDisplayName, setNodeClass, setNodeId, setProperty, setUserWriteMask, setWriteMaskclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBrowseName, getDescription, getDisplayName, getNodeClass, getNodeId, getUserWriteMask, getWriteMask, hasAttribute, hasAttribute, readAttribute, readAttribute, readAttribute, readAttribute, readAttribute, setBrowseName, setDescription, setDisplayName, setNodeClass, setNodeId, setUserWriteMask, setWriteMask, writeAttribute, writeAttribute, writeAttributepublic static final Property<com.digitalpetri.opcua.stack.core.types.structured.Argument[]> InputArguments
public static final Property<com.digitalpetri.opcua.stack.core.types.structured.Argument[]> OutputArguments
public UaMethodNode(UaNamespace namespace, com.digitalpetri.opcua.stack.core.types.builtin.NodeId nodeId, com.digitalpetri.opcua.stack.core.types.builtin.QualifiedName browseName, com.digitalpetri.opcua.stack.core.types.builtin.LocalizedText displayName, Optional<com.digitalpetri.opcua.stack.core.types.builtin.LocalizedText> description, Optional<com.digitalpetri.opcua.stack.core.types.builtin.unsigned.UInteger> writeMask, Optional<com.digitalpetri.opcua.stack.core.types.builtin.unsigned.UInteger> userWriteMask, boolean executable, boolean userExecutable)
public Boolean isExecutable()
MethodNodeSee OPC-UA Part 3, Section 5.7.
isExecutable in interface MethodNodetrue if this method is executable, not taking user access rights into account.public Boolean isUserExecutable()
MethodNodeSee OPC-UA Part 3, Section 5.7.
isUserExecutable in interface MethodNodetrue if this method is executable, taking user access rights into account.public void setExecutable(boolean executable)
MethodNodesetExecutable in interface MethodNodeexecutable - true if the method is executable.public void setUserExecutable(boolean userExecutable)
MethodNodesetUserExecutable in interface MethodNodeuserExecutable - true if the method is executable, taking access rights into account.public Optional<ObjectNode> getModellingRuleNode()
public Optional<MethodInvocationHandler> getInvocationHandler()
public void setInvocationHandler(MethodInvocationHandler handler)
public String getNodeVersion()
public com.digitalpetri.opcua.stack.core.types.structured.Argument[] getInputArguments()
public com.digitalpetri.opcua.stack.core.types.structured.Argument[] getOutputArguments()
public void setNodeVersion(String nodeVersion)
public void setInputArguments(com.digitalpetri.opcua.stack.core.types.structured.Argument[] inputArguments)
public void setOutputArguments(com.digitalpetri.opcua.stack.core.types.structured.Argument[] outputArguments)
public static UaMethodNode.UaMethodNodeBuilder builder(UaNamespace nodeManager)
UaMethodNode.UaMethodNodeBuilder.Copyright © 2015. All rights reserved.