public enum AccessorType extends Enum<AccessorType>
| Modifier and Type | Class and Description |
|---|---|
static class |
AccessorType.Values
String constants to use as a discriminator
|
| Modifier and Type | Method and Description |
|---|---|
static AccessorType |
of(int intValue) |
Accessor |
toAccessor(Long id) |
static AccessorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccessorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccessorType USER
public static final AccessorType GROUP
public static AccessorType[] values()
for (AccessorType c : AccessorType.values()) System.out.println(c);
public static AccessorType 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 static AccessorType of(int intValue)
Copyright © 2018–2021 Tesler. All rights reserved.