public static interface OptionSetStructureSpecification.Builder<T extends OptionSetStructure.Builder> extends StructureSpecification.Builder<T>, OptionSetSpecification.Builder<T>
OptionSetStructureSpecification.| Modifier and Type | Method and Description |
|---|---|
OptionSetStructureSpecification |
build()
Builds a
StructureSpecification based on the given data. |
OptionSetStructureSpecification.Builder<T> |
setBuilderSupplier(Function<UaDataTypeSpecification,T> builderSupplier)
Set supplier used in
StructureSpecification.toStructureBuilder(). |
OptionSetStructureSpecification.Builder<T> |
setJavaClass(Class<?> javaClass)
Sets the java class of returned objects.
|
OptionSetStructureSpecification.Builder<T> |
setName(String name)
Set the name of the Structure, Structure names in OPC UA should start with Capital letter.
|
OptionSetStructureSpecification.Builder<T> |
setTypeId(UaNodeId typeId)
Set the DataType NodeId of the Structure type.
|
addField, addSuperTypeId, setAbstract, setBinaryEncodeId, setFields, setJsonEncodeId, setStructureType, setXmlEncodeId, setXmlNameaddOptions, addOptions, setBaseTypeIdOptionSetStructureSpecification build()
StructureSpecification.BuilderStructureSpecification based on the given data. This method may return a
cached instance.build in interface OptionSetSpecification.Builder<T extends OptionSetStructure.Builder>build in interface StructureSpecification.Builder<T extends OptionSetStructure.Builder>OptionSetStructureSpecification.Builder<T> setBuilderSupplier(Function<UaDataTypeSpecification,T> builderSupplier)
StructureSpecification.BuilderStructureSpecification.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.setBuilderSupplier in interface OptionSetSpecification.Builder<T extends OptionSetStructure.Builder>setBuilderSupplier in interface StructureSpecification.Builder<T extends OptionSetStructure.Builder>OptionSetStructureSpecification.Builder<T> setJavaClass(Class<?> javaClass)
StructureSpecification.BuilderDynamicStructure is used.setJavaClass in interface OptionSetSpecification.Builder<T extends OptionSetStructure.Builder>setJavaClass in interface StructureSpecification.Builder<T extends OptionSetStructure.Builder>OptionSetStructureSpecification.Builder<T> setName(String name)
StructureSpecification.BuildersetName in interface OptionSetSpecification.Builder<T extends OptionSetStructure.Builder>setName in interface StructureSpecification.Builder<T extends OptionSetStructure.Builder>OptionSetStructureSpecification.Builder<T> setTypeId(UaNodeId typeId)
StructureSpecification.BuildersetTypeId in interface OptionSetSpecification.Builder<T extends OptionSetStructure.Builder>setTypeId in interface StructureSpecification.Builder<T extends OptionSetStructure.Builder>Copyright © 2026. All rights reserved.