public interface UaDataTypeSpecification extends UaNamespaceTranslateable<UaDataTypeSpecification>
StructureSpecification contains information about the fields of the Structure.UaNamespaceTranslateable.Context| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getJavaClass()
Returns the java Class that maps to this type.
|
String |
getName()
Returns the name of the type.
|
UaNodeId |
getTypeId()
Returns the DataType NodeId modeling the type.
|
String |
getXmlName()
Internal.
|
boolean |
isAbstract()
Returns true if the type is known to be abstract, false otherwise.
|
DataTypeDefinition |
toDataTypeDefinition(NamespaceTable namespaceTable)
Returns data of this
UaDataTypeSpecification as a DataTypeDefinition. |
withTranslatedNamespacesClass<?> getJavaClass()
String getName()
UaNodeId getTypeId()
String getXmlName()
boolean isAbstract()
UaDataTypeSpecification has been formed outside of client-server
communication or a NodeSet, it might not be possible to determine this information, in which
case this method returns false.DataTypeDefinition toDataTypeDefinition(NamespaceTable namespaceTable)
UaDataTypeSpecification as a DataTypeDefinition. This
method is mostly intended for SDK's internal use for the DataTypeDefinition Attribute's value
for UaDataType nodes, but may be useful in some complicated aggregation servers.
Note that not all UaDataTypeSpecifications can be converted to a
DataTypeDefinition (such as SimpleTypeSpecification), in which case this method
returns null. Enumeration and OptionSet-types (including 'OptionSet'-Structure subtypes, but
not the base 'OptionSet' Structure type) use EnumDefinition. Structures use
StructureDefinition.namespaceTable - a NamespaceTable.DataTypeDefinition based of the data of this StructureSpecification or
null in the case of SimpleTypeSpecification.IllegalArgumentException - if the given NamespaceTable cannot be used e.g. for
UaNodeId-> NodeId conversion of getTypeId().Copyright © 2026. All rights reserved.