public interface UaObject extends UaInstance
Objects are used to represent instance nodes, which are not variables. The NodeClass of Objects is NodeClass.Object.
UaObject inherits the Attributes from UaNode and UaInstance.
The Objects can have components, which are connected to it using HasComponent references. You can
use the UaNode.addComponent(UaNode) method to add component references to the node.
UaVariable,
UaObjectType,
UaReferenceTypeUaNode.Parameters| Modifier and Type | Method and Description |
|---|---|
Object[] |
callMethod(NodeId methodId,
Object... inputArgs)
Call a method on the object.
|
EventNotifierType |
getEventNotifier()
Defines whether the node can be used to subscribe to events.
|
UaProperty |
getIcon()
The Icon Property provides an image that can be used by clients when displaying the Node.
|
void |
setEventNotifier(EventNotifierType eventNotifier)
Define which kind of events the object generates.
|
void |
setIcon(UaProperty icon)
Set the value of the Icon property.
|
getTypeDefinition, getTypeDefinitionId, setTypeDefinition, setTypeDefinitionId, setTypeDefinitionIdaddComponent, 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, writeAttributeObject[] callMethod(NodeId methodId, Object... inputArgs) throws StatusException, ServiceException
methodId - id of the methodinputArgs - input arguments for the method callServiceException - if the call fails due to connection problems, etc.StatusException - if the call fails due to invalid arguments or something like that.EventNotifierType getEventNotifier()
| Value | Description |
|---|---|
| SubscribeToEvents | Indicates if it can be used to subscribe to Events (0 means cannot be used to subscribe to Events, 1 means can be used to subscribe to Events). |
| HistoryRead | Indicates if the history of the Events is readable (0 means not readable, 1 means readable). |
| HistoryWrite | Indicates if the history of the Events is writable (0 means not writable, 1 means writable). |
UaProperty getIcon()
void setEventNotifier(EventNotifierType eventNotifier)
eventNotifier - the set of event types that the object generatesvoid setIcon(UaProperty icon) throws StatusException
icon - the Icon to setStatusExceptiongetIcon()Copyright © 2026. All rights reserved.