Interface IPromptQueryConfig_Seed


public interface IPromptQueryConfig_Seed
Mixin for a query connection configuration model that allows the user to enter seed when executing a prompt query. Setting a seed can help ensure reproducibility of results across multiple runs with the same prompt and configuration.

See also the <xp:seed/> Faces component from the http://www.xima.de/taglib/xfc/prompt namespace, which provides a user interface for editing the data defined by this mixin.

Since:
8.5.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The name of the seed attribute.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the seed for the prompt query.
    void
    setSeed(Long seed)
    Sets the seed for the prompt query.
  • Field Details

    • ATTR_SEED

      static final String ATTR_SEED
      The name of the seed attribute. If you implement a custom serialization / deserialization, use this name for the attribute to increase compatibility with other prompt service handlers.
      See Also:
  • Method Details

    • getSeed

      Long getSeed()
      Gets the seed for the prompt query. The seed helps ensure reproducibility of results across multiple runs with the same prompt and configuration.
      Returns:
      The seed.
    • setSeed

      void setSeed(Long seed)
      Sets the seed for the prompt query. The seed helps ensure reproducibility of results across multiple runs with the same prompt and configuration.
      Parameters:
      seed - The seed to set.