Package de.xima.fc.mdl.enums
Enum EPasswordPolicy
- java.lang.Object
-
- java.lang.Enum<EPasswordPolicy>
-
- de.xima.fc.mdl.enums.EPasswordPolicy
-
- All Implemented Interfaces:
Serializable
,Comparable<EPasswordPolicy>
public enum EPasswordPolicy extends Enum<EPasswordPolicy>
- Author:
- XIMA MEDIA GmbH
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MIN_LENGTH
RULE_ALPABETICAL
RULE_DIGITS
RULE_LOWERCASE
RULE_SYMBOLS
RULE_UPPPERCASE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EPasswordPolicy
byPropertyKey(String key)
<T> T
convertValue(String value)
String
getDefaultValue()
<T> T
getDefaultValueByType()
String
getPropertyKey()
Class<?>
getValueDataType()
static Stream<EPasswordPolicy>
stream()
static EPasswordPolicy
valueOf(String name)
Returns the enum constant of this type with the specified name.static EPasswordPolicy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MIN_LENGTH
public static final EPasswordPolicy MIN_LENGTH
-
RULE_ALPABETICAL
public static final EPasswordPolicy RULE_ALPABETICAL
-
RULE_UPPPERCASE
public static final EPasswordPolicy RULE_UPPPERCASE
-
RULE_LOWERCASE
public static final EPasswordPolicy RULE_LOWERCASE
-
RULE_DIGITS
public static final EPasswordPolicy RULE_DIGITS
-
RULE_SYMBOLS
public static final EPasswordPolicy RULE_SYMBOLS
-
-
Method Detail
-
values
public static EPasswordPolicy[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EPasswordPolicy c : EPasswordPolicy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EPasswordPolicy valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getPropertyKey
public String getPropertyKey()
-
byPropertyKey
public static EPasswordPolicy byPropertyKey(String key)
-
getDefaultValueByType
public <T> T getDefaultValueByType()
-
getDefaultValue
public String getDefaultValue()
-
getValueDataType
public Class<?> getValueDataType()
-
convertValue
public <T> T convertValue(String value)
-
stream
public static Stream<EPasswordPolicy> stream()
-
-