Interface MethodNode
- All Superinterfaces:
Node
-
Method Summary
Modifier and TypeMethodDescriptionThe Executable attribute indicates whether the Method is executable, not taking user access rights into account.The UserExecutable attribute indicates whether the Method is executable, taking user access rights into account.voidsetExecutable(Boolean executable) Set the Executable attribute of this Method.voidsetUserExecutable(Boolean userExecutable) Set the UserExecutable attribute of this Method.Methods inherited from interface org.eclipse.milo.opcua.sdk.core.nodes.Node
getAccessRestrictions, getBrowseName, getDescription, getDisplayName, getNodeClass, getNodeId, getRolePermissions, getUserRolePermissions, getUserWriteMask, getWriteMask, setAccessRestrictions, setBrowseName, setDescription, setDisplayName, setNodeClass, setNodeId, setRolePermissions, setUserRolePermissions, setUserWriteMask, setWriteMask
-
Method Details
-
isExecutable
Boolean isExecutable()The Executable attribute indicates whether the Method is executable, not taking user access rights into account. If the OPC UA Server cannot get the Executable information from the underlying system, it should state that it is executable.See OPC-UA Part 3, Section 5.7.
- Returns:
trueif this method is executable, not taking user access rights into account.
-
isUserExecutable
Boolean isUserExecutable()The UserExecutable attribute indicates whether the Method is executable, taking user access rights into account. If the OPC UA Server cannot get any user rights related information from the underlying system, it should use the same value as used in the Executable attribute.See OPC-UA Part 3, Section 5.7.
- Returns:
trueif this method is executable, taking user access rights into account.
-
setExecutable
Set the Executable attribute of this Method.- Parameters:
executable-trueif the method is executable.
-
setUserExecutable
Set the UserExecutable attribute of this Method.- Parameters:
userExecutable-trueif the method is executable, taking access rights into account.
-