All Implemented Interfaces:
ArrayItemType, BaseDataVariableType, BaseVariableType, DataItemType, XYArrayItemType, org.eclipse.milo.opcua.sdk.core.nodes.Node, org.eclipse.milo.opcua.sdk.core.nodes.VariableNode

public class XYArrayItemTypeNode extends ArrayItemTypeNode implements XYArrayItemType
  • Constructor Details

    • XYArrayItemTypeNode

      public XYArrayItemTypeNode(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

    • getXAxisDefinition

      public org.eclipse.milo.opcua.stack.core.types.structured.AxisInformation getXAxisDefinition() throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: XYArrayItemType
      Get the local value of the XAxisDefinition Node.

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

      Specified by:
      getXAxisDefinition in interface XYArrayItemType
      Returns:
      the local value of the XAxisDefinition Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the XAxisDefinition Node.
    • setXAxisDefinition

      public void setXAxisDefinition(org.eclipse.milo.opcua.stack.core.types.structured.AxisInformation value) throws org.eclipse.milo.opcua.stack.core.UaException
      Description copied from interface: XYArrayItemType
      Set the local value of the XAxisDefinition Node.

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

      Specified by:
      setXAxisDefinition in interface XYArrayItemType
      Parameters:
      value - the local value to set for the XAxisDefinition Node.
      Throws:
      org.eclipse.milo.opcua.stack.core.UaException - if an error occurs creating or getting the XAxisDefinition Node.
    • readXAxisDefinition

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

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

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

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

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

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

      Specified by:
      getXAxisDefinitionNode in interface XYArrayItemType
      Returns:
      the XAxisDefinition 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.
    • getXAxisDefinitionNodeAsync

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