Package com.inet.report
Interface DynamicValueProvider
-
- All Superinterfaces:
NodeParser
,java.io.Serializable
- All Known Implementing Classes:
CascadingValueProvider
,FieldValueProvider
,QueryValueProvider
,SQLValueProvider
public interface DynamicValueProvider extends java.io.Serializable, NodeParser
Provides default values for a prompt field at run-time.getDefaultValues()
must not return null, but rather at least an empty DefaultValue array.- Since:
- 7.6
- See Also:
DefaultValue
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DefaultValue[]
getDefaultValues()
Returns an array of DefaultValue objects for a prompt field.void
getDefaultValues(java.util.function.Function<DefaultValue,java.lang.Boolean> func)
Query the DefaultValue objects for a prompt field.-
Methods inherited from interface com.inet.report.parser.NodeParser
isDOMParser, parseDOM, parseElement, parseEndElement, parseText
-
-
-
-
Method Detail
-
getDefaultValues
default DefaultValue[] getDefaultValues()
Returns an array of DefaultValue objects for a prompt field. Will never return null.- Returns:
- an array of DefaultValue objects for a prompt field. Will never return null.
- Since:
- 7.6
-
getDefaultValues
void getDefaultValues(java.util.function.Function<DefaultValue,java.lang.Boolean> func)
Query the DefaultValue objects for a prompt field. Its stops if the function return false.- Parameters:
func
- the function to use to compute the value- Since:
- 19.0
-
-