Enum AccountDefaultDisplayName

    • Enum Constant Detail

      • FULL_NAME

        public static final AccountDefaultDisplayName FULL_NAME
        If the display name for an account is not set, then the (full) name will be used as the display name in the user interface.
      • FIRST_NAME

        public static final AccountDefaultDisplayName FIRST_NAME
        If the display name for an account is not set, then the first name (i.e. full name until first whitespace character) will be used as the display name in the user interface.
      • USERNAME

        public static final AccountDefaultDisplayName USERNAME
        If the display name for an account is not set, then the username will be used as the display name in the user interface. If the username is also not set, then the (full) name will be used.
    • Method Detail

      • values

        public static AccountDefaultDisplayName[] 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 (AccountDefaultDisplayName c : AccountDefaultDisplayName.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AccountDefaultDisplayName 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 name
        NullPointerException - if the argument is null