Enum UserVariable

    • Enum Constant Detail

      • DISPLAY

        public static final UserVariable DISPLAY
        The user's display according to its configuration.
      • GROUP_SET

        public static final UserVariable GROUP_SET
        The name of the user's group set.
      • GROUP

        public static final UserVariable GROUP
        The name of the user's group.
      • GROUP_DISPLAY

        public static final UserVariable GROUP_DISPLAY
        The display name at registration for the user's group.
      • PHONES

        public static final UserVariable PHONES
        All phone numbers, both mobile and land-line.
      • MOBILE_PHONES

        public static final UserVariable MOBILE_PHONES
        All mobile phone numbers.
      • MOBILE_PHONE

        public static final UserVariable MOBILE_PHONE
        The first mobile phone number.
      • LAND_LINE_PHONES

        public static final UserVariable LAND_LINE_PHONES
        All land line phone numbers.
      • LAND_LINE_PHONE

        public static final UserVariable LAND_LINE_PHONE
        The first land-line phone number.
      • ACCOUNT_NUMBER

        public static final UserVariable ACCOUNT_NUMBER
      • ACCOUNT_TYPE_ID

        public static final UserVariable ACCOUNT_TYPE_ID
        The masked account type id.
      • ACCOUNT_TYPE_NAME

        public static final UserVariable ACCOUNT_TYPE_NAME
        The account type name.
      • ACCOUNT_BALANCE

        public static final UserVariable ACCOUNT_BALANCE
        The balance of the specific account.
      • ACCOUNT_AVAILABLE_BALANCE

        public static final UserVariable ACCOUNT_AVAILABLE_BALANCE
        The available balance of the specific account.
      • ACCOUNT_CREDIT_LIMIT

        public static final UserVariable ACCOUNT_CREDIT_LIMIT
        The credit limit of the specific account.
      • ACCOUNT_UPPER_CREDIT_LIMIT

        public static final UserVariable ACCOUNT_UPPER_CREDIT_LIMIT
        The upper credit limit of the specific account.
      • APPLICATION_NAME

        public static final UserVariable APPLICATION_NAME
        The application name of the user according to its configuration.
      • APPLICATION_URL

        public static final UserVariable APPLICATION_URL
        The root URL of the user according to its configuration.
      • DATE

        public static final UserVariable DATE
        The current timestamp formatted as date.
      • TIME

        public static final UserVariable TIME
        The current timestamp formatted as time.
      • DATE_TIME

        public static final UserVariable DATE_TIME
        The current formatted timestamp.
    • Method Detail

      • values

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

        public static UserVariable 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
      • variable

        public static Pair<UserVariable,​String> variable​(String name)
        Returns a pair with the resolved variable and, only in case of names of the form <account_type>.*, the account type. In case of an invalid name it returns a pair of <null, null>, never null. NOTE: This method doesn't support dynamic variables only those declared in this enum. Dynamic ones must be managed separately.