public interface OptionSetStructure extends Structure, UaOptionSet
| Modifier and Type | Interface and Description |
|---|---|
static interface |
OptionSetStructure.Builder
Builder for
OptionSetStructure. |
Structure.MapKind<T>UaNamespaceTranslateable.Context| Modifier and Type | Method and Description |
|---|---|
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(). |
void |
setValid(int bitPosition,
boolean valid)
Sets or clears the bit in
OptionSet.getValidBits() in the position. |
void |
setValid(OptionSpecification option,
boolean valid)
Sets or clears the bit in
OptionSet.getValidBits() in the position. |
OptionSetStructureSpecification |
specification()
Returns the specification of the given Structure.
|
OptionSetStructure.Builder |
toBuilder()
Returns a builder with the data of this Structure pre-set.
|
clear, clone, forEachField, forEachField, get, get, reduceFields, reduceFields, set, set, toFieldNamesMap, toFieldNamesMap, toFieldsMap, toFieldsMap, toMap, withTranslatedNamespacescontains, containsAll, getValue, toBitSet, toOptionsMapdefault boolean isValid(int bitPosition)
OptionSet.getValidBits().default boolean isValid(OptionSpecification option)
specification()) and it's position is set
in the OptionSet.getValidBits().void 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.void setValid(OptionSpecification option, boolean valid)
OptionSet.getValidBits() in the position. Does nothing if the
given option is not part of specification().OptionSetStructureSpecification specification()
Structurespecification in interface Structurespecification in interface UaOptionSetOptionSetStructure.Builder toBuilder()
Structure#getClass() as this one.toBuilder in interface StructuretoBuilder in interface UaOptionSetCopyright © 2026. All rights reserved.