public class UaReferenceTypeNode extends UaTypeNode implements UaReferenceType
It keeps all attributes in memory.
UaNode.ParametersNODE_VERSION_PROPERTY_NAME, useQuickPropertyLookupeventListeners, INITIALIZATION_TIME, nodeManager, supportedAttributesMap| Modifier | Constructor and Description |
|---|---|
|
UaReferenceTypeNode(NodeManagerUaNode nodeManager,
NodeId nodeId,
QualifiedName browseName,
LocalizedText displayName)
Initialize a new non-abstract, symmetric reference type.
|
|
UaReferenceTypeNode(NodeManagerUaNode nodeManager,
NodeId nodeId,
String browseName,
Locale locale)
Initialize a new non-abstract, symmetric reference type.
|
protected |
UaReferenceTypeNode(UaNode.Parameters parameters) |
| Modifier and Type | Method and Description |
|---|---|
NodeAttributes |
getAttributes()
Returns the current attribute values of the node in a NodeAttributes structure.
|
protected ReferenceTypeAttributes |
getAttributes(ReferenceTypeAttributes attributes) |
protected void |
getAttributesMap(Map<UnsignedInteger,Object> map) |
LocalizedText |
getInverseName()
The inverse name of the Reference, i.e.
|
NodeClass |
getNodeClass()
The NodeClass Attribute identifies the NodeClass of a Node.
|
Boolean |
getSymmetric()
A boolean Attribute with the following values:
true
the meaning of the ReferenceType is the same as seen from both the SourceNode and the
TargetNode. |
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 |
setInverseName(LocalizedText inverseName) |
void |
setSymmetric(Boolean symmetric) |
String |
toString() |
protected void |
writeAttributeValue(UnsignedInteger attributeId,
Object value,
StatusCode statusCode,
DateTime sourceTime,
UnsignedShort sourcePicoseconds) |
addSubType, afterAddReference, beforeAddReference, getComponent, getInstanceDeclarationHierarchy, getIsAbstract, getSuperType, hasSuperType, inheritsFrom, inheritsFrom, resetInstanceDeclarationHierarchy, setIsAbstract, setSuperTypeaddPlainProperty, addPlainVariable, assertTypeSupport, assertTypeSupport, createNodeId, createNodeId, createReflectiveInstanceProperty, createReflectiveInstanceProperty, deleteReference, deleteReference, doAddProperty, getAttributes, getAttributesMap, getBrowseName, 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, addProperty, addReference, addReference, addReference, addReference, addReference, addReference, 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, waitisHierarchical, isNonHierarchicaladdSubType, getIsAbstract, getSuperType, getSuperTypeId, hasSuperType, inheritsFrom, inheritsFrom, inheritsFromAny, inheritsFromAny, setIsAbstract, setSuperTypeaddComponent, addOrganizes, addProperty, 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 UaReferenceTypeNode(NodeManagerUaNode nodeManager, NodeId nodeId, QualifiedName browseName, LocalizedText displayName)
nodeId - browseName - displayName - public UaReferenceTypeNode(NodeManagerUaNode nodeManager, NodeId nodeId, String browseName, Locale locale)
nodeId - browseName - locale - protected UaReferenceTypeNode(UaNode.Parameters parameters)
public NodeAttributes getAttributes()
UaNodegetAttributes in interface UaNodegetAttributes in class BaseNodepublic LocalizedText getInverseName()
UaReferenceTypegetInverseName in interface UaReferenceTypepublic final NodeClass getNodeClass()
UaNodegetNodeClass in interface UaNodegetNodeClass in class BaseNodepublic Boolean getSymmetric()
UaReferenceTypetrue
| the meaning of the ReferenceType is the same as seen from both the SourceNode and the TargetNode. |
false
| the meaning of the ReferenceType as seen from the TargetNode is the inverse of that as seen from the SourceNode. |
getSymmetric in interface UaReferenceTypepublic void setAttributes(NodeAttributes nodeAttributes)
UaNodesetAttributes in interface UaNodesetAttributes in class BaseNodepublic void setInverseName(LocalizedText inverseName)
setInverseName in interface UaReferenceTypeinverseName - the InverseName to setUaReferenceType.getInverseName()public void setSymmetric(Boolean symmetric)
setSymmetric in interface UaReferenceTypesymmetric - the value of Symmetric to setUaReferenceType.getSymmetric()public String toString()
toString in class UaTypeNodeprotected ReferenceTypeAttributes getAttributes(ReferenceTypeAttributes attributes)
protected void getAttributesMap(Map<UnsignedInteger,Object> map)
getAttributesMap in class BaseNodeprotected void initSupportedAttributes(List<UnsignedInteger> l)
initSupportedAttributes in class UaTypeNodeprotected void readAttributeValue(UnsignedInteger attributeId, DataValue dataValue) throws StatusException
BaseNodereadAttributeValue in class UaTypeNodeattributeId - 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 writeAttributeValue(UnsignedInteger attributeId, Object value, StatusCode statusCode, DateTime sourceTime, UnsignedShort sourcePicoseconds) throws StatusException
writeAttributeValue in class UaTypeNodeStatusExceptionCopyright © 2026. All rights reserved.