public enum UserRestriction extends Enum<UserRestriction> implements com.foreach.across.modules.hibernate.types.BitFlag
| Enum Constant and Description |
|---|
CREDENTIALS_EXPIRED |
DISABLED |
EXPIRED |
LOCKED |
REQUIRES_CONFIRMATION |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getId() |
String |
getName() |
static UserRestriction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserRestriction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserRestriction DISABLED
public static final UserRestriction EXPIRED
public static final UserRestriction LOCKED
public static final UserRestriction CREDENTIALS_EXPIRED
public static final UserRestriction REQUIRES_CONFIRMATION
public static UserRestriction[] values()
for (UserRestriction c : UserRestriction.values()) System.out.println(c);
public static UserRestriction 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 Integer getId()
getId in interface com.foreach.across.modules.hibernate.types.BitFlaggetId in interface com.foreach.across.modules.hibernate.types.IdLookup<Integer>public String getName()
Copyright © 2020. All rights reserved.