|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UaObject
OPC UA Object interface.
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,
UaReferenceType| Method Summary | |
|---|---|
Object[] |
callMethod(org.opcfoundation.ua.builtintypes.NodeId methodId,
Object... inputArgs)
Call a method on the object. |
EnumSet<EventNotifierClass> |
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(EnumSet<EventNotifierClass> eventNotifier)
Define which kind of events the object generates. |
void |
setIcon(UaProperty icon)
Set the value of the Icon property. |
| Methods inherited from interface com.prosysopc.ua.nodes.UaInstance |
|---|
getTypeDefinition, getTypeDefinitionId, setTypeDefinition, setTypeDefinitionId, setTypeDefinitionId |
| Method Detail |
|---|
Object[] callMethod(org.opcfoundation.ua.builtintypes.NodeId methodId,
Object... inputArgs)
throws StatusException,
ServiceException
methodId - id of the methodinputArgs - input arguments for the method call
ServiceException - if the call fails due to connection problems, etc.
StatusException - if the call fails due to invalid arguments or something like that.EnumSet<EventNotifierClass> 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(EnumSet<EventNotifierClass> eventNotifier)
eventNotifier - the set of event types that the object generates
void setIcon(UaProperty icon)
throws StatusException
icon - the Icon to set
StatusExceptiongetIcon()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||