public interface RegisteredClasses
UaNodeId of the type
node. Note that in general interactions with this interface is typically only done via Codegen
code or SDK internals.| Modifier and Type | Method and Description |
|---|---|
Function<UaNode.Parameters,? extends UaInstance> |
getConstructor(UaNodeId id)
Return a
Function to be used as the constructor for the given type. |
void |
registerClass(UaNodeId typeId,
Function<UaNode.Parameters,? extends UaInstance> constructor)
Registers a class (or, technically it's constructor representation) for a Type via the TypeId.
|
void |
registerClasses(Map<UaNodeId,Function<UaNode.Parameters,? extends UaInstance>> classes)
Register all classes similar to
registerClass(UaNodeId, Function) for each key+value. |
Function<UaNode.Parameters,? extends UaInstance> getConstructor(UaNodeId id)
Function to be used as the constructor for the given type. Returns null if no
mapping has been done via registerClass(UaNodeId, Function).void registerClass(UaNodeId typeId, Function<UaNode.Parameters,? extends UaInstance> constructor)
void registerClasses(Map<UaNodeId,Function<UaNode.Parameters,? extends UaInstance>> classes)
registerClass(UaNodeId, Function) for each key+value.
The value for a given key shall be the function to construct that type.Copyright © 2026. All rights reserved.