public enum ACLLevel extends Enum<ACLLevel> implements INumberEnum<Short>
Enum Constant and Description |
---|
AUTHOR |
DEPOSITOR |
DESIGNER |
EDITOR |
MANAGER |
NOACCESS |
READER |
Modifier and Type | Method and Description |
---|---|
long |
getLongValue() |
Short |
getValue() |
boolean |
isAtLeast(ACLLevel other) |
boolean |
isGreaterThan(ACLLevel other) |
static ACLLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ACLLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ACLLevel NOACCESS
public static final ACLLevel DEPOSITOR
public static final ACLLevel READER
public static final ACLLevel AUTHOR
public static final ACLLevel EDITOR
public static final ACLLevel DESIGNER
public static final ACLLevel MANAGER
public static ACLLevel[] values()
for (ACLLevel c : ACLLevel.values()) System.out.println(c);
public static ACLLevel 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 Short getValue()
getValue
in interface INumberEnum<Short>
public long getLongValue()
getLongValue
in interface INumberEnum<Short>
long
public boolean isAtLeast(ACLLevel other)
public boolean isGreaterThan(ACLLevel other)
Copyright © 2014–2018. All rights reserved.