public enum PasswordType extends Enum<PasswordType> implements org.eclipse.emf.common.util.Enumerator
OsgiPackage.getPasswordType()| Enum Constant and Description |
|---|
MD5_HEX
The 'MD5 HEX' literal object.
|
PLAIN
The 'PLAIN' literal object.
|
PLAIN_IGNORE_CASE
The 'PLAIN IGNORE CASE' literal object.
|
SHA1_HEX
The 'SHA1 HEX' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
MD5_HEX_VALUE
The 'MD5 HEX' literal value.
|
static int |
PLAIN_IGNORE_CASE_VALUE
The 'PLAIN IGNORE CASE' literal value.
|
static int |
PLAIN_VALUE
The 'PLAIN' literal value.
|
static int |
SHA1_HEX_VALUE
The 'SHA1 HEX' literal value.
|
static List<PasswordType> |
VALUES
A public read-only list of all the 'Password Type' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static PasswordType |
get(int value)
Returns the 'Password Type' literal with the specified integer value.
|
static PasswordType |
get(String literal)
Returns the 'Password Type' literal with the specified literal value.
|
static PasswordType |
getByName(String name)
Returns the 'Password Type' literal with the specified name.
|
String |
getLiteral() |
String |
getName() |
int |
getValue() |
String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static PasswordType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PasswordType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PasswordType PLAIN
PLAIN_VALUEpublic static final PasswordType PLAIN_IGNORE_CASE
PLAIN_IGNORE_CASE_VALUEpublic static final PasswordType MD5_HEX
MD5_HEX_VALUEpublic static final PasswordType SHA1_HEX
SHA1_HEX_VALUEpublic static final int PLAIN_VALUE
If the meaning of 'PLAIN' literal object isn't clear, there really should be more of a description here...
PLAIN,
Constant Field Valuespublic static final int PLAIN_IGNORE_CASE_VALUE
If the meaning of 'PLAIN IGNORE CASE' literal object isn't clear, there really should be more of a description here...
PLAIN_IGNORE_CASE,
Constant Field Valuespublic static final int MD5_HEX_VALUE
If the meaning of 'MD5 HEX' literal object isn't clear, there really should be more of a description here...
MD5_HEX,
Constant Field Valuespublic static final int SHA1_HEX_VALUE
If the meaning of 'SHA1 HEX' literal object isn't clear, there really should be more of a description here...
SHA1_HEX,
Constant Field Valuespublic static final List<PasswordType> VALUES
public static PasswordType[] values()
for (PasswordType c : PasswordType.values()) System.out.println(c);
public static PasswordType 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 PasswordType get(String literal)
literal - the literal.null.public static PasswordType getByName(String name)
name - the name.null.public static PasswordType get(int value)
value - the integer value.null.public int getValue()
getValue in interface org.eclipse.emf.common.util.Enumeratorpublic String getName()
getName in interface org.eclipse.emf.common.util.Enumeratorpublic String getLiteral()
getLiteral in interface org.eclipse.emf.common.util.Enumeratorpublic String toString()
toString in class Enum<PasswordType>