public enum PrincipalClass extends Enum<PrincipalClass>
| Enum Constant and Description |
|---|
GROUP |
ITEM |
PROJECT_GROUP |
| Modifier and Type | Method and Description |
|---|---|
UUID |
classCode() |
static PrincipalClass |
fromIType(UUID iType) |
static PrincipalClass |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrincipalClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrincipalClass ITEM
public static final PrincipalClass GROUP
public static final PrincipalClass PROJECT_GROUP
public static PrincipalClass[] values()
for (PrincipalClass c : PrincipalClass.values()) System.out.println(c);
public static PrincipalClass 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 UUID classCode()
public static PrincipalClass fromIType(UUID iType)
Copyright © 2017. All Rights Reserved.