public static enum StructureSpecification.StructureType extends Enum<StructureSpecification.StructureType>
Structure. Optional Structures and Unions have a special mask encoded as
their first field, which defines what optional fields or which union field is encoded.| Enum Constant and Description |
|---|
NORMAL
A normal Structure.
|
OPTIONAL
A Structure where some fields have been marked as optional.
|
SUBTYPES
A Structure added in OPC UA 1.04.10 errata that allows subtypes to be used in marked fields.
|
UNION
A Structure that has zero or exactly one of it's fields present in the binary stream.
|
UNION_SUBTYPES
A Structure added in OPC UA 1.04.10 errata that allows subtypes to be used in marked fields,
but only one of these fields at most can be present in the binary stream.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isUnion()
Returns true, if this is
UNION or UNION_SUBTYPES. |
static StructureSpecification.StructureType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StructureSpecification.StructureType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StructureSpecification.StructureType NORMAL
public static final StructureSpecification.StructureType OPTIONAL
public static final StructureSpecification.StructureType UNION
public static final StructureSpecification.StructureType SUBTYPES
public static final StructureSpecification.StructureType UNION_SUBTYPES
public static StructureSpecification.StructureType[] values()
for (StructureSpecification.StructureType c : StructureSpecification.StructureType.values()) System.out.println(c);
public static StructureSpecification.StructureType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean isUnion()
UNION or UNION_SUBTYPES.Copyright © 2026. All rights reserved.