public static interface StructureSpecification.Builder<T extends Structure.Builder>
StructureSpecification. This class is not thread-safe.StructureSpecification.Builder<T> addField(FieldSpecification field)
setFields(List) for the definition of the order of the
fields.StructureSpecification.Builder<T> addSuperTypeId(UaNodeId superTypeId)
UaDataTypeIds.Structure) shall be added first and then lastly the direct supertype.StructureSpecification build()
StructureSpecification based on the given data. This method may return a
cached instance.StructureSpecification.Builder<T> setAbstract(boolean isAbstract)
StructureSpecification.Builder<T> setBinaryEncodeId(UaNodeId binaryEncodeId)
StructureSpecification.Builder<T> setBuilderSupplier(Function<UaDataTypeSpecification,T> builderSupplier)
StructureSpecification.toStructureBuilder(). If set to null,
which is the default, the method will provide DynamicStructure.Builders. The given
Function shall create a new Structure.Builder each time it is called. The
given UaDataTypeSpecification parameter shall be given as parameter to the respective
Structure.Builder's constructor and that constructor shall be the nearest/closest
supertype that is code-generated (or left to null if no such type). The parameter is
UaDataTypeSpecification due to multiple-inheritance reasons with UaOptionSet,
but in this context shall be always be StructureSpecification or
OptionSetStructureSpecification.StructureSpecification.Builder<T> setFields(List<FieldSpecification> fields)
StructureSpecification.Builder<T> setJavaClass(Class<?> javaClass)
DynamicStructure is used.StructureSpecification.Builder<T> setJsonEncodeId(UaNodeId jsonEncodeId)
StructureSpecification.Builder<T> setName(String name)
StructureSpecification.Builder<T> setStructureType(StructureSpecification.StructureType structureType)
StructureSpecification.StructureType. If given null, uses StructureSpecification.StructureType.NORMAL.StructureSpecification.Builder<T> setTypeId(UaNodeId typeId)
StructureSpecification.Builder<T> setXmlEncodeId(UaNodeId xmlEncodeId)
StructureSpecification.Builder<T> setXmlName(String name)
Copyright © 2026. All rights reserved.