public enum AccessLevel extends java.lang.Enum<AccessLevel>
The AccessLevel Attribute is used to indicate how the Value of a Variable can be accessed (read/write) and if it contains current and/or historic data.
The AccessLevel does not take any user access rights into account, i.e. although the Variable is writable this may be restricted to a certain user / user group.
Enum Constant and Description |
---|
CurrentRead
Indicates the current value is readable.
|
CurrentWrite
Indicates the current value is writable.
|
HistoryRead
Indicates the history of the value is readable.
|
HistoryWrite
Indicates the history of the value is writable.
|
SemanticChange
Indicates if the Variable used as Property generates SemanticsChangedEvents.
|
Modifier and Type | Method and Description |
---|---|
byte |
value() |
static AccessLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static byte |
valueOfSet(java.util.EnumSet<AccessLevel> levels) |
static AccessLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccessLevel CurrentRead
public static final AccessLevel CurrentWrite
public static final AccessLevel HistoryRead
public static final AccessLevel HistoryWrite
public static final AccessLevel SemanticChange
public static AccessLevel[] values()
for (AccessLevel c : AccessLevel.values()) System.out.println(c);
public static AccessLevel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic byte value()
public static byte valueOfSet(java.util.EnumSet<AccessLevel> levels)