public enum UserNameFormat extends Enum<UserNameFormat>
Enum Constant and Description |
---|
ALIAS
The signature of the user is "ALIAS"
|
LONG
The signature of the user is "SALUTATIONS FIRSTNAME LASTNAME".
|
MEDIUM
The signature of the user is "FIRSTNAME LASTNAME (ALIAS)".
|
SHORT
The signature of the user is "FIRSTNAME LASTNAME".
|
Modifier and Type | Method and Description |
---|---|
static UserNameFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserNameFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserNameFormat ALIAS
public static final UserNameFormat SHORT
public static final UserNameFormat MEDIUM
public static final UserNameFormat LONG
public static UserNameFormat[] values()
for (UserNameFormat c : UserNameFormat.values()) System.out.println(c);
public static UserNameFormat 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 nullCopyright © 2019 Communote team. All rights reserved.