public abstract class UaInstanceImpl extends UaNodeImpl implements UaInstance
UaInstance.
It keeps all attributes in memory.
Note that the OPC UA Specification does not define or represent such a common "base class" for
all instance nodes. However, all instance nodes support TypeDefinition reference. In principle
UaInstance separates the instance nodes from type nodes, which implement UaType.
UaNode.ParametersaddressSpace, references, supportedAttributesMap| Modifier | Constructor and Description |
|---|---|
|
UaInstanceImpl(AddressSpace addressSpace,
NodeId nodeId,
QualifiedName browseName,
LocalizedText displayName) |
|
UaInstanceImpl(AddressSpace addressSpace,
NodeId nodeId,
QualifiedName browseName,
LocalizedText displayName,
LocalizedText description,
AttributeWriteMask writeMask,
AttributeWriteMask userWriteMask,
UaClientReference[] references,
UaProperty[] properties) |
|
UaInstanceImpl(AddressSpace addressSpace,
NodeId nodeId,
String name,
Locale locale) |
protected |
UaInstanceImpl(UaNode.Parameters parameters) |
| Modifier and Type | Method and Description |
|---|---|
UaType |
getTypeDefinition()
The UaType object corresponding to TypeDefinitionId.
|
ExpandedNodeId |
getTypeDefinitionId()
Reference to the NodeId of the object's type definition.
|
void |
setTypeDefinition(UaType type)
Sets the type of the node.
|
void |
setTypeDefinitionId(ExpandedNodeId typeDefinition)
Sets the type definition to an ExpandedNodeId.
|
void |
setTypeDefinitionId(NodeId typeDefinition)
Sets the type definition to a local NodeId.
|
String |
toString() |
addComponent, addProperties, addProperty, addReference, addReference, addReference, addReference, afterAddReference, afterDeleteReference, assertTypeSupport, assertTypeSupport, beforeAddReference, deleteReference, deleteReference, deleteReference, deleteReference, deleteReferences, doAddProperty, equals, findPlaceholders, getAddressSpace, getAttributes, getAttributesMap, getAttributesMap, getBrowseName, getComponent, getComponents, getDescription, getDescription, getDisplayName, getDisplayName, getMethod, getNodeClass, getNodeId, getNodeVersion, getNodeVersionNode, getProperties, getProperty, getPropertyValue, getReference, getReferenceList, getReferences, getSupportedAttributes, getUaNodeId, getUserWriteMask, getWriteMask, hashCode, hasProperty, hasTypeDefinition, hasUserWriteAccess, hasWriteAccess, initSupportedAttributes, readAttribute, readAttribute, readAttributeValue, referenceTypeInherits, removeComponent, removeProperty, setAttribute, setAttributes, setBrowseName, setDescription, setDisplayName, setNodeVersion, setPropertyValue, setReferences, setUserWriteMask, setWriteMask, supportsAttribute, writeAttribute, writeAttributeValuegetForwardReferences, getInverseReferences, getReferences, getReferences, getReferencesAsList, getUserData, referenceTypeInherits, setUserDataclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddComponent, 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, writeAttributepublic UaInstanceImpl(AddressSpace addressSpace, NodeId nodeId, QualifiedName browseName, LocalizedText displayName)
nodeId - browseName - displayName - public UaInstanceImpl(AddressSpace addressSpace, NodeId nodeId, QualifiedName browseName, LocalizedText displayName, LocalizedText description, AttributeWriteMask writeMask, AttributeWriteMask userWriteMask, UaClientReference[] references, UaProperty[] properties)
nodeId - browseName - displayName - description - writeMask - userWriteMask - references - properties - public UaInstanceImpl(AddressSpace addressSpace, NodeId nodeId, String name, Locale locale)
nodeId - name - locale - protected UaInstanceImpl(UaNode.Parameters parameters)
public UaType getTypeDefinition()
UaInstancegetTypeDefinition in interface UaInstanceUaInstance.getTypeDefinitionId(),
UaInstance.setTypeDefinition(UaType),
UaInstance.setTypeDefinitionId(NodeId),
UaInstance.setTypeDefinitionId(ExpandedNodeId)public ExpandedNodeId getTypeDefinitionId()
getTypeDefinitionId in interface UaInstanceUaInstance.getTypeDefinition(),
UaInstance.setTypeDefinition(UaType),
UaInstance.setTypeDefinitionId(NodeId),
UaInstance.setTypeDefinitionId(ExpandedNodeId)public void setTypeDefinition(UaType type)
setTypeDefinition in interface UaInstancetype - UaInstance.getTypeDefinitionId(),
UaInstance.getTypeDefinition(),
UaInstance.setTypeDefinitionId(ExpandedNodeId),
UaInstance.setTypeDefinitionId(NodeId)public void setTypeDefinitionId(ExpandedNodeId typeDefinition)
setTypeDefinitionId in interface UaInstancetypeDefinition - UaInstance.getTypeDefinitionId(),
UaInstance.getTypeDefinition(),
UaInstance.setTypeDefinition(UaType),
UaInstance.setTypeDefinitionId(NodeId)public final void setTypeDefinitionId(NodeId typeDefinition)
UaInstanceIf
setTypeDefinitionId in interface UaInstancetypeDefinition - the type definition Id to setUaInstance.getTypeDefinitionId(),
UaInstance.getTypeDefinition(),
UaInstance.setTypeDefinition(UaType),
UaInstance.setTypeDefinitionId(ExpandedNodeId)public String toString()
toString in class UaNodeImplCopyright © 2026. All rights reserved.