Package quadbase.common.param
Interface Parameters
public interface Parameters
This is an interface that is used to manipulate parameters in a (report) template. To get an
instance of this class use:
QbReport r = ...;
Parameters params = r.getAllParameters();
- See Also:
-
Method Summary
-
Method Details
-
size
int size()the total number of parameters -
get
Gets a particular Param by index.- Parameters:
index- 0 invalid input: '<'= index invalid input: '<' size()
-
get
Gets a Param by its parent name and name. Both must not be null.- Parameters:
parent- the name of the template that contains this parameter. This may either be the name of a report, or the name of a sub report, etc.name- the name of the parameter
-
get
Gets a set of parameters by its name. Note that this returns a set of parameters (Params) because parameter name does not have to be unique across templates (between main report and sub report, between two sub reports, etc.). Also, a formula parameter and a query parameter in the same template can have the same name.- Parameters:
name- the name of the parameter
-