UaNode.ParametersNODE_VERSION_PROPERTY_NAME, useQuickPropertyLookupeventListeners, INITIALIZATION_TIME, nodeManager, supportedAttributesMap| Modifier | Constructor and Description |
|---|---|
|
UaViewNode(NodeManagerUaNode nodeManager,
NodeId nodeId,
QualifiedName browseName,
LocalizedText displayName) |
|
UaViewNode(NodeManagerUaNode nodeManager,
NodeId nodeId,
String name,
Locale locale) |
protected |
UaViewNode(UaNode.Parameters parameters) |
| Modifier and Type | Method and Description |
|---|---|
UaReference |
addProperty(UaProperty property)
Add a new property node to the node.
|
protected boolean |
beforeAddReference(UaReference reference) |
NodeAttributes |
getAttributes()
Returns the current attribute values of the node in a NodeAttributes structure.
|
protected NodeAttributes |
getAttributes(ViewAttributes attributes) |
protected void |
getAttributesMap(Map<UnsignedInteger,Object> map) |
Boolean |
getContainsNoLoops()
If set to
true this Attribute indicates that following References in the context
of the View contains no loops, i.e. |
EventNotifierType |
getEventNotifier()
Defines whether the node can be used to subscribe to events.
|
NodeClass |
getNodeClass()
The NodeClass Attribute identifies the NodeClass of a Node.
|
UaProperty |
getViewVersion()
The version number for the View.
|
protected void |
initSupportedAttributes(List<UnsignedInteger> l) |
protected void |
readAttributeValue(UnsignedInteger attributeId,
DataValue dataValue)
Read the value of an attribute.
|
void |
setAttributes(NodeAttributes nodeAttributes)
Sets the attributes of the node.
|
void |
setContainsNoLoops(Boolean containsNoLoops)
Set ContainsNoLoops Attribute value for this node.
|
void |
setEventNotifier(EventNotifierType eventNotifier)
Set EventNotifier Attribute value for this node.
|
protected void |
setViewVersion(Integer viewVersion)
Set the value of the ViewVersion property.
|
String |
toString() |
protected void |
writeAttributeValue(UnsignedInteger attributeId,
Object value,
StatusCode statusCode,
DateTime sourceTime,
UnsignedShort sourcePicoseconds) |
addPlainProperty, addPlainVariable, assertTypeSupport, assertTypeSupport, createNodeId, createNodeId, createReflectiveInstanceProperty, createReflectiveInstanceProperty, deleteReference, deleteReference, doAddProperty, getAttributes, getAttributesMap, getBrowseName, getComponent, getComponents, getDescription, getDescription, getDisplayName, getDisplayName, getMethod, getNodeVersion, getNodeVersionNode, getProperties, getProperty, getPropertyReference, getPropertyValue, getReferencesAsList, getStandardBrowseName, getStandardDisplayText, getUserWriteMask, getWriteMask, hasProperty, hasReference, hasTypeDefinition, hasUserWriteAccess, hasWriteAccess, incNodeVersion, initNodeVersion, isChildOfType, readAttribute, readAttribute, registerCallbackProperty, registerPlainInstanceProperty, registerPlainInstanceProperty, registerPlainProperty, registerPlainProperty, registerPlainVariable, registerPlainVariable, registerReflectiveInstanceProperty, registerReflectiveInstanceVariable, registerReflectiveProperty, registerReflectiveVariable, removeProperty, setAccessLevelRecursively, setAccessLevelRecursively, setAttribute, setBrowseName, setDescription, setDisplayName, setNodeVersion, setPropertyValue, setUserWriteMask, setWriteMask, writeAttributeaddComponent, addDataChangeListener, addEventListener, addNewReference, addNewReference, addOrganizes, addProperties, addReference, addReference, addReference, addReference, addReference, addReference, afterAddReference, afterDeleteReference, dataChange, deleteReference, deleteReference, deleteReferences, doDeleteReference, equals, findPlaceholders, fireDataChange, fireEvent, fireEventInParents, getAddressSpace, getDefaultBrowseName, getNodeId, getNodeManager, getNodeSetExtensions, getReference, getReferenceList, getReferences, getSupportedAttributes, getTargetNodes, getUaNodeId, hashCode, isAddNotifierReferencesToServerObject, isFalseOrNull, isMandatory, isMonitoredForEvents, isTrueOrNull, isType, referenceTypeInherits, removeComponent, removeDataChangeListener, removeEventListener, setAddNotifierReferencesToServerObject, setNodeSetExtensions, setReferences, supportsAttribute, translateBrowsePathToNodeIds, validateHasEventSourceChain, validateHasEventSourceChaingetForwardReferences, getInverseReferences, getReferences, getReferences, getUserData, referenceTypeInherits, setUserDataclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddComponent, addOrganizes, addReference, addReference, addReference, addReference, addReference, addReference, deleteReference, deleteReference, deleteReference, deleteReference, getAddressSpace, getAttributesMap, getBrowseName, getBrowsePaths, getComponent, getComponents, getDescription, getDisplayName, getForwardReferences, getInverseReferences, getMethod, getNodeId, getNodeVersionNode, getOrganizedNode, getOrganizedNodes, getProperties, getProperty, getReference, getReferences, getReferences, getSupportedAttributes, getUaBrowsePaths, getUaNodeId, getUserData, getUserWriteMask, getWriteMask, hasUserWriteAccess, hasWriteAccess, readAttribute, readAttribute, removeComponent, removeProperty, setAttribute, setBrowseName, setDescription, setDisplayName, setReferences, setUserData, setUserWriteMask, setWriteMask, supportsAttribute, writeAttributepublic UaViewNode(NodeManagerUaNode nodeManager, NodeId nodeId, QualifiedName browseName, LocalizedText displayName)
public UaViewNode(NodeManagerUaNode nodeManager, NodeId nodeId, String name, Locale locale)
protected UaViewNode(UaNode.Parameters parameters)
public UaReference addProperty(UaProperty property)
UaNodeAdds a new forward HasProperty reference with target to the property node.
addProperty in interface UaNodeaddProperty in class ServerNodeproperty - the property to add to the nodepublic NodeAttributes getAttributes()
UaNodegetAttributes in interface UaNodegetAttributes in class BaseNodepublic Boolean getContainsNoLoops()
UaViewtrue this Attribute indicates that following References in the context
of the View contains no loops, i.e. starting from a Node 'A' contained in the View and
following the forward References in the context of the View Node 'A' will not be reached again.
It does not specify that there is only one path starting from the View Node to reach a Node
contained in the View. If set to false this Attribute indicates that following
References in the context of the View may lead to loops. (OPC UA Specification, Part 3.)getContainsNoLoops in interface UaViewpublic EventNotifierType getEventNotifier()
UaView| 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). |
getEventNotifier in interface UaViewpublic final NodeClass getNodeClass()
UaNodegetNodeClass in interface UaNodegetNodeClass in class BaseNodepublic UaProperty getViewVersion()
UaViewgetViewVersion in interface UaViewpublic void setAttributes(NodeAttributes nodeAttributes)
UaNodesetAttributes in interface UaNodesetAttributes in class BaseNodepublic void setContainsNoLoops(Boolean containsNoLoops)
UaViewsetContainsNoLoops in interface UaViewcontainsNoLoops - the value of containsNoLoops to setUaView.getContainsNoLoops()public void setEventNotifier(EventNotifierType eventNotifier)
UaViewsetEventNotifier in interface UaVieweventNotifier - the value of EventNotifier to setUaView.getEventNotifier()protected boolean beforeAddReference(UaReference reference)
beforeAddReference in class ServerNodeprotected NodeAttributes getAttributes(ViewAttributes attributes)
protected void getAttributesMap(Map<UnsignedInteger,Object> map)
getAttributesMap in class BaseNodeprotected void initSupportedAttributes(List<UnsignedInteger> l)
initSupportedAttributes in class ServerNodeprotected void readAttributeValue(UnsignedInteger attributeId, DataValue dataValue) throws StatusException
BaseNodereadAttributeValue in class BaseNodeattributeId - the ID of the attribute to read.dataValue - the DataValue structure in which the value is set.StatusException - if the attributeId is not valid for this (base) node implementation.protected void setViewVersion(Integer viewVersion) throws StatusException
viewVersion - StatusExceptionprotected void writeAttributeValue(UnsignedInteger attributeId, Object value, StatusCode statusCode, DateTime sourceTime, UnsignedShort sourcePicoseconds) throws StatusException
writeAttributeValue in class BaseNodeStatusExceptionCopyright © 2026. All rights reserved.