public enum GcubeUserRole extends Enum<GcubeUserRole>
| Enum Constant and Description |
|---|
DATA_EDITOR |
DATA_MANAGER |
DATA_MEMBER |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
boolean |
isWriteAny() |
boolean |
isWriteOwn() |
void |
setName(String name) |
void |
setWriteAny(boolean writeAny) |
void |
setWriteOwn(boolean writeOwn) |
static GcubeUserRole |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GcubeUserRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GcubeUserRole DATA_MEMBER
public static final GcubeUserRole DATA_EDITOR
public static final GcubeUserRole DATA_MANAGER
public static GcubeUserRole[] values()
for (GcubeUserRole c : GcubeUserRole.values()) System.out.println(c);
public static GcubeUserRole 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 String getName()
public boolean isWriteOwn()
public boolean isWriteAny()
public void setName(String name)
public void setWriteOwn(boolean writeOwn)
public void setWriteAny(boolean writeAny)
Copyright © 2022. All Rights Reserved.