All Superinterfaces:
TypeTree.Type

public interface DataType extends TypeTree.Type
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable org.eclipse.milo.opcua.stack.core.types.builtin.NodeId
    Get the NodeId of the Binary Encoding Node for this DataType, if it exists.
    org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName
    Get the Browse Name of this DataType.
    @Nullable org.eclipse.milo.opcua.stack.core.types.structured.DataTypeDefinition
    Get the DataTypeDefinition of this DataType.
    @Nullable org.eclipse.milo.opcua.stack.core.types.builtin.NodeId
    Get the NodeId of the JSON Encoding Node for this DataType, if it exists.
    org.eclipse.milo.opcua.stack.core.types.builtin.NodeId
    Get the NodeId of this DataType.
    @Nullable org.eclipse.milo.opcua.stack.core.types.builtin.NodeId
    Get the NodeId of the XML Encoding Node for this DataType, if it exists.
    Get whether this DataType is abstract.
  • Method Details

    • getBrowseName

      org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName getBrowseName()
      Get the Browse Name of this DataType.
      Returns:
      the Browse Name of this DataType.
    • getNodeId

      org.eclipse.milo.opcua.stack.core.types.builtin.NodeId getNodeId()
      Get the NodeId of this DataType.
      Specified by:
      getNodeId in interface TypeTree.Type
      Returns:
      the NodeId of this DataType.
    • getBinaryEncodingId

      @Nullable org.eclipse.milo.opcua.stack.core.types.builtin.NodeId getBinaryEncodingId()
      Get the NodeId of the Binary Encoding Node for this DataType, if it exists.

      Only Structured DataTypes have encoding ids.

      Returns:
      the NodeId of the Binary Encoding Node for this DataType, if it exists.
    • getXmlEncodingId

      @Nullable org.eclipse.milo.opcua.stack.core.types.builtin.NodeId getXmlEncodingId()
      Get the NodeId of the XML Encoding Node for this DataType, if it exists.

      Only Structured DataTypes have encoding ids.

      Returns:
      the NodeId of the XML Encoding Node for this DataType, if it exists.
    • getJsonEncodingId

      @Nullable org.eclipse.milo.opcua.stack.core.types.builtin.NodeId getJsonEncodingId()
      Get the NodeId of the JSON Encoding Node for this DataType, if it exists.

      Only Structured DataTypes have encoding ids.

      Returns:
      the NodeId of the JSON Encoding Node for this DataType, if it exists.
    • getDataTypeDefinition

      @Nullable org.eclipse.milo.opcua.stack.core.types.structured.DataTypeDefinition getDataTypeDefinition()
      Get the DataTypeDefinition of this DataType.

      Only Structured and Enumerated DataTypes have a DataTypeDefinition.

      Returns:
      the DataTypeDefinition of this DataType.
    • isAbstract

      Boolean isAbstract()
      Get whether this DataType is abstract.
      Returns:
      true if this DataType is abstract.