code: /*
   * Copyright (c) 2019 the Eclipse Milo Authors
   *
   * This program and the accompanying materials are made
   * available under the terms of the Eclipse Public License 2.0
   * which is available at https://www.eclipse.org/legal/epl-2.0/
   *
   * SPDX-License-Identifier: EPL-2.0
   */
  
  package org.eclipse.milo.opcua.sdk.core.nodes;
  
  import org.eclipse.milo.opcua.stack.core.types.builtin.DataValue;
  import org.eclipse.milo.opcua.stack.core.types.builtin.NodeId;
  import org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte;
  import org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UInteger;
  
  public interface VariableNode extends Node {
  
      DataValue getValue();
  
      NodeId getDataType();
  
      Integer getValueRank();
  
      UInteger[] getArrayDimensions();
  
      UByte getAccessLevel();
  
      UByte getUserAccessLevel();
  
      Double getMinimumSamplingInterval();
  
      Boolean getHistorizing();
  
      /**
       * Set the Value attribute of this Node.
       *
       * @param value the Value to set.
       */
      void setValue(DataValue value);
  
      /**
       * Set the DataType attribute of this Node.
       *
       * @param dataType the DataType to set.
       */
      void setDataType(NodeId dataType);
  
      void setValueRank(Integer valueRank);
  
      void setArrayDimensions(UInteger[] arrayDimensions);
  
      void setAccessLevel(UByte accessLevel);
  
      void setUserAccessLevel(UByte userAccessLevel);
  
      void setMinimumSamplingInterval(Double minimumSamplingInterval);
  
      void setHistorizing(Boolean historizing);
  
  }
  