protected abstract static class CodegenModel.Builder<T extends CodegenModel.Builder<T>> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Map<UaNodeId,Function<UaNode.Parameters,? extends UaInstance>> |
constructors |
protected GeneratedDataTypeDictionary |
dataTypeDictionary |
protected Map<UaNodeId,UaDataTypeSpecification> |
specifications |
| Modifier | Constructor and Description |
|---|---|
protected |
Builder() |
| Modifier and Type | Method and Description |
|---|---|
T |
addAll(CodegenModel other)
Adds data from the given
CodegenModel to this; the DataTypeDictionary of the other
model is skipped. |
<S extends UaInstance> |
addClass(UaNodeId typeId,
Function<UaNode.Parameters,S> constructor) |
T |
addDataTypeSpecification(UaDataTypeSpecification specification) |
abstract CodegenModel |
build() |
T |
setDataTypeDictionary(GeneratedDataTypeDictionary dataTypeDictionary) |
protected final Map<UaNodeId,UaDataTypeSpecification> specifications
protected final Map<UaNodeId,Function<UaNode.Parameters,? extends UaInstance>> constructors
protected GeneratedDataTypeDictionary dataTypeDictionary
public T addAll(CodegenModel other)
CodegenModel to this; the DataTypeDictionary of the other
model is skipped.public <S extends UaInstance> T addClass(UaNodeId typeId, Function<UaNode.Parameters,S> constructor)
public T addDataTypeSpecification(UaDataTypeSpecification specification)
public abstract CodegenModel build()
public T setDataTypeDictionary(GeneratedDataTypeDictionary dataTypeDictionary)
Copyright © 2026. All rights reserved.