All Implemented Interfaces:
ArrayItemType, BaseDataVariableType, BaseVariableType, DataItemType, org.eclipse.milo.opcua.sdk.core.nodes.Node, org.eclipse.milo.opcua.sdk.core.nodes.VariableNode
Direct Known Subclasses:
CubeItemTypeNode, ImageItemTypeNode, NDimensionArrayItemTypeNode, XYArrayItemTypeNode, YArrayItemTypeNode

public class ArrayItemTypeNode extends DataItemTypeNode implements ArrayItemType
  • Constructor Details

    • ArrayItemTypeNode

      public ArrayItemTypeNode(OpcUaClient client, org.eclipse.milo.opcua.stack.core.types.builtin.NodeId nodeId, org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass nodeClass, org.eclipse.milo.opcua.stack.core.types.builtin.QualifiedName browseName, org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText displayName, org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText description, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger writeMask, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger userWriteMask, org.eclipse.milo.opcua.stack.core.types.structured.RolePermissionType[] rolePermissions, org.eclipse.milo.opcua.stack.core.types.structured.RolePermissionType[] userRolePermissions, org.eclipse.milo.opcua.stack.core.types.structured.AccessRestrictionType accessRestrictions, org.eclipse.milo.opcua.stack.core.types.builtin.DataValue value, org.eclipse.milo.opcua.stack.core.types.builtin.NodeId dataType, Integer valueRank, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger[] arrayDimensions, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte accessLevel, org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte userAccessLevel, Double minimumSamplingInterval, Boolean historizing, org.eclipse.milo.opcua.stack.core.types.structured.AccessLevelExType accessLevelEx)
  • Method Details

    • getInstrumentRange

      public org.eclipse.milo.opcua.stack.core.types.structured.Range getInstrumentRange() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ArrayItemType
      Get the local value of the InstrumentRange Node.

      The returned value is the last seen; it is not read live from the server.

      Specified by:
      getInstrumentRange in interface ArrayItemType
      Returns:
      the local value of the InstrumentRange Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the InstrumentRange Node.
    • setInstrumentRange

      public void setInstrumentRange(org.eclipse.milo.opcua.stack.core.types.structured.Range value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ArrayItemType
      Set the local value of the InstrumentRange Node.

      The value is only updated locally; it is not written to the server.

      Specified by:
      setInstrumentRange in interface ArrayItemType
      Parameters:
      value - the local value to set for the InstrumentRange Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the InstrumentRange Node.
    • readInstrumentRange

      public org.eclipse.milo.opcua.stack.core.types.structured.Range readInstrumentRange() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ArrayItemType
      Read the value of the InstrumentRange Node from the server and update the local value if the operation succeeds.
      Specified by:
      readInstrumentRange in interface ArrayItemType
      Returns:
      the Range value read from the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • writeInstrumentRange

      public void writeInstrumentRange(org.eclipse.milo.opcua.stack.core.types.structured.Range value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ArrayItemType
      Write a new value for the InstrumentRange Node to the server and update the local value if the operation succeeds.
      Specified by:
      writeInstrumentRange in interface ArrayItemType
      Parameters:
      value - the Range value to write to the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • readInstrumentRangeAsync

      public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.structured.Range> readInstrumentRangeAsync()
      Description copied from interface: ArrayItemType
      An asynchronous implementation of ArrayItemType.readInstrumentRange().
      Specified by:
      readInstrumentRangeAsync in interface ArrayItemType
      Returns:
      a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
    • writeInstrumentRangeAsync

      public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeInstrumentRangeAsync(org.eclipse.milo.opcua.stack.core.types.structured.Range instrumentRange)
      Description copied from interface: ArrayItemType
      Specified by:
      writeInstrumentRangeAsync in interface ArrayItemType
      Returns:
      a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
    • getInstrumentRangeNode

      public PropertyTypeNode getInstrumentRangeNode() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ArrayItemType
      Get the InstrumentRange PropertyType Node, or null if it does not exist.

      The Node is created when first accessed and cached for subsequent calls.

      Specified by:
      getInstrumentRangeNode in interface ArrayItemType
      Returns:
      the InstrumentRange PropertyType Node, or null if it does not exist.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Node.
    • getInstrumentRangeNodeAsync

      public CompletableFuture<? extends PropertyTypeNode> getInstrumentRangeNodeAsync()
      Description copied from interface: ArrayItemType
      Asynchronous implementation of ArrayItemType.getInstrumentRangeNode().
      Specified by:
      getInstrumentRangeNodeAsync in interface ArrayItemType
      Returns:
      a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
    • getEuRange

      public org.eclipse.milo.opcua.stack.core.types.structured.Range getEuRange() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ArrayItemType
      Get the local value of the EURange Node.

      The returned value is the last seen; it is not read live from the server.

      Specified by:
      getEuRange in interface ArrayItemType
      Returns:
      the local value of the EURange Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the EURange Node.
    • setEuRange

      public void setEuRange(org.eclipse.milo.opcua.stack.core.types.structured.Range value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ArrayItemType
      Set the local value of the EURange Node.

      The value is only updated locally; it is not written to the server.

      Specified by:
      setEuRange in interface ArrayItemType
      Parameters:
      value - the local value to set for the EURange Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the EURange Node.
    • readEuRange

      public org.eclipse.milo.opcua.stack.core.types.structured.Range readEuRange() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ArrayItemType
      Read the value of the EURange Node from the server and update the local value if the operation succeeds.
      Specified by:
      readEuRange in interface ArrayItemType
      Returns:
      the Range value read from the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • writeEuRange

      public void writeEuRange(org.eclipse.milo.opcua.stack.core.types.structured.Range value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ArrayItemType
      Write a new value for the EURange Node to the server and update the local value if the operation succeeds.
      Specified by:
      writeEuRange in interface ArrayItemType
      Parameters:
      value - the Range value to write to the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • readEuRangeAsync

      public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.structured.Range> readEuRangeAsync()
      Description copied from interface: ArrayItemType
      An asynchronous implementation of ArrayItemType.readEuRange().
      Specified by:
      readEuRangeAsync in interface ArrayItemType
      Returns:
      a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
    • writeEuRangeAsync

      public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeEuRangeAsync(org.eclipse.milo.opcua.stack.core.types.structured.Range euRange)
      Description copied from interface: ArrayItemType
      Specified by:
      writeEuRangeAsync in interface ArrayItemType
      Returns:
      a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
    • getEuRangeNode

      public PropertyTypeNode getEuRangeNode() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ArrayItemType
      Get the EURange PropertyType Node, or null if it does not exist.

      The Node is created when first accessed and cached for subsequent calls.

      Specified by:
      getEuRangeNode in interface ArrayItemType
      Returns:
      the EURange PropertyType Node, or null if it does not exist.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Node.
    • getEuRangeNodeAsync

      public CompletableFuture<? extends PropertyTypeNode> getEuRangeNodeAsync()
      Description copied from interface: ArrayItemType
      Asynchronous implementation of ArrayItemType.getEuRangeNode().
      Specified by:
      getEuRangeNodeAsync in interface ArrayItemType
      Returns:
      a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
    • getEngineeringUnits

      public org.eclipse.milo.opcua.stack.core.types.structured.EUInformation getEngineeringUnits() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ArrayItemType
      Get the local value of the EngineeringUnits Node.

      The returned value is the last seen; it is not read live from the server.

      Specified by:
      getEngineeringUnits in interface ArrayItemType
      Returns:
      the local value of the EngineeringUnits Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the EngineeringUnits Node.
    • setEngineeringUnits

      public void setEngineeringUnits(org.eclipse.milo.opcua.stack.core.types.structured.EUInformation value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ArrayItemType
      Set the local value of the EngineeringUnits Node.

      The value is only updated locally; it is not written to the server.

      Specified by:
      setEngineeringUnits in interface ArrayItemType
      Parameters:
      value - the local value to set for the EngineeringUnits Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the EngineeringUnits Node.
    • readEngineeringUnits

      public org.eclipse.milo.opcua.stack.core.types.structured.EUInformation readEngineeringUnits() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ArrayItemType
      Read the value of the EngineeringUnits Node from the server and update the local value if the operation succeeds.
      Specified by:
      readEngineeringUnits in interface ArrayItemType
      Returns:
      the EUInformation value read from the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • writeEngineeringUnits

      public void writeEngineeringUnits(org.eclipse.milo.opcua.stack.core.types.structured.EUInformation value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ArrayItemType
      Write a new value for the EngineeringUnits Node to the server and update the local value if the operation succeeds.
      Specified by:
      writeEngineeringUnits in interface ArrayItemType
      Parameters:
      value - the EUInformation value to write to the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • readEngineeringUnitsAsync

      public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.structured.EUInformation> readEngineeringUnitsAsync()
      Description copied from class: UaVariableNode
      Get the value of the VariableNodeProperties.EngineeringUnits Property, if it exists.
      Specified by:
      readEngineeringUnitsAsync in interface ArrayItemType
      Overrides:
      readEngineeringUnitsAsync in class UaVariableNode
      Returns:
      the value of the EngineeringUnits Property, if it exists.
      See Also:
      • VariableNodeProperties
    • writeEngineeringUnitsAsync

      public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeEngineeringUnitsAsync(org.eclipse.milo.opcua.stack.core.types.structured.EUInformation engineeringUnits)
      Description copied from class: UaVariableNode
      Set the value of the VariableNodeProperties.EngineeringUnits Property, if it exists.
      Specified by:
      writeEngineeringUnitsAsync in interface ArrayItemType
      Overrides:
      writeEngineeringUnitsAsync in class UaVariableNode
      Parameters:
      engineeringUnits - the value to set.
      Returns:
      a CompletableFuture that completes with the StatusCode of the write operation.
      See Also:
      • VariableNodeProperties
    • getEngineeringUnitsNode

      public PropertyTypeNode getEngineeringUnitsNode() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ArrayItemType
      Get the EngineeringUnits PropertyType Node, or null if it does not exist.

      The Node is created when first accessed and cached for subsequent calls.

      Specified by:
      getEngineeringUnitsNode in interface ArrayItemType
      Returns:
      the EngineeringUnits PropertyType Node, or null if it does not exist.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Node.
    • getEngineeringUnitsNodeAsync

      public CompletableFuture<? extends PropertyTypeNode> getEngineeringUnitsNodeAsync()
      Description copied from interface: ArrayItemType
      Asynchronous implementation of ArrayItemType.getEngineeringUnitsNode().
      Specified by:
      getEngineeringUnitsNodeAsync in interface ArrayItemType
      Returns:
      a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
    • getTitle

      public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText getTitle() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ArrayItemType
      Get the local value of the Title Node.

      The returned value is the last seen; it is not read live from the server.

      Specified by:
      getTitle in interface ArrayItemType
      Returns:
      the local value of the Title Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Title Node.
    • setTitle

      public void setTitle(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ArrayItemType
      Set the local value of the Title Node.

      The value is only updated locally; it is not written to the server.

      Specified by:
      setTitle in interface ArrayItemType
      Parameters:
      value - the local value to set for the Title Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Title Node.
    • readTitle

      public org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText readTitle() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ArrayItemType
      Read the value of the Title Node from the server and update the local value if the operation succeeds.
      Specified by:
      readTitle in interface ArrayItemType
      Returns:
      the LocalizedText value read from the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • writeTitle

      public void writeTitle(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ArrayItemType
      Write a new value for the Title Node to the server and update the local value if the operation succeeds.
      Specified by:
      writeTitle in interface ArrayItemType
      Parameters:
      value - the LocalizedText value to write to the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • readTitleAsync

      public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText> readTitleAsync()
      Description copied from interface: ArrayItemType
      An asynchronous implementation of ArrayItemType.readTitle().
      Specified by:
      readTitleAsync in interface ArrayItemType
      Returns:
      a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
    • writeTitleAsync

      public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeTitleAsync(org.eclipse.milo.opcua.stack.core.types.builtin.LocalizedText title)
      Description copied from interface: ArrayItemType
      Specified by:
      writeTitleAsync in interface ArrayItemType
      Returns:
      a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
    • getTitleNode

      public PropertyTypeNode getTitleNode() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ArrayItemType
      Get the Title PropertyType Node, or null if it does not exist.

      The Node is created when first accessed and cached for subsequent calls.

      Specified by:
      getTitleNode in interface ArrayItemType
      Returns:
      the Title PropertyType Node, or null if it does not exist.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Node.
    • getTitleNodeAsync

      public CompletableFuture<? extends PropertyTypeNode> getTitleNodeAsync()
      Description copied from interface: ArrayItemType
      Asynchronous implementation of ArrayItemType.getTitleNode().
      Specified by:
      getTitleNodeAsync in interface ArrayItemType
      Returns:
      a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.
    • getAxisScaleType

      public org.eclipse.milo.opcua.stack.core.types.enumerated.AxisScaleEnumeration getAxisScaleType() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ArrayItemType
      Get the local value of the AxisScaleType Node.

      The returned value is the last seen; it is not read live from the server.

      Specified by:
      getAxisScaleType in interface ArrayItemType
      Returns:
      the local value of the AxisScaleType Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the AxisScaleType Node.
    • setAxisScaleType

      public void setAxisScaleType(org.eclipse.milo.opcua.stack.core.types.enumerated.AxisScaleEnumeration value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ArrayItemType
      Set the local value of the AxisScaleType Node.

      The value is only updated locally; it is not written to the server.

      Specified by:
      setAxisScaleType in interface ArrayItemType
      Parameters:
      value - the local value to set for the AxisScaleType Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the AxisScaleType Node.
    • readAxisScaleType

      public org.eclipse.milo.opcua.stack.core.types.enumerated.AxisScaleEnumeration readAxisScaleType() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ArrayItemType
      Read the value of the AxisScaleType Node from the server and update the local value if the operation succeeds.
      Specified by:
      readAxisScaleType in interface ArrayItemType
      Returns:
      the AxisScaleEnumeration value read from the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • writeAxisScaleType

      public void writeAxisScaleType(org.eclipse.milo.opcua.stack.core.types.enumerated.AxisScaleEnumeration value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ArrayItemType
      Write a new value for the AxisScaleType Node to the server and update the local value if the operation succeeds.
      Specified by:
      writeAxisScaleType in interface ArrayItemType
      Parameters:
      value - the AxisScaleEnumeration value to write to the server.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if a service- or operation-level error occurs.
    • readAxisScaleTypeAsync

      public CompletableFuture<? extends org.eclipse.milo.opcua.stack.core.types.enumerated.AxisScaleEnumeration> readAxisScaleTypeAsync()
      Description copied from interface: ArrayItemType
      An asynchronous implementation of ArrayItemType.readAxisScaleType().
      Specified by:
      readAxisScaleTypeAsync in interface ArrayItemType
      Returns:
      a CompletableFuture that completes successfully with the value or completes exceptionally if an operation- or service-level error occurs.
    • writeAxisScaleTypeAsync

      public CompletableFuture<org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode> writeAxisScaleTypeAsync(org.eclipse.milo.opcua.stack.core.types.enumerated.AxisScaleEnumeration axisScaleType)
      Description copied from interface: ArrayItemType
      Specified by:
      writeAxisScaleTypeAsync in interface ArrayItemType
      Returns:
      a CompletableFuture that completes successfully with the operation result or completes exceptionally if a service-level error occurs.
    • getAxisScaleTypeNode

      public PropertyTypeNode getAxisScaleTypeNode() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: ArrayItemType
      Get the AxisScaleType PropertyType Node, or null if it does not exist.

      The Node is created when first accessed and cached for subsequent calls.

      Specified by:
      getAxisScaleTypeNode in interface ArrayItemType
      Returns:
      the AxisScaleType PropertyType Node, or null if it does not exist.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the Node.
    • getAxisScaleTypeNodeAsync

      public CompletableFuture<? extends PropertyTypeNode> getAxisScaleTypeNodeAsync()
      Description copied from interface: ArrayItemType
      Asynchronous implementation of ArrayItemType.getAxisScaleTypeNode().
      Specified by:
      getAxisScaleTypeNodeAsync in interface ArrayItemType
      Returns:
      a CompletableFuture that completes successfully with the PropertyType Node or completes exceptionally if an error occurs creating or getting the Node.