Interface IPromptQueryConfig_Seed
-
public interface IPromptQueryConfig_SeedMixin for aquery connection configuration modelthat 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 thehttp://www.xima.de/taglib/xfc/promptnamespace, which provides a user interface for editing the data defined by this mixin.- Since:
- 8.5.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LonggetSeed()Gets the seed for the prompt query.voidsetSeed(Long seed)Sets the seed for the prompt query.
-
-
-
Field Detail
-
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:
- Constant Field Values
-
-
Method Detail
-
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.
-
-