public static interface OptionSetSpecification.Builder<T extends UaOptionSet.Builder>
OptionSetSpecification. This class is not thread-safe.| Modifier and Type | Method and Description |
|---|---|
OptionSetSpecification.Builder<T> |
addOptions(List<OptionSpecification> options)
Adds all given options.
|
OptionSetSpecification.Builder<T> |
addOptions(OptionSpecification... options)
Adds all given options.
|
OptionSetSpecification |
build() |
OptionSetSpecification.Builder<T> |
setBaseTypeId(UaNodeId baseDataTypeId) |
OptionSetSpecification.Builder<T> |
setBuilderSupplier(Function<UaDataTypeSpecification,T> builderSupplier)
Set supplier used in
OptionSetSpecification#toStructureBuilder(). |
OptionSetSpecification.Builder<T> |
setJavaClass(Class<?> javaClass)
Sets the java class of returned objects.
|
OptionSetSpecification.Builder<T> |
setName(String name)
Set the name of the OptionSet.
|
OptionSetSpecification.Builder<T> |
setTypeId(UaNodeId typeId)
Set the DataType NodeId of the OptionSet type.
|
OptionSetSpecification.Builder<T> addOptions(List<OptionSpecification> options)
OptionSetSpecification.Builder<T> addOptions(OptionSpecification... options)
OptionSetSpecification build()
OptionSetSpecification.Builder<T> setBaseTypeId(UaNodeId baseDataTypeId)
OptionSetSpecification.Builder<T> setBuilderSupplier(Function<UaDataTypeSpecification,T> builderSupplier)
OptionSetSpecification#toStructureBuilder(). The given
Function shall create a new UaOptionSet.Builder each time it is called. The
given UaDataTypeSpecification parameter shall be given as parameter to the respective
UaOptionSet.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 Structure,
but in this context shall be always be OptionSetSpecification or
OptionSetStructureSpecification.OptionSetSpecification.Builder<T> setJavaClass(Class<?> javaClass)
OptionSetSpecification.Builder<T> setName(String name)
OptionSetSpecification.Builder<T> setTypeId(UaNodeId typeId)
Copyright © 2026. All rights reserved.