public static enum QueryFirstRequest.Fields extends Enum<QueryFirstRequest.Fields> implements FieldSpecification
FieldSpecification.BuilderUaNamespaceTranslateable.Context| Enum Constant and Description |
|---|
Filter |
MaxDataSetsToReturn |
MaxReferencesToReturn |
NodeTypes |
RequestHeader |
View |
| Modifier and Type | Method and Description |
|---|---|
UaArrayDimensions |
getArrayDimensions()
Returns ArrayDimensions of the field (or null if not known).
|
Class<?> |
getCompositeClass()
Returns the "non-array" version of type (the
Class) of the field. |
UaNodeId |
getDataTypeId()
Returns the DataType node's NodeId of the UA type of this field.
|
String |
getDescription()
Returns Description of the field.
|
UaNodeId |
getEncodeTypeId()
Mostly for internal use.
|
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.
|
String |
getXmlName()
Internal.
|
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 QueryFirstRequest.Fields |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryFirstRequest.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, toBuilder, withTranslatedNamespacespublic static final QueryFirstRequest.Fields RequestHeader
public static final QueryFirstRequest.Fields View
public static final QueryFirstRequest.Fields NodeTypes
public static final QueryFirstRequest.Fields Filter
public static final QueryFirstRequest.Fields MaxDataSetsToReturn
public static final QueryFirstRequest.Fields MaxReferencesToReturn
public static QueryFirstRequest.Fields[] values()
for (QueryFirstRequest.Fields c : QueryFirstRequest.Fields.values()) System.out.println(c);
public static QueryFirstRequest.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 Class<?> getCompositeClass()
FieldSpecificationClass) of the field. For scalar values
this is the same as FieldSpecification.getJavaClass(), for array fields this is the element type of the
array.getCompositeClass in interface FieldSpecificationpublic UaNodeId getDataTypeId()
FieldSpecificationgetDataTypeId in interface FieldSpecificationpublic String getDescription()
FieldSpecificationgetDescription in interface FieldSpecificationpublic UaNodeId getEncodeTypeId()
FieldSpecificationFieldSpecification.isAllowSubTypes() returns the same as
FieldSpecification.getDataTypeId(). For AllowSubTypes fields returns UaDataTypeIds.Structure for
Structure fields and UaDataTypeIds.BaseDataType for others (AllowSubTypes fields are
binary-encoded as ExtensionObject or Variant, depending on the type).getEncodeTypeId 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 String getXmlName()
FieldSpecificationFieldSpecification.getName() if more context is available, such as symbolic names in NodeSet documents.
Returns same as FieldSpecification.getName() if there no such context.getXmlName 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.