Enum Class AccessLevel

java.lang.Object
java.lang.Enum<AccessLevel>
org.eclipse.milo.opcua.sdk.core.AccessLevel
All Implemented Interfaces:
Serializable, Comparable<AccessLevel>, Constable

public enum AccessLevel extends Enum<AccessLevel>
  • Enum Constant Details

    • CurrentRead

      public static final AccessLevel CurrentRead
    • CurrentWrite

      public static final AccessLevel CurrentWrite
    • HistoryRead

      public static final AccessLevel HistoryRead
    • HistoryWrite

      public static final AccessLevel HistoryWrite
    • SemanticChange

      public static final AccessLevel SemanticChange
    • StatusWrite

      public static final AccessLevel StatusWrite
    • TimestampWrite

      public static final AccessLevel TimestampWrite
  • Field Details

  • Method Details

    • values

      public static AccessLevel[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AccessLevel valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()
    • fromValue

      public static EnumSet<AccessLevel> fromValue(org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte accessLevel)
      Create a Set of AccessLevel from the accessLevel value.
      Parameters:
      accessLevel - a UByte value.
      Returns:
      the Set of AccessLevel indicated by accessValue.
    • fromValue

      public static EnumSet<AccessLevel> fromValue(int accessLevel)
      Create a Set of AccessLevel from the accessLevel value.
      Parameters:
      accessLevel - an int value.
      Returns:
      the Set of AccessLevel indicated by accessValue.
    • toValue

      public static org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte toValue(AccessLevel... levels)
      Convert levels to a UByte value for the AccessLevel or UserAccessLevel attribute.
      Parameters:
      levels - the AccessLevels to include in the value.
      Returns:
      a value for the AccessLevel or UserAccessLevel attribute.
    • toValue

      public static org.eclipse.milo.opcua.stack.core.types.builtin.unsigned.UByte toValue(Set<AccessLevel> levels)
      Convert levels to a UByte value for the AccessLevel or UserAccessLevel attribute.
      Parameters:
      levels - the AccessLevels to include in the value.
      Returns:
      a value for the AccessLevel or UserAccessLevel attribute.