public static interface OptionSetStructure.Builder extends Structure.Builder, UaOptionSet.Builder
OptionSetStructure.| Modifier and Type | Method and Description |
|---|---|
OptionSetStructure |
build()
Builds a Structure with the given data.
|
OptionSetStructure.Builder |
clear()
Sets all fields to their default values (i.e.
|
default boolean |
isValid(int bitPosition)
Returns true if the bit position is set in the
OptionSet.getValidBits(). |
default boolean |
isValid(OptionSpecification option)
Returns true if the option exist (is part of
specification()) and it's position is
set in the OptionSet.getValidBits(). |
OptionSetStructure.Builder |
setValid(int bitPosition,
boolean valid)
Sets or clears the bit in
OptionSet.getValidBits() in the position. |
OptionSetStructure.Builder |
setValid(OptionSpecification option,
boolean valid)
Sets or clears the bit in
OptionSet.getValidBits() in the position. |
OptionSetStructureSpecification |
specification()
Returns the specification of the Structures that this builder builds.
|
get, get, set, setadd, addAll, contains, containsAll, remove, removeAllOptionSetStructure build()
Structure.Builderbuild in interface Structure.Builderbuild in interface UaOptionSet.BuilderOptionSetStructure.Builder clear()
Structure.BuilderStructure.Builder shall the same as a newly created instance where no fields have been set.clear in interface Structure.Builderclear in interface UaOptionSet.Builderdefault boolean isValid(int bitPosition)
OptionSet.getValidBits().default boolean isValid(OptionSpecification option)
specification()) and it's position is
set in the OptionSet.getValidBits().OptionSetStructure.Builder setValid(int bitPosition, boolean valid)
OptionSet.getValidBits() in the position. Does nothing if
the given position is not one of the specification() option(s) position.OptionSetStructure.Builder setValid(OptionSpecification option, boolean valid)
OptionSet.getValidBits() in the position. Does nothing if
the given option is not part of specification().OptionSetStructureSpecification specification()
Structure.Builderspecification in interface Structure.Builderspecification in interface UaOptionSet.BuilderCopyright © 2026. All rights reserved.