Class FieldValueProvider

    • Method Detail

      • getValues

        public Map<String,​String> getValues()
        Gets the provided values for this field.
        Returns:
        an unmodifiable map of values, keyed by their name - may be empty, but never null
      • isRestrictive

        public boolean isRestrictive()
        Gets whether or not the field is restricted to the provided values, or if they are only suggestions.
        Returns:
        true if the field is restricted to the provided values
      • isDynamic

        public boolean isDynamic()
        Gets whether or not the field values are dynamic (calculated or fetched at form load time).
        Returns:
        true if the field values are dynamic
      • getContext

        public FieldValueProvider.Context getContext()
        Gets the context to use for calculating or fetching dynamic field values.
        Returns:
        the context for this field value provider