Interface IPromptQueryConfig_MediaCount
-
public interface IPromptQueryConfig_MediaCountMixin for aprompt query configuration modelthat allows the user to define how many media files such as images or voice clips should be generated.Use of this mixin is optional, but ensures a consistent name for the property. When different prompt service handlers use the same property name, switching between different prompt service handlers preserves the configured data.
See also the
<xp:mediaCount/>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
-
-
Field Summary
Fields Modifier and Type Field Description static StringATTR_MEDIA_COUNTThe name of the media count attribute.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IntegergetMediaCount()Gets the number of media files to generate, should be at least 1.voidsetMediaCount(Integer mediaCount)Sets the number of media files to generate, should be at least 1.
-
-
-
Field Detail
-
ATTR_MEDIA_COUNT
static final String ATTR_MEDIA_COUNT
The name of the media count 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
-
getMediaCount
Integer getMediaCount()
Gets the number of media files to generate, should be at least 1.- Returns:
- The number of media files to generate.
-
setMediaCount
void setMediaCount(Integer mediaCount)
Sets the number of media files to generate, should be at least 1.- Parameters:
mediaCount- The number of media files to generate.
-
-