public interface UaMethod extends UaNode
Methods define callable functions. Methods are invoked using the Call Service. Method invocations are not represented in the AddressSpace. Method invocations always run to completion and always return responses when complete. Methods are defined using the Method NodeClass.
(OPC UA Specification, Part 3.)
UaNode.Parameters| Modifier and Type | Field and Description |
|---|---|
static QualifiedName |
INPUT_ARGUMENTS
The BrowseName of the InputArguments Property of a Method Node.
|
static QualifiedName |
OUTPUT_ARGUMENTS
The BrowseName of the OutputArguments Property of a Method Node.
|
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getExecutable()
The Executable Attribute indicates if the Method is currently executable ('False' means not
executable, 'True' means executable).
|
Argument[] |
getInputArguments()
The InputArguments Property is used to specify the arguments that shall be used by a client
when calling the Method.
|
Argument[] |
getOutputArguments()
The OutputArguments Property specifies the result returned from the Method call.
|
Boolean |
getUserExecutable()
The UserExecutable Attribute indicates if the Method is currently executable taking user access
rights into account ('False' means not executable, 'True' means executable).
|
void |
setExecutable(Boolean executable) |
void |
setUserExecutable(Boolean userExecutable) |
addComponent, addOrganizes, addProperty, addReference, addReference, addReference, addReference, addReference, addReference, deleteReference, deleteReference, deleteReference, deleteReference, getAddressSpace, getAttributes, getAttributesMap, getBrowseName, getBrowsePaths, getComponent, getComponents, getDescription, getDisplayName, getForwardReferences, getInverseReferences, getMethod, getNodeClass, getNodeId, getNodeVersionNode, getOrganizedNode, getOrganizedNodes, getProperties, getProperty, getReference, getReferences, getReferences, getSupportedAttributes, getUaBrowsePaths, getUaNodeId, getUserData, getUserWriteMask, getWriteMask, hasUserWriteAccess, hasWriteAccess, readAttribute, readAttribute, removeComponent, removeProperty, setAttribute, setAttributes, setBrowseName, setDescription, setDisplayName, setReferences, setUserData, setUserWriteMask, setWriteMask, supportsAttribute, writeAttributestatic final QualifiedName INPUT_ARGUMENTS
static final QualifiedName OUTPUT_ARGUMENTS
Boolean getExecutable()
Argument[] getInputArguments() throws MethodArgumentException
MethodArgumentException - if the property does not contain valid argument valuesArgument[] getOutputArguments() throws MethodArgumentException
MethodArgumentException - if the property does not contain valid argument valuesBoolean getUserExecutable()
void setExecutable(Boolean executable)
executable - value to set for executablegetExecutable()void setUserExecutable(Boolean userExecutable)
userExecutable - value to set for user executablegetUserExecutable()Copyright © 2026. All rights reserved.