java.lang.Object
org.eclipse.milo.opcua.sdk.core.types.DynamicType
All Implemented Interfaces:
org.eclipse.milo.opcua.stack.core.types.UaDataType
Direct Known Subclasses:
DynamicEnumType, DynamicOptionSetType, DynamicStructType, DynamicUnionType

public abstract sealed class DynamicType extends Object implements org.eclipse.milo.opcua.stack.core.types.UaDataType permits DynamicEnumType, DynamicOptionSetType, DynamicStructType, DynamicUnionType
Base class for an instance of a "dynamic" type, i.e. one that is defined dynamically at runtime as opposed to statically at compile time.
  • Constructor Details

    • DynamicType

      public DynamicType()
  • Method Details

    • getTypeName

      public String getTypeName()
      Specified by:
      getTypeName in interface org.eclipse.milo.opcua.stack.core.types.UaDataType
    • getDataType

      public abstract DataType getDataType()
      Get the DataType that defines this type.
      Returns:
      the DataType that defines this type.
    • getDataTypeDefinition

      public abstract org.eclipse.milo.opcua.stack.core.types.structured.DataTypeDefinition getDataTypeDefinition()
      Get the DataTypeDefinition that defines this type.

      Subclasses may refine the return type to either EnumDefinition or StructureDefinition.

      Returns:
      the DataTypeDefinition that defines this type.