public static enum OptionSet.Fields extends Enum<OptionSet.Fields> implements FieldSpecification
OptionSet Structure.FieldSpecification.BuilderUaNamespaceTranslateable.Context| Modifier and Type | Method and Description |
|---|---|
UaArrayDimensions |
getArrayDimensions()
Returns ArrayDimensions of the field (or null if not known).
|
UaNodeId |
getDataTypeId()
Returns the DataType node's NodeId of the UA type of this field.
|
String |
getDescription()
Returns Description of the field.
|
int |
getFieldIndex()
Returns a "field index" position of this field.
|
Class<?> |
getJavaClass()
Returns the java Class of the field.
|
int |
getJavaClassDimensions()
Returns the dimensions this field has.
|
int |
getMaxStringLength()
Maximum length of a String this field can have (or 0 if not known or the field is not a String
type).
|
String |
getName()
Returns the name of the field.
|
int |
getValueRank()
Returns the ValueRank defining the number of dimensions of the field.
|
boolean |
isAllowSubTypes()
Returns true if the field allows sub types to be set.
|
boolean |
isArray()
Returns true if this field is an (potentially multidimensional) array.
|
boolean |
isOptional()
Returns true if the field is optional.
|
static OptionSet.Fields |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OptionSet.Fields[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfbuilder, getCompositeClass, getEncodeTypeId, getXmlName, toBuilder, withTranslatedNamespacespublic static final OptionSet.Fields Value
public static final OptionSet.Fields ValidBits
public static OptionSet.Fields[] values()
for (OptionSet.Fields c : OptionSet.Fields.values()) System.out.println(c);
public static OptionSet.Fields 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 UaArrayDimensions getArrayDimensions()
FieldSpecificationgetArrayDimensions in interface FieldSpecificationpublic UaNodeId getDataTypeId()
FieldSpecificationgetDataTypeId in interface FieldSpecificationpublic String getDescription()
FieldSpecificationgetDescription in interface FieldSpecificationpublic int getFieldIndex()
FieldSpecificationgetFieldIndex in interface FieldSpecificationpublic Class<?> getJavaClass()
FieldSpecificationgetJavaClass in interface FieldSpecificationpublic int getJavaClassDimensions()
FieldSpecificationFieldSpecification.getValueRank(), for scalar this returns 0.getJavaClassDimensions in interface FieldSpecificationpublic int getMaxStringLength()
FieldSpecificationgetMaxStringLength in interface FieldSpecificationpublic String getName()
FieldSpecificationgetName in interface FieldSpecificationpublic int getValueRank()
FieldSpecificationgetValueRank in interface FieldSpecificationpublic boolean isAllowSubTypes()
FieldSpecificationisAllowSubTypes in interface FieldSpecificationpublic boolean isArray()
FieldSpecificationisArray in interface FieldSpecificationpublic boolean isOptional()
FieldSpecificationisOptional in interface FieldSpecificationCopyright © 2026. All rights reserved.