public class InternalStructureUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static UaNodeId |
encodeTypeFor(Class<?> fieldCompositeClass,
boolean isAllowSubTypes,
UaNodeId fieldDataType)
For allowsubtypes fields returns either Structure or BaseDataType identifier depending on the
field composite class, otherwise returns the field datatype.
|
static void |
setBuilderFieldUnsafe(Structure.Builder builder,
FieldSpecification field,
Object value)
Sets a field of
Structure.Builder without checks that does the field exist nor that is
the value of correct type. |
static void |
setFieldUnsafe(Structure structure,
FieldSpecification field,
Object value)
Sets a field of
Structure without checks that does the field exist nor that is the
value of correct type. |
public static UaNodeId encodeTypeFor(Class<?> fieldCompositeClass, boolean isAllowSubTypes, UaNodeId fieldDataType)
public static void setBuilderFieldUnsafe(Structure.Builder builder, FieldSpecification field, Object value)
Structure.Builder without checks that does the field exist nor that is
the value of correct type.public static void setFieldUnsafe(Structure structure, FieldSpecification field, Object value)
Structure without checks that does the field exist nor that is the
value of correct type.Copyright © 2026. All rights reserved.