public enum AccessLevel extends Enum<AccessLevel>
| Enum Constant and Description |
|---|
CurrentRead |
CurrentWrite |
HistoryRead |
HistoryWrite |
SemanticChange |
StatusWrite |
TimestampWrite |
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.collect.ImmutableSet<AccessLevel> |
HISTORY_READ_ONLY |
static com.google.common.collect.ImmutableSet<AccessLevel> |
HISTORY_READ_WRITE |
static com.google.common.collect.ImmutableSet<AccessLevel> |
NONE |
static com.google.common.collect.ImmutableSet<AccessLevel> |
READ_ONLY |
static com.google.common.collect.ImmutableSet<AccessLevel> |
READ_WRITE |
static com.google.common.collect.ImmutableSet<AccessLevel> |
WRITE_ONLY |
| Modifier and Type | Method and Description |
|---|---|
static EnumSet<AccessLevel> |
fromValue(int accessLevel)
Create a Set of
AccessLevel from the accessLevel value. |
static EnumSet<AccessLevel> |
fromValue(UByte accessLevel)
Create a Set of
AccessLevel from the accessLevel value. |
int |
getValue() |
static UByte |
toValue(AccessLevel... levels)
Convert
levels to a UByte value for the AccessLevel or UserAccessLevel attribute. |
static UByte |
toValue(Set<AccessLevel> levels)
Convert
levels to a UByte value for the AccessLevel or UserAccessLevel attribute. |
static AccessLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
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 final AccessLevel StatusWrite
public static final AccessLevel TimestampWrite
public static final com.google.common.collect.ImmutableSet<AccessLevel> NONE
public static final com.google.common.collect.ImmutableSet<AccessLevel> READ_ONLY
public static final com.google.common.collect.ImmutableSet<AccessLevel> WRITE_ONLY
public static final com.google.common.collect.ImmutableSet<AccessLevel> READ_WRITE
public static final com.google.common.collect.ImmutableSet<AccessLevel> HISTORY_READ_ONLY
public static final com.google.common.collect.ImmutableSet<AccessLevel> HISTORY_READ_WRITE
public static AccessLevel[] values()
for (AccessLevel c : AccessLevel.values()) System.out.println(c);
public static AccessLevel valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getValue()
public static EnumSet<AccessLevel> fromValue(UByte accessLevel)
AccessLevel from the accessLevel value.accessLevel - a UByte value.AccessLevel indicated by accessValue.public static EnumSet<AccessLevel> fromValue(int accessLevel)
AccessLevel from the accessLevel value.accessLevel - an int value.AccessLevel indicated by accessValue.public static UByte toValue(AccessLevel... levels)
levels to a UByte value for the AccessLevel or UserAccessLevel attribute.levels - the AccessLevels to include in the value.public static UByte toValue(Set<AccessLevel> levels)
levels to a UByte value for the AccessLevel or UserAccessLevel attribute.levels - the AccessLevels to include in the value.Copyright © 2025. All rights reserved.