public static enum CoreString.RestrictionType extends Enum<CoreString.RestrictionType>
| Enum Constant and Description |
|---|
NOT_ALLOWED |
REQUIRE_CONSENT |
REQUIRE_LEGITIMATE_INTEREST |
UNDEFINED |
| Modifier and Type | Method and Description |
|---|---|
static CoreString.RestrictionType |
byId(long id) |
long |
id() |
static CoreString.RestrictionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CoreString.RestrictionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CoreString.RestrictionType NOT_ALLOWED
public static final CoreString.RestrictionType REQUIRE_CONSENT
public static final CoreString.RestrictionType REQUIRE_LEGITIMATE_INTEREST
public static final CoreString.RestrictionType UNDEFINED
public static CoreString.RestrictionType[] values()
for (CoreString.RestrictionType c : CoreString.RestrictionType.values()) System.out.println(c);
public static CoreString.RestrictionType 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 long id()
public static CoreString.RestrictionType byId(long id)
Copyright © 2020. All rights reserved.